Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modprobe fails #122

Open
skoehler opened this issue Jun 22, 2019 · 0 comments
Open

modprobe fails #122

skoehler opened this issue Jun 22, 2019 · 0 comments

Comments

@skoehler
Copy link

I have to resort to rather drastic measures to keep the nvidia module from loading during startup. I can tell you that starting X loads the nvidia module. But I can't tell you why. I already have

Section "ServerFlags"
    Option      "AutoAddGPU" "off"
EndSection

and there's no mention of nvidia related stuff in Xorg.0.log. But the modules gets loaded anyway, even though it is blacklisted in /etc/modprobe.d/blacklist-nvidia.conf.

I am not certain, that your current systemd service file runs strictly before X is started.

Anyhow, the drastic measure to keep the nvidia kernel from loading is to have

alias nvidia off

or

install nvidia /bin/false

in some *.conf file in /etc/modprobe.d. Then it won't load, but then also the modprobe commands in nvidia-xrun will fail. The solution is to use

modprobe -C /dev/null

or even better yet, specify some nvidia-xrun-modprobe.conf file instead of /dev/null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant