[PATCH] radeon: greyline bug when the screen is not in the flatpanel resolution.

Sascha Sommer ssommer at suse.de
Sun Aug 19 06:26:49 PDT 2007


Hi,

I wonder if some with knowledge about the radeon driver could take a look at 
https://bugs.freedesktop.org/show_bug.cgi?id=8983

The problem is that whenever I choose a resolution other than 1400x1050 for my
mobility radeon 9700 the most right part of the screen is corrupted and a grey
line occurres on the bottom of the screen. This corruption only happens on the 
Laptop Flat panel. External CRT is fine.

I dumped the registers on windows and found out that the windows driver seems 
to use different rounding for some of the registers.


Here are some stats of the register values for different panel sizes:
(First comes the resolution from which we scale up to the flatpanel 
resolution. h is the register value for hscale without and with the patch v 
stands for vscale.

panel 1400x1050
1400x1050 h: 4096 4096 diff 0 v: 4096 4096 diff 0
1280x960 h: 3745 3744 diff 1 v: 3745 3744 diff 1
1280x768 h: 3745 3744 diff 1 v: 2996 2995 diff 1
1024x768 h: 2996 2995 diff 1 v: 2996 2995 diff 1
800x600 h: 2341 2340 diff 1 v: 2341 2340 diff 1
640x480 h: 1872 1872 diff 0 v: 1872 1872 diff 0
panel 1280x768
1280x768 h: 4096 4096 diff 0 v: 4096 4096 diff 0
1024x768 h: 3277 3276 diff 1 v: 4096 4096 diff 0
800x600 h: 2560 2560 diff 0 v: 3200 3200 diff 0
640x480 h: 2048 2048 diff 0 v: 2560 2560 diff 0
panel 1024x768
1024x768 h: 4096 4096 diff 0 v: 4096 4096 diff 0
800x600 h: 3200 3200 diff 0 v: 3200 3200 diff 0
640x480 h: 2560 2560 diff 0 v: 2560 2560 diff 0

So the fix will mainly affect 1400x1050 flatpanels.
The question is if this is only different for my Notebook or if this is a 
generic problem.

Regards

Sascha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xf86-video-ati-rmx.diff
Type: text/x-diff
Size: 1226 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20070819/ae7ebf03/attachment.diff>


More information about the xorg mailing list