LCD display shifted

Search this archive.

From: Kevin D. Quitt (KQuitt@ieeinc.com)
Date: Mon 18 Jun 2001 - 22:12:24 IDT


Using a 65545 to control an LCD, with the following libvga.config:

HorizSync 31.5 35.1
VertRefresh 50 70 
chipset VESA

The display is set to G640x480x256, with the LCD displaying the upper-left
320x240 pixels.

The problem is that images are offset from where they should appear.  The
top two rows are lost, and two blank rows are displayed at the bottom.  The
left 4 columns are blank, and the corresponding columns are lost from the
right side of the image.

Svidtune reports:

Clock 25175
HDisplay 640
HSyncStart 664
HSyncEnd 760
HTotal 800
VDisplay 480
VSyncStart 491
VSyncEnd 493
VTotal 525
flags 0 =

Horz freq 31.459 KHz
Vert freq 59.94 Hz

Making changes via svidtune and putting the modeline into libvga.config
makes no difference.  The VESA driver doesn't seem to make use of the
modeline. 

Can somebody tell me what registers need to be changed to fix this?  Thanks.


--
 _
Kevin D. Quitt					             KQuitt@ieeinc.com
		      96.37% of all statistics are made up



------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:24 IST