[RV635] RadeonHD 3670, unable to show entire color scheme

Bug #243372 reported by Mario Limonciello
6
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Invalid
Medium
xserver-xorg-video-ati (Ubuntu)
Fix Released
Undecided
Bryce Harrington

Bug Description

See attached screenshot for an example.

Revision history for this message
Mario Limonciello (superm1) wrote :
Revision history for this message
Mario Limonciello (superm1) wrote :

This is on Intrepid, fully updated to June 26 2008, with the open source -ati driver.

Revision history for this message
Mario Limonciello (superm1) wrote :

Well actually that screenshot doesn't do justice. It shows up with several "contours" on the display.

Revision history for this message
Mario Limonciello (superm1) wrote :

This image really does show it:

<bryce> banding
<mario_limonciell> because that only happens with the 'ati' driver
<mario_limonciell> not with the fglrx
<bryce> yeah we used to have that in inkscape with gradient patterns
<mario_limonciell> what causes it?
<bryce> color interpolation bugs,
<bryce> numerical issues in gradient printing code

Revision history for this message
Mario Limonciello (superm1) wrote :

In order to rule it out being the background, this was verified in inkscape by making a large circle with a gradient from one color to another. It shows very similar banding results.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Thanks for your report. Can you please try the newest driver in intrepid and if it's still the same file a bug upstream on bugs.freedesktop.org (Product=xorg, Component=Driver/Radeon), attaching your Xorg.0.log?

Changed in xserver-xorg-video-ati:
assignee: nobody → tormodvolden
status: New → Incomplete
Revision history for this message
In , Mario Limonciello (superm1) wrote :

Created an attachment (id=18239)
Xorg log

This is tested on Ubuntu Intrepid, using the default xorg.conf which defaults to the radeon driver.

This results in banding across the display.

Revision history for this message
Mario Limonciello (superm1) wrote :

It happens using the latest xserver-xorg-video-ati (1.6.9+git20080802.1f3eee36-1ubuntu1) too.

Changed in xserver-xorg-video-ati:
status: Incomplete → Confirmed
Changed in dell:
status: New → Confirmed
Changed in xserver-xorg-driver-ati:
status: Unknown → Confirmed
Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati:
status: Confirmed → Triaged
Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=18698)
Photo showing banding

Mario sent me the hardware in question; I've taken a photo of the screen to illustrate the banding.

This is with -ati version 1:6.9.0+git20080802.1f3eee36-1ubuntu1. I'll test with the a3cc1d7a once it's built.

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Some additional details...

This seems to only occur with gradients. I can reproduce the issue both in Inkscape and Gimp when using their gradients.

Revision history for this message
In , agd5f (agd5f) wrote :

Dithering is probably enabled for that output. You'd need to fix up dfp_disable_dither() in atombios_output.c for DCE 3.0 cards.

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Noticed that the log didn't specify the pci info:

01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon Mobility HD 3670 [1002:9593]
 Subsystem: Dell Device [1028:0272]

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=18990)
rv635_dithering.patch

I'm having some trouble determining what register needs to be poked. I've tried all the ones in the current code, and tried finding some docs to see if there is a new BIT_DEPTH_CONTROL register, but no luck so far. Maybe something has to be done in addition to setting the bit depth?

Revision history for this message
In , Bryce Harrington (bryce) wrote :

I've also tried each of the following without luck:

            OUTREG(0x6710, 0);

            OUTREG(0x6f10, 0);

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=19105)
Enable dithering on rv635 hardware

After a whole bunch of experimentation and advice from Alex, this patch enables dithering and greatly diminishes the banding. (The banding's still there, but you have to look close to see it.)

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Alex, please let me know if there are changes you'd like to see to this patch before it can be committed to upstream git. I've incorporated it into Ubuntu's -ati package.

Revision history for this message
Bryce Harrington (bryce) wrote :

I've put in a patch to enable dithering, which makes it look a lot better, although it'd be preferable not to need dithering at all. The patch is upstream, so maybe a better fix will come in time, but at least the issue isn't as noticeable anymore.

Changed in xserver-xorg-video-ati:
assignee: tormodvolden → bryceharrington
status: Triaged → Fix Released
Revision history for this message
In , Oibaf (oibaf) wrote :

Is this bug supposed to be fixed with current git?

Revision history for this message
In , agd5f (agd5f) wrote :

(In reply to comment #9)
> Is this bug supposed to be fixed with current git?
>

Ajax' commit (d744dc013cf5ca3141c0fdf55e36d713fe9f53ba) should fix it I think.

Changed in dell:
status: Confirmed → Fix Released
Revision history for this message
In , Bryce Harrington (bryce) wrote :

I finally got a chance to re-test this. Unfortunately, it did not eliminate the banding. At least it seems to be no worse than the patch I'd posted earlier, but the banding is still present if you look closely.

Revision history for this message
In , agd5f (agd5f) wrote :

Is this still an issue with ati git master?

Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
Changed in xserver-xorg-driver-ati:
importance: Medium → Unknown
status: Confirmed → Invalid
Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
Changed in somerville:
status: New → Fix Released
no longer affects: dell
Revision history for this message
Timothy R. Chavez (timrchavez) wrote :

The bug task for the somerville project has been removed by an automated script. This bug has been cloned on that project and is available here: https://bugs.launchpad.net/bugs/1305630

no longer affects: somerville
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.