On Thu, 2004-03-04 at 20:15, Alex Deucher wrote:
> For those of you messing with XvMC support on savage, I just checked in
> a fix for the missing extension problem.  I had forgotten to port over
> the setup code from S3's driver.  I tested it briefly on savage4, but I
> only got an blue window.  It's possible that the XvMC stuff is
> prosavage/twister only.  Looking at the code it looks to be based on
> the old streams engine, so there is a good chance it is specific to
> those chips.  If any of you out there want to test, grab the latest DRI
> cvs and a copy of the savage XvMC lib.  you can grab the one I built
> here:
> http://www.botchco.com/alex/savage/libsavageXvMC.a
> move it to /usr/X11R6/lib .
> Also, there is not at the moment a device independant XvMC lib so you
> have to link any XvMC apps directly with the device dependant lib.  the
> savage xvmc lib name is 'savageXvMC'
> 

MPlayer-1.0pre3# ./configure --enable-xvmc --with-xvmclib=savageXvMC

#mplayer -vo xvmc dvd://
(...)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local display)
vo_xvmc: X-Video extension 2.2
vo_xvmc: X-Video MotionCompensation Extension version 1.0
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
(...)
FATAL: Could not initialize video filters (-vf) or video output (-vo).
Exiting... (End of file)

better then :
vo_xvmc: No X-Video MotionCompensation Extension on :0 (with via drive)

To create dynamic libs I think we just need the small patch in attach.

Conclusion with one Savage twisterK, I still can't play with -vo xvmc 
but I am more close to this goal.
-- 
Sérgio M. B.
--- savage.orig/xc/xc/config/cf/X11.tmpl	2004-02-24 17:36:57.000000000 +0000
+++ via/xc/xc/config/cf/X11.tmpl	2004-02-25 05:10:39.000000000 +0000
@@ -1869,7 +1869,7 @@
 
 #if BuildXvMCLibrary
 #ifndef SharedLibXvMC
-#define SharedLibXvMC		NO
+#define SharedLibXvMC		YES
 #endif
 #ifndef NormalLibXvMC
 #define NormalLibXvMC		YES

Reply via email to