[Mesa-dev] [PATCH mesa-9.0.1] libXvMCnouveau: fix to enable XvMC on nouveau

Arvind R arvino55 at gmail.com
Sat Dec 29 02:11:21 PST 2012


applications cannot load libXvMC.so due to nv30_screen_create being undefined.
This patch fixes that. And MPlayer successfully uses XvMC for
video-out on GeForce 9400GT

Log:
vo_xvmc: Using Xv Adaptor #0 (Nouveau GeForce 8/9 Textured Video)
vo_xvmc: Port 63 grabed
vo_xvmc: Allocated Direct Context
vo_xvmc: data_blocks allocated
vo_xvmc: mv_blocks allocated
vo_xvmc: Motion Compensation context allocated - 8 surfaces
vo_xvmc: idct=1 unsigned_intra=0
vo_xvmc: looking for OSD support
    Subpicture id 0x34344149
vo_xvmc: OSD support by backend rendering (fast)
vo_xvmc: Please send feedback to confirm that it works,otherwise send bugreport
[VD_FFMPEG] XVMC-accelerated MPEG-2.

vo_xvmc: OSD support by backend rendering (fast)
vo_xvmc: Please send feedback to confirm that it works,otherwise send bugreport
[VD_FFMPEG] XVMC-accelerated MPEG-2.

Signed-off-by: Arvind R. <arvino55 at gmail.com>
---
diff -urpN a/src/gallium/targets/xvmc-nouveau/Makefile
b/src/gallium/targets/xvmc-nouveau/Makefile
--- a/src/gallium/targets/xvmc-nouveau/Makefile	2012-07-02 06:19:19 +0530
+++ b/src/gallium/targets/xvmc-nouveau/Makefile	2012-12-28 13:18:53 +0530
@@ -5,6 +5,7 @@ LIBBASENAME = XvMCnouveau

 PIPE_DRIVERS = \
 	$(TOP)/src/gallium/winsys/nouveau/drm/libnouveaudrm.a \
+	$(TOP)/src/gallium/drivers/nv30/libnv30.a \
 	$(TOP)/src/gallium/drivers/nv50/libnv50.a \
 	$(TOP)/src/gallium/drivers/nvc0/libnvc0.a \
 	$(TOP)/src/gallium/drivers/nouveau/libnouveau.a \


More information about the mesa-dev mailing list