Bug#656719: Please provide xvmc and vdpau Gallium3D video acceleration drivers
It would be nice if you could add these drivers. That would mean one
less reason to use the proprietary fglrx driver.
Attached is Mikhail's diff adjusted to 9.2.2-1
diff -u mesa-9.2.2/debian/changelog mesa-9.2.2/debian/changelog
--- mesa-9.2.2/debian/changelog
+++ mesa-9.2.2/debian/changelog
@@ -1,3 +1,13 @@
+mesa (9.2.2-1.1) unstable; urgency=low
+
+ [ Mikhail Kshevetskiy ]
+
+ * debian: Add libxvmc1-gallium-drivers and libvdpau1-gallium-drivers
+ packages to provide xvmc and vdpau video acceleration for nouveau,
+ radeon and softpipe drivers.
+
+ -- Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com> Sun, 09 Jun 2013 02:14:05 +0400
+
mesa (9.2.2-1) unstable; urgency=low
* New upstream release.
diff -u mesa-9.2.2/debian/control mesa-9.2.2/debian/control
--- mesa-9.2.2/debian/control
+++ mesa-9.2.2/debian/control
@@ -33,6 +33,8 @@
llvm-3.3-dev (>= 1:3.3-4) [amd64 i386 kfreebsd-amd64 kfreebsd-i386 armhf],
libelf-dev [amd64 i386 kfreebsd-amd64 kfreebsd-i386 armhf],
libwayland-dev (>= 1.0.2) [linux-any],
+ libxvmc-dev,
+ libvdpau-dev,
Vcs-Git: git://git.debian.org/git/pkg-xorg/lib/mesa
Vcs-Browser: http://git.debian.org/?p=pkg-xorg/lib/mesa.git
Homepage: http://mesa3d.sourceforge.net/
@@ -783,2 +785,76 @@
+Package: libvdpau1-gallium-drivers
+Section: libs
+Priority: optional
+Architecture: linux-any
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
+ firmware-linux-nonfree
+Recommends: libgl1-mesa-dri, libxvmc-mesa-drivers
+Multi-Arch: same
+Description: VDPAU Gallium3D video acceleration drivers
+ This package provide vdpau gallium drivers to accelerate video decoding
+ on r300/r600/radeonsi (AMD Radeon chips), nouveau (NVidia chips) and
+ softpipe.
+ .
+ Features:
+ r300: MPEG1, MPEG2
+ r600/radeonsi: MPEG1, MPEG2, H264, VC1, MPEG4 (see note)
+ nouveau: ???
+ softpipe: ???
+ .
+ Recent MPlayer versions use the provided library automatically. But you
+ can manually use it using for example the following command line.
+ .
+ . mplayer -vo vdpau -vc ffmpeg12vdpau example.mpeg2
+ .
+ Note: you'll need UVD support in your kernel to get H264/VC1/MPEG4
+ video decoding on AMD Radeon chips (linux >= 3.10 and latest
+ radeon firmware files required).
+ .
+ Beware that this is work in progress and might not work as expected.
+
+Package: libvdpau1-gallium-drivers-dbg
+Section: debug
+Priority: extra
+Architecture: linux-any
+Depends:
+ libvdpau1-gallium-drivers (= ${binary:Version}),
+ ${misc:Depends}
+Multi-Arch: same
+Description: debugging symbols for VDPAU Gallium3D video acceleration drivers
+ This package contains the debugging symbols for the VDPAU gallium drivers.
+
+Package: libxvmc1-gallium-drivers
+Section: libs
+Priority: optional
+Architecture: linux-any
+Depends:
+ libxvmc1,
+ ${shlibs:Depends},
+ ${misc:Depends},
+Recommends: libgl1-mesa-dri, libvdpau1-gallium-drivers
+Multi-Arch: same
+Description: XvMC Gallium3D video acceleration drivers
+ This package provide accelerated XvMC gallium drivers for
+ r300/r600/radeonsi (AMD Radeon chips), nouveau (NVidia chips) and
+ softpipe.
+ .
+ You have to edit `/etc/X11/XvMCConfig` and list your hardware specific
+ library in there, for example `libXvMCr600.so.1`.
+ .
+ Beware that this is work in progress and might not work as expected.
+
+Package: libxvmc1-gallium-drivers-dbg
+Section: debug
+Priority: extra
+Architecture: linux-any
+Depends:
+ libxvmc1-gallium-drivers (= ${binary:Version}),
+ ${misc:Depends}
+Multi-Arch: same
+Description: debugging symbols for XvMC Gallium3D video acceleration drivers
+ This package contains the debugging symbols for the XvMCV gallium libraries.
+
# vim: tw=0
diff -u mesa-9.2.2/debian/rules mesa-9.2.2/debian/rules
--- mesa-9.2.2/debian/rules
+++ mesa-9.2.2/debian/rules
@@ -114,7 +114,6 @@
--enable-shared-glapi \
--enable-texture-float \
--enable-xa \
- --disable-xvmc --disable-vdpau \
$(confflags_DIRECT_RENDERING) \
$(confflags_EGL) \
$(confflags_GALLIUM) \
@@ -129,22 +128,25 @@
--enable-xlib-glx \
--disable-egl \
--disable-shared-glapi \
+ --disable-gallium-g3dvl \
$(buildflags)
confflags-swx11-static = \
--disable-dri \
--disable-egl \
--with-gallium-drivers= \
+ --disable-shared-glapi \
+ --disable-gallium-g3dvl \
--enable-xlib-glx \
--enable-static \
--disable-egl \
- --disable-shared-glapi \
$(buildflags)
confflags-swx11-i386-i686 = \
--disable-dri \
--disable-egl \
--with-gallium-drivers= \
+ --disable-gallium-g3dvl \
--enable-xlib-glx \
--disable-egl \
--disable-shared-glapi \
only in patch2:
unchanged:
--- mesa-9.2.2.orig/debian/libvdpau1-gallium-drivers.install.in
+++ mesa-9.2.2/debian/libvdpau1-gallium-drivers.install.in
@@ -0,0 +1 @@
+dri/usr/lib/${DEB_HOST_MULTIARCH}/vdpau/libvdpau_* usr/lib/${DEB_HOST_MULTIARCH}/vdpau
only in patch2:
unchanged:
--- mesa-9.2.2.orig/debian/libxvmc1-gallium-drivers.install.in
+++ mesa-9.2.2/debian/libxvmc1-gallium-drivers.install.in
@@ -0,0 +1 @@
+dri/usr/lib/${DEB_HOST_MULTIARCH}/libXvMC* usr/lib/${DEB_HOST_MULTIARCH}
Reply to: