Ubuntu Multimedia :: Chromium And Using VDPAU Acceleration
Dec 10, 2010Is there a way to get Chromium to use VDPAU acceleration for HTML5 video playback? It's obviously not as cpu usage is very high.
View 1 RepliesIs there a way to get Chromium to use VDPAU acceleration for HTML5 video playback? It's obviously not as cpu usage is very high.
View 1 Repliesi installed the new flash 10.2 (with flash-aid) and i have no acceleration on videos.i thought that maybe i had something wrong with my system, so i reinstalled ubuntu 10.10.then installed flash and the vdpau-va-driver. still nothing.i have a ion card, so i should have full flash acceleration on video, like i have in windows.
View 8 Replies View RelatedI am trying to take advantage of VDPAU for playing video files with my ASRock ION 330. As far as I know, MPlayer and VLC both include VDPAU support. Ok then, I managed to make MPlayer work from the command line:
mplayer -vo vdpau -vc ffh264vdpau ./filename.mkv
In this way it plays a 720p content smoothly, with under 10% CPU use. Great!The problem is when I try to make this permanent, i.e., configuring the files ~/.mplayer/config and ~/.mplayer/gui.conf.This is what I have in there:
config
======
vo=vdpau,xv,
vc=ffh264vdpau,ffmpeg12vdpau,
[code]....
But still, when I open MPlayer from the menu, no matter what file I try to open it gives this ugly message:Error opening/initializing the selected video_out (-vo) device. With regard to VLC, I had no luck, although I am using the latest "1.0.3 Goldeneye" version, I don't know how to make use of VDPAU.
SMplayer has a vdpau option, turn it on, and it stops playing video. XV works just fine, but vdpau uses a lot less processor.
View 9 Replies View RelatedI upgraded from Ubuntu 9.10 to 10.04. After the upgrade, mplayer no longer play a DVD.
I put the missing codecs, as described here: [url] Now DVD worked.
Also during the upgrade package libvdpau1 was disappeared, I restored it from the default repository. Then vdpau worked, but only after a reboot. After restarting gdm (select "Log Out" or sudo service gdm stop/start, or Ctrl + Alt + Backspace) an error:
After reboot everything works again.I updated libvdpau1 from repository [url], but it did not help, same error.
Video: nvidia 9600M GT
Notebook [url]
Driver set the default, 195.36.15-0ubuntu3, from the standard repositories.
In Karmic was 185, everything worked.
I noticed this feature, I do not know whether it is connected with subj:
Immediately after loading the gdm starts with the seventh console, ie when you exit the virtual console by Ctrl + Alt + F2 again to hit Ctrl + Alt + F7.
After you restart gdm is in the eighth console, Ctrl + Alt + F8.
If I run a guest session, it starts with the ninth console.
In the karmic like always with the seventh started.
When booting too strange things happen.
Ubuntu Karmic I installed with Alternate CD to an encrypted LVM.
I booting in text mode, ie without "quiet splash".
Booting reached requiring a password, when entering the password does not display an asterisk, after entering the password then continue normally.
After upgrading to Lucid booting lines are shown as a twisted, ladder when entering the password it displays asterisks and when I enter each character again displays prompt.
I did not like, and I again put the "quiet splash".
I'm using Ubuntu 10.04 and have it hooked up to my HDTV. My GPU is an 8600 GT and I am using the current nvidia driver. Mother board is GIGABYTE GA-MA78GM-S2H, CPU is AMD 4850e, using 2x1G ram 800MHz. Everything I have installed on it comes straight through Synaptic. Smplayer seems to work fine with the VDPAU selected (cpu usage is nice and low during HD playback), but there is a slight problem that really annoys. Every 2-3 seconds the picture seems to have the hiccups, its as though it gets stuck on one frame for a split second and then jumps to the next.
View 9 Replies View RelatedI am using mplayer with vdpau enabled in Ubuntu 10.10. It works very well in general, reducing cpu usage for hd from 50% to 60% to around 10 -15% or less. There is however one slightly annoying problem. It is that mplayer would appear to "forget" its vdpau output setting once in a while and especially after rebooting. When that happens it needs to be "reset" in order to use vdpau. "Resetting" basically just means opening gnome-mplayer and change video output to xv and then back to vdpau again.
I should clarify that the setting has not actually been lost, it still says "vdpau", it just need resetting).
I have installed the Packman Mplayer and smplayer packages. I have also installed the proprietary nvidia drivers from the main site. However when I try using vdpau in mplayer, the video doesn't show up and the logs show these messages:
Code:
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x8f811f0, 0, -, -)
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 195.36.15 Thu Mar 11 23:42:13 PST 2010
VDPAU nvidia: Error detected 0 6291
VDPAU nvidia: Backtrace:
[Code]...
1) Does Karmic mplayer have VDPAU support out of the box? If not, why doesn't it?
2) Does LUCID mplayer have VDPAU support "..."?
3) If Lucid doesn't, can I use the Karmic VDPAU PPA for Lucid, or much I compile mplayer myself?
4) Point me to a place with instructions on compiling mplayer with VDPAU support. If you don't know, I'll just google it.
I have tried many ways to enable vdpau support in my machine but for no avail. A member here helped me very much but I couldn't manage to succeed. My system has Ubuntu 9.10 64-bit, Nvidia 8500GT 512mb, Intel Core 2 duo. I have installed Nvidia driver version 195 currently available from their site. I tried compiling mplayer with vdpau support from various tutorials thread here around in Ubuntu forums.
Is there anyone in this forum with Ubuntu 9.10 64 bit with the same other system requirements as mine who have successfully managed to make the VDPAU work?
I have a Zotac IONITX-F-E motherboard (Intel Atom Dual Core 1.6 GHz + Nvidia ION) -based box with Ubuntu 10.04 64-bit installed. My goal is to play back 1080p video.
I have mplayer installed (which I compiled from source with --enable-vdpau). I try to run mplayer with this command:
Code:
mplayer -vo vdpau -vc ffh264vdpau path/to/myfile.mkv
I get the following message in my terminal:
Code:
Error opening/initializing the selected video_out (-vo) device.
I have libvdpau-dev and libvdpau1 installed.
[Code]....
Before doing all this, I was able to get the nvidia 195.36.24 driver installed, but I am still having some trouble, which may or may not be related.
I installed libvdpau and then I installed the nvidia vdpau software. I was following some steps from another post. When I run XBMC and hit 'O' I can see that the gcpu is still not doing any work (0 - 6%), the two computer cpus are doing all the work. They run at 30%'ish on 720p content and that renders smooth. No prob there. However, the cpus jump up to 50%+ (both cpus) on 1080p content and they can't keep the frame rate steady. It jumps around significantly so of course the movie stutters. No, the network is not the issue. Its completely wired gigabit end to end. Plus I'm running the video from the local hard drive and it doesn't change.
So... the solution is to get VDPAU working and so far I haven't found the right instructions.
Choppy RMVB etc. video on totem made me go _insane_So i realized mplayer with VDPAU output was rocking and rolling!But Ubuntu uses TOTEM. So I tried to figure out why TOTEM and VLC couldn't do VDPAU.Lots of users tried with no success, months ago, as I was looking at some threads.Just passing by to inform that I was able to make NVidia's VDPAU technology work with GStreamer by compiling the latest gst-VAAPI lib (~gbeauchesne), like that:
Example RMVB file output $ gst-launch-0.10 -vv filesrc location="~/putz.rmvb" ! ffdemux_rm ! ffdec_rv40 ! x264enc ! vaapidecode ! vaapisink
and no more freezes or choppy video! Graphics card is NVidia 8500 GT, NVIDIA Driver Version: 260.19.06 with Intel Core i7 + 4GB RAM now I'm getting the 0.11 gst GIT and will see if it makes any difference.[URL]...
Using either MPlayer or mplayer2 under the video player SMplayer, when clicking on any drop-down menus, the video will freeze and then skip. Once the drop-down menu animation has completed, the video playback will play normally. This happens when using VDPAU to play back H.264 MKV files. Audio playback of the video is never interrupted. why VDPAU will not play nice with SMplayer & Compiz?
System Info:
AMD BE-2400
1GB System Memory
Natty Narwhal 11.04
Ubuntu Classic with Effects
Nvidia 9500GT
Video Driver 270.41.06-0ubuntu1
I have a ASRock ION 330 with 512 Mbyte shared graphics memory. I use the 256.44 closed source nvidia drivers and have a Xinerama display consisting of one Asus 1440x900 monitor and one video projector with displaysize of 1280x720. Display: 1440x900 + 1280x720 in Xinerama
I have tried with and without desktop effects enabled, and I have followed the http://tombuntu.com/index.php/2009/0...thout-tearing/ guide to manually set the refresh rate to 60 Hz. The sync to Vblank option is checked, both in CCSM and nvidia-settings under X Server Xvideo Settings and under OpenGL Settings, to no avail.
The files I play are MPEG-2 Transport Stream in 720p. Some are and some are not in Matroska containers. I use SMplayer with vdpau enabled. I've made a comparison of Windows Vista and Ubuntu 10.04 below:[URL].. It's not entirely clear from the video, but the end scroller is choppy on Ubuntu and relatively smooth in Windows Vista.
This setup is to be run in a public cinema, and the chopping and tearing is a complete showstopper. It would be a nice showcase to have Ubuntu in the wild like this, but it can't be used if these issues are not resolved.
1.(opt) Clean install (From ubuntu.com - 64 bit, 64bit server, and netbook remix will all work(break))
2.(opt) Update, restart
3.(opt? I know it works (breaks) for 195.36.24 and for 256.44) activate nvidia current through Hardware Drivers Gui, restart
4. install vdpauinfo: sudo add-apt-repository ppa:nvidia-vdpau/ppa then using Synaptic, reload packages, install libvdpau1 and vdpauinfo (will also work (break) with more recent driver from x-swat ppa as shown in below output))
5. export VDPAU_NVIDIA_DEBUG=3 && export VDPAU_TRACE=1 && vdpauinfo
[Code]...
I had a problem playing full HD videos (1080p @ 30 fps), frames dropped, CPU utilisation (on 1 of 2 CPUs) maxed out etc.As I'm still stuck on Hardy I didn't find much stuff that directly answers my question on how to play this... After hunting about a bit the following two links gave me some idea of what needs to be done, namely install a new version of Mplayer that supports VDPAU (NVidia's hardware video acceleration solution).
[URL]
Luckily I had a NVidia video card that supports VDPAU and I had installed the NVidia proprietary drivers before [URL]To check if your NVidia card supports VDPAU please look at the proprietary driver release details.
Quote from Wikipedia:
"Currently only second generation of PureVideo HD bit-stream processor in some of NVIDIA's GeForce 8 series and later graphics cards hardware that has support since the Beta device driver version 180.06.[4] Unsupported hardware from the GeForce 8 series includes the 8800GTS 320/640MB editions and the 8800GTX. Later cards based on the G9x series cores e.g. the 8400GS and the 8800GTS 512mb (G92 core) are supported."
I usually play using VLC but was put-off from trying to upgrade that to CDPAU support because of this little detail from the Ubuntu forum links above:
Quote:
"VLC is available with vdpau by way of VA-API, in this PPA:[URL]However, to install it you'll have to upgrade your precious and very touchy ffmpeg packages. There have been a couple of SONAME upgrades since Karmic's ffmpeg was released, and this will inevitably result in breakage of anything that A) uses dynamic ffmpeg, and B) is not rebuilt against the new version, ie. every package that's on your system that didn't come from that PPA."
Is there a way VLC to use vdpau as video output? Mplayer and Gnomemplayer can use it and the video playback uses as little as 2-4 % CPU power even on 1080p movies. Xorg and Kwin continue to use pretty much CPU power in video playback process , I suppose there is no way to limit them or there is ?
Open Suse 11.4 86x64, KDE4-4.5.6, NVidia 275.xxx.xxx
I have a nVIDIA Geforce 8500 GT on my Ubuntu system.and have the latest 260.19.36 driver installed.the Mplayer was from SVN checkout also the latest version.but the configure script from mplayer can't detect VDPAU on my system. just give me the output like this
Check VDPAU .... No If I force Enable the VDPAU. the make process won't be successful.just googled, most article that I can find about Mplayer and VDPAU is out of date.
I recently updated my Squeeze installation to testing and since then I've been unable to use VDPAU with SMPlayer and MPLayer. When VDPAU is enabled every video file gives the same error (see log at the end; don't mind the extra channel entries, they're for converting AAC to AC3 on-the-fly). Before this everything worked as it should.
[Code]...
mplayer complains about not being able to find libvdpau_nvidia.so. I checked in /usr/lib, and it's there, but it's a link that points to /usr/lib/vdpau libvdpau_nvidia.so. The folder vdpau doesn't exist.
Which package do I need to install to get this to work?
I'm considering getting a new motherboard in the future that has a pci-e x16 slot, but the slot only runs at x4 bandwidth.I will be using a 8800GT, so my question is will the x4 bandwidth have any detrimental performance hit when playing HD videos using VDPAU (H.264 codec)?
View 8 Replies View RelatedI'm using Ubuntu 9.10 (Karmic Koala) & recently added Ubuntu Studio to it. For quite some time, I'm trying to enable direct 3d acceleration on a virtual XP SP3 machine running over VMware Workststion 7.0.1.
As per VMware forums & many other sites, 3d hardware acceleration is supported for XP as guest provided that host Linux version is supported by the VMware product running that VM.
The forum also says that Ubuntu 9.10 is now supported by Workstation 7.0.1.
So: I have a supported version of host (Ubuntu 9.10) XPSP3 as guest. Latest version of VMware tools installed. Still I don't get hardware acceleration for the guest XP VM.
I'm trying to configure my Wacom tablet in Ubuntu (9.4) and it's working pretty well!
I have one issue though.
In Windows (with the Wacom drivers) I have the option to set both Mouse Speed and Mouse Acceleration (see attached screen shot). I normally like to increase acceleration and decrease speed.
In Linux (with xsetwacom) I can only find one, SpeedLevel. Is it so, or are there any other way to configure it?
After I installed the system (Ubuntu 10.04 64-bit), I wanted to turn the owner driver (nvidia-current) on in order to gain hardware graphics acceleration, among others 3D acceleration.When I installed this driver and restarted the computer, it appeared that the error message shows up: Code:(EE) No devices detected.No screens found.If I want to have any window based environment at all, I have to go back to the previous settings, without this driver.
The only solution I found so far on the Internet tells to turn this driver off at all, what means no 3D acceleration.Has anyone encountered this problem and found a solution? Is there any possibility to turn hardware acceleration on for this card on Ubuntu?
Today I installed the latest Ubuntu, added VLC and... the acceleration is not there. When I compiled VLC myself on 9.04 I had a checkbox to enable hardware acceleration in the FFMPEG codec settings but this checkbox is not present in the VLC that was downloaded to my 10.04 by default.am I doing something wrong or is the hardware acceleration simply not there? And what do I have to do to enable it? Is FFmpeg in 10.04 compiled with VAAPI support? Is VLC in 10.04 compiled with VAAPI support? Do I need to recompile both or just on of them? I have just updated my system and now I'm not able to watch the family movies from my HD camcorder.
View 2 Replies View RelatedI've tried watching material in 1080p resolution on my notebook and i experienced some slowdowns, tearing, etc. Video is encoded by x264 and sound is flac 5.1, all in mkv container. I know it's quite heavy one, but it was playing quite good on windows+CoreAVC, so i expect no less from my shiny Ubuntu I did a bit of googling and found out that AVIVO/UVD/Whatever is already turned on by default in fglrx drivers when using Xv, yet CPU is struggling on 90-100% load. Is there a way to turn hardware decoding on? It doesn't seem to work by "default" (or i'm too desperate to acknowledge that hardware acc is already on and still struggling to decode this ).
Specs of my notebook:
Intel Pentium Dual-Core T4200 2.0 GHz
Mobility Radeon HD4570 256MB with fglrx from maverick repo
3GB RAM (doh!)
mplayer and codecs from medibuntu repo
mplayer uses -vo xv -va pulse , ffh264 and ffflac codecs
I was looking at purchasing a radeon x1300 for a multimedia pc for my lounge and was wondering if anyone knew whether hardware video acceleration with this card was supported with ubuntu? I read that on the ati website that it does support mpeg2,4, etc video acceleration,but didn't know if this was so for ubuntu. I have a few bluray quality movies that I would be interested in playing, so hardware video acceleration is a must.
View 1 Replies View RelatedI'm currently running a three-monitor setup, two of the monitors being connected to an NVIDIA card, and the third being connected to the motherboard's onboard ATI adapter. This works, and it actually works quite well, but after installing the nvidia-current drivers (using the GNOME dialog), I am unable to get any video acceleration going. The GLX module doesn't seem to want to load, and while I'm actually quite impressed with the video performance I'm getting with the open-source drivers, I'd really like to have the OpenGL capability, as it does make things look prettier.
Relevant configs and logs are below.
I should clarify - I don't care about the 3rd monitor on the ATI adapter; I'm only concerned with getting OpenGL working on the two on the NVIDIA - if that's possible, which it may not be...
System:
Code:
xorg.conf:
Code:
I often use the option in Chromium to create 'application shortcuts'. These are instances of Chromium that make a website look more like an app by not including most of Chromium's toolbars. I use it for gmail and google docs and spreadsheets and calendar. In 11.04 I have set up Desktop launchers and copied them across to the Launcher (what an odd way to add something to the launcher, why no right-click 'add launcher' option?)
The problem is that the launcher thinks all these apps are chromium (which they are really, but I would like them to be seen as separate apps). If I minimize my gmail window, a little triangle appears next to the chromium icon, not the gmail icon. To get the window back, I have to click on the Chromium icon. Clicking on the gmail icon launches a new instance of it (also tied to the Chromium icon).