Only one monitor works after driver 510 install

nvidia-bug-report.log.gz (325.1 KB)

I used Nvidia driver 470 with dual or triple monitors fine.
I decided to update CUDA+CuDNN, so I’ve

  1. run local uninstaller for CUDA 11.4,
  2. than run local deb installer for cuda11.5 and lbcudnn8=8.3.2… for cuda11.5 (multiple monitors stopped to work here)
  3. than I’ve install cuda 11.6 with local deb installer

Now if I connected another monitor, it only reflects the first one, I can’t change anything in Ubuntu Settings:

nvidia-smi is working fine:

[    9.356995] NVRM: API mismatch: the client has the version 418.181.07, but
               NVRM: this kernel module has the version 510.47.03.  Please
               NVRM: make sure that this kernel module and all NVIDIA driver
               NVRM: components have the same version.

Please remove all 418 packages, then reinstall the 510 driver. 418 likely came with a cuda-10 package.

1 Like

Same issue with me. Since I installed 510.47.03 on my arch linux OS with gnome 41.3, in hybrid graphics mode (ryzen 4800h with amdgpu + nvidia Geforce GTX 1050 Ti), I only see one monitor on Xorg session. either the external or internal one, if no external monitors are plugged in.

Oh, and backlight control via fn key stopped working… again (it was warking from 470 to 495).
my laptop is a: Lenovo Legion 5 15ARH05

This is what reported by nvidia-settings
image

and this is the output of nvidia-smi

and this is my xorg.conf file

xorg.conf (4.1 KB)

note that, if I use the alternative configuration (the one marked as ‘reverse prime’ and commented out in the above file) or I remove xorg.conf completely, gnome uses prime offloading (reverse prime) and I can use both internal and external (HDMI) monitors but, if I close the laptop lid, the external monitor refresh rate falls to 1fps and the system is unusable…

and this is the ouput of:
inxi --full --admin --verbosity=3 --filter --no-host:

System:
  Kernel: 5.16.8-AMD-znver2 x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-linux-amd-znver2
    root=UUID=b6197591-925e-4cc9-810b-e892c0c7e43d rw quiet splash
    scsi_mod.use_blk_mq=y dm_mod.use_blk_mq=y idle=nomwait
    acpi_backlight=native nvidia-drm.modeset=1 systemd.gpt_auto=0
  Desktop: GNOME 41.3 tk: GTK 3.24.31 wm: gnome-shell dm: GDM 41.0
    Distro: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82B5 v: Lenovo Legion 5 15ARH05
    serial: <superuser required> Chassis: type: 10 v: Lenovo Legion 5 15ARH05
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0Q55726 WIN
    serial: <superuser required> UEFI: LENOVO v: EUCN31WW date: 01/01/2021
Battery:
  ID-1: BAT0 charge: 74.7 Wh (100.0%) condition: 74.7/80.0 Wh (93.4%)
    volts: 17.3 min: 15.4 model: SMP L19C4PC1 type: Li-poly serial: <filter>
    status: Full cycles: 14
  Device-1: hidpp_battery_0 model: Logitech M350 Wireless Mouse
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: Discharging
CPU:
  Info: model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 2 family: 0x17 (23) model-id: 0x60 (96) stepping: 1
    microcode: 0x8600106
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 8 MiB desc: 2x4 MiB
  Speed (MHz): avg: 1690 high: 4260 min/max: 1400/2900 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1396 2: 1397
    3: 1412 4: 1394 5: 1397 6: 1398 7: 1397 8: 1397 9: 1499 10: 1662 11: 1398
    12: 1397 13: 2842 14: 4260 15: 1397 16: 1397 bogomips: 92666
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional,
    IBRS_FW, STIBP: conditional, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Lenovo
    driver: nvidia v: 510.47.03 bus-ID: 01:00.0 chip-ID: 10de:1f95
    class-ID: 0300
  Device-2: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel
    bus-ID: 06:00.0 chip-ID: 1002:1636 class-ID: 0300
  Device-3: Syntek Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-3:2 chip-ID: 174f:244c class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org 1.21.1.3 compositor: gnome-shell driver:
    loaded: modesetting,nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.7x15.0")
    s-diag: 777mm (30.6")
  Monitor-1: HDMI-0 res: 2560x1440 dpi: 93 size: 698x393mm (27.5x15.5")
    diag: 801mm (31.5")
  OpenGL: renderer: NVIDIA GeForce GTX 1650 Ti/PCIe/SSE2
    v: 4.6.0 NVIDIA 510.47.03 direct render: Yes
Audio:
  Device-1: NVIDIA driver: snd_hda_intel v: kernel bus-ID: 01:00.1
    chip-ID: 10de:10fa class-ID: 0403
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor
    vendor: Lenovo driver: N/A bus-ID: 06:00.5 chip-ID: 1022:15e2
    class-ID: 0480
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k5.16.8-AMD-znver2 running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: JACK v: 1.9.20 running: no
  Sound Server-4: PulseAudio v: 15.0 running: yes
  Sound Server-5: PipeWire v: 0.3.45 running: no
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel port: 2000 bus-ID: 03:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 04:00.0
    chip-ID: 8086:2723 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 3-3:5 chip-ID: 8087:0029 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 2 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 953.88 GiB used: 246.15 GiB (25.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:6 vendor: Samsung
    model: MZVLB512HBJQ-000L2 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 3L1QEXF7 scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: A-Data model: SX8200PNP
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 42A4SANA
    scheme: GPT
Partition:
  ID-1: / raw-size: 78.12 GiB size: 117.19 GiB (150.00%)
    used: 50.31 GiB (42.9%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:11
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 50.2 MiB (19.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:7
  ID-3: /home raw-size: 145.9 GiB size: 292.38 GiB (200.40%)
    used: 195.8 GiB (67.0%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:12
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 45.1 C mobo: N/A
  Fan Speeds (RPM): N/A
  GPU: device: nvidia screen: :0.0 temp: 38 C device: amdgpu temp: 36.0 C
Info:
  Processes: 401 Uptime: 15m wakeups: 5 Memory: 15.02 GiB
  used: 2.21 GiB (14.8%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.1.0 clang: 13.0.1 Packages: pacman: 2098 lib: 498 pkg: 0
  Shell: Bash v: 5.1.16 running-in: tilix inxi: 3.3.12

How is it possible that every new version of nvidia drivers there are more problems than the previous one?..
I have no words…

Any help pointing me in the right direction is greatly appreciated :)

this is my xorg.conf file

xorg.conf (4.1 KB)

note that, if I use the alternative configuration (the one commented out and marked as ‘reverse prime’) or remove completely xorg.conf from /etc/X11 directory, gnome uses offload rendering (reverse prime) and I can see both monitors (internal and HDMI) but, if I close the laptop lid refresh rate fall to 1fps and the system is unusable…

any help in pointing me out to the right direction is greatly appreciated! :)

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.