optimus-manager icon indicating copy to clipboard operation
optimus-manager copied to clipboard

Why does optimus-manager blacklist nvidia modules in /usr/lib/modprobe.d/optimus-manager.conf ?

Open sukulent opened this issue 2 years ago • 3 comments

Inside the file there is:

blacklist nouveau
blacklist nvidia_drm
blacklist nvidia_uvm
blacklist nvidia_modeset
blacklist nvidia

I need nvidia_uvm module to be loaded at boot, I can load it manually using nvidia-modprobe -u after, but that should be automatic. In logs it says systemd-modules-load[252]: Module 'nvidia_uvm' is deny-listed, but it loads the other modules fine.

So my question is, what am I missing and how should I make nvidia_udm load at boot? This is a bit confusing.

I am running Arch (5.18.14-zen1-1-zen) on Lenovo Legion 5, RTX 2060 and i5-10300H

sukulent avatar Jul 29 '22 20:07 sukulent

Is that file created by optimus manager? If not you can simply delete the line

To check if that file is owned by a package use

pacman -Qo /etc/modprobe.d/nvidia.conf

Also which mode is optimus manager running in?

optimus-manager --status

Depending on your mode you can also automate it using the files under /etc/optimus-manager/xsetup-*

afro-coder avatar Aug 16 '22 03:08 afro-coder

file is owned by the package use

/usr/lib/modprobe.d/optimus-manager.conf is owned by optimus-manager 1.4-5

and I mentioned that in Askannz/optimus-manager/package/PKGBUILD

54 install -Dm644 modules/optimus-manager.conf "$pkgdir/usr/lib/modprobe.d/optimus-manager.conf

lu0se avatar Aug 25 '22 05:08 lu0se

It can cause nvidia nvidia_drm nvidia_uvm nvidia_modeset can't be auto loaded when fully disable integrated graphics in UEFI settings,

Must modprobe them manaully after startup

brainos233 avatar Aug 26 '22 11:08 brainos233

Closing case since this question was answered back in 2022 and the original reported didn't came back.

Please fell free to reopen it if there are still any pending queries.

nwildner avatar Jul 01 '24 10:07 nwildner