Optionen in NVIDIA X Server Settings unvollständig

Hallo zusammen,

ich habe im Prinzip das gleiche Problem wie hier beschrieben: NVIDIA X Server Settings has several options missing

Die Optionen in den NVIDIA X Server Settings sind also sehr beschränkt. Die angegebene Lösung führt bei mir jedoch zu einem Blackscreen beim Boot (nach dem Hersteller-Logo).

Auch bei mir ist die nvidia.conf unter /etc/X11/mhwd.d zwar existent, aber leer. Unter /etc/X11/xorg.conf.d befindet sich eine leere Datei namens 90-mhwd.conf, falls das relevant ist.

Bin mir nicht mehr sicher, was ich tue und bevor ich wirklich was zerschieße, bitte ich hier um Hilfe. Vielen Dank im Voraus!

Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: nvidia
    v: 525.60.11
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7 driver: X:
    loaded: modesetting,nvidia dri: iris gpu: i915 resolution: 1: 2560x1440
    2: 2560x1440 3: N/A
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel UHD Graphics 630 (CFL
    GT2)

System:
  Kernel: 5.15.85-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=c5b3ad69-6740-4745-b962-5d291961787c rw quiet apparmor=1
    security=apparmor resume=UUID=6d0e4068-da84-4ce8-a7be-bcc0afe8f594
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.4 tk: Qt v: 5.15.7 info: plank wm: kwin_x11
    vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: XPS 15 7590 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0VYV0G v: A00 serial: <superuser required> UEFI: Dell
    v: 1.19.0 date: 09/14/2022
Battery:
  ID-1: BAT0 charge: 75.8 Wh (100.0%) condition: 75.8/97.0 Wh (78.1%)
    volts: 12.7 min: 11.4 model: SMP DELL GPM0365 type: Li-ion serial: <filter>
    status: full
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K360
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
  Device-2: hidpp_battery_1 model: Logitech Wireless Mouse serial: <filter>
    charge: 55% (should be ignored) rechargeable: yes status: discharging
