No nvidia driver at boot?

So im in the process of moving to the nouveau driver however i cant seem to figure out why nouveau isnt loading at boot (also for some reason im missing a few desktop files, i guess because they had “prime-run” in them?)

This post seems to be missing a bit of pertinent information.
Please have a look at the following link: How to provide good information

But if I had to guess … it sounds like you have dual-graphics?
If so things are a bit different than just ‘switching drivers’.

Ah yea i forgot inxi -Fxz, as for the ‘switching drivers’ im switch from the legacy nvidia drivers to nouveau while still keeping the amd drivers, im just running into an issue having nouveau load at boot

  Kernel: 5.14.10-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
  Desktop: GNOME 40.5 Distro: Manjaro Linux base: Arch Linux
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X570ZD_K570ZD
  v: 1.0 serial: <filter>
  Mobo: ASUSTeK model: X570ZD v: 1.0 serial: <filter>
  UEFI: American Megatrends v: X570ZD.312 date: 02/25/2020
  ID-1: BAT0 charge: 24.4 Wh (61.6%) condition: 39.6/48.1 Wh (82.3%)
  volts: 11.7 min: 11.7 model: ASUSTeK ASUS Battery status: Charging
  Info: Quad Core model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
  bits: 64 type: MT MCP arch: Zen rev: 0 cache: L2: 2 MiB
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  bogomips: 31952
  Speed: 1371 MHz min/max: 1600/2000 MHz boost: enabled Core speeds (MHz):
  1: 1371 2: 1354 3: 1460 4: 1495 5: 1538 6: 1558 7: 1519 8: 1357
  Device-1: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: ASUSTeK
  driver: N/A bus-ID: 01:00.0
  Device-2: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
  vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 05:00.0
  Device-3: IMC Networks USB2.0 VGA UVC WebCam type: USB driver: uvcvideo
  bus-ID: 3-2.2:4
  Display: wayland server: 1.20.13 compositor: gnome-shell driver:
  loaded: modesetting,nvidia resolution: <missing: xdpyinfo>
  OpenGL: renderer: AMD Radeon Vega 8 Graphics (RAVEN DRM 3.42.0
  5.14.10-1-MANJARO LLVM 12.0.1)
  v: 4.6 Mesa 21.2.3 direct render: Yes
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
  v: kernel bus-ID: 05:00.1
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
  v: kernel bus-ID: 05:00.6
  Sound Server-1: ALSA v: k5.14.10-1-MANJARO 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: yes
  Sound Server-5: PipeWire v: 0.3.38 running: no
  Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter
  vendor: AzureWave driver: rtw_8822be v: N/A port: e000 bus-ID: 03:00.0
  IF: wlp3s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  vendor: ASUSTeK driver: r8169 v: kernel port: d000 bus-ID: 04:00.0
  IF: eth0 state: down mac: <filter>
  Device-1: IMC Networks Bluetooth Radio type: USB driver: btusb v: 0.8
  bus-ID: 3-2.1:3
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
  rfk-block: hardware: no software: yes address: see --recommends
  Local Storage: total: 387.53 GiB used: 121.36 GiB (31.3%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLW256HEHP-00000
  size: 238.47 GiB temp: 37.9 C
  ID-2: /dev/sda vendor: Hitachi model: HTS543216A7A384 size: 149.05 GiB
  ID-1: / size: 39.11 GiB used: 19.35 GiB (49.5%) fs: ext4
  dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 512 MiB used: 288 KiB (0.1%) fs: vfat
  dev: /dev/nvme0n1p1
  ID-3: /home size: 191.85 GiB used: 42.3 GiB (22.1%) fs: ext4
  dev: /dev/nvme0n1p4
  ID-1: swap-1 type: partition size: 1.95 GiB used: 0 KiB (0.0%)
  dev: /dev/nvme0n1p3
  System Temperatures: cpu: 62.1 C mobo: 62.0 C gpu: amdgpu temp: 62.0 C
  Fan Speeds (RPM): cpu: 2600
  Processes: 272 Uptime: 12m Memory: 6.73 GiB used: 1.85 GiB (27.5%)
  Init: systemd Compilers: gcc: 11.1.0 Packages: 1432 Shell: Zsh v: 5.8
  inxi: 3.3.07

Ah OK - every time I see nvidia+drivers+problem I assume optimus.
Can you verify the issues is not one of the common ones outlined here:

It was blacklisted in the optimus modprobe file but commenting that out seems to cause the issue to persist, and im not seeing any of the others

How were you going about driver installation? What does mhwd say?

mhwd -li


mhwd -l

( in case mhwd sounds foreign to you … please see Manjaro Hardware Detection - Manjaro )

output of mwhd -li

> Installed PCI configs:
                  NAME               VERSION          FREEDRIVER           TYPE
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI

Warning: No installed USB configs!

and output of mhwd -l

> 0000:01:00.0 (0302:10de:1c8d) Display controller nVidia Corporation:
                  NAME               VERSION          FREEDRIVER           TYPE
video-hybrid-amd-nvidia-prime            2021.07.28               false            PCI
          video-nvidia            2020.11.30               false            PCI
    video-nvidia-390xx            2020.11.30               false            PCI
           video-linux            2018.05.04                true            PCI

> 0000:05:00.0 (0300:1002:15dd) Display controller ATI Technologies Inc:
                  NAME               VERSION          FREEDRIVER           TYPE
video-hybrid-amd-nvidia-prime            2021.07.28               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

> 0000:04:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
                  NAME               VERSION          FREEDRIVER           TYPE
         network-r8168            2016.04.20                true            PCI

all i did was remove the nvidia legacy drivers and get nouveau to be able to run, then had mhwd install open source drivers and removed a few lines that blacklisted nouveau in /etc/modprobe.d/mwhd-gpu.conf, as well as removing two nvidia lines in /etc/X11/mhwd.d/nvidia.conf and /etc/modules-load.d/mhwd.conf, although optimus seems to be unloading nouveau and then trying to load nvidia and then crashing based off the logs

I think i know whats happening, Optimus is crashing because its logging into wayland instead of X11, which isnt supported on GDM, though if i try to force it to load X11 it just sits at a black screen for a bit before i can switch to tty3 to comment out the wayland enable in gdm/custom.conf

I had gotten it to work, however nothing i wanted to use it with seemed to work on it, so i moved back to the legacy nvidia drivers

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