From: Arvind R <arvin...@gmail.com>

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.

NOTE: This is a candidate for the 9.0 branch.

Signed-off-by: Arvind R. <arvin...@gmail.com>
Signed-off-by: Andreas Boll <andreas.boll....@gmail.com>
---

Patch found on 
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2012-December/071265.html

 src/gallium/targets/xvmc-nouveau/Makefile |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/targets/xvmc-nouveau/Makefile 
b/src/gallium/targets/xvmc-nouveau/Makefile
index f81f409..c9525a4 100644
--- a/src/gallium/targets/xvmc-nouveau/Makefile
+++ b/src/gallium/targets/xvmc-nouveau/Makefile
@@ -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 \
-- 
1.7.10.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to