Re: XF86 config Problem - Redhat 9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Barry Warsaw <barry@xxxxxxxxxx> wrote:
> On Tue, 2003-05-20 at 10:40, Alex Deucher wrote:
> > Barry is your card a Dell OEM card or did you purchase it?
> 
> It was purchased after market.  It's a true blue (er, red :) ATI
> Radeon
> 7500 PCI card, i.e. built-by ATI not powered-by ATI if I understand
> the
> terminology correctly.


OK

> 
> > I reason I
> > ask is that there were some dell specific fixes in the old xfree
> code
> > that went a way with the new DDC code that went into CVS.  perhaps
> some
> > of them are still needed.  if dualhead worked for you in 4.3.0 with
> the
> > excpetion of the screen turning off bug, then that may be the
> problem.
> 
> It did.  With the RH9 isos rpms, I definitely had Xinerama dual-head
> working, except that the secondary screen would blank when you moused
> over to it.  Maybe the fixes are necessary even for stock ATI cards?

The fix for the screen blanking bug was not dell or ati specific,
rather it was a general issue:  the wrong crtc was being read in one
function.

> 
> > BTW, that bug is a one liner fix (one number actually).  you could
> > revert to the stock 4.3.0 (that worked) code/rpms and change the
> one
> > line to fix the bug.  I can probably even build you a fixed binary.
> 
> Alex, I'm your willing guinea pig.  If you could build me a fixed
> binary
> (of the X server?), I'd happily install it and let you know.  Feel
> free
> to contact me off list.  
> 
> Note that this is my home machine so I usually won't get to fiddle
> with
> it until off hours.
> 
> Thanks,
> -Barry
> 

I'll try and build you a new binary tonight if I get a chance.  If I
don't get to it tonight and you want to build it yourself, here is the
fix:
in radeon_cursor.c function RADEONLoadCursorARGB().

--- xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_cursor.c
2003/02/24 20:34:55	1.23
+++ xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_cursor.c
2003/04/07 15:29:21	1.24
@@ -1,4 +1,4 @@
-/* $XFree86:
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_cursor.c,v 1.22tsi
Exp $ */
+/* $XFree86:
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_cursor.c,v 1.23
2003/02/24 20:34:55 tsi Exp $ */
 /*
  * Copyright 2000 ATI Technologies Inc., Markham, Ontario, and
  *                VA Linux Systems Inc., Fremont, California.
@@ -370,7 +370,7 @@ static void RADEONLoadCursorARGB (ScrnIn
     }
 
     if (info->IsSecondary || info->Clone) {
-	save2 = INREG(RADEON_CRTC_GEN_CNTL) & ~(CARD32) (3 << 20);
+	save2 = INREG(RADEON_CRTC2_GEN_CNTL) & ~(CARD32) (3 << 20);
 	save2 |= (CARD32) (2 << 20);
 	OUTREG(RADEON_CRTC2_GEN_CNTL, save2 & (CARD32)~RADEON_CRTC2_CUR_EN);
     }

As you can see all you have to do is change the CRTC to CRTC2.  rebuild
the driver and you are set.

Grab the source from here:
ftp://ftp.xfree86.org/pub/XFree86/4.3.0/source
All you need is the first 3 tar balls.  extract them, make the change
to  xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_cursor.c
then in directory xc type "make World"  

wait for it to build, and then copy
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_drv.o to your
/usr/X11R6/lib/modules/drivers directory.

Alex


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com


_______________________________________________
xfree86-list mailing list
xfree86-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/xfree86-list
IRC: #xfree86 on irc.redhat.com

[Red Hat General]     [Red Hat Watch]     [Red Hat Development]     [Kernel Development]     [Yosemite Camping]

  Powered by Linux