Source: mesa
Followup-For: Bug #656719

Hello,

Sending the debdiff updated for mesa 10.

Both mesa 9.2.2 and mesa 10 work for vdpau playback on Cedar (radeon).

Thanks

Michal

-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (990, 'stable'), (171, 'unstable'), (151, 'experimental'), (121, 
'precise-updates'), (121, 'precise-security'), (121, 'precise'), (101, 
'stable'), (101, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.11-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u mesa-10.0.1/debian/changelog mesa-10.0.1/debian/changelog
--- mesa-10.0.1/debian/changelog
+++ mesa-10.0.1/debian/changelog
@@ -1,3 +1,13 @@
+mesa (10.0.1-1.1) experimental; 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.kshevets...@gmail.com>  Sun, 09 Jun 2013 02:14:05 +0400
+
 mesa (10.0.1-1) experimental; urgency=low
 
   * New upstream release.
diff -u mesa-10.0.1/debian/control mesa-10.0.1/debian/control
--- mesa-10.0.1/debian/control
+++ mesa-10.0.1/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/
@@ -784,2 +786,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-10.0.1/debian/rules mesa-10.0.1/debian/rules
--- mesa-10.0.1/debian/rules
+++ mesa-10.0.1/debian/rules
@@ -115,7 +115,6 @@
 	--enable-shared-glapi \
 	--enable-texture-float \
 	--enable-xa \
-	--disable-xvmc --disable-vdpau \
 	$(confflags_DIRECT_RENDERING) \
 	$(confflags_EGL) \
 	$(confflags_GALLIUM) \
@@ -130,22 +129,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-10.0.1.orig/debian/libvdpau1-gallium-drivers.install.in
+++ mesa-10.0.1/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-10.0.1.orig/debian/libxvmc1-gallium-drivers.install.in
+++ mesa-10.0.1/debian/libxvmc1-gallium-drivers.install.in
@@ -0,0 +1 @@
+dri/usr/lib/${DEB_HOST_MULTIARCH}/libXvMC*		usr/lib/${DEB_HOST_MULTIARCH}

Reply via email to