Re: AIT Radeon Mobility M6 LY DRI breaks on upgrade to ubuntu Gutsy

Doug Scoular <[email protected]> Mon, 29 Oct 2007 14:57:17 +1100
Newsgroups gmane.comp.video.dri.user
Message-ID <[email protected]>
Hi Alex,
Alex Deucher wrote:
 > Add the following line to the display subsection of the screen section
 > of your config:
 >
 > Virtual 1280 600
 >
 > With the new randr code we pre-allocate a framebuffer until we get ttm support.

	That worked a treat! Gears has gone from 30fps
	to 380 fps! I've also tried it with 24 bits and
	DRI still works! Many, many thanks!

	However, XV isn't working at all: mplayer,
	xine and vlc all get a blue image... any ideas ?

	Here's the output from xvinfo at 16 bits
	in case that helps:

X-Video Extension version 2.2
screen #0
   Adaptor #0: "ATI Radeon Video Overlay"
     number of ports: 1
     port base: 73
     operations supported: PutImage
     supported visuals:
       depth 16, visualID 0x23
       depth 16, visualID 0x24
       depth 16, visualID 0x25
       depth 16, visualID 0x26
       depth 16, visualID 0x27
       depth 16, visualID 0x28
       depth 16, visualID 0x29
       depth 16, visualID 0x2a
       depth 16, visualID 0x2b
       depth 16, visualID 0x2c
       depth 16, visualID 0x2d
       depth 16, visualID 0x2e
       depth 16, visualID 0x2f
       depth 16, visualID 0x30       depth 16, visualID 0x31
       depth 16, visualID 0x32     number of attributes: 22
       "XV_DEVICE_ID" (range 0 to -1)
               client gettable attribute (current value is 109)
       "XV_LOCATION_ID" (range 0 to -1)
               client gettable attribute (current value is 110)
       "XV_INSTANCE_ID" (range 0 to -1)
               client gettable attribute (current value is 111)
       "XV_DUMP_STATUS" (range 0 to 1)
               client settable attribute
       "XV_SET_DEFAULTS" (range 0 to 1)
               client settable attribute
       "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
               client settable attribute
               client gettable attribute (current value is 0)
       "XV_COLORKEY" (range 0 to -1)
               client settable attribute
               client gettable attribute (current value is 30)
       "XV_DOUBLE_BUFFER" (range 0 to 1)
               client settable attribute
               client gettable attribute (current value is 1)
       "XV_OVERLAY_ALPHA" (range 0 to 255)
               client settable attribute
               client gettable attribute (current value is 255)
       "XV_GRAPHICS_ALPHA" (range 0 to 255)
               client settable attribute
               client gettable attribute (current value is 255)
       "XV_ALPHA_MODE" (range 0 to 1)
               client settable attribute
               client gettable attribute (current value is 0)
       "XV_BRIGHTNESS" (range -1000 to 1000)
               client settable attribute
               client gettable attribute (current value is 0)
       "XV_CONTRAST" (range -1000 to 1000)
               client settable attribute
               client gettable attribute (current value is 0)
       "XV_SATURATION" (range -1000 to 1000)
               client settable attribute
               client gettable attribute (current value is 0)
       "XV_COLOR" (range -1000 to 1000)
               client settable attribute
               client gettable attribute (current value is 0)
       "XV_HUE" (range -1000 to 1000)
               client settable attribute
               client gettable attribute (current value is 0)
       "XV_RED_INTENSITY" (range -1000 to 1000)
               client settable attribute
               client gettable attribute (current value is 0)
       "XV_GREEN_INTENSITY" (range -1000 to 1000)
               client settable attribute
               client gettable attribute (current value is 0)
       "XV_BLUE_INTENSITY" (range -1000 to 1000)
               client settable attribute
               client gettable attribute (current value is 0)
       "XV_CRTC" (range -1 to 1)

               client settable attribute
               client gettable attribute (current value is -1)
       "XV_GAMMA" (range 100 to 10000)
               client settable attribute
               client gettable attribute (current value is 1000)
       "XV_COLORSPACE" (range 0 to 1)
               client settable attribute
               client gettable attribute (current value is 0)
     maximum XvImage size: 2048 x 2048
     Number of image formats: 8
       id: 0x41424752 (RGBA)
         guid: 52474241-0000-0010-8000-00aa00389b71
         bits per pixel: 32
         number of planes: 1
         type: RGB (packed)
         depth: 32
         red, green, blue masks: 0xff0000, 0xff00, 0xff
       id: 0x0
         guid: 52474200-0000-0010-8000-00aa00389b71
         bits per pixel: 24
         number of planes: 1
         type: RGB (packed)
         depth: 24
         red, green, blue masks: 0xff0000, 0xff00, 0xff
       id: 0x54424752 (RGBT)
         guid: 52474254-0000-0010-8000-00aa00389b71
         bits per pixel: 16
         number of planes: 1
         type: RGB (packed)
         depth: 16
         red, green, blue masks: 0x7c00, 0x3e0, 0x1f
       id: 0x32424752 (RGB2)
         guid: 52474200-0000-0010-8000-00aa00389b71
         bits per pixel: 16
         number of planes: 1
         type: RGB (packed)
         depth: 16
         red, green, blue masks: 0xf800, 0x7e0, 0x1f
       id: 0x32595559 (YUY2)
         guid: 59555932-0000-0010-8000-00aa00389b71
         bits per pixel: 16
         number of planes: 1
         type: YUV (packed)
       id: 0x59565955 (UYVY)
         guid: 55595659-0000-0010-8000-00aa00389b71
         bits per pixel: 16
         number of planes: 1
         type: YUV (packed)
       id: 0x32315659 (YV12)
         guid: 59563132-0000-0010-8000-00aa00389b71
         bits per pixel: 12
         number of planes: 3
         type: YUV (planar)
       id: 0x30323449 (I420)
         guid: 49343230-0000-0010-8000-00aa00389b71
         bits per pixel: 12
         number of planes: 3
         type: YUV (planar)

	Cheers,

	Doug
-- 
"The big print giveth and the small print taketh away"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--