Alex Deucher wrote:
I've downloaded the xorg CVS and your patch and after much gnashing of teeth have managed to get DRI working.I just finished the preliminary merge. It seems to work ok in limited testing. for those interested the patch is here:
http://www.botchco.com/alex/xorg/savage-dri-to-xorg.diff
the code still needs the "develdri" #ifdefs added. I'm not sure exactly where those need to go off hand. also the savage dri is still only in mesa. At this point this can probably wait until after the next release for merging.
Alex
glxinfo indicates 'direct rendering: Yes'
So far everything seems to be working okay except for Xv and perhaps XvMC.
My setup: FC2, Athlon XP 2400, Kernel 2.6.5. ProSavage DDR 266 (32MB Shared Memory) Shuttle SK41G, 512MB Ram, 180GB drive
Prior to DRI glxgears got ~130-140 FPS mplayer plays good video with no frame drops
After DRI
glxgears got ~190-200 FPS (oh yeah!)
mplayer plays with no frame drops using Xv, however the video is distorted. (more below) xine and ogle show a similar distortion pattern as mplayer when using Xv, so I'm pretty sure it is an Xv issue.
Still working on getting XvMC to work with anything. Right mplayer won't start with the XvMC renderer.
I don't know if the Xv issue is Savage driver related or not, but I'll report it here in hopes you have some idea.
With Xv, the video is displayed properly if the rendering window is small (less than 719x404). In that size or smaller, the video is displayed perfectly. I can move the window around, move it partially off screen, etc. and the video stays correctly oriented etc.
If I size the window larger than 709x398, then the images are distorted in an interesting manner. The right half of the image is rendered properly, but the left half is not. In fact the left half of the image appears to have interlaced lines, half of which display the correct line, and the other half displaying the lines from the right side of the screen. The result is a ghosting effect where you can see both the right and left halves of the image on the left side of the screen. Further strangeness appears if part of the window is offscreen. If the right side of the window is off screen, then no obvious ill effects are apparent. If the left side of the window is off screen, however, the distorted area moves more torwards the left of the rendering area. Eventually it covers the whole remaining visible portion of the window, at that point, there are large dead areas where rendering doesn't happen.
Hope that isn't too confusing a description. I'll post more if I figure anything out.
Rob Kerr
------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
begin:vcard fn:Robert S. Kerr n:Kerr;Robert org:Digital Sandbox, Inc. adr;dom:Suite 501;;12355 Sunrise Valley Drive;Reston;VA;20191 email;internet:[EMAIL PROTECTED] title:Chief Software Architect tel;work:703-390-9770 tel;fax:703-390-9778 tel;cell:703-861-0510 url:http://www.dsbox.com version:2.1 end:vcard