Nvidia drivers just don't work on my laptop with optimus

System:
  Kernel: 5.17.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=b3dc3909-a014-4228-85df-639013a99a43 rw rootflags=subvol=@
    quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
  Desktop: Qtile v: 0.21.0 vt: 1 dm: SDDM Distro: Garuda Linux
    base: Arch Linux
Machine:
  Type: Laptop System: Acer product: Aspire A715-75G v: V1.00
    serial: <superuser required>
  Mobo: CFL model: Azalea_FMS v: V1.00 serial: <superuser required>
    UEFI: Insyde v: 1.00 date: 02/11/2020
Battery:
  ID-1: BAT1 charge: 34.6 Wh (99.7%) condition: 34.7/47.9 Wh (72.4%)
    volts: 12.2 min: 11.4 model: COMPAL PABAS0241231 type: Li-ion
    serial: <filter> status: N/A
CPU:
  Info: model: Intel Core i5-9300H bits: 64 type: MT MCP arch: Coffee Lake
    family: 6 model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xEC
  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: 890 high: 900 min/max: 800/4100 scaling:
    driver: intel_pstate governor: powersave cores: 1: 823 2: 900 3: 900 4: 900
    5: 900 6: 900 7: 900 8: 900 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: 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: 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 ports: active: eDP-1
    empty: none bus-ID: 0000:00:02.0 chip-ID: 8086:3e9b class-ID: 0300
  Device-2: NVIDIA TU117M vendor: Acer Incorporated ALI driver: nouveau
    v: kernel ports: active: none empty: HDMI-A-1 bus-ID: 0000:01:00.0
    chip-ID: 10de:1f99 class-ID: 0300
  Device-3: Quanta HD User Facing type: USB driver: uvcvideo bus-ID: 1-5:5
    chip-ID: 0408:a061 class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.3 compositors: 1: Qtile v: 0.21.0
    2: Picom v: git-c4107 driver: X: loaded: intel,modesetting,nouveau
    alternate: fbdev,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 mapped: eDP1 model: AU Optronics 0xdf87 built: 2019
    res: 1920x1080 hz: 60 dpi: 143 gamma: 1.2 size: 340x190mm (13.39x7.48")
    diag: 394mm (15.5") ratio: 16:9 modes: 1920x1080
  Message: Unable to show GL data. Required tool glxinfo missing.
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.17.1-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 15.0 running: yes
  Sound Server-3: PipeWire v: 0.3.49 running: yes
Network:
  Device-1: 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>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel
    bus-ID: 0000:07:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp7s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-14:7 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>
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: 476.94 GiB used: 32.46 GiB (6.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: OM8PCP3512F-AA
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B type: SSD
    serial: <filter> rev: ECFK52.3 temp: 37.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 201.61 GiB size: 201.61 GiB (100.00%)
    used: 32.41 GiB (16.1%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 54.4 MiB (56.7%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 201.61 GiB size: 201.61 GiB (100.00%)
    used: 32.41 GiB (16.1%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-4: /var/log raw-size: 201.61 GiB size: 201.61 GiB (100.00%)
    used: 32.41 GiB (16.1%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
  ID-5: /var/tmp raw-size: 201.61 GiB size: 201.61 GiB (100.00%)
    used: 32.41 GiB (16.1%) fs: btrfs dev: /dev/nvme0n1p5 maj-min: 259:5
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 7.6 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 60.0 C pch: 58.0 C mobo: N/A gpu: nouveau
    temp: 39.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 285 Uptime: 48m wakeups: 1 Memory: 7.6 GiB
  used: 2.74 GiB (36.1%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1329 lib: 351 Shell: fish
  v: 3.4.1 default: Bash v: 5.1.16 running-in: alacritty inxi: 3.3.15
Garuda (2.6.1-1):
  System install date:     2022-04-11
  Last full system update: 2022-04-13
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units:

starting with the live environment, I have tried KDE version and qtile version of garuda but the system does not go past the part where it says something like plymoth boot whenever I choose proprietary drivers, so I always have to use open source drivers for installation process

I tried to install the nvidia drivers with the gui app and choose, "auto install proprietary drivers", I have tried this a few times, I have gotten cases where it does nothing and cases where reboot results in a black screen if I have had enabled login directly or infinite loading times for the loading before the login screen.

I tried to install nvidia drivers following the popular post on the forum about how to configure laptops and had the same result as above

I recently mentioned that I couldn't get the drivers to work in the reddit for garudalinux and was asked to create a thread.

please excuse me if what I am missing is something dumb, I tried to look for posts with similar issues but couldn't find any, maybe I suck at searching.

getting this to work isn't urgent at all since intel graphics does the job for me since I don't game on here but on windows

Can you manually install drivers after installation with

sudo pacman -S nvidia-dkms
1 Like

you have turned of fastboot and secure boot in the bios?

3 Likes

Can you manually install drivers after installation with
sudo pacman -S nvidia-dkms

I did do that when I followed the “configure garuda linux for laptop”’ guide.

you have turned of fastboot and secure boot in the bios?

I had no idea that turning off fastboot was a thing I needed to do, I have never changed that setting ever on my laptop, secure boot is turned off tho. I will see if live environment works with proprietary drivers would work with fastboot turned off. I will report back to this thread in some time. wait

turning off fastboot did not work

is there a bios update for your laptop ?

Try again and post the output from the terminal process.

Did it finally finish and the system worked?
Collect and post journal log from the failed booting (read man journalctl for how-to). Not every case is the same.

And what was the result? Did the modules compile or was there an error message?

1 Like

Try again and post the output from the terminal process.

I am not sure I can because, if I do it and I have the boot issue again, I would have to reinstall again. I am not sure I have the time for that, but I can do sudo pacman -S nvidia-dkms and sudo pacman -Rs nvidia-dkms before shutting my laptop I guess. let me try it in some time

Did it finally finish and the system worked?
Collect and post journal log from the failed booting (read man journalctl for how-to). Not every case is the same.

no, I left it over night once and it just stayed there. to get the log would mean I recreate the bug for not booting which would again mean I would have to reinstall the os to use my laptop and I don’t have the time.

is there a bios update for your laptop ?

nope, the latest one is before I purchased my laptop

And what was the result? Did the modules compile or was there an error message?

there were no errors and nvidia-smi did not give me a message saying I don’t have the drivers loaded.

So nvidia-smi showed the correct output with card and driver details and processes running on the GPU?

If so that means the GPU is working and you just have to direct applications to run using the dGPU, e.g. using the prime-run wrapper.

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