Hi, i’m facing a problem. I’ve installed the nvidia closed driver from RPMFusion, than i followed the guide provided here to set the Nvidia card as the primary GPU. After a reboot i cannot see the login screen, instead i see only a black screen. If i switch to a different tty and type startx, the xserver start normally on the nvidia GPU and everything seems fine. How i can resolve the initial black screen? It’s frustrating change every time to a different tty to get to the desktop.
I’m using the fedora 32 Kde spin, on a Lenovo Ideapad 100 15IBD with core i5 5200u and Nvidia GeForce 920M as descrete Gpu.
Try to press the keys Win + P (one time, if continues black again, repeat about 4-5 times) for changing the display output, maybe is using some external video output not connected to any display. If solved, once you enter the session, go to display settings, set and apply to use the correct display and save the settings. Maybe the options are aparently right, in that case modify something (resolution or anything), apply, then set them again (be sure to select the display output), and apply again for saving changes.
Hi I’ve tried but no luck. The screen is blank not just black, it’s like when the computer is turned off and some time toggle from blank to black, I can see the slight change in color. I’ve tried even to raise the brightness or toggle the back light without success.
SDDM takes some time to load up so it will be some 30 seconds to 1 minute before you get to see the greeter with the discrete GPU. I would highly suggest you to wait for a bit before hitting the keys to reach the tty.
Hi @t0xic0der unfortunately after 10 minutes the screen is still in the same state. I’ve even write those two commands into /usr/share/sddm/scripts/Xsetup:
xrandr --setprovideroutputsource modesetting NVIDIA-0
Yes i have used the nvidia.conf file that i found in /usr/share/X11/xorg.conf.d/, modified with Option “PrimaryGPU” “yes” in both Outputclass and ServerLayout sections and placed in /etc/X11/xorg.conf.d/.
Oh boy. Check the status of SDDM service and journal output for it. As the greeter is the first thing that accesses X (it would have been a nightmare to actually speak it lol) it might have information as to how X can’t do so.
It seems normal to me @simobonfo. Strangely enough, the service is loaded and inactive. This is certainly not something I expected. If X server could not be detected by xrandr then even SDDM should not have detected it.
Totally at loss here and in the verge of recommending you Workstation.