Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Black screen after grub Nvidia driver?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
tmcca
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2019
Posts: 81

PostPosted: Fri May 24, 2019 11:36 pm    Post subject: Black screen after grub Nvidia driver? Reply with quote

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
View user's profile Send private message
tmcca
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2019
Posts: 81

PostPosted: Sat May 25, 2019 3:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
OldTango
l33t
l33t


Joined: 21 Feb 2004
Posts: 630

PostPosted: Sat May 25, 2019 4:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
tmcca
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2019
Posts: 81

PostPosted: Sun May 26, 2019 12:52 am    Post subject: Reply with quote

I see grub screen and see penguins then goes black.

Desktop
Back to top
View user's profile Send private message
comprookie2000
Developer
Developer


Joined: 25 Jul 2004
Posts: 925
Location: Sun City Center, Florida

PostPosted: Sun May 26, 2019 1:13 am    Post subject: Reply with quote

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
View user's profile Send private message
tmcca
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2019
Posts: 81

PostPosted: Sun May 26, 2019 1:33 am    Post subject: Reply with quote

I am using OpenRc..
Back to top
View user's profile Send private message
comprookie2000
Developer
Developer


Joined: 25 Jul 2004
Posts: 925
Location: Sun City Center, Florida

PostPosted: Sun May 26, 2019 1:45 am    Post subject: Reply with quote

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
View user's profile Send private message
tmcca
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2019
Posts: 81

PostPosted: Sun May 26, 2019 1:49 am    Post subject: Reply with quote

what does adding spaces to end of line do? curious
Back to top
View user's profile Send private message
comprookie2000
Developer
Developer


Joined: 25 Jul 2004
Posts: 925
Location: Sun City Center, Florida

PostPosted: Sun May 26, 2019 9:04 am    Post subject: Reply with quote

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
View user's profile Send private message
tmcca
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2019
Posts: 81

PostPosted: Sun May 26, 2019 7:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
tmcca
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2019
Posts: 81

PostPosted: Sun May 26, 2019 7:28 pm    Post subject: Reply with quote

I fixed direct rendering I wasnt in X lol.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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