*Official* Nvidia VDPAU thread - AVS Forum
Forum Jump: 
Reply
 
Thread Tools
post #1 of 214 Old 12-17-2008, 03:11 PM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
EDIT: Please see this thread because this guide has become outdated (yay!), but I've left it here for giggles.

Instructions for using nvidia's VDPAU video acceleration (180.29 has been released stable ):

I'm using Kubuntu 8.10 with a 9300GS, so YMMV. Also, version numbers change, so be aware of that before you copy/paste commands.

* Intrepid and Jaunty PPA repositories for nvidia beta driver and mplayer-vdpau --> https://launchpad.net/~thomas-creutz/+archive

To manually install:

INSTALL THE NVIDIA DRIVER

Always check the nvidia thread for the current driver versions and information about cards supported, etc. --> http://www.nvnews.net/vbulletin/showthread.php?t=122606
As of this writing, the current version is 180.16.

* Deactiviate the nvidia driver (if you're using it) in the "Hardware Drivers" system utility.
* Download the driver and remember where you put it.
* Use to switch to a console.
* Log in as "root" or use "sudo su" to become root if you log in as normal user.
* Stop the display manager (in Ubuntu/Gnome, replace "kdm" with "gdm"):
Code:
/etc/init.d/kdm stop
* Remove the nvidia module:
Code:
modprobe -r nvidia
* Make sure some dependencies are installed:
Code:
apt-get install build-essential linux-headers-`uname -r`
* Go to the directory where you saved the drivers, e.g.:
Code:
cd /home/user/src/nvidia/16
* Run the installer:
Code:
sh NVIDIA-Linux-x86-180.16-pkg1.run
* When it's done, start the display manager:
Code:
/etc/init.d/kdm start
* Open a terminal and verify that you're using the new drivers:
Code:
cat /var/log/Xorg.0.log | grep NVIDIA
-----

TEST VDPAU CAPABILITIES OF YOUR VIDEO CARD
From the nvnews forums --> http://www.nvnews.net/vbulletin/showthread.php?t=124978

* Download and extract the file somewhere (here's a direct link) --> http://www.cs.rug.nl/~wladimir/vdpin...o-0.0.4.tar.gz
* in a terminal, cd to the directory where you extracted it (vdpinfo)
* you'll need the X headers:
Code:
sudo apt-get install xorg-dev
* run "make"
* run "./vdpinfo"

My 9300GS produces the following output:
Code:
display: :0   screen: 0                              
API version: 0                                       
Information string: Unknown                          

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12              
422     4096  4096  UYVY YUYV              

Decoder capabilities:

name          level ref width height
------------------------------------
MPEG1             0  2  4096  4096  
MPEG2_SIMPLE      3  2  4096  4096  
MPEG2_MAIN        3  2  4096  4096  
H264_MAIN        41 16  4096  4096  
H264_HIGH        41 16  4096  4096  
VC1_SIMPLE        1  2  4096  4096  
VC1_MAIN          2  2  4096  4096  
VC1_ADVANCED      4  2  4096  4096  

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  Y8U8V8A8 V8U8Y8A8 
R10G10B10A2       8192  8192    y  Y8U8V8A8 V8U8Y8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8          8192  8192
R8G8B8A8          8192  8192
R10G10B10A2       8192  8192
B10G10R10A2       8192  8192
A8                8192  8192

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y         1     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
CHROMA_TYPE                      y
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y
CSC_MATRIX                       y
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y
LUMA_KEY_MAX_LUMA                y
-----

PATCH AND BUILD MPLAYER

NOTE: As of today, VDPAU support is officially in mplayer svn (r28617).

* Download the patchset from nvidia. You'll want the latest one. All of them are here --> ftp://download.nvidia.com/XFree86/vdpau/
* Open a terminal and cd to the directory where your put them.
* Unpack (adapt for version number):
Code:
tar jxfv mplayer-vdpau-3219724.tar.bz2
* Go to the directory that was created:
Code:
cd mplayer-vdpau-3219724
* Make sure some dependencies are installed:
Code:
sudo apt-get build-dep mplayer
Code:
sudo apt-get install subversion
* For a faster build on a multi-core machine, edit the script and add -j3 (or higher) to the make command.
* Run the script (this will download mplayer sources, patch, and build):
Code:
./checkout-patch-build.sh
* Copy the codecs.conf file to your mplayer directory:
Code:
cp etc/codecs.conf ~/.mplayer/
-----

TEST VDPAU WITH MPLAYER

* In a terminal, cd to the new mplayer directory:
Code:
cd mplayer-vdpau
* I found a good blog post for this --> http://blog.mymediasystem.net/avchd/...cceleration/3/

-----

BUILD MYTHTV FROM SVN

Follow the instructions from the mythtv wiki --> http://www.mythtv.org/wiki/index.php...Source_Install. Don't forget to add "--enable-vdpau --enable-opengl-vsync" to "./configure" in the mythtv directory. See also the mythtv vdpau wiki page --> http://www.mythtv.org/wiki/VDPAU

-----

HD channels use ~10-12% cpu.
mythmaster is offline  
Sponsored Links
Advertisement
 
post #2 of 214 Old 12-17-2008, 03:21 PM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Xine is adding VDPAU support, also --> http://www.nvnews.net/vbulletin/showthread.php?t=124791
There seems to be some interest over at the XBMC camp, too, but they do everything through OpenGL, so It's a little more difficult.
mythmaster is offline  
post #3 of 214 Old 12-17-2008, 04:29 PM
 
quantumstate's Avatar
 
Join Date: Apr 2006
Posts: 1,694
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 17
Nice HowTo mm, and much needed, thanks.

Might mention:
- That the driver 180.16 needs most apps recompiled to the new API, or else vdpau won't be engaged (according to docs), so for now 180.11 is safest.
- An easy way to get Myth build dependencies is 'apt-get build-dep mythtv'
- You can eliminate the mkdir step with 'svn co http://svn.mythtv.org/svn/trunk/ mythtv.svn'
- On the ./configure command, I got jerky video whenever I enabled anything to do with OpenGL. Maybe that's not the norm, but it's what I got. Also for Myth to do H.264 you're supposed to need also --enable-proc-opt. So I
./configure --enable-vdpau --enable-proc-opt
- Using the Myth SVN version will upgrade the database schema to the latest, which is not backward compatible. So if the user has any doubt they should set aside a recent database backup, in case they want to reconstitute version 0.21.
quantumstate is offline  
post #4 of 214 Old 12-17-2008, 04:36 PM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Thanks, qs. I forgot about --enable-proc-opt, and 'apt-get build-dep mythtv' didn't work for me for some reason (maybe I need to update). Does it bring in the qt4-dev stuff?

I'll edit & add --enable-proc-opt

I haven't tried GL-vsync yet, but it's off by default, so no big deal compiling it in.
mythmaster is offline  
post #5 of 214 Old 12-17-2008, 10:20 PM
 
quantumstate's Avatar
 
Join Date: Apr 2006
Posts: 1,694
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 17
Yes it brings in the qt4 headers et al if they're not already there. Works for me on Hardy & Intrepid.
quantumstate is offline  
post #6 of 214 Old 12-18-2008, 08:32 AM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by quantumstate View Post

Yes it brings in the qt4 headers et al if they're not already there. Works for me on Hardy & Intrepid.

OK, it's changed. Thanks!
mythmaster is offline  
post #7 of 214 Old 12-18-2008, 10:19 AM
Member
 
-DK-'s Avatar
 
Join Date: Nov 2006
Posts: 178
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Thanks for the post!

It's great to see this board developing with more and more linux guru's taking part

I am not installing Myth though as I just can't get my music collection to play nice with it, but the rest is helpful.

I am running SMPlayer and mplayer for video and Amarok for audio. It isn't as nice as having a media center interface but it plays everything very well.

Just a note to anyone doing an upgrade to Fedora 10 there are sound issues with the latest alsa/pulse audio drivers and a small fix is nessesary:

Quote:


In "/etc/pulse/default.pa by"
replace "load-module module-hal-detect"
by "load-module module-hal-detect tsched=0"

This fixed my issue, but there is a large discussion on the Fedora Forums here:

http://forums.fedoraforum.org/showth...67#post1133767

This discussion raises other possible solutions and fixes.

Cheers!
-DK- is offline  
post #8 of 214 Old 12-18-2008, 11:08 AM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by -DK- View Post

I am not installing Myth though as I just can't get my music collection to play nice with it, but the rest is helpful.

Have you tried XBMC? It plays everything with an awesome UI.
mythmaster is offline  
post #9 of 214 Old 12-18-2008, 11:18 AM
Member
 
-DK-'s Avatar
 
Join Date: Nov 2006
Posts: 178
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by mythmaster View Post

Have you tried XBMC? It plays everything with an awesome UI.

I am planning on giving it a shot, but I have heard of some limitations with the player and HD content, though I can't remember what those exactly are...
-DK- is offline  
post #10 of 214 Old 12-18-2008, 11:34 AM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by -DK- View Post

I am planning on giving it a shot, but I have heard of some limitations with the player and HD content, though I can't remember what those exactly are...

Sadly, no video hw accel yet, but you can use it for your music collection and launch an external player for HD stuff.
mythmaster is offline  
post #11 of 214 Old 12-18-2008, 01:56 PM
Member
 
-DK-'s Avatar
 
Join Date: Nov 2006
Posts: 178
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Oh you can use an external player??? Thats key for me as I"m a huge fan of SMPlayer.
-DK- is offline  
post #12 of 214 Old 12-18-2008, 02:20 PM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Yes, you can launch any external program from XBMC, although I'm not clear how to do it with the default skin, but it's pretty obvious with Aeon.
mythmaster is offline  
post #13 of 214 Old 12-18-2008, 02:56 PM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
OK, the problem I ran into with "sudo apt-get build-dep mythtv" is the same as the one I got with "sudo apt-get build-dep mythplugins":
Code:
Package liblame-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  liblame0 libmp3lame-dev
E: Package liblame-dev has no installation candidate
So, I'm not sure what's up with that -- I do have libmp3lame-dev installed, and it satisfies the build requirements; but, since none of the other requirements get installed with this error, I had to do it manually.

If anyone else runs into this problem and has trouble building mythtv or mythplugins, then let me know. I don't remember exactly what I had to install because I did it on-the-fly -- whenever "make" broke, I just looked at the error and installed the corresponding dev package, then ran "make" again until it finished without error.
mythmaster is offline  
post #14 of 214 Old 12-18-2008, 03:19 PM
Member
 
-DK-'s Avatar
 
Join Date: Nov 2006
Posts: 178
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
cool stuff! I'll be looking at this tonight and see how it works out. I have really had to fight with FC10 to get things going well. FC8 was a little easier in comparison as it was the obscure things that were difficult but FC10 it's been the easy stuff thats been tough.
-DK- is offline  
post #15 of 214 Old 12-18-2008, 03:20 PM
Member
 
-DK-'s Avatar
 
Join Date: Nov 2006
Posts: 178
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Couldn't yum have helped out instead of apt-get?
-DK- is offline  
post #16 of 214 Old 12-18-2008, 03:20 PM
 
quantumstate's Avatar
 
Join Date: Apr 2006
Posts: 1,694
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 17
Oh, this error is normal for now, mm. Just a package inconsistency with Kubongo. It should go away in a week or so.

It should install all the header files needed though.

DK, we're not using FC.
quantumstate is offline  
post #17 of 214 Old 12-18-2008, 03:24 PM
Member
 
-DK-'s Avatar
 
Join Date: Nov 2006
Posts: 178
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Ah... well normally this is where I would mount the horse I call "high" and proclaim the superiority of my Linux distro choice over your linux choice but it appears (from other posts I have made) I have my own set of stupid problems hehehe...

Just kidding I am fairly distro agnostic but have use RH products for years and change scares me
-DK- is offline  
post #18 of 214 Old 12-18-2008, 03:31 PM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by -DK- View Post

Couldn't yum have helped out instead of apt-get?

If you're talking about XBMC, the only pre-built packages currently available for linux are for *buntu, so you'll have to build from sources.

If you're talking about installing build dependencies for mythtv, etc., then I don't know what the yum or rpm command is for that; but, if you do, then it would be awesome if you shared it here for others using fedora.
mythmaster is offline  
post #19 of 214 Old 12-18-2008, 03:55 PM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
GIGGITY!!!

Up until this point I have been testing with desktop effects turned off. I've since turned them back on and the video is completely unaffected. Finally, I have both eye candy and smooth video playback!
mythmaster is offline  
post #20 of 214 Old 12-18-2008, 09:49 PM
Member
 
gsrcxsi's Avatar
 
Join Date: Dec 2008
Posts: 19
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
im having an issue.

driver: 180.16
system: e5200 @2.5GHz, 2GB DDR2, 9400GT
OS: mythbuntu 8.04 64-bit

now i installed the driver successfully, and ran the patch script. then i ran the script to download SVN MPlayer. it compiled successfully. then i ran "sudo make install" (was i not supposed to?)

anyway, when i try to watch a movie that is h264 with DTS-HD audio, it either does not use VDPAU, or i get no video saying that it cannot find the correct codec (even though i have forced it)

here is some examples of what im talking about. the file im playing by the way is a full quality Blu-Ray rip of WALL-E. (~18GB file).

Code:
icrum@MythTVFrontend:~/mplayer-vdpau-3219724/mplayer-vdpau$ ./mplayer -vc ffh264vdpau -vo vdpau /var/lib/mythtv/videos/HDmovies/WALL-E.m2ts
MPlayer dev-SVN-r27960-4.2.4 (C) 2000-2008 MPlayer Team
CPU: Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz (Family: 6, Model: 23, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
133 audio & 279 video codecs

Playing /var/lib/mythtv/videos/HDmovies/WALL-E.m2ts.
TS file format detected.
VIDEO H264(pid=4113) AUDIO DTS(pid=4352) NO SUBS (yet)!  PROGRAM N. 1
FPS seems to be: 23.976025
==========================================================================
Forced video codec: ffh264vdpau
Cannot find codec matching selected -vo and video format 0x10000005.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Opening audio decoder: [libdca] DTS decoding with libdca
Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [dts] afm: libdca (DTS-libdca)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  32.5 (32.5) of 100051.7 (27:47:31.7)  5.4% 
Exiting... (Quit)
and here without forcing the vdpau codec, i get video but its very jittery and maxes out a single core of my processor. obviously not using VDPAU
Code:
icrum@MythTVFrontend:~/mplayer-vdpau-3219724/mplayer-vdpau$ ./mplayer -vo vdpau /var/lib/mythtv/videos/HDmovies/WALL-E.m2ts
MPlayer dev-SVN-r27960-4.2.4 (C) 2000-2008 MPlayer Team
CPU: Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz (Family: 6, Model: 23, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
133 audio & 279 video codecs

Playing /var/lib/mythtv/videos/HDmovies/WALL-E.m2ts.
TS file format detected.
VIDEO H264(pid=4113) AUDIO DTS(pid=4352) NO SUBS (yet)!  PROGRAM N. 1
FPS seems to be: 23.976025
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [libdca] DTS decoding with libdca
Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [dts] afm: libdca (DTS-libdca)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12 
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.10 ??% ??% ??,?% 5 0 
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:  13.5 V:  13.4 A-V:  0.108 ct: -0.022  43/ 43 88%  9%  7.5% 23 0 
Exiting... (Quit)
in both cases i cancelled playback a few seconds in. im going to attempt to recompile mplayer and try again. but any suggestions in the meantime will be great.
gsrcxsi is offline  
post #21 of 214 Old 12-18-2008, 10:06 PM
Member
 
gsrcxsi's Avatar
 
Join Date: Dec 2008
Posts: 19
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
i also tested the video Grey.ts. same results. will not play when specifying -vc ffh264vdpau, but will play without it. although its not at jittery i assume because its a lower bitrate sample.
gsrcxsi is offline  
post #22 of 214 Old 12-19-2008, 07:55 AM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
This appears to be the problem:
Code:
Cannot find codec...
Now that you mention it, I think I remember copying a codecs.conf file over to ~/.mplayer the first time I built mplayer, but I can't for the life of me find where I saw that or remember where I copied it from.

So, I've attached mine. Unzip it and copy it to ~/.mplayer.

Let me know if it works.

Also, it's ok that you ran "make install" because it put it in /usr/local.

EDIT: OK, I found it -- it was in that blog post I mentioned earlier. From the mplayer-vdpau directory:
Code:
cp etc/codecs.conf ~/.mplayer/
Sorry, I'll add it to the howto.

 

codecs.zip 15.2392578125k . file
mythmaster is offline  
post #23 of 214 Old 12-19-2008, 10:44 AM
Member
 
gsrcxsi's Avatar
 
Join Date: Dec 2008
Posts: 19
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
ok, its playing now, and using VERY little CPU (like 5% of each core)

however the screen is very jittery, its almost like its going forward 3 frames then back 2 then forward 3 and back 2 and so on, so its progressing but everyting looks like its going back and forth. is there an option that fixes this?
gsrcxsi is offline  
post #24 of 214 Old 12-19-2008, 11:30 AM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by gsrcxsi View Post

however the screen is very jittery, its almost like its going forward 3 frames then back 2 then forward 3 and back 2 and so on, so its progressing but everyting looks like its going back and forth. is there an option that fixes this?

I've never experienced this, and I don't know of any options. It might be something card-specific. You should ask over at the nvidia forums --> http://www.nvnews.net/vbulletin/forumdisplay.php?f=14 in the "mplayer vdpau" thread. The nvidia engineers are quite active in the discussions.
mythmaster is offline  
post #25 of 214 Old 12-19-2008, 11:46 AM
 
quantumstate's Avatar
 
Join Date: Apr 2006
Posts: 1,694
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 17
Don't know what hardware you're using gsrcxsi, and if it's mplayer try renaming the codecs file to see whether it's complicit. 5% CPU is abnormal; should be a minimum of 10%.

Try playing something in MythTV, ideally a transport stream like the Echostar HD sample clip here. (rename .ts to .mpg)
quantumstate is offline  
post #26 of 214 Old 12-19-2008, 11:54 AM
Member
 
gsrcxsi's Avatar
 
Join Date: Dec 2008
Posts: 19
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
yea your right, it is about 10%-15% i didnt really look at the scale, lol.

but my setup is :

driver: 180.16
system: e5200 @2.5GHz, 2GB DDR2, 9400GT
OS: mythbuntu 8.04 64-bit

im holding off on trying it with mythtv for now. i have a stable setup that i dont want to disturb. my backend is plenty powerful enough to play the files without VDPAU. i only need it on the frontend, and if i put myth SVN on the frontend it becomes incompatible with the backend, unless i upgraded the backend too. but like i said i dont want to disturb it all. for the mythtv method, ill probably just wait til .22 is finalized. using mplayer is a good solution, as it can be replaced and messed with easily without disturbing anything else.

ill sign up at the nv forums, but i know ive seen someone have this issue before, ill have to do some more digging
gsrcxsi is offline  
post #27 of 214 Old 12-19-2008, 02:11 PM
Member
 
gsrcxsi's Avatar
 
Join Date: Dec 2008
Posts: 19
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
looks like its a known issue and should be fixed by the next driver/patch release.
gsrcxsi is offline  
post #28 of 214 Old 12-22-2008, 05:58 PM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
TEST VDPAU CAPABILITIES OF YOUR VIDEO CARD
I just discovered this in the nvnews forums --> http://www.nvnews.net/vbulletin/showthread.php?t=124978

* Download and extract the file somewhere (here's a direct link) --> http://www.cs.rug.nl/~wladimir/vdpin...o-0.0.4.tar.gz
* in a terminal, cd to the directory where you extracted it (vdpinfo)
* run "make"
* run "./vdpinfo"

My 9300GS produces the following output:
Code:
display: :0   screen: 0                              
API version: 0                                       
Information string: Unknown                          

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12              
422     4096  4096  UYVY YUYV              

Decoder capabilities:

name          level ref width height
------------------------------------
MPEG1             0  2  4096  4096  
MPEG2_SIMPLE      3  2  4096  4096  
MPEG2_MAIN        3  2  4096  4096  
H264_MAIN        41 16  4096  4096  
H264_HIGH        41 16  4096  4096  
VC1_SIMPLE        1  2  4096  4096  
VC1_MAIN          2  2  4096  4096  
VC1_ADVANCED      4  2  4096  4096  

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  Y8U8V8A8 V8U8Y8A8 
R10G10B10A2       8192  8192    y  Y8U8V8A8 V8U8Y8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8          8192  8192
R8G8B8A8          8192  8192
R10G10B10A2       8192  8192
B10G10R10A2       8192  8192
A8                8192  8192

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y         1     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
CHROMA_TYPE                      y
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y
CSC_MATRIX                       y
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y
LUMA_KEY_MAX_LUMA                y
mythmaster is offline  
post #29 of 214 Old 12-23-2008, 08:09 AM
Advanced Member
 
blackoper's Avatar
 
Join Date: Sep 2006
Location: Louisville, KY
Posts: 553
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 3 Post(s)
Liked: 23
I'll give that app a try out when my 8400 gs 512mb G98 core card shows up
blackoper is online now  
post #30 of 214 Old 12-24-2008, 12:55 PM
AVS Special Member
 
tradewinds's Avatar
 
Join Date: Jul 2005
Posts: 3,053
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
From my 8600 GTS

Code:
display: :0.0   screen: 0
API version: 0
Information string: Unknown

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12 
422     4096  4096  UYVY YUYV 

Decoder capabilities:

name          level ref width height
------------------------------------
MPEG1             0  2  4096  4096
MPEG2_SIMPLE      3  2  4096  4096
MPEG2_MAIN        3  2  4096  4096
H264_MAIN        41 16  4096  4096
H264_HIGH        41 16  4096  4096

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  Y8U8V8A8 V8U8Y8A8 
R10G10B10A2       8192  8192    y  Y8U8V8A8 V8U8Y8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8          8192  8192
R8G8B8A8          8192  8192
R10G10B10A2       8192  8192
B10G10R10A2       8192  8192
A8                8192  8192

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y         1     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y

===================================
My Riser | My LED Star Ceiling | My HTPC Build
tradewinds is offline  
Reply HTPC - Linux Chat

User Tag List

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off