How to install Nvidia proprietary driver?

When I install Linux Mint, I have to use safe mode and install Nvidia proprietary drivers afterwards. If I don't, random pixels show up, and the system will randomly crash. Damn Nouveu open source driver.

How do I install proprietary drivers in Garuda Linux? I tried installing them with the boot option with Nvidia drivers, but that one stalls while booting. The open source driver install again shows random pixels and crashes the system randomly, so it's the damn Nouveau. Does Garuda's GRUB options have a safe mode? NO! When I search for solutions the system crashes of course so I've been busy for hours and hours... Many forum posts say: go to hardware settings and auto probe for proprietary drivers. Okay, but where....!!!??? Everytime I search for it my system crashes for obvious reasons, please introduce the safe mode and a simple way to install the Nvidia drivers!!!

(yeah, sorry, very frustrated) :wink:

1 Like

Welcome to forum and Garuda Linux!

First question is of course:

but that one stalls while booting

How long were you waiting? It can take up to 10 minutes depending on your processor speed (on a modern processor it shouldn’t take longer than 3 minutes) because it has to compile the Nvidia drivers. Please note that the KDE-lite edition does not have any Nvidia drivers included, so this process will never finish.

To enable “safe mode”, in the Grub menu (the bootloader) where it allows you to select advanced options, etc, you can press “e” on the top most entry to edit the kernel commandline.
Go down to where it says linux /@/boot/vmlinuz-linux-zen and add “nomodeset” after it. It should look something like this:

linux   /@/boot/vmlinuz-linux-zen nomodeset root=UUID=a3e5b4c0-3bee-4e59-b4f0-208432857053 rw rootflags=subvol=@  quiet rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 loglevel=3

Don’t worry if it’s a bit different. My Garuda Linux installation is years old by now, so that’s expected. Then press ctrl+x to boot the system.

After booting, you will be greeted by the normal login screen, etc. In Garuda Welcome select “Setup assistant” at the bottom. Follow the setup assistant and apply the system update. After the system update is done, you will be asked if you want to install the Nvidia drivers. Click yes and follow the terminal instructions until the driver is installed. Finish the setup as you would normally and then reboot.

3 Likes

Alright, thank you, that was fast!
I'll try and let you know.
Thanks!

I'll try some other day. Time to go to sleep now here in Europe. :wink:
But now my Windows (dual boot) doesn't shutdown, it only logs off. All new install, so no data lost when I wipe the disk. :wink:

I am European too and I insist on staying up the entire night soooo

2 Likes

Hi. Perhaps this shines some light. Hardware Configuration tells me my (very old) graphics card is:

GT215 (GeForce GT 240) (nVidia Corporation)

There's no button for auto-installing proprietary drivers.

I read somewhere I should install nvidia-340xx or 390xx manually. I can try... the number 340 I remember Linux Mint recommends it at my system. If that doesn't work I can try wait for the boot sequence with proprietary drivers to continue. My PC is old. :wink:

The other problem persists after I wiped and reinstalled Windows 10 and Garuda: Windows shutdown does log me off instead of shutting down. A "shutdown /s" on the command prompt does shutdown.

Hi @paco
can you provide your

garuda-inxi

It may help to find a work around

Btw Welcome to the forum :smiley:

1 Like

Sure. Warning... it's rather old. :wink:

System:
Kernel: 5.17.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=e0675f44-1491-4dd0-9680-50191c4dd0b8 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
loglevel=3
Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: MEDIONPC model: MS-7616 v: 1.0
serial: <superuser required> BIOS: American Megatrends v: A7616MLN.107
date: 11/03/2009
CPU:
Info: model: Intel Core i5 750 bits: 64 type: MCP arch: Nehalem family: 6
model-id: 0x1E (30) stepping: 5 microcode: 0xA
Topology: cpus: 1x cores: 4 smt: <unsupported> 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: 2333 high: 2660 min/max: N/A cores: 1: 2660 2: 2660
3: 2660 4: 1354 bogomips: 21282
Flags: 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 disabled
Type: mds
status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
Type: meltdown mitigation: PTI
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: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GT215 [GeForce GT 240] vendor: Micro-Star MSI
driver: nouveau v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16 ports:
active: VGA-1 empty: DVI-I-1,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:0ca3
class-ID: 0300
Device-2: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 2-1.6:4 chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1
compositor: kwin_x11 driver: X: loaded: nouveau unloaded: modesetting
alternate: fbdev,nv,vesa gpu: nouveau display-ID: :0 screens: 1
Screen-1: 0 s-res: 1680x1050 s-dpi: 96 s-size: 444x277mm (17.48x10.91")
s-diag: 523mm (20.6")
Monitor-1: VGA-1 model: Fujitsu Siemens L20W-1 serial: <filter>
built: 2008 res: 1680x1050 hz: 60 dpi: 99 gamma: 1.3
size: 433x271mm (17.05x10.67") diag: 511mm (20.1") ratio: 16:10 modes:
max: 1680x1050 min: 720x400
OpenGL: renderer: NVA3 v: 3.3 Mesa 22.0.2 direct render: Yes
Audio:
Device-1: Intel 5 Series/3400 Series High Definition Audio
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
chip-ID: 8086:3b56 class-ID: 0403
Device-2: NVIDIA High Definition Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:0be4 class-ID: 0403
Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 2-1.6:4 chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
Sound Server-1: ALSA v: k5.17.4-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.50 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: d800 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: IMC Networks Mediao 802.11n WLAN [Realtek RTL8191SU] type: USB
driver: r8712u bus-ID: 2-1.7:5 chip-ID: 13d3:3306 class-ID: 0000
serial: <filter>
IF: wlp0s29u1u7 state: down mac: <filter>
Drives:
Local Storage: total: 447.13 GiB used: 6.98 GiB (1.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SA400S37480G
size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
type: SSD serial: <filter> rev: 1103 scheme: MBR
Partition:
ID-1: / raw-size: 269.87 GiB size: 269.87 GiB (100.00%)
used: 6.98 GiB (2.6%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
ID-2: /home raw-size: 269.87 GiB size: 269.87 GiB (100.00%)
used: 6.98 GiB (2.6%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
ID-3: /var/log raw-size: 269.87 GiB size: 269.87 GiB (100.00%)
used: 6.98 GiB (2.6%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
ID-4: /var/tmp raw-size: 269.87 GiB size: 269.87 GiB (100.00%)
used: 6.98 GiB (2.6%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 3.82 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 46.0 C mobo: N/A gpu: nouveau temp: 102.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 214 Uptime: 0m wakeups: 0 Memory: 3.82 GiB
used: 1.55 GiB (40.4%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 Packages: pacman: 1136 lib: 290 Shell: fish v: 3.4.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.15
Garuda (2.6.2-1):
System install date:     2022-05-11
Last full system update: 2022-05-11
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       <superuser required>
Snapshots:               Snapper
Failed units:            bluetooth-autoconnect.service

It,s old ish but not to old u,m like some of us :smiley:
But i think you will be better off just sticking to the nouveau driver,s if everything is working ok :smiley:
If it works don,t break it :smiley:

2 Likes

According to the arch wiki

For the Tesla (NV50/G80-90-GT2XX) series, install the nvidia-340xx-dkmsAUR package

2 Likes

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