Bug 201612

Summary: fix Xv driver in -amd driver
Product: [Fedora] Fedora Reporter: Christopher Blizzard <blizzard>
Component: xorg-x11-drv-amdAssignee: Adam Jackson <ajax>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6Keywords: Reopened
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-01 17:32:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 191931    

Description Christopher Blizzard 2006-08-07 20:26:56 UTC
It's apparently all busted.  Jordan Crouse has more details.

Comment 1 Adam Jackson 2006-08-14 02:19:58 UTC
fixed in rawhide.

Comment 2 Christopher Blizzard 2006-08-14 02:37:56 UTC
The Xv bugs are still there.  This is a tracker bug to note that it's something
that we need to make sure is fixed down the road.

Comment 3 Jordan Crouse 2006-08-15 19:33:18 UTC
Traditionally, the GX pitch must be a power of 2 based to allow us to compress
the data to limit bandwidth usage when we send the video to the video processor.
 That worked out to a pitch of 8192 when the OLPC board was in 1200x900 mode -
using up 7.6 of the 8MB of memory available.  Thats why video wasn't working in
Xv mode - the Xv driver couldn't allocate the offscreen memory it needed. 
Luckily, when compression is turned off, we are free from the power of 2
requirement. 

Commit 38f3d21beba13daba4844a129f3c268b5f291fb1 in the xf86-video-amd driver on
freedesktop.org adjusts the pitch to a sane value when compression is turned off
in the xorg.conf file.  When we make the pitch linear, that saves us 3Mb -
giving us plenty of room for Xv to do its thing.

Apply the patch, and set option "NoCompression" "true" in the xorg.conf.



Comment 4 Christopher Blizzard 2006-09-01 17:32:48 UTC
Jordan fixed this upstream in the amd driver.