<SOLVED>Black screen after nvidia install.
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Re: Black screen after nvidia install.
Nope, never got to that. If I click recovery mode it takes me to the desktop eventually, after the screen flashes white.
Thank you
Thank you
Re: Black screen after nvidia install.
If you can get to the desktop, then use those commands in the Terminal.
Re: Black screen after nvidia install.
The file /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf is missing. Use this command to create it:
Open the file for editing:
Add these lines:
Open the grub file:
Remove nomodeset from this line:
Update grub and reboot:
sudo touch /usr/share/X11/xorg.conf.d/11-nvidia-prime.conf
Open the file for editing:
xed admin:///usr/share/X11/xorg.conf.d/11-nvidia-prime.conf
Add these lines:
Code: Select all
Section "OutputClass"
Identifier "Nvidia Prime"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "IgnoreDisplayDevices" "CRT"
Option "PrimaryGPU" "Yes"
ModulePath "/x86_64-linux-gnu/nvidia/xorg"
EndSection
xed admin:///etc/default/grub
Remove nomodeset from this line:
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset dis_ucode_ldr"
sudo update-grub
Re: Black screen after nvidia install.
That seems to have got me in.
Thank you.
Although it does seem to flash white for some reason before showing the screen.
Thank you.
Although it does seem to flash white for some reason before showing the screen.
Re: Black screen after nvidia install.
Do you need to use this parameter:danield wrote: Although it does seem to flash white for some reason before showing the screen.
dis_ucode_ldr
The question is why the 11-nvidia-prime.conf was missing. It’s supposed to be created automatically after the Nvidia driver is installed.
Would you test switching to the other GPU modes to see if everything works after switching.
First use the nvidia-prime applet to switch to Intel mode. After rebooting, post the output of:
glxinfo | grep renderer
Then switch to the On-Demand mode. After rebooting, use these commands and post the output:
Code: Select all
glxinfo | grep renderer
nvidia-optimus-offload-glx glxinfo | grep renderer
glxinfo | grep renderer
Re: Black screen after nvidia install.
Slight update again.
I tried removing dis_ucode_ldr but now it does the same as before.
I put it back in but it's made no difference.
Also, I've tried generating a new file but it don't give a URL.
I tried removing dis_ucode_ldr but now it does the same as before.
I put it back in but it's made no difference.
Also, I've tried generating a new file but it don't give a URL.
Re: Black screen after nvidia install.
It doesn't give me an option to switch to Intel mode when I'm in the recovery desktop either
Re: Black screen after nvidia install.
You can use the command:
sudo prime-select intel
Re: Black screen after nvidia install.
I've just tried signing to the Intel graphics, restarted and then I was unable to get any interface in recovery mode. I've noticed that I'm able to view the list of options in the interface mode before the Nvidia driver is installed
Re: Black screen after nvidia install.
What is happening on your system when you select Recovery mode is confusing to me. It’s not what you normally see.
Open the File Manager and go to /usr/share/X11/xorg.conf.d/ and check if the
If it is, then open it and check that the lines are the same as when the file was created.
Open the File Manager and go to /usr/share/X11/xorg.conf.d/ and check if the
11-nvidia-prime.conf
file is still present.If it is, then open it and check that the lines are the same as when the file was created.
Re: Black screen after nvidia install.
Yes, the file is still present and the lines are the same as before.
Re: Black screen after nvidia install.
Some of the info in some of your replies is confusing to me.
After you tried switching to Intel mode, were you able to boot to the desktop without any problem?
What is the output of these commands:
After you tried switching to Intel mode, were you able to boot to the desktop without any problem?
What is the output of these commands:
Code: Select all
prime-select query
ls /usr/share/X11/xorg.conf.d/
systemctl status gpu-manager.service
Re: Black screen after nvidia install.
No, when I switched to the intel mode I could not view anything. I had to reinstall. I recreated 11-nvidia-prime.conf and did the grub alteration and update but I am only able to get in by going into safe mode now and that is not without hassle
Re: Black screen after nvidia install.
What is the output of the 3 commands in my previous post.
EDITED: Also, add this command:
EDITED: Also, add this command:
cat /proc/cmdline
Re: Black screen after nvidia install.
I am not able to get any screen after switching to intel graphics.
What should I do now, recovery mode just gives a permanent black screen
What should I do now, recovery mode just gives a permanent black screen
Re: Black screen after nvidia install.
Switch to Nvidia Performance mode:
sudo prime-select nvidia
Re: Black screen after nvidia install.
I can't get to a terminal.
It's literally a black screen.
Should I reinstall
It's literally a black screen.
Should I reinstall
Re: Black screen after nvidia install.
I've never been able to get my Nvidia to work with their driver(s). The Linux generic works flawlessly for me. Did you do a Timeshift before the driver install? I'm glad I did before my adventure with the Black Screen I rebooted into recovery and did a Timeshift rollback and got my system back.
Re: Black screen after nvidia install.
Yes, unless you have a Timeshift snapshot from an early time right after the installation. If not, download this version, which has the 5.8 kernel:danield wrote: Should I reinstall
https://linuxmint.com/edition.php?id=287
The upsetting thing about this situation is that in your post on Thu Feb 25, 2021 2:58 pm, it appears that progess was made and you were finally able to get to the desktop in Nvidia Performance mode, but you ran into a problem with the next step I suggested. Instead of troubleshooting the problem further, you did a re-installation.