Thread (93 messages) 93 messages, 6 authors, 2003-03-12

Re: Some questions

From: Thomas Winischhofer <thomas@winischhofer.net>
Date: 2003-03-05 14:19:27

Further to my mail from a few minutes ago:

I wrote:
But I noticed another issue here:

When switching to gfx mode during boot (ie as soon as the penguin
appears), the text console is aligned correctly at all edges, with all
lines visible.
But when "initial console" starts, the mode is again changed, and now
the last line of text is nearly invisible, its upper half appears at
the lower screen edge, the lower half is below the screen's edge. The
space between the penguin and the text is notably thicker.

This can be recovered by switching to another VT and back. This makes
the penguin disappear, and restores the console dimensions/edges to
normal.
Interestingly, this only happens with 800x600; this mode is chosen
upon requesting 800x592 (because of the font size). At 1024x768,
everything is as it should.
I am almost sure that this has to do with the fact that I adapt var in my check_var from 800x592 to 800x600. Console (or whoever) seems to attempt to change the mode to its initially desired dimension on many occasions.

- This leads to the (unncessary) second mode switch during boot (when the "initial console" starts), assumingly because the xres does not match fontsize * rows,

- and probably is the reason for that vertical offset I see after this mode switch: The text area on the screen is shifted down by exactly 8 pixels - 600-592=8

Any hints?

Thomas

-- 
Thomas Winischhofer
Vienna/Austria
mailto:thomas@winischhofer.net            http://www.winischhofer.net/





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help