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

[SB2 15] nouveau gets reloaded although blacklisted #264

Closed
vonAlenberg opened this Issue Oct 5, 2018 · 8 comments

Comments

Projects
None yet
4 participants
@vonAlenberg
Copy link

vonAlenberg commented Oct 5, 2018

When booting the tablet only nouveau is not loaded. But when I reattach the tablet to its base the module gets loaded again, although I have blacklisted it in /etc/modprobe.d/blacklist-nouveau.conf.
That's quite annoying as the dGPU does nothing useful but drains my battery.

4.18.11, Ubuntu 18.04, xorg-session

@qzed

This comment has been minimized.

Copy link
Collaborator

qzed commented Oct 5, 2018

I have the same problem on a newly set-up Debian Buster, also on 4.18.11, as well as the default Debian 4.18 kernel (and a 4.18.12 custom-compiled kernel based on Jakes patches). modprobe -r nouveau fails with modprobe: FATAL: Module nouveau is in use..

I've had some problems with nouveau since I updated the system a while ago, first crashing multiple times during boot, which I've fixed by re-installing Debian (happened on all kernels I tested). Sadly I don't have the logs any more.

@remingtonlang

This comment has been minimized.

Copy link
Contributor

remingtonlang commented Oct 5, 2018

Thats strange, I detach/reattach the screen all the time and nouveau doesn't interfere or get loaded. What are the contents of blacklist-nouveau?

I have

blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off
options nouveau modeset=0

@vonAlenberg

This comment has been minimized.

Copy link
Author

vonAlenberg commented Oct 5, 2018

Originally I just had
blacklist nouveau
in it, but even with the contentc from @remingtonlang it still gets loaded on boot.

@qzed

This comment has been minimized.

Copy link
Collaborator

qzed commented Oct 5, 2018

@remingtonlang detaching/reattaching works fine on my system too, even though I can't unload nouveau.

@remingtonlang

This comment has been minimized.

Copy link
Contributor

remingtonlang commented Oct 5, 2018

@vonAlenberg after the file update did you run 'sudo update-initramfs -u' and reboot?

after a quick detach/reattach I still don't see it

[remi:/etc/modprobe.d] $ lsmod | grep nou
[remi:/etc/modprobe.d] 1 $ 
@vonAlenberg

This comment has been minimized.

Copy link
Author

vonAlenberg commented Oct 5, 2018

@vonAlenberg after the file update did you run 'sudo update-initramfs -u' and reboot?

Things can be so easy... if you're not dumb like me. Thanks and closed ;)

@vonAlenberg vonAlenberg closed this Oct 5, 2018

@qzed

This comment has been minimized.

Copy link
Collaborator

qzed commented Oct 5, 2018

For the record: @remingtonlang's solution also works for me.

@ezyang

This comment has been minimized.

Copy link

ezyang commented Mar 17, 2019

I spent a long time editing blacklists and running update-initramfs and wondering why it didn't work. Turns out, update-initramfs was updating my unsigned initramfs (but I'm using signed kernels because I'm on Surface Book 2 and didn't turn off trusted boot). A quick copy fixed the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.