You are not logged in.

#1 2024-12-02 10:34:24

gucio321
Member
Registered: 2024-10-17
Posts: 48

[SOLVED] nvidia-drm is not loading after uninstalling optimus-manager

Hi
Yesturday I was playing with optimus-manager and gwe but it didn't work (its only for context)
tody I didt 2 things: installed nvidia-prime and installed updates.
After that I've noticed that my gnome runs on software rendering. After some investigation I've noticed that nvidia-drm kernel module is not loaded. When I do `sudo modprobe nvidia-drm` my desktop restarts and it works fine until the next reboot.
So my question is: what could happen? What should I do now?
(i've tried to reinstall my driver)

tl;dl
/lib/modprobe.d/optimus-manager.conf blacklists nvidia modules, so remove it manually after removing optimus-manager

Last edited by gucio321 (2024-12-09 12:36:49)

Offline

#2 2024-12-02 17:01:46

pvtvega
Member
Registered: 2024-11-25
Posts: 91

Re: [SOLVED] nvidia-drm is not loading after uninstalling optimus-manager

If you restart your system and run

lsmod | grep nvidia

what are the results? If you don't see anything related to nvidia, specifically nvidia-drm, then the kernel module is not configured to load at startup.

Assuming you are using GRUB, the next thing to check would be to check your config and confirm that nvidia-drm.modeset and nvidia-drm.fbdev parameters are both set to 1 which tells your kernel to let the NVIDIA driver perform KMS and initialize a framebuffer early in boot. What is the output of

cat /etc/default/grub

Last edited by pvtvega (2024-12-02 17:02:23)

Offline

#3 2024-12-02 17:12:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,681

Re: [SOLVED] nvidia-drm is not loading after uninstalling optimus-manager

which tells your kernel to let the NVIDIA driver perform KMS and initialize a framebuffer early in boot

https://wiki.archlinux.org/title/Kernel … _KMS_start requires the modules to be present in the initramfs, but I'm pretty sure the answer is

I was playing with optimus-manager

having left some modprobe blacklist

modprobe -c | grep -v alias | grep nvidia

Offline

#4 2024-12-09 12:24:59

gucio321
Member
Registered: 2024-10-17
Posts: 48

Re: [SOLVED] nvidia-drm is not loading after uninstalling optimus-manager

Hi
sorry for late answer - I think I forgot to supscribe

@seth is right:

[~ (0) ]$ modprobe -c | grep -v alias | grep nvidia
blacklist nvidia_drm
blacklist nvidia_uvm
blacklist nvidia_modeset
blacklist nvidia
options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_TemporaryFilePath=/var/tmp
softdep nvidia pre: ecdh_generic,ecdsa_generic

where are these blacklists so that I can remove them?

Offline

#5 2024-12-09 12:31:47

gucio321
Member
Registered: 2024-10-17
Posts: 48

Re: [SOLVED] nvidia-drm is not loading after uninstalling optimus-manager

`rm /lib/modprobe.d/optimus-manager.conf` did the trick

Offline

Board footer

Powered by FluxBB