NVIDIA: Unterschied zwischen den Versionen

Aus Foxwiki
K Textersetzung - „Kategorie:X-Window“ durch „Kategorie:X11“
K Textersetzung - „== Syntax ==“ durch „== Aufruf ==“
 
(8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
'''topic''' kurze Beschreibung
'''topic''' - Kurzbeschreibung
== Beschreibung ==
== Beschreibung ==
== Installation ==
== Installation ==
Zeile 15: Zeile 15:


== Anwendungen ==
== Anwendungen ==
=== Fehlerbehebung ===
=== Problembehebung ===
==== Stutter/lags problems with KDE Plasma with Nvidia proprietary driver ====
==== Stutter/lags problems with KDE Plasma with Nvidia proprietary driver ====
Some of you that have a GSYNC compatible monitor may have seen that if you have a second monitor at a different refresh rate, let's say 60hz you may have seen some stutters or lags when launching apps like System Settings and you may also have noticed that the windows does not move at 144fps.
Some of you that have a GSYNC compatible monitor may have seen that if you have a second monitor at a different refresh rate, let's say 60hz you may have seen some stutters or lags when launching apps like System Settings and you may also have noticed that the windows does not move at 144fps.
Zeile 73: Zeile 73:
Reboot the computer
Reboot the computer


== Syntax ==
== Aufruf ==
=== Optionen ===
=== Optionen ===
=== Parameter ===
=== Parameter ===
=== Umgebungsvariablen ===
=== Umgebung ===
=== Exit-Status ===
=== Rückgabewert ===
== Konfiguration ==
== Konfiguration ==
=== Dateien ===
=== Dateien ===
Zeile 83: Zeile 83:
== Dokumentation ==
== Dokumentation ==
=== RFC ===
=== RFC ===
=== Man-Pages ===
=== Man-Page ===
=== Info-Pages ===
=== Info-Pages ===
== Siehe auch ==
== Siehe auch ==
Zeile 93: Zeile 93:
# https://bugs.kde.org/show_bug.cgi?id=433094
# https://bugs.kde.org/show_bug.cgi?id=433094


=== Einzelnachweise ===
 
<references />
== Testfragen ==
<div class="toccolours mw-collapsible mw-collapsed">
''Testfrage 1''
<div class="mw-collapsible-content">'''Antwort1'''</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">
''Testfrage 2''
<div class="mw-collapsible-content">'''Antwort2'''</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">
''Testfrage 3''
<div class="mw-collapsible-content">'''Antwort3'''</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">
''Testfrage 4''
<div class="mw-collapsible-content">'''Antwort4'''</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">
''Testfrage 5''
<div class="mw-collapsible-content">'''Antwort5'''</div>
</div>


[[Kategorie:Linux/GPU]]
[[Kategorie:Linux/GPU]]

Aktuelle Version vom 12. November 2024, 18:35 Uhr

topic - Kurzbeschreibung

Beschreibung

Installation

GeForce 600 series and newer GPUs

  • Add "contrib" and "non-free" components to /etc/apt/sources.list
deb http://deb.debian.org/debian/ bookworm main contrib non-free

Update the list of available packages, then we can install the nvidia-driver package, plus the necessary firmware:

# apt update
# apt install nvidia-driver firmware-misc-nonfree

DKMS will build the nvidia module for your system, via the nvidia-kernel-dkms package.

Restart your system to load the new driver

Anwendungen

Problembehebung

Stutter/lags problems with KDE Plasma with Nvidia proprietary driver

Some of you that have a GSYNC compatible monitor may have seen that if you have a second monitor at a different refresh rate, let's say 60hz you may have seen some stutters or lags when launching apps like System Settings and you may also have noticed that the windows does not move at 144fps.

Disabling OpenGL Flipping

To do this you need to go to nvidia-settings => OpenGL Settings => Uncheck "Allow OpenGL Flipping"

You will normally see a change in mouse stutter and your cursor should not "skip" frames when launching apps.

To persist this change, you need to edit the XOrg configuration file in /etc/X11/xorg.conf

It is not created by default, nvidia-settings can generate it for you if you launch it with the root user with this command

# nvidia-settings

To generate the XOrg file with nvidia-settings in root mode go to:

X Server Display Configuration => Save to X Configuration File and save it into /etc/X11/xorg.conf:

OpenGL Menu

And then to make the OpenGL Flipping completely disabled add this to your xorg.conf file in the "Device" section of the config:

Option         "NoFlip" "true"

Save it and reboot the computer.

Disabling KWIN Vsync and force full composition pipeline

To achieve this, you will need to add some line to your /etc/environment file.

This file must be edited by the root user, so use your favorite editor in sudo mode and add these lines:

__GL_SYNC_DISPLAY_DEVICE=DP-0 
VDPAU_NVIDIA_SYNC_DISPLAY_DEVICE=DP-0
  • __GL_SYNC_DISPLAY_DEVICE => Indicate your monitor with high refresh rate
  • VDPAU_NVIDIA_SYNC_DISPLAY_DEVICE => Same thing

To obtain the display device ID (like DP-0) you can use nvidia-settings and go to the X Server Display Configuration.

Select your monitor in the layout and read the selection field, it should read "DP-X on GPU-0" where X is the ID of the DisplayPort port used:

Screen of nvidia-settings

Use this value (DP-0 for example) in the __GL_SYNC and VDPAU items in the environment file and save it.

Again in the same file add these three lines after the other two

KWIN_X11_REFRESH_RATE=144000
KWIN_X11_NO_SYNC_TO_VBLANK=1
KWIN_X11_FORCE_SOFTWARE_VSYNC=1
  • KWIN_X11_REFRESH_RATE => Refresh rate of your monitor multiplied by 1000
  • KWIN_X11_NO_SYNC_TO_VBLANK => Don't use vblank for kwin compositor
  • KWIN_X11_FORCE_SOFTWARE_VSYNC => Force the usage of the software Vsync of kwin

Go to nvidia-settings in sudo mode like before then go to the X Server Display Configuration and click on the "Advanced..." button on the bottom of the window.

Select your high refresh rate monitor and check "Force Composition Pipeline" and "Force Full Composition Pipeline".

Apply and Save your X configuration file like before in /etc/X11/xorg.conf

Reboot the computer

Aufruf

Optionen

Parameter

Umgebung

Rückgabewert

Konfiguration

Dateien

Sicherheit

Dokumentation

RFC

Man-Page

Info-Pages

Siehe auch

Links

Projekt

Weblinks

  1. https://wiki.debian.org/NvidiaGraphicsDrivers
  2. https://www.reddit.com/r/linux_gaming/comments/ap781g/living_with_144hz_with_60hz_secondary_screens/
  3. https://bugs.kde.org/show_bug.cgi?id=433094