Bug 201612 - fix Xv driver in -amd driver
Summary: fix Xv driver in -amd driver
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-amd
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: OLPCTracker
TreeView+ depends on / blocked
 
Reported: 2006-08-07 20:26 UTC by Christopher Blizzard
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-09-01 17:32:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.