Re: [XFree86] XFree86: ati driver problem

2008-01-27 Thread Marc Aurele La France

On Sun, 27 Jan 2008, Anton 'FaioN' Mayorov wrote:

Marc Aurele La France wrote:

---skipped---
Given you've been building from source, please let me know if the attached 
patch fixes the problem.


Thank you for the patch, but it doesn't resolved all problems. After 
patching, there is no need to set Chipset mach64. But it doesn't fix video 
distortion.


Right, that was the intent.  Thanks for testing it.

I've done a dig in the code and found that LCD clock calculation is broken. 
The previous version of system set LCD clock at approximately 65MHz, my new 
build sets it about 150kHz, and I have all my screen distorted. Overriding 
the frequency helped a bit, and now I get a jittered X, as with out-of-vsync 
on CRT.


I'm not sure if this bug is connected with XFree86 at all. There are several 
bits of information that it is a kernel bug. It seems to me that affected 
kernel versions are 2.6.22 and 2.6.23. Check this:

http://lkml.org/lkml/2007/6/21/216 .


atyfb has __ALWAYS__ been broken, especially for laptops or adapters not 
initialised by BIOS/firmware.  And it is unfixable primarily because its 
maintainers over the years don't really know what they're doing.  That sounds 
harsh, but it is true.  On ix86, I recommend you use vesafb instead, or 
(better) no kernel framebuffer at all.


However, now that you have some kind of display, please send me a 
-logverbose 5 log, and I'll see what I can do to mitigate atyfb's latest 
brain damage.


Thanks.

Marc.

+--+--+
|  Marc Aurele La France   |  work:   1-780-492-9310  |
|  Academic Information and|  fax:1-780-492-1729  |
|Communications Technologies   |  email:  [EMAIL PROTECTED] |
|  352 General Services Building   +--+
|  University of Alberta   |  |
|  Edmonton, Alberta   |Standard disclaimers apply|
|  T6G 2H1 |  |
|  CANADA  |  |
+--+--+
XFree86 developer and VP.  ATI driver and X server internals.
___
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] XFree86: ati driver problem

2008-01-27 Thread Marc Aurele La France

On Sun, 27 Jan 2008, Anton 'FaioN' Mayorov wrote:

Oops, forgot to answer this one...

P.S. BTW, is there any way to load symbols both from XFree86 main executable 
and driver module simultaneously? Using xf86Break and xf86DummyVar is not 
very convenient...


I'm not sure what you mean here.  Could you rephrase?

Marc.

+--+--+
|  Marc Aurele La France   |  work:   1-780-492-9310  |
|  Academic Information and|  fax:1-780-492-1729  |
|Communications Technologies   |  email:  [EMAIL PROTECTED] |
|  352 General Services Building   +--+
|  University of Alberta   |  |
|  Edmonton, Alberta   |Standard disclaimers apply|
|  T6G 2H1 |  |
|  CANADA  |  |
+--+--+
XFree86 developer and VP.  ATI driver and X server internals.
___
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86