Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Laptop - output grub and boot to external monitor
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
returnof Snekiepete
n00b
n00b


Joined: 22 Dec 2016
Posts: 29

PostPosted: Wed May 16, 2018 4:02 am    Post subject: Laptop - output grub and boot to external monitor Reply with quote

It seems I have scoured the internet to try and figure this out...

I would like to mirror grub and the framebuffer boot that appears on my laptop to my external monitor. Currently, I can't see anything until X starts (on external monitor). However, once it does, I can exit X into Qingy (running on the framebuffer) and see everything.

There are no option in my bios to set this and I am connected via USB-C to a Kensington Dock connected via Displayport.

Thanks in advance.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Wed May 16, 2018 8:38 am    Post subject: Reply with quote

returnof Snekiepete ...

if your framebuffer is KMS (and most likely it is) then see the 'video' parameter here (specifically 'conn'). That won't effect anything before the kernel is loaded, and so you're probably stuck with using LVDS for grub.

HTH & best ... khay
Back to top
View user's profile Send private message
returnof Snekiepete
n00b
n00b


Joined: 22 Dec 2016
Posts: 29

PostPosted: Thu May 17, 2018 1:12 am    Post subject: Reply with quote

I have added this line to my Grub command line and updated accordingly.

Code:
video=DP-1.1:3840x2160-32@60e


I am still not able to see anything on my external monitor until after I start X.

My login manager is Qingy, framebuffer driven, and if I log out of X I can then see Qingy and even log into the console and see it as well. Plymouth also displays during shutdown. This leads me to believe that viewing boot-up should be possible - but I am missing something....

Since I am using a USB-C dock to Displayport - are there kernel options or modules I need to start earlier in the boot process?

I am using EFIFB to drive the framebuffer and nvidia-drivers for X.
Back to top
View user's profile Send private message
returnof Snekiepete
n00b
n00b


Joined: 22 Dec 2016
Posts: 29

PostPosted: Thu May 24, 2018 7:30 pm    Post subject: Reply with quote

Really hoping for some help here. It works after X starts, so I suspect it’s possible before.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43210
Location: 56N 3W

PostPosted: Thu May 24, 2018 7:51 pm    Post subject: Reply with quote

returnof Snekiepete,

Pasebin your dmesg output and your kernel .config file.

We aso need to know if you are using UEFI or BIOS.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
returnof Snekiepete
n00b
n00b


Joined: 22 Dec 2016
Posts: 29

PostPosted: Thu May 31, 2018 7:54 pm    Post subject: Reply with quote

Thanks for the response!

Using UEFI


Here is dmesg:

https://paste.pound-python.org/show/B0J7qBk7rfZRBhBtWhTV/


and Kernel config:

https://paste.pound-python.org/show/fwUDFWzT2C93csQgEOmb/
Back to top
View user's profile Send private message
hhfeuer
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 165

PostPosted: Fri Jun 01, 2018 6:34 pm    Post subject: Reply with quote

AFAIK, the output to be used is figured out by the uefi firmware and can't be changed by efifb.
Back to top
View user's profile Send private message
returnof Snekiepete
n00b
n00b


Joined: 22 Dec 2016
Posts: 29

PostPosted: Mon Jun 11, 2018 1:18 am    Post subject: Reply with quote

I guess what I am trying to figure out is why it works after X starts but not before.
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