[Xorg] Re: Savage DRI DDX to xorg merge

Alex Deucher alexdeucher at gmail.com
Fri Aug 13 10:35:22 PDT 2004


On Fri, 13 Aug 2004 10:14:00 -0400, Robert S. Kerr <rskerr at dsbox.com> wrote:
> 
> 
> Alex Deucher wrote:
> 
> >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
> >
> >
> >
> >
> I've downloaded the xorg CVS and your patch and after much gnashing of
> teeth have managed to get DRI working.
> glxinfo indicates 'direct rendering: Yes'
> 
> So far everything seems to be working okay except for Xv and perhaps XvMC.

Yeah, Xv seems to have some issues at the moment (so does console
switch).  I haven't had time to sort it out more.  Has anyone tried
the savage driver from xorg without my patch?  I curious to see how/if
Egbert's streams changes affected Xv.  I haven't had time to try it
myself.

Alex

> 
> 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
> >Dri-devel at lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/dri-devel
> >
> >
> >
> 
> 
> 
>



More information about the xorg mailing list