Hello<br><br>Update on the wierd 'one line only' effect I see when changing framebuffer with<br>fbset:<br><br>&gt; 3) There is a problem when setting the pixclock using fbset in that it causes <br>&gt; &nbsp;&nbsp;&nbsp; &nbsp;the console to freeze - it looks like only the top line of the console is <br>&gt; &nbsp;&nbsp;&nbsp; &nbsp;working&nbsp;&nbsp;&nbsp; and when running mplayer from this console, only the top line (y=0)<br>&gt;&nbsp;&nbsp;&nbsp; &nbsp;is shown.&nbsp; If I run the fbset -pixclock command while X is displaying then <br>&gt;&nbsp;&nbsp;&nbsp; &nbsp;kill X (console takes over) it works fine.&nbsp;&nbsp;&nbsp; I am trying to track this <br>&gt;&nbsp;&nbsp;&nbsp; &nbsp;problem - its somewhere in fbcon.c to do with a call to fbcon_modechanged()<br>&gt;&nbsp;&nbsp;&nbsp; &nbsp;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-&gt;fb-&gt;fix.line_length&nbsp;&nbsp;&nbsp;&nbsp; = (var-&gt;width*var-&gt;bits_per_pixel)/8;<br><br>var-&gt;width is supposed to hold the width in mm of the screen (according to fb.h),<br>not the X pixel resolution.&nbsp; fbset always sets var-&gt;width to 0.&nbsp; <br><br>fb-&gt;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-&gt;fb-&gt;fix.line_length&nbsp;&nbsp;&nbsp;&nbsp; = (var-&gt;xres_virtual*var-&gt;bits_per_pixel)/8;<br><br>Regards<br><br>John<br><p>&#32;
      <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.