View previous topic :: View next topic |
Author |
Message |
tmcca Tux's lil' helper
Joined: 24 May 2019 Posts: 120
|
Posted: Fri May 24, 2019 11:36 pm Post subject: Black screen after grub Nvidia driver? |
|
|
I just finished the install of Gentoo and went to reboot and followed this:
https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers#Testing_the_card
I added nomodeset in grub and did boot up so it has to be the nvidia driver but don't know what else to do or try.. |
|
Back to top |
|
|
tmcca Tux's lil' helper
Joined: 24 May 2019 Posts: 120
|
Posted: Sat May 25, 2019 3:50 pm Post subject: |
|
|
I think figured it out, I added -compat to use tags and rebuilt module. However, still get black screen but after a few I see a login. Do I have to add something to open rc to see what’s going on towards booting kernel? |
|
Back to top |
|
|
OldTango l33t
Joined: 21 Feb 2004 Posts: 718
|
Posted: Sat May 25, 2019 4:37 pm Post subject: |
|
|
tmcca wrote: | I think figured it out, I added -compat to use tags and rebuilt module. However, still get black screen but after a few I see a login. Do I have to add something to open rc to see what’s going on towards booting kernel? |
Exactly when do you get a black screen?
What can you see during the entire boot process, from GRUB Loading on?
Can you even see the GRUB screen?
Is this a laptop or a desktop system?
If you can't see the boot process my guess would be that you don't have your kernel configured correctly. Either you have no frame buffer or you have something set that conflicts with the nvidia drivers.
More details are necessary to pin down the problem. |
|
Back to top |
|
|
tmcca Tux's lil' helper
Joined: 24 May 2019 Posts: 120
|
Posted: Sun May 26, 2019 12:52 am Post subject: |
|
|
I see grub screen and see penguins then goes black.
Desktop |
|
Back to top |
|
|
comprookie2000 Retired Dev
Joined: 25 Jul 2004 Posts: 925 Location: Sun City Center, Florida
|
Posted: Sun May 26, 2019 1:13 am Post subject: |
|
|
Did you edit /etc/default/grub
Here is mine;
grep "^[^#]" /etc/default/grub
GRUB_DISTRIBUTOR="Gentoo"
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_TIMEOUT=10
GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd"
GRUB_TERMINAL=console
Recheck This;
https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers#Kernel
Once booted up see if the nvidia module is loaded
lsmod | grep nvidia
nvidia_modeset 1005168 13
nvidia 13878748 609 nvidia_modeset
nvidia_drm 1232 0
If you can not get to the console boot into single user mode;
Are you using systemd or openrc? _________________ http://dev.gentoo.org/~dabbott/ |
|
Back to top |
|
|
tmcca Tux's lil' helper
Joined: 24 May 2019 Posts: 120
|
Posted: Sun May 26, 2019 1:33 am Post subject: |
|
|
I am using OpenRc.. |
|
Back to top |
|
|
comprookie2000 Retired Dev
Joined: 25 Jul 2004 Posts: 925 Location: Sun City Center, Florida
|
Posted: Sun May 26, 2019 1:45 am Post subject: |
|
|
For single user mode;
When your GRUB menu comes up, select the kernel you want to boot and hit 'e' to edit the line. Select the kernel line and add [space]S to the end of the line, and press enter and then 'b' to boot. _________________ http://dev.gentoo.org/~dabbott/ |
|
Back to top |
|
|
tmcca Tux's lil' helper
Joined: 24 May 2019 Posts: 120
|
Posted: Sun May 26, 2019 1:49 am Post subject: |
|
|
what does adding spaces to end of line do? curious |
|
Back to top |
|
|
comprookie2000 Retired Dev
Joined: 25 Jul 2004 Posts: 925 Location: Sun City Center, Florida
|
Posted: Sun May 26, 2019 9:04 am Post subject: |
|
|
Make sure there is a space between the end of the line and S, don't just add S to the end of the line. _________________ http://dev.gentoo.org/~dabbott/ |
|
Back to top |
|
|
tmcca Tux's lil' helper
Joined: 24 May 2019 Posts: 120
|
Posted: Sun May 26, 2019 7:18 pm Post subject: |
|
|
When I ran this command:
Code: | glxinfo | grep direct |
Error: unable to open display
Code: | lsmod | grep nvidia |
nvidia_drm 45056 3
nvidia_modeset 1069056 6 nvidia_drm
nvidia 1809120 215 nvidia_modeset |
|
Back to top |
|
|
tmcca Tux's lil' helper
Joined: 24 May 2019 Posts: 120
|
Posted: Sun May 26, 2019 7:28 pm Post subject: |
|
|
I fixed direct rendering I wasnt in X lol. |
|
Back to top |
|
|
|