Really Low Performance with NVIDIA drivers

Greeting

I have a HTPC with a ryzen 5 4600g that I use for kodi and some light gaming. It is running Garuda Gnome. Recently I got a gtx 1650 super as a hand me down and I decided to upgrade the htpc with it since it struggled with kodi and steam big picture in 4k. I have encountered a series of problems trying to get it to work properly with no avail so far. I tried installing the nvidia-dkms and nvidia-470xx drivers from the garuda hardware manager but I experienced problems as it seem to lock the pacman db sometimes and the 470xx installation seemed to be incomplete since it only worked after I installed all the packages(drivers plus the garuda-nvidia-470xx-config ones) manually. The problem is that I don’t think the open source(?) drivers work at all since the performance is worse than with the igpu plus kodi won’t launch at all. The 470xx (is this the proprietary one? I think I got a little confused) seems to work more or less but with them I can’t access Gnome X11 and I can’t use DXVK(lutris says the driver does not support it because its outdated) and although the performance is better in games I experience terrible flickering and some crashes. Right now I followed the Arch Wiki and installed the nvidia-open-dkms but it seems to work exactly like nvidia-dkms which means very poor performance but it works otherwise and kodi is still MIA.
I would much appreciate any help on the issue, I always read online that NVIDIA gpus are problematic in Linux but I never experienced it my self. Guess it’s true.

Thank you for your time.

ystem:
  Kernel: 6.12.10-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1 clocksource: tsc
    avail: hpet,acpi_pm parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=2b3fac6a-0fc5-4b3d-9072-1d5affbe850b rw rootflags=subvol=@ quiet splash
    nvidia-drm.modeset=1 nvidia-drm.fbdev=1 ibt=off
  Console: pty pts/0 DM: GDM v: 47.0 Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: A520M-ITX/ac serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends LLC. v: P2.00 date: 09/30/2022
CPU:
  Info: model: AMD Ryzen 5 4600G with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2 gen: 2
    level: v3 note: check built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
    model-id: 0x60 (96) stepping: 1 microcode: 0x860010D
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 6 threads: 12 tpc: 2 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 8 MiB desc: 2x4 MiB
  Speed (MHz): avg: 2381 min/max: 400/4308 boost: enabled scaling: driver: amd-pstate-epp
    governor: performance cores: 1: 2381 2: 2381 3: 2381 4: 2381 5: 2381 6: 2381 7: 2381 8: 2381
    9: 2381 10: 2381 11: 2381 12: 2381 bogomips: 88637
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1650 SUPER] driver: nvidia v: 565.77
    alternate: nouveau,nvidia_drm non-free: 550/565.xx+ status: current (as of 2025-01;
    EOL~2026-12-xx) arch: Turing code: TUxxx process: TSMC 12nm FF built: 2018-2022 pcie: gen: 1
    speed: 2.5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s ports: active: none off: HDMI-A-1
    empty: DP-1,DVI-D-1 bus-ID: 01:00.0 chip-ID: 10de:2187 class-ID: 0300
  Display: unspecified server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
    compositor: gnome-shell driver: X: loaded: nouveau unloaded: modesetting failed: nvidia
    alternate: fbdev,nv,vesa gpu: nvidia,nvidia-nvswitch tty: 101x52
  Monitor-1: HDMI-A-1 model: Samsung serial: <filter> built: 2018 res: 3840x2160 dpi: 103
    gamma: 1.2 size: 1872x1053mm (73.7x41.46") diag: 1093mm (43") ratio: 16:9 modes: max: 3840x2160
    min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia gbm: drv: nvidia surfaceless:
    drv: nvidia wayland: drv: nvidia inactive: x11
  API: OpenGL v: 4.6.0 vendor: nvidia v: 565.77 note: console (EGL sourced) renderer: NVIDIA
    GeForce GTX 1650 SUPER/PCIe/SSE2
  API: Vulkan v: 1.4.303 layers: 10 device: 0 type: discrete-gpu name: NVIDIA GeForce GTX 1650
    SUPER driver: N/A device-ID: 10de:2187 surfaces: wayland device: 1 type: cpu name: llvmpipe
    (LLVM 19.1.7 256 bits) driver: N/A device-ID: 10005:0000 surfaces: wayland
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo gpu: nvidia-smi,radeontop
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA TU116 High Definition Audio driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:1aeb class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition Audio
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 06:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio vendor: ASRock
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-4: Creative Sound Blaster Play! 2 driver: hid-generic,snd-usb-audio,usbhid type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-4:2 chip-ID: 041e:323d class-ID: 0300
    serial: <filter>
  API: ALSA v: k6.12.10-zen1-1-zen status: kernel-api with: aoss type: oss-emulator tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet vendor: ASRock
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 04:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi v: kernel pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:24fb class-ID: 0280
  IF: wlp5s0 state: down mac: <filter>
  Info: services: NetworkManager, sshd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel Wireless-AC 3168 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-9:4 chip-ID: 8087:0aa7 class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2 lmp-v: 8 status:
    discoverable: no pairing: no class-ID: 6c0104
