Subject: Re: TGA display problem on console
To: B. James Phillippe <bryan@terran.org>
From: R. C. Dowdeswell <elric@mabelode.imrryr.org>
List: port-alpha
Date: 09/18/2001 22:55:32
On 7093235:0 seconds since the Beginning of the UNIX epoch
"B. James Phillippe" wrote:
>

>I have NetBSD-1.5 installed on my AS 200 and am more-or-less in good shape.
>However, I have a strange display problem at the console (I'm not messing
>with X yet).  My ZLXp-E2 adapter is configured (via DIP switch) to a
>console mode of 1152x900, 66Hz, 93Mhz (position 4).  This provides a nice,
>sharp white-on-black display at said resolution while in SRM.  However,
>once the kernel boots the resolution seems to stay at 1152x900, but the
>display is shifted to the right and slightly down, and the background is
>green.  There is also some ghosting (which I know from previous experience
>to be a hardware issue with the ZLXp-E? boards, and requires shorting two
>pins to resolve*).  I tried setting tga_sync_green to no avail (just wiped
>out my display when set to "1", display is as described when set to "2").
>I have a standard multisync peecee-type monitor which has otherwise worked
>fine with my Alpha.
>
>Any ideas?

Well, not off the top of my head for this one, except that I know that I've
used the ZLXp-E2 on an AS 200 4/233 without running into those problems.
Hmmm.  Hold on a sec.

Are you in a position to build a kernel?  If so, try the attached
patch in sys/dev/ic.  This may change your symptoms, but it is just
a guess.

Other than that, have you tried any other graphics resolutions than
1152x900? Just to see if they work?  That might help narrow the
problem down a bit.

Unfortunately, my ZLXp-E2 is on the other coast, so I can't really
fire it up to see what is going on.

 == Roland Dowdeswell                      http://www.Imrryr.ORG/~elric/  ==
 == The Unofficial NetBSD Web Pages        http://www.Imrryr.ORG/NetBSD/  ==
 == The NetBSD Project                            http://www.NetBSD.ORG/  ==
 == Ponte, Inc.                                    http://www.ponte.com/  ==

Index: bt463.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/ic/bt463.c,v
retrieving revision 1.4
diff -u -u -r1.4 bt463.c
--- bt463.c	2001/08/05 11:09:51	1.4
+++ bt463.c	2001/09/19 02:52:33
@@ -269,7 +269,7 @@
 
 	BTWREG(data, BT463_IREG_COMMAND_0, 0x40);
 	BTWREG(data, BT463_IREG_COMMAND_1, 0x48);
-	BTWREG(data, BT463_IREG_COMMAND_2, 0xC0);
+	BTWREG(data, BT463_IREG_COMMAND_2, 0x40);
 
 	/*
 	 * Initialize the read mask.