Ubuntu Multimedia :: How To Enable VDPAU For NVidia 8400GS
Oct 8, 2010
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.
I've tried to enable the drivers for a Nvidia 8400GS video card on Ubuntu 10.04. I've tried change desktop background > visual effects. It tells me Desktop effects can't be enabled. Sudo jockey-gtk looks and tells me no proprietary drivers are in use by my system. I've tried installing from Nvidia's site and that seems to go okay but doesn't seem to work. I have an internal video card that can't be turned off in BIOS )either ON or AUTO) that might be causing me problems.Lspci:Quote:
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?
A few days ago, I upgraded my system from the EOL 9.04 to 10.04LTS. This did go relatively well, though the upgrade process reported some "could not update" errors for the NVIDIA drivers and at the first boot it reported it had to start in low graphics mode. I noticed that I had manually installed drivers from NVIDIA's website before the upgrade, while afterwards the hardware drivers from the package manager had been enabled. I then disabled Ubuntu's drivers, and attempted to manually reinstall NVIDIA's own drivers.
This resulted in some errors related to the install script not being able to find some vdpau related stuff. Something interesting then occured. As root everything worked flawless, but as normal user I still ended up with errors resulting Ubuntu to continue in low graphics mode. So I enabled the package managers driver again. This seemed to solve all issues for the next 5 boots. Until this morning, I again get a black screen with only a blinking "_" on the screen for quite some time, after which (nice feature) Ubuntu proposes to continue in low graphics mode.
Here is a relevant part from my syslog: Aug 10 08:17:53 linux kernel: [24.075265] [TTM] Zone kernel: Available graphics memory: 1028724 kiB. Aug 10 08:17:53 linux kernel: [24.075275] [drm] nouveau 0000:04:00.0: 256 MiB VRAM Aug 10 08:17:53 linux kernel: [24.097167] [drm] nouveau 0000:04:00.0: 512 MiB GART (aperture) Aug 10 08:17:53 linux kernel: [24.098283] [drm] nouveau 0000:04:00.0: Allocating FIFO number 1 Aug 10 08:17:53 linux kernel: [24.102934] [drm] nouveau 0000:04:00.0: nouveau_channel_alloc: initialised FIFO 1 Aug 10 08:17:53 linux kernel: [24.103515] [drm] nouveau 0000:04:00.0: Detected a DAC output Aug 10 08:17:53 linux kernel: [24.103518] [drm] nouveau 0000:04:00.0: Detected a TMDS output Aug 10 08:17:53 linux kernel: [24.103521] [drm] nouveau 0000:04:00.0: DCB encoder 1 unknown Aug 10 08:17:53 linux kernel: [24.103522] [drm] nouveau 0000:04:00.0: Detected a DAC output Aug 10 08:17:53 linux kernel: [24.103526] [drm] nouveau 0000:04:00.0: Detected a VGA connector Aug 10 08:17:53 linux kernel: [24.103577] [drm] nouveau 0000:04:00.0: Detected a DVI-I connector Aug 10 08:17:53 linux kernel: [24.858579] nvidia: module license 'NVIDIA' taints kernel. Aug 10 08:17:53 linux kernel: [24.858583] Disabling lock debugging due to kernel taint Aug 10 08:17:54 linux kernel: [25.401599] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input5 Aug 10 08:17:54 linux kernel: [25.632700] NVRM: The NVIDIA probe routine was not called for 1 device(s). Aug 10 08:17:54 linux kernel: [25.632704] NVRM: This can occur when a driver such as nouveau, rivafb, Aug 10 08:17:54 linux kernel: [25.632705] NVRM: nvidiafb, or rivatv was loaded and obtained ownership of Aug 10 08:17:54 linux kernel: [25.632706] NVRM: the NVIDIA device(s). Aug 10 08:17:54 linux kernel: [25.632708] NVRM: Try unloading the conflicting kernel module (and/or Aug 10 08:17:54 linux kernel: [25.632709] NVRM: reconfigure your kernel without the conflicting Aug 10 08:17:54 linux kernel: [25.632710] NVRM: driver(s)), then try loading the NVIDIA kernel module Aug 10 08:17:54 linux kernel: [25.632711] NVRM: again. Aug 10 08:17:54 linux kernel: [25.632713] NVRM: No NVIDIA graphics adapter probed!
I'm running Karmic on AMD64x2, and I have Compiz. I have been running fine, but when I run top, I see that compiz.real always takes up 100% of one of the cores of my CPU. this happens even when I change the visual effects to none in the appearance preferences. This problem starts as soon as I log in. My graphics card is an nvidia 8400gs, which is not that good, and I've installed my drivers using envy. Does anyone have any ideas about this problem?
If you want to use XBMC 9.11 (Camelot) and MPlayer, I suggest to use RPM Fusion. VDPAU support is now mainline...My repository provides pre-beta XBMC Dharma packages (xbmc-dharma) and recent mplayer packages with bluray support (through libbluray and libaacs). These packages depend on RPM Fusion.
xbmc-dharma is also compiled with vdpau and vaapi support. vaapi is supposed to be compatible with Nvidia (through vdpau, install vdpau-video), ATI (through xvba, install xvba-video) and Intel (directly). For me (NVidia), it doesn't work, xbmc instantly crash. Anyway, you can try. Maybe it's useful for someone. You can maybe find informations here: [URL] For NVidia and ATI, it can only work with the closed source driver. For Intel. libva, vdpau-video source packages were copied from [URL](I forgot) and recompiled by me.
One last thing, RTMP [URL] support was removed from XBMC after 9.11. If you want to watch videos over this protocol (usually flash), you have to install librtmp (provided in my repo). Repository URL:[URL] If you want to install it in yum, copy [URL]
I've just finished my new build and installed Ubuntu 10.04 LTS.I have in it an MSI N8400GS D512D3H (NVidia Geforce 8400GS) which I thought would work for Ubuntu. After installing Ubuntu the visual effects are disabled, can't even get "Normal" settings in the Appearance dialogue. Updates have all been installed. Apt has been updated. "Hardware Drivers" screen draws a blank. No proprietary drivers listed at all. First time I've actually used a Graphics Card in an Ubuntu install.
Can't enable 3d effects on lucid lynx even if restricted nvidia driver (v195.36.24) is installed and activated. Actually 3D effects were working with compiz etc, but at a given moment -not sure if after the final release of the 10.04 - they stopped working, and now it always fails to enable them.
I need to find out a command to enable and disable a secondary monitor using the Nvidia X Server. I've got a monitor attached to my laptop that I don't use all the time and would like to just have a launcher to switch between "twinview" and "disabled" quickly rather than having to go through the menus. It's physical position is vertically above the primary monitor so I have to put in a custom position every time I enable it.
For X-Mas I got myself a nice little nettop running off an ION motherboard. how to enable HDMI audio output, but got it to work. I've realized that when I'm in XBMC (which is admittedly the only place I watch movies) certain sounds like gunshots will be extremely louder than something like dialog. My friend believes that I should mess around with the channels (to fake the center channel from the left and right) I don't want to threaten Linux, how lightweight I can make it which is critical to an HTPC, but considering XBMC just got a Netflix addon
I 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:
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.
I 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.
I 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 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.
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:
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.
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.
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:
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))
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).
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. 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:
"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.