Hello<br><br>Update on the wierd 'one line only' effect I see when changing framebuffer with<br>fbset:<br><br>> 3) There is a problem when setting the pixclock using fbset in that it causes <br>> the console to freeze - it looks like only the top line of the console is <br>> working and when running mplayer from this console, only the top line (y=0)<br>> is shown. If I run the fbset -pixclock command while X is displaying then <br>> kill X (console takes over) it works fine. I am trying to track this <br>> problem - its somewhere in fbcon.c to do with a call to fbcon_modechanged()<br>> I think...<br><br>I have found the source of this problem: the s3c2410fb.c LCD controller driver <br>in function fb_set_par (which is called when fbset changes the framebuffer
<br>characteristics) does this: <br><br>fbi->fb->fix.line_length = (var->width*var->bits_per_pixel)/8;<br><br>var->width is supposed to hold the width in mm of the screen (according to fb.h),<br>not the X pixel resolution. fbset always sets var->width to 0. <br><br>fb->fix.line_length is used to calculate offsets to the 'next line' when writing to <br>the framebuffer so the effect of a 0 here is that you only ever get one line (y=0)<br>it should be set to the number of bytes in a line in the framebuffer<br><br>this line should probably be changed to :<br><br>fbi->fb->fix.line_length = (var->xres_virtual*var->bits_per_pixel)/8;<br><br>Regards<br><br>John<br><p> 
<hr size=1>Tonight's top picks. What will you watch tonight?
<a href="http://us.rd.yahoo.com/tv/mail/tagline/tonightspicks/evt=48220/*http://tv.yahoo.com/
">Preview the hottest shows</a> on Yahoo! TV.