Memory:
  RAM: total: 15.24 GiB used: 2.96 GiB (19.4%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Coffee Lake
    gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF0
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 800 min/max: 800/4500 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
    8: 800 9: 800 10: 800 11: 800 12: 800 bogomips: 62431
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp
    rep_good sdbg sep sgx sgx_lc smap smep ss ssbd sse sse2 sse4_1 sse4_2
    ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer
    vme vmx vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology
    xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: DP-1,DP-3 off: eDP-1 empty: DP-2 bus-ID: 00:02.0 chip-ID: 8086:3e9b
    class-ID: 0300
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Dell
    driver: nvidia v: 525.60.11 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2022-12) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1f91
    class-ID: 0302
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 1-12:5 chip-ID: 0c45:6723 class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia
    alternate: fbdev,nouveau,nv,vesa dri: iris gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 5120x1440 s-dpi: 96 s-size: 1354x381mm (53.31x15.00")
    s-diag: 1407mm (55.38")
  Monitor-1: DP-1 pos: primary,left model: Lenovo LEN L27q-30
    serial: <filter> built: 2021 res: 2560x1440 dpi: 109 gamma: 1.2
    size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  Monitor-2: DP-3 pos: right model: Lenovo LEN L27q-30 serial: <filter>
    built: 2021 res: 2560x1440 dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23")
    diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 720x400
  Monitor-3: eDP-1 note: disabled model: Sharp 0x14ba built: 2019
    res: 2560x1440 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
    diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel UHD Graphics 630 (CFL
    GT2) direct render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:a348 class-ID: 0403
  Sound API: ALSA v: k5.15.85-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX200 vendor: Rivet Networks Killer™
    driver: iwlwifi v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 3b:00.0
    chip-ID: 8086:2723 class-ID: 0280
  IF: wlp59s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-4:3
    chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 270.07 GiB (56.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba
    model: KXG60ZNV512G NVMe 512GB size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 10604107 temp: 31.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 459.88 GiB size: 451.57 GiB (98.19%)
    used: 270.01 GiB (59.8%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: c5b3ad69-6740-4745-b962-5d291961787c
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 58.4 MiB (19.5%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: NO_LABEL uuid: 6CFB-5919
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 16.76 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3 label: swap
    uuid: 6d0e4068-da84-4ce8-a7be-bcc0afe8f594
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
    power: 98mA chip-ID: 046d:c52b class-ID: 0300
  Device-2: 1-4:3 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb
    interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029
    class-ID: e001
  Device-3: 1-7:4 info: Shenzhen Goodix Fingerprint Reader
    type: Abstract (modem),CDC-Data driver: N/A interfaces: 2 rev: 2.0
    speed: 12 Mb/s power: 100mA chip-ID: 27c6:5395 class-ID: 0a00
    serial: <filter>
  Device-4: 1-12:5 info: Microdia Integrated_Webcam_HD type: Video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 0c45:6723 class-ID: 0e02
  Hub-2: 2-0:1 info: Super-speed hub ports: 10 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 53.0 C pch: 50.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 2396 fan-2: 2368
Info:
  Processes: 299 Uptime: 14m wakeups: 7 Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman
  pkgs: 1563 libs: 460 tools: pamac pm: flatpak pkgs: 0 Shell: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.24

Das schlimmste das passieren kann, ist nur, dass die graphische Oberfläche nicht startet.
Wenn das passiert, kannst du auf eine andere TTY umschalten und die Änderungen rückgängig machen oder anpassen.

Hallo @reinheaven :wink:

Dass die Einstellungen beschränkt sind, sollte eigentlich klar sein. Deine Intel GPU ist direkt mit deinem Laptop Monitor verbunden und Nvidia ist deine zweite GPU, im Normalfall hat es keine direkte Verbindung, sondern hat einen HDMI Ausgang.

Was willst du den genau erreichen? Mir erschließt sich nicht, welche Einstellungen du finden willst?

Beim Spielen mit der Nvidia-GPU tritt bei diversen Titeln screen tearing auf und die Lösung scheint nach meiner Recherche diese zu sein:

Fire up the NVIDIA X Server Settings software. In it, navigate to X Server Display Configuration > Advanced. There you will find an unchecked option: Force Full Composition Pipeline. Enable it and restart your Linux desktop.

Diese Option gibt’s bei mir leider nicht.

Hallo @reinheaven,

die Optionen die du suchst werden mW im nVidia Settings Manager nur angezeigt wenn auch gerade der nVidia chip benutzt wird. Also werden dir im “office” Betrieb wenn der Intel chip läuft die Optionen halt nicht angezeigt.

In dem Moment wo du das in den nVidia Settings Manager einstellen kannst wirkt das auch nur temporär, also höchsten bis zum nächsten reboot. Die Einstellungen sollten also unbedingt in eine Xorg-config Datei.

Leider habe ich kein System mit so einer Grafik Konfiguration, daher auch keine Erfahrung um viel zu helfen. Aber ich glaube für solche System gibt den ‘optimus-manager’, wo man glaube ich auch für beide chips passende Xorg-conf Dateien erstellen kann.

2 Likes

Das sieht doch vielversprechend aus, vielen Dank!

Im Grunde kannst auch die OutputClass selbst bearbeiten…

Erstmal kopieren:

sudo cp /usr/share/X11/xorg.conf.d/10-intel-nvidia-drm-outputclass.conf  /etc/X11/xorg.conf.d/10-intel-nvidia-drm-outputclass.conf

Und dann deine Parameter hinzufügen…

sudo nano /etc/X11/xorg.conf.d/10-intel-nvidia-drm-outputclass.conf

Und das zu nvidia section hinzufügen:

Option "ForceFullCompositionPipeline" "on"

Das wäre dann zusätzlich zu Optimus oder stattdessen? Danke!

Kann ich dir nicht konkret sagen. Am Ende des Tages verwendet der optimus-manager auch xorg configs. Es setzt diese und startet xorg neu, damit hast du gpu gewechselt. Ich kann dir nicht sagen, inwieweit die Konfigurationen harmonieren werden, aber um sicherzugehen, verwende das oder optimus-manager.

Hab’s gerade erst mal mit optimus-manager versucht und das funktioniert.

glxinfo|grep -E "OpenGL vendor|OpenGL renderer" zeigt die Nvidia-Karte als aktiv an und in den X Server Settings von Nvidia habe ich jetzt mehr Optionen zur Verfügung - die gesuchte allerdings nicht. Ich teste das morgen mal mit deinem Weg und berichte dann. Vielen Dank erst mal so weit!

Wo genau? Eine Section “Nvidia” gibt’s bei mir nicht:

Section "ServerLayout"
    Identifier "layout"
    Option "AllowNVIDIAGPUScreens"
EndSection

Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

Oder der unteren beifügen?

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
    Option "ForceFullCompositionPipeline" "on"
EndSection

Ja, genau da kommt es hin. :+1: Games, die mit prime-run gestartet werden, sollten das dann berücksichigen.

Schau dir mal den ʺoptimus-manager-qtʺ an. Den kannst du aus dem AUR installieren.
Nach der Installation findest du ein Icon in der Leiste, mit Rechtsklick auf das Icon öffnet sich ein Kontextmenü daraus kannst du zwischen den GPUs wechseln.

Nutze das auf meinem Dell Laptop, mit fast gleicher Hardware, schon lange ohne Probleme.

$ inxi -SCMG
System:
  Host: dell-inspiron7590 Kernel: 6.1.1-1-MANJARO arch: x86_64 bits: 64
    Desktop: Cinnamon v: 5.6.5 Distro: Manjaro Linux
Machine:
  Type: Laptop System: Dell product: Inspiron 7590 v: N/A
    serial: <superuser required>
  Mobo: Dell model: 0JKGD4 v: A00 serial: <superuser required> UEFI: Dell
    v: 1.17.0 date: 11/09/2022
CPU:
  Info: 6-core model: Intel Core i7-9750H bits: 64 type: MT MCP cache:
    L2: 1.5 MiB
  Speed (MHz): avg: 2450 min/max: 800/4500 cores: 1: 2600 2: 2600 3: 806
    4: 2600 5: 2600 6: 2600 7: 2600 8: 2600 9: 2600 10: 2600 11: 2600 12: 2600
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: nvidia
    v: 525.60.11
  Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: modesetting,nvidia
    dri: iris gpu: i915 resolution: 3840x2160~60Hz
  API: OpenGL v: 4.6.0 NVIDIA 525.60.11 renderer: NVIDIA GeForce GTX
    1650/PCIe/SSE2

1 Like

Gerade gestestet, leider immer noch screen tearing. Aber:

Das hat’s auf magische Weise behoben. Bevor das Programm gestartet werden kann, muss man in der /etc/sddm.conf noch zwei Zeilen auskommentieren, danach läuft’s. GPU gewechselt, Spiel über Steam gestartet, kein tearing mehr. Vielen Dank! Ist die Startoption prime-run %command% in Steam damit obsolet?

Und vielleicht noch fürs weitere/tiefere Verständnis:

In /etc/X11 habe ich jetzt:

  • einen Ordner mhwd.d mit einer leeren nvidia.conf
  • einen Ordner xinit mit diversen Shell Scripts.
  • einen Ordner xorg.conf.d mit drei Dateien: 00-keyboard.conf, 10-optimus-manager.conf, 30-touchpad.conf

Inhalt der 10-optimus-manager.conf sieht bei mir so aus:

Section “Device”
Identifier “integrated”
Driver “modesetting”
BusID “PCI:0:2:0”
Option “DRI” “3”
EndSection

In /usr/share/X11/xorg.conf.d befindet sich u.a. die Datei 10-intel-nvidia-drm-outputclass.conf

Ist das so alles in Ordnung?