Centos 9 Stream : Black screen and mouse instead of login screen nvidia nouveau driver

Issues related to hardware problems
Post Reply
jlaparre
Posts: 1
Joined: 2022/03/04 19:47:18

Centos 9 Stream : Black screen and mouse instead of login screen nvidia nouveau driver

Post by jlaparre » 2022/03/06 16:49:17

Hello all,

This post has 3 aims :
1.Share my solution for people to avoid them spending their evening searching like I did.
2.See if anyone can share insight on what happened and why having a capability denied for my graphical interface solved the issue?
3.Ask if this can be suggested as a bug to the RedHat team

Scenario :
Normal install of Centos Stream 9 on my old machine.
All good, it goes through until the end, no error.
Reboot the machine.
Instead of login screen I get the little white spinning wheel at the start, and then it goes all black with just the cursor of the mouse.
I go ctrl+alt+F1 to get text based login screen
I log in
Here are the errors I got :

Here is details of my graphical interface :

Code: Select all

04:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev a2)
	Subsystem: ASUSTeK Computer Inc. Device 189d
	Flags: bus master, fast devsel, latency 0, IRQ 48
	Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at d000 [size=128]
	Expansion ROM at f7000000 [disabled] [size=512K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [250] Latency Tolerance Reporting
	Capabilities: [258] L1 PM Substates
	Capabilities: [128] Power Budgeting <?>
	Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Capabilities: [900] Secondary PCI Express
	Kernel driver in use: nouveau
	Kernel modules: nouveau]
I can start start 'startx' fine : the gui of the desktop appears and everything looks fine but as soon as I click an element it crashes and I get a 'oops something went wrong' message, and I am sent back to console.

We can see following error from time to time in the terminal just popping :

Code: Select all

nouveau 0000:04:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ PRIVRING]
Nouveau driver is therefore the bad guy here. More info here :
log.zip
ScriptGivingAdditionalInsightOnSituationWhileBeingTheProblematicSetUp
(12.53 KiB) Downloaded 110 times
I go and start following tutorial to replace nouveau with nvidia driver for that graphical card.
This involves first of all to blacklist the use of nouveau and then generate a new grub config file.
I do so.
Then reboot.
And there, without even installing anything, login page appears, all works now fine, only difference? Now we see the blacklist of the graphical interface

Code: Select all

04:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev a2)
	Subsystem: ASUSTeK Computer Inc. Device 189d
	Flags: bus master, fast devsel, latency 0, IRQ 11
	Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at d000 [size=128]
	Expansion ROM at f7000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel modules: nouveau
No clue what is now used if nouveau is blacklisted and that I did not install the nvidia driver? But anyway problem solved, all is working fine now.

Thanks for reading!

Best Regards,

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centos 9 Stream : Black screen and mouse instead of login screen nvidia nouveau driver

Post by TrevorH » 2022/03/06 19:02:26

For information on filing bugs against CentOS Linux or CentOS Stream please see https://wiki.centos.org/ReportBugs

It's likely that if you blacklisted nouveau then it's using the VESA drivers instead. Slower still.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply