NVidia / HDMI / No External Monitor issue after upgrade

Hi all,

I have a Lenovo Legion 5 laptop with intel / nvidia graphics. I am running the Dragonized flavor, so KDE is my desktop. After a recent Garuda upgrade, it looks like the NVidia GPU isn't utilized. I noticed this because my external HDMI monitor no longer works. I believe I did the upgrade correctly according to the information on this forum.

After upgrading, I noticed that Optimus Manager Qt was showing "integrated" instead of "hybrid" as it did before the upgrade. If I try to switch to hybrid, the system hangs on reboot at the screen with the text:

Loading Linux linudx-zen ...
Loading initial ramdisk ...

What I've tried

Upgrade Garuda properly. I did this several times thanks to Timeshift.
Here is how I upgraded because of the Python issue posted:

garuda-upadate
sudo pacman -Syu optimus-manager optimus-manager-qt

Downgrade the NVidia driver.
I don't believe the issue is related to the driver update from 495.44 to 495.46 because after I updated Garuda, I downgraded the NVidia driver back to 495.44. First I used add/remove software to remove the four packages that I reinstalled shown below:

2021-12-24 11:53:19 sudo pacman -U https://archive.archlinux.org/packages/n/nvidia-utils/nvidia-utils-495.44-6-x86_64.pkg.tar.zst
2021-12-24 11:59:53 sudo pacman -U https://archive.archlinux.org/packages/n/nvidia-dkms/nvidia-dkms-495.44-6-x86_64.pkg.tar.zst
2021-12-24 12:02:23 sudo pacman -U https://archive.archlinux.org/packages/n/nvidia-prime/nvidia-prime-1.0-4-any.pkg.tar.zst
2021-12-24 12:03:35 sudo pacman -U https://archive.archlinux.org/packages/n/nvidia-settings/nvidia-settings-495.44-1-x86_64.pkg.tar.zst

Made sure I was not somehow in a Wayland session:

╭─john@Legion5 in ~ took 3ms
╰─λ echo $XDG_SESSION_TYPE
x11

I tried swithcing to discrete graphics in the BIOS.

I have verified all the necessary packages are in place using the list mmsaeed509 provided in a post below.

Here is what I see in dmesg for both working system and upgraded system:

Working

╭─john@Legion5 in ~ took 2m
╰─λ sudo dmesg | egrep -i '(nvrm|nvidia)'
[sudo] password for john:
[   10.588880] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input27
[   10.588908] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input28
[   10.588929] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input29
[   10.588947] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input30
[   10.588965] input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input31
[   10.588984] input: HDA NVidia HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input32
[   16.125090] nvidia: module license 'NVIDIA' taints kernel.
[   16.139336] nvidia-nvlink: Nvlink Core is being initialized, major device number 507
[   16.139782] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[   16.139930] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   16.181165] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  495.44  Fri Oct 22 06:13:12 UTC 2021
[   16.189977] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  495.44  Fri Oct 22 06:05:22 UTC 2021
[   16.190772] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[   17.027929] NVRM: nv_acpi_dsm_method: DSM data invalid!
[   17.605777] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-4
[   17.614894] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-4
[   17.734973] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1

Upgraded:

╰─λ sudo dmesg | egrep -i '(nvrm|nvidia)'
[    9.305469] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input26
[    9.305501] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input27
[    9.305537] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input28
[    9.305569] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input29
[    9.305607] input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input30
[    9.305637] input: HDA NVidia HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input31
[   15.556964] nvidia: module license 'NVIDIA' taints kernel.
[   15.570968] nvidia-nvlink: Nvlink Core is being initialized, major device number 507
[   15.571418] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[   15.571573] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[   15.613120] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  495.46  Wed Oct 27 16:31:33 UTC 2021
[   16.483010] NVRM: nv_acpi_dsm_method: DSM data invalid!

inxi -Faz for both working and upgraded systems

Working System:

╭─john@Legion5 in ~ took 3s
╰─λ inxi -Faz
System:    Kernel: 5.15.6-zen2-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=7b6e96df-621e-4aaf-a245-80007eef5efa rw
rootflags=subvol=@ quiet
cryptdevice=UUID=15025ade-dda6-4f32-a486-4a0b51903fa0:luks-15025ade-dda6-4f32-a486-4a0b51903fa0
root=/dev/mapper/luks-15025ade-dda6-4f32-a486-4a0b51903fa0 splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.23.4 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux
base: Arch Linux
Machine:   Type: Laptop System: LENOVO product: 82JF v: Legion 5 Pro 16ITH6 serial: <superuser required> Chassis: type: 10
v: Legion 5 Pro 16ITH6 serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN serial: <superuser required> UEFI: LENOVO v: H1CN26WW
date: 05/22/2021
Battery:   ID-1: BAT0 charge: 82.2 Wh (100.0%) condition: 82.2/80.0 Wh (102.8%) volts: 16.9 min: 15.4 model: Celxpert L20C4PC1
type: Li-poly serial: <filter> status: Full cycles: 23
Device-1: hidpp_battery_0 model: Logitech M570 serial: <filter> charge: 50% rechargeable: yes status: Discharging
CPU:       Info: 8-Core model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP arch: Tiger Lake family: 6
model-id: 8D (141) stepping: 1 microcode: 32 cache: L1: 640 KiB L2: 10 MiB L3: 24 MiB
flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 73728
Speed: 1002 MHz min/max: 800/4600 MHz Core speeds (MHz): 1: 1002 2: 4527 3: 1816 4: 2963 5: 4228 6: 800 7: 3179
8: 801 9: 3237 10: 1151 11: 4372 12: 1730 13: 2858 14: 1983 15: 1060 16: 4450
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: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0
chip-ID: 8086:9a60 class-ID: 0300
Device-2: NVIDIA GA107BM [GeForce RTX 3050 Mobile] vendor: Lenovo driver: nvidia v: 495.44
alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:25e2 class-ID: 0300
Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo bus-ID: 3-6:3 chip-ID: 13d3:56bb class-ID: 0e02
Display: x11 server: X.Org 1.21.1.1 compositor: kwin_x11 driver: loaded: modesetting,nvidia display-ID: :0
screens: 1
Screen-1: 0 s-res: 4480x1600 s-dpi: 96 s-size: 1184x423mm (46.6x16.7") s-diag: 1257mm (49.5")
Monitor-1: eDP-1 res: 2560x1600 hz: 165 dpi: 188 size: 345x215mm (13.6x8.5") diag: 407mm (16")
Monitor-2: HDMI-1-0 res: 1920x1080 hz: 60 dpi: 88 size: 553x311mm (21.8x12.2") diag: 634mm (25")
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:     Device-1: Intel Tiger Lake-H HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:43c8 class-ID: 0403
Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:2291 class-ID: 0403
Device-3: Logitech Blue Microphones type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-10:6
chip-ID: 046d:0ab7 class-ID: 0300 serial: <filter>
Sound Server-1: ALSA v: k5.15.6-zen2-1-zen running: yes
Sound Server-2: sndio v: N/A running: no
Sound Server-3: JACK v: 1.9.19 running: no
Sound Server-4: PulseAudio v: 15.0 running: no
Sound Server-5: PipeWire v: 0.3.40 running: yes
Network:   Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 00:14.3 chip-ID: 8086:43f0
class-ID: 0280
IF: wlp0s20f3 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 3000
bus-ID: 58:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp88s0 state: down mac: <filter>
Bluetooth: Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-14:8 chip-ID: 8087:0026 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter>
Drives:    Local Storage: total: 2.29 TiB used: 243.84 GiB (10.4%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:2 vendor: SK Hynix model: HFS512GDE9X084N size: 476.94 GiB block-size:
physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 41010C22 temp: 41.9 C
scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Crucial model: CT2000P5SSD8 size: 1.82 TiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: P4CR311 temp: 31.9 C scheme: GPT
Partition: ID-1: / raw-size: 476.68 GiB size: 476.68 GiB (100.00%) used: 100.09 GiB (21.0%) fs: btrfs dev: /dev/dm-0
maj-min: 254:0 mapped: luks-15025ade-dda6-4f32-a486-4a0b51903fa0
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 16.7 MiB (6.5%) fs: vfat dev: /dev/nvme0n1p1
maj-min: 259:3
ID-3: /home raw-size: 1.82 TiB size: 1.82 TiB (100.00%) used: 143.73 GiB (7.7%) fs: btrfs dev: /dev/dm-1
maj-min: 254:1 mapped: luks-a4ed31b6-55c7-4c61-86fd-10848d8a80d9
ID-4: /var/log raw-size: 476.68 GiB size: 476.68 GiB (100.00%) used: 100.09 GiB (21.0%) fs: btrfs dev: /dev/dm-0
maj-min: 254:0 mapped: luks-15025ade-dda6-4f32-a486-4a0b51903fa0
ID-5: /var/tmp raw-size: 476.68 GiB size: 476.68 GiB (100.00%) used: 100.09 GiB (21.0%) fs: btrfs dev: /dev/dm-0
maj-min: 254:0 mapped: luks-15025ade-dda6-4f32-a486-4a0b51903fa0
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.41 GiB used: 232.8 MiB (1.5%) priority: 100 dev: /dev/zram0
Sensors:   System Temperatures: cpu: 37.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:      Processes: 392 Uptime: 54m wakeups: 4 Memory: 15.41 GiB used: 4.63 GiB (30.0%) Init: systemd v: 249 tool: systemctl
Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1939 lib: 443 Shell: fish v: 3.3.1 default: Bash v: 5.1.12
running-in: konsole inxi: 3.3.09

Upgraded System:

╭─john@Legion5 in ~ 
╰─λ inxi -Faz
System:
Kernel: 5.15.11-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=7b6e96df-621e-4aaf-a245-80007eef5efa rw rootflags=subvol=@
quiet
cryptdevice=UUID=15025ade-dda6-4f32-a486-4a0b51903fa0:luks-15025ade-dda6-4f32-a486-4a0b51903fa0
root=/dev/mapper/luks-15025ade-dda6-4f32-a486-4a0b51903fa0 splash
rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: KDE Plasma 5.23.4 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11
vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 82JF v: Legion 5 Pro 16ITH6
serial: <superuser required> Chassis: type: 10 v: Legion 5 Pro 16ITH6
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN
serial: <superuser required> UEFI: LENOVO v: H1CN26WW date: 05/22/2021
Battery:
ID-1: BAT0 charge: 82.2 Wh (100.0%) condition: 82.2/80.0 Wh (102.8%)
volts: 16.9 min: 15.4 model: Celxpert L20C4PC1 type: Li-poly
serial: <filter> status: Full cycles: 23
Device-1: hidpp_battery_0 model: Logitech M570 serial: <filter>
charge: 50% rechargeable: yes status: Discharging
CPU:
Info: model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP
arch: Tiger Lake family: 6 model-id: 0x8D (141) stepping: 1 microcode: 0x32
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 10 MiB desc: 8x1.2 MiB
L3: 24 MiB desc: 1x24 MiB
Speed (MHz): avg: 1546 high: 3414 min/max: 800/4600 scaling:
driver: intel_pstate governor: performance cores: 1: 1469 2: 801 3: 3414
4: 801 5: 800 6: 801 7: 801 8: 1522 9: 2112 10: 1557 11: 3255 12: 801
13: 2271 14: 2742 15: 801 16: 801 bogomips: 73728
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
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: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Lenovo driver: i915
v: kernel bus-ID: 00:02.0 chip-ID: 8086:9a60 class-ID: 0300
Device-2: NVIDIA GA107BM [GeForce RTX 3050 Mobile] vendor: Lenovo
driver: nvidia v: 495.46 alternate: nouveau,nvidia_drm bus-ID: 01:00.0
chip-ID: 10de:25e2 class-ID: 0300
Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo
bus-ID: 3-6:4 chip-ID: 13d3:56bb class-ID: 0e02
Display: x11 server: X.Org 1.21.1.2 compositor: kwin_x11 driver:
loaded: modesetting display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 677x423mm (26.7x16.7")
s-diag: 798mm (31.4")
Monitor-1: eDP-1 res: 2560x1600 hz: 165 dpi: 188
size: 345x215mm (13.6x8.5") diag: 407mm (16")
OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa 21.3.2
direct render: Yes
Audio:
Device-1: Intel Tiger Lake-H HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3
chip-ID: 8086:43c8 class-ID: 0403
Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel
bus-ID: 01:00.1 chip-ID: 10de:2291 class-ID: 0403
Device-3: Logitech Blue Microphones type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-10:7 chip-ID: 046d:0ab7
class-ID: 0300 serial: <filter>
Sound Server-1: ALSA v: k5.15.11-zen1-1-zen running: yes
Sound Server-2: sndio v: N/A running: no
Sound Server-3: JACK v: 1.9.19 running: no
Sound Server-4: PulseAudio v: 15.0 running: no
Sound Server-5: PipeWire v: 0.3.42 running: yes
Network:
Device-1: Intel Tiger Lake PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:43f0 class-ID: 0280
IF: wlp0s20f3 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel port: 3000 bus-ID: 58:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp88s0 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 3-14:9 chip-ID: 8087:0026 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 4 state: up address: <filter>
Drives:
Local Storage: total: 9.56 TiB used: 255.98 GiB (2.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:2 vendor: SK Hynix model: HFS512GDE9X084N
size: 476.94 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 41010C22
temp: 31.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Crucial model: CT2000P5SSD8
size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: P4CR311 temp: 37.9 C scheme: GPT
ID-3: /dev/sda maj-min: 8:0 type: USB vendor: Seagate
model: Backup+ Hub BK size: 7.28 TiB block-size: physical: 4096 B
logical: 512 B type: N/A serial: <filter> rev: D781 scheme: GPT
Partition:
ID-1: / raw-size: 476.68 GiB size: 476.68 GiB (100.00%)
used: 108.5 GiB (22.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-15025ade-dda6-4f32-a486-4a0b51903fa0
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
used: 16.7 MiB (6.5%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:3
ID-3: /home raw-size: 1.82 TiB size: 1.82 TiB (100.00%)
used: 147.46 GiB (7.9%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
mapped: luks-a4ed31b6-55c7-4c61-86fd-10848d8a80d9
ID-4: /var/log raw-size: 476.68 GiB size: 476.68 GiB (100.00%)
used: 108.5 GiB (22.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-15025ade-dda6-4f32-a486-4a0b51903fa0
ID-5: /var/tmp raw-size: 476.68 GiB size: 476.68 GiB (100.00%)
used: 108.5 GiB (22.8%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-15025ade-dda6-4f32-a486-4a0b51903fa0
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.41 GiB used: 2.5 MiB (0.0%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 33.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 501 Uptime: 9h 0m wakeups: 9 Memory: 15.41 GiB
used: 4.38 GiB (28.4%) Init: systemd v: 249 tool: systemctl Compilers:
gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1934 lib: 442 Shell: fish
v: 3.3.1 default: Bash v: 5.1.12 running-in: konsole inxi: 3.3.11

nvidia-smi for both working and upgraded system

Working

╭─john@Legion5 in ~ took 15s
╰─λ nvidia-smi
Thu Dec 23 19:59:36 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 495.44       Driver Version: 495.44       CUDA Version: 11.5     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0  On |                  N/A |
| N/A   36C    P8     6W /  N/A |     62MiB /  3910MiB |     20%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      3831      G   /usr/lib/Xorg                      61MiB |
+-----------------------------------------------------------------------------+

Upgraded

╭─john@Legion5 in ~ took 3m19s
╰─λ  nvidia-smi
Thu Dec 23 20:45:32 2021        
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 495.46       Driver Version: 495.46       CUDA Version: 11.5     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   33C    P0    N/A /  N/A |      0MiB /  3910MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

3 Likes

The solution was likely posted in recent announcements:

2 Likes

The other option is to switch to the dGPU (“discrete graphics”) in the BIOS.

1 Like

same issue
solved by @filo
just reinstall optimus-manager if you use it @TechTalk

1 Like

I tried reinstalling optimus-manager, that didn't solve my particular issue. After upgrade I used this command:

sudo pacman -Syu optimus-manager optimus-manager-qt

In one of the recent threads about this issue it suggested that should be done prior to reboot. I used Timeshift to rollback the system, then did the upgrade again and reinstalled optimus-manager.

I also tried with -Syyu instead of -Syu . Same result.

Tried that as well. Like choosing “switch to hybrid” or “switch to nvidia”, it hangs on boot, only it seems to get further than using “switch to…” The progress bar shows up and moves forward, but still it hangs. Thanks for the suggestion though.

I had read that announcement and followed the instructions. I reinstalled optimus-manager and optimus-manager-qt with Pacman -Syyu. Today’s attempt however I used -Syu, but after a reboot I did it again with -Syyu. I’m really kind of stuck at this point.

i think -syu and -syyu are pretty much the same

Why still this in the upgraded system?

Apart from that, do you have a fully functional snapshot?
If so, you could restore it and block all your Nvidia stuff in pacman conf and update everything.
If it works, of course, you’ll have to keep an eye on future available Nvidia upgrades to give them a chance…

My apologies about the kernel version, that was data collected last week, or the week before. I’ve been working on this issue for a while. I’ve again run inxi -Faz and updated my original post. Thank you.

Regarding working snapshots, I seem to have lost the ability to do that since I went went back and forth so many times. I lost the good snapshot in Timeshift I think. However, I did downgrade the NVidia stuff to 495.44, which is what was on the working system.

1 Like

I don't know what is the problem?
but I will list installed tools for NVIDIA drivers for my dual monitor setup maybe solve the issue @TechTalk

  • garuda-nvidia-config
  • lib32-nvidia-utils
  • lib32-opencl-nvidia
  • mhwd-nvidia
  • mhwd-nvidia-390xx
  • nvidia
  • nvidia-dkms
  • nvidia-prime
  • nvidia-settings
  • nvidia-utils
  • opencl-nvidia
1 Like

This probably indicates there’s a different issue, e.g. something in configuration or additional packages. Switching to discrete graphics will use only the dGPU and so remove any and all complexity around the hybrid setup.

With my current laptop, I can happily switch between hybrid and discrete within the BIOS and Xorg will start either way, automatically doing reverse PRIME on hybrid.

2 Likes

Thank you mmsaeed509, that was helpful and I did verify that I have those packages installed. I was going to try to find a list like that so you saved me a bunch of time.

1 Like

I tried switching to dGPU several times, including just now. The system gets to the screen where the progress bar shows while booting, then it hangs. I agree that this is probably some kind of configuration issue since one of the things I tried was to downgrade the drivers and it behaved exactly the same way. Do you know if I boot to a live environment off of a USB stick will the HDMI / external monitor work?

I have no way of knowing that, but you’re in a position to be able to find out.

2 Likes

Well, try it and tell me what happened @TechTalk

Yes, I had a USB stick with Garuda on it. It boots and both monitors show up without any intervention from me. So now I at least have a system to help me configure things. I really didn't want to dive into the inner workings of NVidia driver configuration and was happy that it "just worked." So I guess my choices are to either reinstall Garuda, or hit the Arch Wiki and try to figure this stuff out. That is unless anyone else chimes in with a suggestion.

if you gonna reinstall Garuda
install with a dual monitor that means connect your second screen to your laptop at first then reinstall Garuda

Okay, if I go that route I will. Thank you.

1 Like

ok, you're welcome