Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
modprobe nouveau/nvidia hangs with 100% CPU load on udev
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
guru meditation
Apprentice
Apprentice


Joined: 18 Mar 2018
Posts: 153
Location: Planet Earth

PostPosted: Mon Feb 06, 2023 12:08 am    Post subject: modprobe nouveau/nvidia hangs with 100% CPU load on udev Reply with quote

I have a PC with nvidia 1660 GPU, and managed to compile a working kernel with x11-drivers/nvidia-drivers.

Kernel is 5.15 with nouveau compiled as module, nvidia driver is 470.x (for a reason: later versions are said to have additional ”features“ that I am not fond of.)

When I blacklist either of the driver in /etc/modprobe.d, Gentoo boots up fine. The GPU kernel driver works as expected.

Problem occurs when I try to blacklist both drivers, in order to select the appropriate driver (either nvidia or nouveau). Then udev hangs basically forever with 100% CPU load.
You can log in on another shell and check with top. Also, trying to shut down the computer, it hangs on trying to stop udev.

Does anyone have a hint on a solution?
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1507
Location: Earth

PostPosted: Mon Feb 06, 2023 12:18 am    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/Nouveau_%26_nvidia-drivers_switching

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
guru meditation
Apprentice
Apprentice


Joined: 18 Mar 2018
Posts: 153
Location: Planet Earth

PostPosted: Mon Feb 06, 2023 3:44 am    Post subject: Reply with quote

Thanks, the script using modprobe is what I tried, and where udev hangs.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2680

PostPosted: Mon Feb 06, 2023 7:59 am    Post subject: Reply with quote

I'm not sure but this bumblebee thing may be long outdated. Also, according to Arch Wiki:

"Optimus Technology is a hybrid graphics implementation without a hardware multiplexer. The integrated GPU manages the display while the dedicated GPU manages the most demanding rendering and ships the work to the integrated GPU to be displayed."

Also from Bublebee's FAQ which is quoted on top of the Arch Wiki page:

"What is Bumblebee?
Bumblebee is a effort to make Nvidia Optimus enabled laptops work in GNU/Linux systems. Such feature involves two graphics cards with two different power consumption profiles plugged in a layered way sharing a single framebuffer."

As I see you have a PC with no iGPU and no Optimus. This might be totally irrelevant for you.

Best Regards,
Georgi
Back to top
View user's profile Send private message
guru meditation
Apprentice
Apprentice


Joined: 18 Mar 2018
Posts: 153
Location: Planet Earth

PostPosted: Mon Feb 06, 2023 3:28 pm    Post subject: Reply with quote

I worl on a PC with a dedicated nvidia GPU and using the nvidia driver 470.x.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum