Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Empty TTY at boot (efi + nvidia + grub2)
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
Alela
n00b
n00b


Joined: 31 Dec 2012
Posts: 10

PostPosted: Sun Oct 26, 2014 4:29 pm    Post subject: [Solved] Empty TTY at boot (efi + nvidia + grub2) Reply with quote

Hi,

I'm trying to install Gentoo on my new desktop but I fail to configure my system to start properly. I think Gentoo complete the boot sequence correctly. The problem is I can't see any login prompt on my TTYs, the screen is empty.

Some points of my configuration:
- systemd
- nvidia GeForce GTX 780 Ti
- grub2
- uefi

I can see these lines on journalctl (this happen after I hit ctrl+alt+F6):
Code:
systemd[1]: Starting Getty on tty6...
systemd[1]: Started Getty on tty6.

So, it starts but I see nothing on my screen.
I can see also this line:
Code:
systemd[1]: Couldn't stat device /dev/pts/ptmx

Another thing, after I select an entry in grub2, I can't see any boot information, the screen is just empty.

My boot entry in grub2:
Code:
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4fc13476-d7d6-4098-9f48-df85b462321d' {
   load_video
   set gfxpayload=keep
   insmod gzio
   insmod part_gpt
   insmod btrfs
   set root='hd0,gpt2'
   if [ x$feature_platform_search_hint = xy ]; then
     search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  4fc13476-d7d6-4098-9f48-df85b462321d
   else
     search --no-floppy --fs-uuid --set=root 4fc13476-d7d6-4098-9f48-df85b462321d
   fi
   echo   'Loading Linux 3.17.1-gentoo-r1 ...'
   linux   /boot/vmlinuz-3.17.1-gentoo-r1 root=UUID=4fc13476-d7d6-4098-9f48-df85b462321d ro real_init=/usr/lib/systemd/systemd rootfstype=btrfs video=uvesafb:1024x768-32,mtrr:3,ywrap
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initramfs-genkernel-x86_64-3.17.1-gentoo-r1
}

The initramfs is generated by genkernel-next.

On my old desktop, I experienced the same problem that I partially solved by installing fbcondecor. I think there is a better way to solve this problem.

Thanks for your help


Last edited by Alela on Mon Nov 03, 2014 4:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Wed Oct 29, 2014 1:16 pm    Post subject: Reply with quote

WEll please repharse your topic title to systemd.

Sorry I can not help you with sytemd out of personal reasons.
OFF TOPIC, personal opinion: When you intend to use the gome desctop you need maybe systemd / offically you need systemd for gnome desctop, if not I highly recommend to stick to openrc and eudev
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5763

PostPosted: Fri Oct 31, 2014 1:15 am    Post subject: Reply with quote

Sounds like the efifb/uvesafb/nvidia/nouveau drivers may be conflicting. I can see you have uvesafb so I'm guessing nvidia too. Can you get dmesg output from that machine?
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Fri Oct 31, 2014 6:42 am    Post subject: Reply with quote

What Ant P said; nvidia often conflicts with other things in the kernel, ime, if they might also poke the graphics-card.

tw04l124 wrote:
WEll please repharse your topic title to systemd.

He doesn't have to do that; he mentioned upfront what he's using, same as any of us would.
Back to top
View user's profile Send private message
Alela
n00b
n00b


Joined: 31 Dec 2012
Posts: 10

PostPosted: Sat Nov 01, 2014 12:29 pm    Post subject: [SOLVED] Empty TTY at boot (efi + nvidia + grub2) Reply with quote

I solved the problem in two steps. First, I emerged v86d to use uvesafb frame buffer and I appended `video=uvesafb:1920x1200-32 console=tty1' to the kernel command line. At the end of the boot process, when the nvidia driver was loaded, the tty finally shows up. However, my screen was blank until the driver was loaded. So, the second step was to append `nomodeset' to the kernel command line which was the true step that solved the problem.

systemd has nothing to do with this problem. It starts a tty on demand when you type ctrl+alt+FX. However, if you want all your tty starts on boot, you can enable getty@.service.

I saw many similar problems on forums with blank console at boot for people using uefi + nvidia. Is it possible to add a note about importance of nomodeset in the installation guide?
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Sat Nov 01, 2014 1:33 pm    Post subject: Re: [SOLVED] Empty TTY at boot (efi + nvidia + grub2) Reply with quote

Alela wrote:
I solved the problem in two steps. First, I emerged v86d to use uvesafb frame buffer and I appended `video=uvesafb:1920x1200-32 console=tty1' to the kernel command line. At the end of the boot process, when the nvidia driver was loaded, the tty finally shows up. However, my screen was blank until the driver was loaded. So, the second step was to append `nomodeset' to the kernel command line which was the true step that solved the problem.

I saw many similar problems on forums with blank console at boot for people using uefi + nvidia. Is it possible to add a note about importance of nomodeset in the installation guide?

Sure it is; just file a documentation bug.

There's a howto here.

Then post back with the bug id using the Bug button, or:
Code:
[bug=NNNNN]some text[/bug]


Also, if you want to mark the post solved, you need to edit the original post (with the edit button, in the top right of that post) and change its subject to include [Solved].


BTW apologies if you are female, for my use of "he" earlier on; should've been "s/he", irrespective.
Back to top
View user's profile Send private message
Alela
n00b
n00b


Joined: 31 Dec 2012
Posts: 10

PostPosted: Mon Nov 03, 2014 4:00 pm    Post subject: Reply with quote

Thank you for your answers. I filled up a documentation bug. I hope this helps. I apologize for my English mistakes.
steveL wrote:
BTW apologies if you are female, for my use of "he" earlier on; should've been "s/he", irrespective.

Sorry, I'm not a female :D This is a common mistake. Thank you anyway for your apologies.
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