Discussion:
[lfs-support] reset video hardware settings
Thomas Seeling
2018-07-23 11:05:31 UTC
Permalink
Hallo,


I have a question regarding setting the video mode.

During boot the kernel switches to a mode suitable to the monitor
capabilities (for my monitor with 1920x1200 this would be 75 rows x 240
cols) if the monitor supports this.

Now here's where my problem starts: I use a 4-port KVM switch which
delivers a default mode of 1024x768 to the 3 ports not selected. When an
LFS system boots non-selected it switches to another video mode and size
(48 rows x 128 cols).

Is it possible to force-set the video mode after boot? Is this a
separate package with some CLI or is this not possible at all?

I have tried to follow the steps in the "console" init script but this
didn't help me - it sets a font, but not the basic video mode.

Tschau...Thomas
--
"Do you wanna be a legend or a passing footprint on the sands of time?"
Paul Rogers
2018-07-23 20:34:22 UTC
Permalink
Post by Thomas Seeling
Is it possible to force-set the video mode after boot? Is this a
separate package with some CLI or is this not possible at all?
Depending on the driver you're using, it may be trivial. You can set it by a kernel boot parameter in the GRUB stanza, e.g. video=1024x768 or whatever.
--
Paul Rogers
***@fastmail.fm
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL :-)
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_styl
Thomas Seeling
2018-07-23 21:25:52 UTC
Permalink
Hallo,
Post by Paul Rogers
Post by Thomas Seeling
Is it possible to force-set the video mode after boot? Is this a
separate package with some CLI or is this not possible at all?
Depending on the driver you're using, it may be trivial. You can set
it by a kernel boot parameter in the GRUB stanza, e.g. video=1024x768
or whatever.
ok, I think I forgot to mention that I want to avoid rebooting.
I'd simply like to have the possibility to set the correct video mode
when I activate that particular port on the KVM.

The system receives a bunch of video parameters upon boot, but if that
port on the KVM is not the active one it is 1024x768 and not the real
setting that the monitor reports to the KVM switch.
I'd later like to force that exact video mode.
The kernel does it somehow and if possible I want to have that
functionality on manual request.

Tschau...Thomas
--
"Do you wanna be a legend or a footprint on the sands of time?"
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_sty
Continue reading on narkive:
Loading...