Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] UEFI and nvidia-drivers configuration - no console
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Tue Feb 14, 2017 10:46 pm    Post subject: [Solved] UEFI and nvidia-drivers configuration - no console Reply with quote

I have a new Clevo P750DM2-G laptop which has a dedicated nVidia 1070 GPU, (not an Optimus setup). I installed Gentoo on it, and used first gentoo-sources-4.9.6-r1 and then gentoo-sources-4.9.9 with the nouveau driver and I was able to use the EFI framebuffer and everything was normal. I had issues when loading xorg-server, so I decided to switch to the nvidia-drivers both 378.09 and 375.26 and think that I did everything correctly as per the Gentoo Wiki.

However for the life of me I can't get a console display. The kernel boots from the grub menu and I get the "Loading [kernel version]" message, the screen goes blank, and then that loading screen comes back and stays on. Funny thing is, the system is actually up, I can ssh into it, and I even installed the KDE Plasma desktop and can start it, which starts on the laptop screen. I just can't get a console screen on the laptop.

Can someone confirm for me the kernel configuration instructions for configuring the nvidia-drivers? Do I select NO framebuffer drivers? etc.

Thanks..


Last edited by jasn on Mon Mar 06, 2017 5:31 pm; edited 2 times in total
Back to top
View user's profile Send private message
joe4379
n00b
n00b


Joined: 19 Jan 2015
Posts: 7

PostPosted: Wed Feb 15, 2017 12:31 am    Post subject: Reply with quote

The settings below give me a console with an nvidia card and most all kernels and drivers. Let me know if you need anything else from my .config. Also, this thread is helpful: https://forums.gentoo.org/viewtopic-t-831956-start-0.html

Code:

-*- Support for frame buffer devices  --->                       
         --- Support for frame buffer devices
         [*]   Enable firmware EDID
[*] Enable Video Mode Handling Helpers
< > VGA 16-color graphics support
< > Userspace VESA VGA graphics support
[*] VESA VGA graphics support
< > nVidia Framebuffer Support
Console display driver support
[*] VGA text console
< > Framebuffer Console support
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Wed Feb 15, 2017 1:16 pm    Post subject: Reply with quote

Thanks Joe.

I appreciate your post at least confirming that this configuration should work. BTW, I forgot to mention in my OP that this is a UEFI boot system, and that seems to be where most of the problems are coming from. So prodded by your post, and with some more searching I found the following HOWTO thread by kernelOfTruth. Using the information there, and selecting only the Simple framebuffer driver and adding the following to the Grub kernel command line;
Code:
console=tty1

Finally got me my console back.

Jason
Back to top
View user's profile Send private message
yogi77
n00b
n00b


Joined: 02 Jul 2006
Posts: 13

PostPosted: Sun Mar 05, 2017 7:47 am    Post subject: Reply with quote

What about the new nvidia driver with KMS from 364(?) onwards? I'm using nvidia driver on a "NON-UEFI" PC with uvesa for quite some time, but with newer driver (375.39 now), I get a black console after switching from X to console. Switching the driver back to older versions, gives it back. Has anybody experienced the same?
Back to top
View user's profile Send private message
joe4379
n00b
n00b


Joined: 19 Jan 2015
Posts: 7

PostPosted: Tue Apr 18, 2017 2:58 am    Post subject: Reply with quote

yogi77 wrote:
What about the new nvidia driver with KMS from 364(?) onwards? I'm using nvidia driver on a "NON-UEFI" PC with uvesa for quite some time, but with newer driver (375.39 now), I get a black console after switching from X to console. Switching the driver back to older versions, gives it back. Has anybody experienced the same?


no, but maybe try switching to/from userspace vesa framebuffer. Maybe try sys-apps/v86d? with/without uvesafb?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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