Drives:
  Local Storage: total: 338.18 GiB used: 178.77 GiB (52.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400M8240G size: 223.57 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 66.5
    scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: SanDisk model: USB 3.2Gen1 size: 114.61 GiB block-size:
    physical: 512 B logical: 512 B type: USB rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1
    tech: N/A serial: <filter> fw-rev: 1.00 scheme: MBR
Partition:
  ID-1: / raw-size: 214.47 GiB size: 214.47 GiB (100.00%) used: 73.24 GiB (34.2%) fs: btrfs
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 584 KiB (0.2%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 214.47 GiB size: 214.47 GiB (100.00%) used: 73.24 GiB (34.2%) fs: btrfs
    dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 214.47 GiB size: 214.47 GiB (100.00%) used: 73.24 GiB (34.2%)
    fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 214.47 GiB size: 214.47 GiB (100.00%) used: 73.24 GiB (34.2%)
    fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
 ID-1: swap-1 type: zram size: 7.13 GiB used: 0 KiB (0.0%) priority: 100 comp: zstd
    avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 12 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3
    maj-min: 8:3
Sensors:
  System Temperatures: cpu: 39.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB note: est. available: 7.13 GiB used: 1.92 GiB (26.9%)
  Processes: 335 Power: uptime: 1m states: freeze,mem,disk suspend: deep avail: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume image: 2.81 GiB
    services: gsd-power, power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 1703 libs: 543 tools: pamac,paru Compilers: clang: 19.1.7
    gcc: 14.2.1 Shell: garuda-inxi default: Bash v: 5.2.37 running-in: pty pts/0 (SSH) inxi: 3.3.37
Garuda (2.6.26-1.1):
  System install date:     2023-02-11
  Last full system update: 2025-01-25
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager mkinitcpio
  Windows dual boot:       No/Undetected
  Failed units:

hello, nvidia has been kicking me around like I owe it money and I ended up having to reinstall with open source drivers. I heard that many are having problems with nvidia as well ):

did you try to reinstall the dkms nvidia???

That video card will only be good for 1080 gaming, If you try to run it at 4K it’s performance will be very bad.

I have a 3060 and 1050Ti, When I use Lutris to play a game. It always selects the 1050 so then I get 20FPS at 4K, dropping to 1080 I can get up to 60FP. I manually have to select the 3060 to get decent frame rates.

2 Likes

The drivers are the right ones and are installed, but they are not loaded:

As a fallback, the open source driver nouveau is loaded instead.

Open /var/log/Xorg.0.log with an editor and copy the entire content to Garuda PrivateBin and share the generated link here.

Please do the same with /var/log/Xorg.2.log.

2 Likes

Yes nvidia has had lots of troubles. i got a high end card but have run into issues. i use nvidia-all drivers to resolve my troubles as quickly as possible. Firstly install the latest kernel, as well as the oldest, make sure you also select the linux-lts version. When installing out the graphic drivers watch the dkms modules compile and see if you get at least two kernels up and running without errors, before rebooting.

this has been a excellent way to try everything out quickly

git clone https://github.com/Frogging-Family/nvidia-all.git
cd nvidia-all
makepkg -si
sudo garuda-update remote fix 

#And a code to reinstall the default drivers.
sudo pacman -Rdd lib32-nvidia-utils-tkg lib32-opencl-nvidia-tkg nvidia-dkms-tkg nvidia-egl-wayland-tkg nvidia-settings-tkg nvidia-utils-tkg opencl-nvidia-tkg


i hope you have some luck

Thank you all for your time.
@nepti
There are no files called Xorg.* in my /var/log/ folder.

$ ls -a /var/log/
.	  boot.log.1  boot.log.5  btmp.1    httpd    pacman.log  samba			  wtmp.1
..	  boot.log.2  boot.log.6  garuda    journal  passim	 snapper.log
audit	  boot.log.3  boot.log.7  gdm	    lastlog  private	 snapper.log-20241117.gz
boot.log  boot.log.4  btmp	  gssproxy  old      README	 wtmp

@FlameHazeNylocke
I did reinstall them yes. It didn’t help.

So rootless: ~/.local/share/xorg/Xorg.0.log.

Can you please log in directly (w/o ssh) and post your garuda-inxi again?

2 Likes

As requested.

garuda-inxi
System:
  Kernel: 6.12.10-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=2b3fac6a-0fc5-4b3d-9072-1d5affbe850b rw rootflags=subvol=@
    quiet splash nvidia-drm.modeset=1 nvidia-drm.fbdev=1 ibt=off
  Desktop: GNOME v: 47.3 tk: GTK v: 3.24.43 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 47.0 Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: A520M-ITX/ac serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends LLC. v: P2.00
    date: 09/30/2022
CPU:
  Info: model: AMD Ryzen 5 4600G with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 2 gen: 2 level: v3 note: check built: 2020-22
    process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x60 (96) stepping: 1
    microcode: 0x860010D
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 6 threads: 12 tpc: 2
    smt: enabled cache: L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB
    desc: 6x512 KiB L3: 8 MiB desc: 2x4 MiB
  Speed (MHz): avg: 2381 min/max: 400/4308 boost: enabled scaling:
    driver: amd-pstate-epp governor: performance cores: 1: 2381 2: 2381 3: 2381
    4: 2381 5: 2381 6: 2381 7: 2381 8: 2381 9: 2381 10: 2381 11: 2381 12: 2381
    bogomips: 88631
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1650 SUPER] driver: nvidia v: 565.77
    alternate: nouveau,nvidia_drm non-free: 550/565.xx+ status: current (as of
    2025-01; EOL~2026-12-xx) arch: Turing code: TUxxx process: TSMC 12nm FF
    built: 2018-2022 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3
    speed: 8 GT/s ports: active: none off: HDMI-A-1 empty: DP-1,DVI-D-1
    bus-ID: 01:00.0 chip-ID: 10de:2187 class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
    compositor: gnome-shell driver: X: loaded: nouveau unloaded: modesetting
    failed: nvidia alternate: fbdev,nv,vesa gpu: nvidia,nvidia-nvswitch
    display-ID: 0
  Monitor-1: HDMI-A-1 model: Samsung serial: <filter> built: 2018
    res: 3840x2160 dpi: 103 gamma: 1.2 size: 1872x1053mm (73.7x41.46")
    diag: 1093mm (43") ratio: 16:9 modes: max: 3840x2160 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia gbm:
    drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia x11: drv: nvidia
  API: OpenGL v: 4.6.0 vendor: nvidia v: 565.77 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce GTX 1650 SUPER/PCIe/SSE2
    memory: 3.91 GiB display-ID: :0.0
  API: Vulkan v: 1.4.303 layers: 10 device: 0 type: discrete-gpu name: NVIDIA
    GeForce GTX 1650 SUPER driver: N/A device-ID: 10de:2187
    surfaces: xcb,xlib,wayland device: 1 type: cpu name: llvmpipe (LLVM
    19.1.7 256 bits) driver: N/A device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo gpu: nvidia-smi,radeontop
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA TU116 High Definition Audio driver: snd_hda_intel v: kernel
    pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:1aeb
    class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition
    Audio driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: ASRock driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  Device-4: Creative Sound Blaster Play! 2
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 3-1:2 chip-ID: 041e:323d class-ID: 0300
    serial: <filter>
  API: ALSA v: k6.12.10-zen1-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASRock driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: e000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 05:00.0
    chip-ID: 8086:24fb class-ID: 0280
  IF: wlp5s0 state: down mac: <filter>
  Info: services: NetworkManager, sshd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel Wireless-AC 3168 Bluetooth driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-9:4 chip-ID: 8087:0aa7
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2
    lmp-v: 8 status: discoverable: no pairing: no class-ID: 6c0104
Drives:
  Local Storage: total: 338.18 GiB used: 178.87 GiB (52.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400M8240G
    size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 66.5 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: SanDisk model: USB 3.2Gen1
    size: 114.61 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: 1.00 scheme: MBR
Partition:
  ID-1: / raw-size: 214.47 GiB size: 214.47 GiB (100.00%)
    used: 73.34 GiB (34.2%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 214.47 GiB size: 214.47 GiB (100.00%)
    used: 73.34 GiB (34.2%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 214.47 GiB size: 214.47 GiB (100.00%)
    used: 73.34 GiB (34.2%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 214.47 GiB size: 214.47 GiB (100.00%)
    used: 73.34 GiB (34.2%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 7.13 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 max-streams: 12
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda3 maj-min: 8:3
Sensors:
  System Temperatures: cpu: 48.1 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB note: est. available: 7.13 GiB used: 1.51 GiB (21.1%)
  Processes: 302 Power: uptime: 1h 21m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 2.81 GiB services: gsd-power,
    power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 1703 libs: 543 tools: pamac,paru Compilers:
    clang: 19.1.7 gcc: 14.2.1 Shell: garuda-inxi default: Bash v: 5.2.37
    running-in: gnome-terminal inxi: 3.3.37
Garuda (2.6.26-1.1):
  System install date:     2023-02-11
  Last full system update: 2025-01-25
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager mkinitcpio
  Windows dual boot:       No/Undetected
  Failed units:            


https://bin.garudalinux.org/?4180612210a72b91#BgNjNb22k39RzZxwn79JTcYtJ4KyRfVNhLkzMtx1SBeo

1 Like

yikes, that sucks x_x I hope you’re able to fix it

I was using a dedicated AMD GPU with a setup exactly the same as yours, but it died on me a while back. I haven’t bothered to replace it at this point because I can run Kodi on the iGPU just fine with KDE. I don’t game, but I find the old integrated GPU plenty sufficient on KDE, (I never use gnome).

I’ll get around to buying another dedicated AMD GPU eventually, but for now the internal one works just fine for me on my HTPC. Finding a low profile GPU to fit in an HTPC case is getting a lot harder with all the monster size cards prevalent these days. For now the internal AMD graphics seem adequate for my needs.

The nvidia module is loaded, but initializing the GPU fails. Therefore, the nvidia module is unloaded again and nouveau serves as a fallback.

Post the output of

pacman -Qs nvidia

here in the forum and the complete output of

lspci -vv

on Garuda PrivatBin.

1 Like

@nepti
Again, thank you for your help and here is the information you requested.

$ pacman -Qs nvidia
local/egl-gbm 1.1.2-1
    The GBM EGL external platform library
local/egl-wayland 4:1.1.17-1
    EGLStream-based Wayland external platform
local/egl-x11 1.0.0-1
    NVIDIA XLib and XCB EGL Platform Library
local/garuda-nvidia-config 2:1.1.6-1.1
    Meta configuration package for nvidia systems on Garuda Linux
local/gwe 0.15.9-1.1
    A system utility for controlling NVIDIA GPUs
local/lib32-libvdpau 1.5-3
    Nvidia VDPAU library
local/lib32-nvidia-utils 565.77-1
    NVIDIA drivers utilities (32-bit)
local/lib32-opencl-nvidia-470xx 470.256.02-1.1
    OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.5-3
    Nvidia VDPAU library
local/libxnvctrl 565.57.01-1
    NVIDIA NV-CONTROL X extension
local/mhwd-nvidia 565.77.3-1
    NVIDIA pci id list for MHWD
local/mhwd-nvidia-390xx 390.143-1
    mhwd-nvidia-390xx PCI ID database
local/mhwd-nvidia-470xx 470.94-1
    mhwd-nvidia-470xx PCI ID database
local/nvidia-dkms 565.77-3
    NVIDIA kernel modules - module sources
local/nvidia-prime 1.0-5
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings 565.57.01-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 565.77-3
    NVIDIA drivers utilities
local/opencl-nvidia-470xx 470.256.02-7.1
    OpenCL implemention for NVIDIA
local/xf86-video-nouveau 1.0.18-1 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards

https://bin.garudalinux.org/?0846adfd63393b20#FCj6ohiyYbdzPDCz3BM4Z6AcSZtewCiKjcx5xhdpKjC9

@tbg
I have no problems with Gnome, not with the performance anyway, it’s the GUI of kodi and big picture ,rendered at 4k, that gives me problems. I can even play some lite games like hearthstone at 4k with the iGPU alone. It’s neat overall.

your lspci -vv:

00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge (prog-if 00 [Normal decode])
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin ? routed to IRQ 25
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: f000-ffff [size=4K] [16-bit]
	Memory behind bridge: fb000000-fc0fffff [size=17M] [32-bit]
	Prefetchable memory behind bridge: d0000000-e20fffff [size=289M] [32-bit]
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA+ VGA16+ MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device 1453
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin ? routed to IRQ 26
	Bus: primary=00, secondary=02, subordinate=05, sec-latency=0
	I/O behind bridge: e000-efff [size=4K] [16-bit]
	Memory behind bridge: fc600000-fc8fffff [size=3M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16+ MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

I don’t like this:

Interrupt: pin ? routed to IRQ 25
Interrupt: pin ? routed to IRQ 26

Please post the output of:

sudo journalctl -b | xsel -i -b

The command copies the complete journal of the current boot to the clipboard, just paste it into Garuda PrivateBin and post the generated link here.


After that, remove this:

Reboot and install:

sudo pacman -S nvidia-open-dkms nvidia-settings

Reboot and post the output:

inxi -Gxx

The 1650 Super is a TU116 card and should be using nvidia-open-dkms

1 Like

nvidia-dkms works with TU116 - but I agree with you, nvidia-open-dkms is recommended.
I’ve corrected it :slight_smile:

1 Like

I followed your steps. I removed the packages using pamac remove, I don’t know if it’s relevant. The problem seem to be still here.
https://bin.garudalinux.org/?467b90f22728052a#Aedx2jeyVnDggxmQJqFxTucyP2rRWYwyuuXbJG21oQGV

Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1650 SUPER] driver: nvidia v: 565.77
    arch: Turing pcie: speed: 2.5 GT/s lanes: 16 ports: active: none
    off: HDMI-A-1 empty: DP-1,DVI-D-1 bus-ID: 01:00.0 chip-ID: 10de:2187
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
    compositor: gnome-shell v: 47.3 driver: X: loaded: nouveau
    unloaded: modesetting failed: nvidia alternate: fbdev,nv,vesa
    gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: HDMI-A-1 model: Samsung res: 3840x2160 dpi: 103
    diag: 1093mm (43")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia gbm: drv: nvidia
    surfaceless: drv: nvidia wayland: drv: nvidia x11: drv: nvidia
  API: OpenGL v: 4.6.0 vendor: nvidia v: 565.77 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce GTX 1650 SUPER/PCIe/SSE2
    display-ID: :0.0
  API: Vulkan v: 1.4.303 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: N/A device-ID: 10de:2187 device: 1 type: cpu
    driver: N/A device-ID: 10005:0000
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo gpu: nvidia-settings,
    nvidia-smi, radeontop x11: xdpyinfo, xprop, xrandr

Edit.
Things are actually worse now as the pc struggles just with the desktop and can’t even launch games from lutris and freezes with just firedragon open. Installing the garuda-nvidia-config seems to get the pc back to it’s previous, more usable, state. I probably shouldn’t have done this, but the htpc was practically unusable.

Your journal is inconspicuous, nothing that has to do with your issue:

Ιαν 28 23:25:05 kobold-firenewt kernel: Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=2b3fac6a-0fc5-4b3d-9072-1d5affbe850b rw rootflags=subvol=@ quiet splash nvidia-drm.modeset=1 nvidia-drm.fbdev=1 ibt=off
Ιαν 28 23:25:05 kobold-firenewt kernel: Unknown kernel command line parameters "splash BOOT_IMAGE=/@/boot/vmlinuz-linux-zen", will be passed to user space.

You can ignore the message about the kernel parameter “splash”. You have a fairly old garuda installation and probably still have plymouth installed.

Ιαν 28 23:25:07 kobold-firenewt kernel: nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
Ιαν 28 23:25:07 kobold-firenewt kernel: ucsi_ccg 3-0008: i2c_transfer failed -110
Ιαν 28 23:25:07 kobold-firenewt kernel: ucsi_ccg 3-0008: ucsi_ccg_init failed - -110
Ιαν 28 23:25:07 kobold-firenewt kernel: ucsi_ccg 3-0008: probe with driver ucsi_ccg failed with error -110

The error message is normal for GTX 1650/1660 cards - it is trying to initialize a USB-C port that your Nvidia card does not have.

Ιαν 29 19:33:34 kobold-firenewt systemd[788]: Started Application launched by gnome-shell.
Ιαν 29 19:33:35 kobold-firenewt kernel: vaapitest[7135]: segfault at d8 ip 000072daa2639514 sp 00007fffcd99b6c8 error 4 in libX11.so.6.4.0[27514,72daa2629000+94000] likely on CPU 10 (core 5, socket 0)
Ιαν 29 19:33:35 kobold-firenewt kernel: Code: 84 00 00 00 00 00 f3 0f 1e fa 8b 47 1c c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 8b 47 74 c3 0f 1f 84 00 00 00 00 00 f3 0f 1e fa <48> 8b 87 d8 00 00 00 c3 0f 1f 40 00 f3 0f 1e fa 48 63 f6 48 c1 e6
Ιαν 29 19:33:35 kobold-firenewt systemd-coredump[7136]: Process 7135 (vaapitest) of user 1000 terminated abnormally with signal 11/SEGV, processing...
Ιαν 29 19:33:35 kobold-firenewt systemd[1]: Created slice Slice /system/systemd-coredump.
Ιαν 29 19:33:35 kobold-firenewt systemd[1]: Started Process Core Dump (PID 7136/UID 0).
Ιαν 29 19:33:35 kobold-firenewt systemd-coredump[7137]: Process 7135 (vaapitest) of user 1000 dumped core.

                                                           Stack trace of thread 7135:
                                                           #0  0x000072daa2639514 XDisplayString (libX11.so.6 + 0x27514)
                                                           #1  0x000072daa2e51d00 __vaDriverInit_1_21 (nvidia_drv_video.so + 0xdd00)
                                                           #2  0x000072daa2ccd064 vaInitialize (libva.so.2 + 0x8064)
                                                           #3  0x00005b26a3348636 n/a (n/a + 0x0)
                                                           ELF object binary architecture: AMD x86-64
Ιαν 29 19:33:35 kobold-firenewt systemd[1]: systemd-coredump@0-7136-0.service: Deactivated successfully.
Ιαν 29 19:33:35 kobold-firenewt firedragon.desktop[7101]: Crash Annotation GraphicsCriticalError: |[0][GFX1-]: vaapitest: ManageChildProcess failed
Ιαν 29 19:33:35 kobold-firenewt firedragon.desktop[7101]:  (t=0.900637) [GFX1-]: vaapitest: ManageChildProcess failed

FireDragon does not run properly because the hardware video acceleration fails (logically, since the drivers are not working properly).

Ιαν 29 19:32:47 kobold-firenewt udisksd[1640]: Mounted /dev/sdb1 at /run/media/kobold/0AC7-C47C on behalf of uid 1000
Ιαν 29 19:32:47 kobold-firenewt kernel: FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

Always unmount drives correctly :wink:


So, back to your lspci -vv:

00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge (prog-if 00 [Normal decode])
Interrupt: pin ? routed to IRQ 25
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
Interrupt: pin ? routed to IRQ 26

This indicates an unstable PCI bus. Check that the power supply has enough power for the ITX HTPC AND the GTX 1650 SUPER. Check that the PCIe 3.0 x16 port is clean and undamaged - and check that the GPU is undamaged and correctly seated in the slot. And if the HTPC is connected to a UPS, connect it directly to a power outlet.

1 Like

Ok so i teared down the htpc, cleaned it up, made sure all connection are tight and tried to install my Rx 580 from my desktop just to make sure it works. And it does with no problems whatsoever. My PSU is a Corsair 600w bronze plus so I don’t think that it’s the problem here.
Here is the rx 580 lspci-vv
https://bin.garudalinux.org/?4dc65c7a2a8246fe#GMJUURSjxSUPvgc64nRLsLS9iae4jb9E3Cs5LscEewtG

And for the gtx 1650 super after I made sure everything is nice and snug.
https://bin.garudalinux.org/?5b7a8bb13e87d4dc#6om9PZGTqfX6Li8XYCinUkakELcyAo23fQzDsJ2iFzwF

After I did all that I tried installing the drivers from the script @Jeshu recommended but I had no luck with those either some of the options failed to install altogether. After I removed them with:

sudo pacman -Rdd lib32-nvidia-utils-tkg lib32-opencl-nvidia-tkg nvidia-dkms-tkg nvidia-egl-wayland-tkg nvidia-settings-tkg nvidia-utils-tkg opencl-nvidia-tkg

and reinstalled the original ones with:

sudo pacman -S nvidia-dkms egl-wayland lib32-nvidia-utils lib32-opencl-nvidia nvidia-settings opencl-nvidia nvidia-utils

as the github page recommends I did see some improvement in performance but I encountered brand new graphical glitches, mostly in steam and steam big picture. One way I was checking if everything works was to see if I could set the refresh rate at 60hz, something that both the iGPU and the rx 580 support fully, but no luck there. It came to me that maybe PNY cheaped out for the HDMI port and had a v1.4 installed that doesn’t support 4k60hz but that was not the case as according to techpowerup.com it actually comes with a v2.0

Here is my latest inxi -Gxx if it is of any use.

Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1650 SUPER] driver: nvidia v: 565.77 arch: Turing pcie:
    speed: 2.5 GT/s lanes: 16 ports: active: none off: HDMI-A-1 empty: DP-1,DVI-D-1 bus-ID: 01:00.0
    chip-ID: 10de:2187
  Display: unspecified server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
    compositor: gnome-shell v: 47.3 driver: X: loaded: nouveau unloaded: modesetting failed: nvidia
    alternate: fbdev,nv,vesa gpu: nvidia,nvidia-nvswitch tty: 101x52
  Monitor-1: HDMI-A-1 model: Samsung res: 3840x2160 dpi: 103 diag: 1093mm (43")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia gbm: drv: nvidia surfaceless: drv: nvidia
    wayland: drv: nvidia inactive: x11
  API: OpenGL v: 4.6.0 vendor: nvidia v: 565.77 note: console (EGL sourced) renderer: NVIDIA
    GeForce GTX 1650 SUPER/PCIe/SSE2
  API: Vulkan v: 1.4.303 surfaces: wayland device: 0 type: discrete-gpu driver: N/A
    device-ID: 10de:2187 device: 1 type: cpu driver: N/A device-ID: 10005:0000
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo gpu: nvidia-settings, nvidia-smi, radeontop
    x11: xdpyinfo, xprop, xrandr

The power supply is more than sufficient, that’s not the problem. It was just about ruling that out as a possible source of error at the lowest level (GPU has fallen off the bus).

Let’s go back to your Xorg.0.log (in short and chronological order):

[     8.242] (II) LoadModule: "nouveau"
[     8.242] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[     8.244] (II) Module nouveau: vendor="X.Org Foundation"
[     8.244] 	compiled for 1.21.1.14, module version = 1.0.18
[     8.244] 	Module class: X.Org Video Driver
[     8.244] 	ABI class: X.Org Video Driver, version 25.2

[     8.245] (II) LoadModule: "nvidia"
[     8.245] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     8.261] (II) Module nvidia: vendor="NVIDIA Corporation"
[     8.261] 	compiled for 1.6.99.901, module version = 1.0.0
[     8.261] 	Module class: X.Org Video Driver

[     8.264] (EE) [drm] Failed to open DRM device for (null): -22
[     8.742] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19

[     9.076] (EE) NVIDIA(GPU-1): Failed to initialize the NVIDIA graphics device!
[     9.076] (EE) NVIDIA(G0): Failing initialization of X screen
[     9.076] (II) UnloadModule: "nvidia"

[     9.076] (WW) NVIDIA: Failed to bind sideband socket to
[     9.076] (WW) NVIDIA:     '/var/run/nvidia-xdriver-f886da56' Permission denied
[     9.076] (EE) NVIDIA(GPU-1): Failed to initialize the NVIDIA graphics device!
[     9.076] (II) NVIDIA(GPU-1): Deleting GPU-1

As far as I know, the drm error message does not belong to nvidia but to nouveau.
The warning message about “sideband socket” and “Permission denied” is normal, because Xorg runs rootless.
I don’t know why the nvidia GPU cannot be initialized - I’m not an nvidia expert.

There is no error message in your journal about this, drm and nvidia are error-free and nvidia is loaded as kernel driver. So the open source driver nouveau should be the cause. Normally nouveau is automatically blacklisted when nvidia-utils is installed - but this obviously doesn’t work for you.


You can try blacklisting nouveau or uninstalling (xf86-video-nouveau). I don’t like to recommend it, but you can also try running Xorg as root. If that doesn’t help, read this:
https://wiki.archlinux.org/title/NVIDIA
https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks
https://wiki.archlinux.org/title/NVIDIA/Troubleshooting
https://wiki.archlinux.org/title/Kernel_module
https://wiki.archlinux.org/title/Nouveau

In individual cases it is necessary to configure Xorg manually:
https://wiki.archlinux.org/title/Xorg

Maybe someone else has an idea and jump in here.

1 Like

!!! First !!!
Make a bios update: you v.2.0 → new v.3.4 or the newest beta bios 3.46
It´s so important…special the linux 6.xxx kernel need this.
Now the early boot options for nvidia. ( for virtual console work or not working confusing stuff)
Why ?
https://bbs.archlinux.org/viewtopic.php?id=301525

The option nvidia-drm.fbdev=1 → delete → update grub. (my mind)
Only if you really need your nvdia gpu for vconsole.
Your nvidia card is the first generation that can handle these “options” but drivers 340/390/470xx and 525 don’t support the fbdev.
Also, some manufacturer have this not good implemented.
(gpu 1650s special sparcle, gainward, pny perhaps other also)
→ driver 470xx pls do not use.
Make bios update → enable/disable relevant features inside bios
→ reboot and then ?