Bug 36008

Summary: Incorrect colour map for xv on radeon driver
Product: xorg Reporter: Bryce Harrington <bryce>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: christopher.m.penalver
Version: 7.6 (2010.12)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
BootDmesg.txt
none
CurrentDmesg.txt
none
no-xv.png
none
xv.png
none
XorgLog.txt none

Description Bryce Harrington 2011-04-05 15:41:12 UTC
Forwarding this bug from Ubuntu reporter Grant Likely:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/740655

[Problem]
Incorrect colour map for xv on radeon driver.  See screenshots for comparison.

[Original Description]
XV video output with the radeon driver (at least I assume it is a driver problem) produces incorrectly coloured video output.  The effect can be seen from the gstreamer-properties application by selecting both xv and no xv options in the video tab and clicking 'test'.

I'll attach screen shots of the good and bad output.

DistroRelease: Ubuntu 11.04
Package: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.38-7.38-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
CompositorRunning: None
DRM.card0.DP.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1920x1080 1600x1200 1680x1050 1280x1024 1280x1024 1440x900 1280x960 1152x864 1024x768 1024x768 1024x768 832x624 800x600 800x600 800x600 800x600 640x480 640x480 640x480 640x480 720x400
 edid-base64: AP///////wAEafoiAQEBAScUAQOAMBt47sT1o1dKnCMRUFS/7wBxT4GAgUCVAKlAswDRwAEBAjqAGHE4LUBYLEUAEyshAAAeAAAA/QAyTB5TEQAKICAgICAgAAAA/ABWRTIyOAogICAgICAgAAAA/wBBOUxNUVMwMjM5MDAKAKI=
DRM.card0.DP.2:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes: 
 edid-base64:
DRM.card0.DP.3:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes: 
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1920x1200 1920x1080 1600x1200 1680x1050 1400x1050 1280x1024 1440x900 1280x960 1280x854 1280x800 1280x720 1152x768 1024x768 800x600 848x480 720x480 640x480
 edid-base64: AP///////wAGEM+cAAAAAAEUAQOAJRd4CuWFo1RPnCYOUFQAAAABAQEBAQEBAQEBAQEBAQEBKDyAoHCwI0AwIDYAb+YQAAAZAAAAAQAGEDAAAAAAAAAAAAogAAAA/gBMVE4xNzBDVDEwAAogAAAA/ABDb2xvciBMQ0QKICAgAIA=
Date: Tue Mar 22 20:30:59 2011
DistUpgraded: Fresh install
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
 hid, 1.1.1, 2.6.38-7-generic, x86_64: installed 
 btusb, 1.0.6, 2.6.38-7-generic, x86_64: installed 
 bcm5974, 1.1.9, 2.6.38-7-generic, x86_64: installed 
 hid-apple, 1.0.2, 2.6.38-7-generic, x86_64: installed
GraphicsCard:
 ATI Technologies Inc NI Whistler [AMD Radeon HD 6600M Series] [1002:6741] (prog-if 00 [VGA controller])
   Subsystem: Apple Computer Inc. Device [106b:00e3]
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64+mac (20110318)
MachineType: Apple Inc. MacBookPro8,3
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, user)
 LANG=en_CA.UTF-8ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-7-generic root=UUID=605230ab-7b64-4eba-83ca-f14e630445e1 ro quiet splash vt.handoff=7
Renderer: Unknown
SourcePackage: xserver-xorg-video-ati
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/07/11
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP81.88Z.0047.B04.1102071707
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-942459F5819B171B
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro8,3
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-942459F5819B171B
dmi.modalias: dmi:bvnAppleInc.:bvrMBP81.88Z.0047.B04.1102071707:bd02/07/11:svnAppleInc.:pnMacBookPro8,3:pvr1.0:rvnAppleInc.:rnMac-942459F5819B171B:rvrMacBookPro8,3:cvnAppleInc.:ct10:cvrMac-942459F5819B171B:
dmi.product.name: MacBookPro8,3
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
version.compiz: compiz 1:0.9.4-0ubuntu7
version.libdrm2: libdrm2 2.4.23-1ubuntu5
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6~3ubuntu11
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu6
Comment 1 Bryce Harrington 2011-04-05 15:42:04 UTC
Created attachment 45325 [details]
BootDmesg.txt
Comment 2 Bryce Harrington 2011-04-05 15:42:20 UTC
Created attachment 45326 [details]
CurrentDmesg.txt
Comment 3 Bryce Harrington 2011-04-05 15:42:38 UTC
Created attachment 45327 [details]
no-xv.png
Comment 4 Bryce Harrington 2011-04-05 15:42:57 UTC
Created attachment 45328 [details]
xv.png
Comment 5 Bryce Harrington 2011-04-05 15:43:16 UTC
Created attachment 45329 [details]
XorgLog.txt
Comment 6 Alex Deucher 2011-04-12 11:26:51 UTC
It looks fine here.  Make sure some app didn't mess up the Xv attributes for the Xv ports (e.g., check if XV_BRIGHTNESS, XV_SATURATION, etc. are set to 0)  Use xvinfo or xvattr to check.
Comment 7 Christopher M. Penalver 2016-02-25 05:57:04 UTC
Fix released downstream.

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.