Bug 14154 - RGBA32 mode does not work in Xv on Radeon (PPC)
Summary: RGBA32 mode does not work in Xv on Radeon (PPC)
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.2 (2007.02)
Hardware: PowerPC Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-20 10:08 UTC by Marcus Comstedt
Modified: 2008-01-21 01:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Program reproducing the problem with RGBA mode. (5.23 KB, text/plain)
2008-01-20 10:08 UTC, Marcus Comstedt
no flags Details

Description Marcus Comstedt 2008-01-20 10:08:52 UTC
Created attachment 13817 [details]
Program reproducing the problem with RGBA mode.

The packed RGBA Xv mode (id 0x41424752) gives weird results when used
on a PPC machine with a Radeon 9200 graphics card (Mac Mini).  The green
component is decoded as expected, but the red and blue are read twice from
each word, giving half the X resolution.

I've attached a program reproducing the problem.  It divides the window
into a 3x3 grid, painting the squares along the diagonal in solid red,
green, and blue, respectively.  Which is to say, the expected result is this:

R__  (R = red, G = green, B = blue, _ = black)
_G_
__B

Instead, what you get is this

RR_
_G_
____BB

(The blue square ends up outside the window, so it isn't seen.)
Comment 1 Michel Dänzer 2008-01-20 10:28:22 UTC
Already fixed in Git.
Comment 2 Marcus Comstedt 2008-01-20 10:52:07 UTC
Wow, 20 minutes, this must be some kind of speed record.  :-)

Thanks.
Comment 3 Michel Dänzer 2008-01-21 01:41:51 UTC
;)

Seriously though, this was already fixed before your report using the patch from bug 13737.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.