hybrid-dump for VDPAU accelerated video playing on Ubuntu 11.10 with bumblebee 3.0?
This is how I got vdpau
:
-
Edited
/etc/bumblebee/xorg.conf.nvidia
to haveSection "Screen" Identifier "Screen0" DefaultDepth 24 SubSection "Display" Depth 24 Virtual 1920 1080 EndSubSection EndSection
-
Run
LD_LIBRARY_PATH=/usr/lib/nvidia-current:/usr/lib/nvidia-current/vdpau DISPLAY=:8 optirun mplayer -vo vdpau file.720p.mkv
-
Run
LD_LIBRARY_PATH=/usr/lib/nvidia-current DISPLAY=:8 compiz --replace &
Downloaded https://github.com/gebart/hybrid-windump, removed
xorg.conf
from it, then compiled (justmake
command).Run
./windump :8 :0
Note: You don't need to edit /etc/bumblebee/bumblebee.conf
and change KeepUnusedXServer
to true
as we run MPlayer directly with Optirun.