How to switch my display driver from open source to nvidia

Hello Garuda users,

I downloaded the nvidia-470xx-dkms but for some reason it does not check the installed box in the garuda settings manager instead it uses the open source one.

How do i change the driver from open source one to nvidia?

garuda-inxi

System: Kernel: 5.18.16-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.1 
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=b317b7ac-7ad9-4765-b0ed-d38240800acd
 rw [email protected] quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 
 resume=UUID=83399753-dae2-4f50-a8c1-61257372a49c loglevel=3 ibt=off 
Desktop: KDE Plasma v: 5.25.4 tk: Qt v: 5.15.5 info: latte-dock wm: kwin_x11 vt: 1 
dm: SDDM Distro: Garuda Linux base: Arch Linux 
Machine: Type: Laptop System: Acer product: Nitro AN515-54 v: V1.02 serial: <superuser required> 
Mobo: CFL model: Octavia_CFS v: V1.02 serial: <superuser required> 
UEFI: Insyde v: 1.02 date: 03/26/2019 
Battery: 
ID-1: BAT1 charge: 28.3 Wh (70.4%) condition: 40.2/58.8 Wh (68.4%) volts: 15.0 min: 15.4 
model: Simplo PABAS0241231 type: Li-ion serial: <filter> status: discharging 
Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard 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 
CPU:
 Info: model: Intel Core i5-9300H bits: 64 type: MT MCP arch: Coffee Lake gen: core 9
 built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF0
 Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 8 MiB desc: 1x8 MiB Speed (MHz): avg: 804 high: 837 min/max: 800/4100 
scaling: driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 837 8: 800 bogomips: 38400 
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
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 Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling Type: srbds mitigation: Microcode Type: tsx_async_abort status: Not affected 
Graphics: 
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Acer Incorporated ALI driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1 empty: none bus-ID: 0000:00:02.0 chip-ID: 8086:3e9b class-ID: 0300 
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Acer Incorporated ALI driver: nvidia v: 515.65.01 alternate: nouveau,nvidia_drm non-free: 515.xx+ status: current (as of 2022-07) arch: Turing code: TUxxx process: TSMC 12nm built: 2018-22 bus-ID: 0000:01:00.0 chip-ID: 10de:1f91 class-ID: 0300 
Device-3: Quanta HD Webcam type: USB driver: uvcvideo bus-ID: 1-5:3 chip-ID: 0408:a060 class-ID: 0e02 serial: <filter> Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3 compositor: kwin_x11 driver: X: loaded: modesetting,nvidia unloaded: nouveau alternate: fbdev,intel,nv,vesa gpu: i915 display-ID: :0 screens: 1 Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93") Monitor-1: eDP-1 model: AU Optronics 0x21ed built: 2016 res: 1920x1080 hz: 60 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9 modes: 1920x1080 OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 22.1.4 direct render: Yes 
Audio: 
Device-1: Intel Cannon Lake PCH cAVS vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 0000:00:1f.3 chip-ID: 8086:a348 class-ID: 0403 
Device-2: NVIDIA vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel bus-ID: 0000:01:00.1 chip-ID: 10de:10fa class-ID: 0403 Sound Server-1: ALSA v: k5.18.16-zen1-1-zen running: yes Sound Server-2: PulseAudio v: 16.1 running: no Sound Server-3: PipeWire v: 0.3.56 running: yes 
Network: 
Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel bus-ID: 0000:00:14.3 chip-ID: 8086:a370 class-ID: 0280 IF: wlp0s20f3 state: down mac: <filter> 
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 3000 bus-ID: 0000:06:00.0 chip-ID: 10ec:8168 class-ID: 0200 IF: enp6s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Bluetooth: 
Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB driver: btusb v: 0.8 bus-ID: 1-14:4 chip-ID: 8087:0aaa class-ID: e001 Report: bt-adapter ID: hci0 rfk-id: 2 state: up address: <filter> 
RAID: Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: intel_nvme_remap v: N/A port: 5060 bus-ID: 0000:00:17.0 chip-ID: 8086:282a rev: N/A class-ID: 0104 
Drives: Local Storage: total: 1.14 TiB used: 221.43 GiB (18.9%) 
SMART Message: Unable to run smartctl. Root privileges required. 
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFM256GDJTNG-8310A size: 238.47 GiB block-size: physical: 512 B logical: 512 B type: SSD serial: <filter> rev: 80002C00 temp: 37.9 C scheme: GPT 
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM049-2GH172 size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: ACM1 scheme: GPT 
Partition: 
ID-1: / raw-size: 38.56 GiB size: 38.56 GiB (100.00%) used: 13.32 GiB (34.6%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) used: 576 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p5 maj-min: 259:5 
ID-3: /home raw-size: 38.56 GiB size: 38.56 GiB (100.00%) used: 13.32 GiB (34.6%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7 
ID-4: /var/log raw-size: 38.56 GiB size: 38.56 GiB (100.00%) used: 13.32 GiB (34.6%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7 
ID-5: /var/tmp raw-size: 38.56 GiB size: 38.56 GiB (100.00%) used: 13.32 GiB (34.6%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7 
Swap: Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) ID-1: swap-1 type: zram size: 7.61 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0 ID-2: swap-2 type: partition size: 9.77 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p6 maj-min: 259:6 
Sensors: System Temperatures: cpu: 49.0 C pch: 59.0 C mobo: N/A Fan Speeds (RPM): N/A Info: Processes: 250 Uptime: 42m wakeups: 9 Memory: 7.61 GiB used: 3.1 GiB (40.7%) Init: systemd v: 251 default: graphical tool: systemctl Compilers: gcc: 12.1.1 Packages: pacman: 1169 lib: 304 Shell: fish v: 3.5.1 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.20 
Garuda (2.6.5-1):
 System install date:     2022-08-09 Last full system update: 2022-08-09 
Is partially upgraded:   No 
Relevant software:       NetworkManager 
Windows dual boot:       Probably (Run as root to verify) 
Snapshots:               Snapper 
Failed units:

Can you try to copy and paste your garuda-inxi again?

I tried to format it for you but it seems to be a single line of text. Without the line breaks, it is unreadable.

3 Likes

Closed source drivers already installed.

2 Likes

on the garuda settings manager, it shows the driver but the installed tick mark isn't there.
i can't add a screeshot to show it as "new users can't add images" but the default driver is still the open source one.

The system info clearly shows that closed source drivers are installed.
What does nvidia-smi show?

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.65.01 Driver Version: 515.65.01 CUDA Version: 11.7 |
|-------------------------------+----------------------+----------------------+
| 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 47C P8 2W / N/A | 5MiB / 4096MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+

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

This also shows that closed source drivers are active and used. (for an Xorg process)
What are you trying to achieve?

2 Likes

how do i make it the proprietary driver and remove the open source one.

i'm sorry if i have not made myself clear so far..

In the refernce screenshot, next to the nvidia driver it shows a tick under the installed column.

Mine does not.
All the boxes next to the nvidia drivers are unchecked.

refernce screenshot

my screenshot:

You cannot uninstall open source driver because it is builtin to kernel, but you can blacklist it, which is done automatically by propriearty drivers.
I don't know why settings manager shows propriearty drivers are not installed. Choose nvidia-dkms and then perhaps settings manager will show as "installed".

2 Likes

it says command not found.

You don't need to do anything. The NVIDIA driver is installed.

If you want to run an application on the dGPU then use the prime-run wrapper script. KDE might even have a right-click "Run using GPU" option...

2 Likes

Ok thank you for the help.

Great community i must admit.

1 Like