The script is a derivative of this thread. Thanks though.
Printable View
Merry Christmas guys,
you've lost me...
What should I do to install the vaapi enabled mplayer?
hmm... has there been any news about this new driver that uses gallium? Just wondering because they're saying that performance will shoot up... or is the driver we have it?
I think I figured it out. I am now playing 720p content comfortably. I have not tried 1080p content since my only screen today is Dell Mini 12 laptop panel with 1280x800 resolution.
Let's see if you can get it to work. I ran this sequence after switching to jolicloud kernel (comment 182). I am not convinced whether that was necessary. Update: I ran into instability with jolicloud kernel due to suspend/resume, and reverted back to Karmic kernel. Playing 720p content works fine.
- Add the following lines to your /etc/apt/sources.list
Code:## Repository for fit-PC2 users provided by Compulab
deb http://fit-pc2.com/download/ubuntu/dists/karmic binary/
deb-src http://fit-pc2.com/download/ubuntu/dists/karmic source/
- Refresh update manager
Code:sudo apt-get update
- Uninstall mplayer provided by Karmic
Code:sudo apt-get remove mplayer-nogui
sudo apt-get remove mplayer
- Install mplayer with vaapi support
Code:sudo apt-get install libva1 mplayer-vaapi mplayer-skins
- Comment out fit-pc repository by editing /etc/apt/sources.list
Code:## Repository for fit-PC2 users provided by Compulab
#deb http://fit-pc2.com/download/ubuntu/dists/karmic binary/
#deb-src http://fit-pc2.com/download/ubuntu/dists/karmic source/
- Link the va driver from Poulsbo driver
Code:sudo ln -s /usr/X11R6/lib/modules/dri/psb_drv_video.so /usr/lib/va/drivers
- Run vainfo and make sure you get no errors
Code:$ vainfo
libva: libva version 0.31.0-sds4
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/psb_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Intel GMA500 - 5.0.1.0046
vainfo: Supported profile and entrypoints
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointMoComp
VAProfileMPEG4Simple : VAEntrypointVLD
VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
- Test mplayer on any MPEG4 or H264 content
Code:mplayer -va vaapi -vo vaapi -ao oss HDvideo.mp4
Note: I had problems with sync between video and audio, so I specified audio output by adding -ao oss option.
Alternative options for -ao (audio output) are -ao pulse, -ao sdl and -ao alsa.
ok wait im confused here. all i have to do on my acer aspire one 751h to get full 1080p video is buld my own player? and does this work on 9.04?
i,ve a strange problem with the audio, all works well, but only the first time. The second application that i use to play audio want works and i must to rebbot.
Any idea?
Players that ship with 9.04 or 9.10 cannot use video acceleration by poulsbo. You need mplayer-vaapi package. Either build it yourself, or install a build using instructions in comment 196.
Note that in either case you need to provide special video acceleration API (VAAPI) libraries and ensure they work fine.
Update: you need at least version 0.31 of the VAAPI library. Installations in the OP refers to ubuntu-mobile of library version 0.29 which is too old.