LinHES Forums
http://forum.linhes.org/

Testing out VDPAU on R6 - results are AMAZING!
http://forum.linhes.org/viewtopic.php?f=11&t=19611
Page 1 of 1

Author:  graysky [ Fri Feb 27, 2009 7:22 pm ]
Post subject:  Testing out VDPAU on R6 - results are AMAZING!

Have a look at Task ID 243 on flyspray. The mplayer and mythtv VDPAU packages installed nicely :)

Here's how to do it starting from a functional R6 install:

# pacman -Rd mythtv mplayer nvidia
# pacman -S mythtv-vdpau mplayer-vdpau-nogui
# reboot

Code:
# pacman -Rd mythtv mplayer nvidia
(1/3) removing nvidia                               [#############################################################] 100%
(2/3) removing mplayer                              [#############################################################] 100%
warning: /etc/mplayer/mplayer.conf saved as /etc/mplayer/mplayer.conf.pacsave
warning: /etc/mplayer/input.conf saved as /etc/mplayer/input.conf.pacsave
warning: /etc/mplayer/codecs.conf saved as /etc/mplayer/codecs.conf.pacsave
(3/3) removing mythtv                               [#############################################################] 100%
warning: /usr/share/mythtv/is.xml saved as /usr/share/mythtv/is.xml.pacsave
[root@myth-bathroom mythtv]# pacman -S mythtv-vdpau mplayer-vdpau-nogui
resolving dependencies...
looking for inter-conflicts...
:: nvidia-utils-beta conflicts with nvidia-utils. Remove nvidia-utils? [Y/n] y

Remove (1): nvidia-utils-180.22-1 

Total Removed Size:   26.63 MB

Targets (4): nvidia-utils-beta-180.35-1  nvidia-beta-180.35-1  mythtv-vdpau-0.21-2  mplayer-vdpau-nogui-28348-3 

Total Download Size:    39.55 MB
Total Installed Size:   100.02 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra-testing...
 nvidia-utils-beta-1...    10.1M  429.4K/s 00:00:24 [#############################################################] 100%
 nvidia-beta-180.35-...     2.5M  382.8K/s 00:00:07 [#############################################################] 100%
 mythtv-vdpau-0.21-2...    19.7M  461.5K/s 00:00:44 [#############################################################] 100%
 mplayer-vdpau-nogui...     7.3M  527.4K/s 00:00:14 [#############################################################] 100%
checking package integrity...
:: Updating symlinks to use xorg-server libwfb
(4/4) checking for file conflicts                   [#############################################################] 100%
(1/4) installing nvidia-utils-beta                  [#############################################################] 100%
-------------------------------
By using this package you accept the NVIDIA license,
which has been installed in /usr/share/licenses/nvidia/LICENSE
If you do not accept this license, you must remove the package immediately.
Dont forget to update your /etc/X11/xorg.conf
In order to use nvidia-settings, you need to install the gtk2 package.
In order to use nvidia-xconfig, you need to install the pkgconfig package.
-------------------------------
nvidia 9746 drops support for Geforce 3 and 4 cards
If you have such a card, install the nvidia-96xx, nvidia-96xx-utils,
nvidia-96xx-ck, nvidia-96xx-beyond, nvidia-96xx-suspend2 packages
For a list of supported cards, see /usr/share/doc/nvidia/supported-cards.txt
-------------------------------
This drivers are beta. We recommend to use drivers from extra repo.
(2/4) installing nvidia-beta                        [#############################################################] 100%
(3/4) installing mythtv-vdpau                       [#############################################################] 100%
See "MythTV" on the Archlinux Wiki for installation information - Extensive!!
(4/4) installing mplayer-vdpau-nogui                [#############################################################] 100%
# exit


My frontend machine is an old Athlon XP 3200+ (2.2 GHz single core) w/ a PCI 8400 GS I got for $60. The machine without VDPAU is far too slow to playback even a 720p23 h264 file (3,100 Kbps) without VDPAU. CPU usage for mplayer goes to 100 % and play back isn't watchable in the least. When I use cesman's mplayer described in the linked task above, playback is smooth as silk and cpu usage for mplayer averages 2-3 % during playback. VDPAU is truly remarkable. I also used it to watch an OTA 720p60 mpeg file @ 14,800 Kbps and CPU usage was only 5-6 % during playback.

Code:
$ mplayer -fs -zoom -vo vdpau -vc ffh264vdpau /path/to/video/


Related info about vdpau/mplayer
Be sure you check out the mplayer/vdpau docs. There is a slight modification you need to do to the switches, specifically selecting which codec to use.

If you're interested in seeing my GPU temps (idle/load), see this thread.

Quote:
Running MPlayer:
$ cd mplayer-vdpau
$ ./mplayer -vc <VDPAU-codec-name> -vo vdpau <filename>

'VDPAU-codec-name' can be one of:

ffmpeg12vdpau
ffh264vdpau
ffwmv3vdpau
ffvc1vdpau

based on the type of video bitstream (ffmpeg12vdpau for MPEG-1
or MPEG-2, ffh264vdpau for H.264, ffwmv3vdpau for WMV3, and
ffvc1vdpau for VC-1).

If a VDPAU codec is used, the VDPAU output module must be used.

Author:  richardc [ Tue May 26, 2009 1:10 pm ]
Post subject: 

Quote:
Here's how to do it starting from a functional R6 install:

# pacman -Rd mythtv mplayer nvidia
# pacman -S mythtv-vdpau mplayer-vdpau-nogui
# reboot


mplayer-vdpau-nogui is no longer available.
mplayer-vdpau-nogui package not found, searching for group...
error: 'mplayer-vdpau-nogui': not found in sync db

Will mplayer-29134-11 support VDPAU and if not, what do you use?

Thanks

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/