Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-15-08, 04:01 PM   #73
theuni
Registered User
 
Join Date: Nov 2008
Posts: 27
Default Re: mplayer vdpau

Edit: Nevermind all that

AaronP: extracted, i DO get a few frames displayed on the screen before the usual crash.

Are there any further tests that I could run to help narrow things down, or do you have a good sampleset and ability to recreate the problem?

TheUni
theuni is offline   Reply With Quote
Old 11-15-08, 04:17 PM   #74
bexbier
Registered User
 
Join Date: Oct 2008
Posts: 19
Default Re: mplayer vdpau

@ AaronP

tryed it but does not run ..... here the error message:

Code:
bex@bex-vdr:/usr/local/src/mplayer-vdpau-3076399/mplayer-vdpau$ ./mplayer -vc ffh264vdpau -vo vdpau '/media/disk/Video/Street Kings.264'
MPlayer dev-SVN-r27408-4.3.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU          6700  @ 2.66GHz (Family: 6, Model: 15, 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

Playing /media/disk/Video/Street Kings.264.
H264-ES file format detected.
FPS seems to be: 23.976044
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] VDPAU accelerated codec.
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
Audio: no sound
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 1280 x 528 (preferred colorspace: H.264 HIGH VDPAU acceleration)
VDec: using H.264 HIGH VDPAU acceleration as output csp (no 2)
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1280x528 => 1280x528 H.264 HIGH VDPAU acceleration 
Error at libvo/vo_vdpau.c:826% 0 0
bexbier is offline   Reply With Quote
Old 11-15-08, 04:28 PM   #75
SilentLexx
Registered User
 
SilentLexx's Avatar
 
Join Date: Dec 2007
Location: Ukraine / Sumy
Posts: 112
Default Re: mplayer vdpau

I'm extract h.264 video from mkv and remove CHECK_ST from vo_vdpau.c. It work very strange, one frame normal , second frame ugly and etc...

Code:
MPlayer dev-SVN-r27408-4.3 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ (Family: 15, Model: 107, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Playing HD.264.
H264-ES file format detected.
FPS seems to be: 23.976025
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] VDPAU accelerated codec.
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
Audio: no sound
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 1280 x 688 (preferred colorspace: H.264 HIGH VDPAU acceleration)
VDec: using H.264 HIGH VDPAU acceleration as output csp (no 2)
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1280x688 => 1280x688 H.264 HIGH VDPAU acceleration
VDPAU capture: Enabled
vdp_imp_device_create_x11()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_get_proc_address()
vdp_presentation_queue_target_create_x11()
vdp_presentation_queue_create()
vdp_decoder_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_surface_create()
vdp_video_mixer_create()
vdp_output_surface_create()
vdp_output_surface_create()
vdp_decoder_render()
vdp_decoder_render() ??% ??,?% 0 0
vdp_decoder_render() ??% ??,?% 0 0
vdp_presentation_queue_block_until_surface_idle()
vdp_video_mixer_render()
vdp_presentation_queue_display()
vdp_decoder_render() ??% ??,?% 0 0
vdp_presentation_queue_block_until_surface_idle()
vdp_video_mixer_render()
vdp_presentation_queue_display()
vdp_decoder_render() ??% ??,?% 0 0
vdp_presentation_queue_block_until_surface_idle()
vdp_video_mixer_render()
vdp_presentation_queue_display()
vdp_decoder_render() ??% ??,?% 0 0
vdp_presentation_queue_block_until_surface_idle()
vdp_video_mixer_render()
vdp_presentation_queue_display()
vdp_decoder_render() ??% ??,?% 0 0
vdp_presentation_queue_block_until_surface_idle()
vdp_video_mixer_render()
vdp_presentation_queue_display()
vdp_decoder_render() ??% ??,?% 0 0
vdp_presentation_queue_block_until_surface_idle()
vdp_video_mixer_render()
vdp_presentation_queue_display()
vdp_decoder_render() ??% ??,?% 0 0
vdp_presentation_queue_block_until_surface_idle()
vdp_video_mixer_render()
vdp_presentation_queue_display()
vdp_decoder_render() ??% ??,?% 0 0
vdp_presentation_queue_block_until_surface_idle()
vdp_video_mixer_render()
vdp_presentation_queue_display()
vdp_decoder_render() ??% ??,?% 0 0
vdp_presentation_queue_block_until_surface_idle()
........
dmesg:
NVRM: Xid (0002:00): 29, CCMDs 00000006 000074b0 00000610 00000000 00000000
__________________
PS: I'm sorry, but my english is very bad
openSUSE 11.1, Gigabyte GA-M57SLI-S4, AMD Athlon64 X2 +4800@2500MHz, 2 GB RAM, GeForce 9800GT.
openSUSE 11.0, MSI M670X, AMD Sempron +3600@2000MHz, 2 GB RAM, GeForce 6100 Go.
Ubuntu 8.10, Albatron KM266Pro, AMD AthlonXP +1800@1600MHz, 1 GB RAM, GeForce 4 MX440.
SilentLexx is offline   Reply With Quote
Old 11-15-08, 05:03 PM   #76
Civilus
Registered User
 
Join Date: Apr 2008
Location: Russia, Moscow
Posts: 39
Send a message via ICQ to Civilus
Default Re: mplayer vdpau

Any suggestions about my problem?
__________________
OS: Gentoo Linux, ~amd64. VideoCard: GeForce GTX 470. ASUS P8P67 Deluxe, 2x4GB DDR3-1600 CL9, Core i7 2600k.
Civilus is offline   Reply With Quote
Old 11-15-08, 05:14 PM   #77
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: mplayer vdpau

Quote:
Originally Posted by Civilus View Post
Any suggestions about my problem?
Civilus, are you using the exact command-line from the README? The error messages imply you're using "-vf spp" which probably won't work with the current MPlayer patches. Equally, make sure you've typed the "-vc xxx" option correctly; if you mistype the codec name, MPlayer's error messages don't explain the problem very well.
Stephen Warren is offline   Reply With Quote
Old 11-15-08, 05:28 PM   #78
theuni
Registered User
 
Join Date: Nov 2008
Posts: 27
Default Re: mplayer vdpau

I'm getting the same results as SilentLexx.

All of my movies, when extracted with mkvextract and played, say:

H264-ES file format detected.

Is it the case that these files won't work currently?

Also, when commenting out the CHECK_ST @ 826 of vo_vdpau.c, like SilentLexx, the movie will play -- very poorly.

Is it possible that a relatively simple patch to mplayer will get us going?

TheUni
theuni is offline   Reply With Quote
Old 11-15-08, 05:57 PM   #79
SilentLexx
Registered User
 
SilentLexx's Avatar
 
Join Date: Dec 2007
Location: Ukraine / Sumy
Posts: 112
Default Re: mplayer vdpau

Hmm, I try to h.264 in AVI container, all works (4% CPU on 720p).
__________________
PS: I'm sorry, but my english is very bad
openSUSE 11.1, Gigabyte GA-M57SLI-S4, AMD Athlon64 X2 +4800@2500MHz, 2 GB RAM, GeForce 9800GT.
openSUSE 11.0, MSI M670X, AMD Sempron +3600@2000MHz, 2 GB RAM, GeForce 6100 Go.
Ubuntu 8.10, Albatron KM266Pro, AMD AthlonXP +1800@1600MHz, 1 GB RAM, GeForce 4 MX440.
SilentLexx is offline   Reply With Quote
Old 11-15-08, 07:53 PM   #80
jyavenard
MythTV developer
 
Join Date: Mar 2006
Posts: 413
Default Re: mplayer vdpau

Quote:
Originally Posted by tx2rx View Post
I ran into the same issue use instead:

./configure --enable-vdpau

Make sure you make clean and then run make again.
This is not what you want to do... unlike many other configure found in other package ; when you do --enable-option all it does is force stuff to be compiled ; it doesn't check if it works or not...

Quote:
This configure script is NOT autoconf-based, even though its output is similar.
It will try to autodetect all configuration options. If you --enable an option
it will be forcefully turned on, skipping autodetection. This can break
compilation, so you need to know what you are doing.
To compile properly on Ubuntu based system you simply first do:
sudo apt-get build-dep mplayer

which will install all the dependencies required to build a package.

Then running the build script provided by nvidia is all you need to do.

Cheers
Jean-Yves
jyavenard is offline   Reply With Quote

Old 11-15-08, 08:04 PM   #81
FallenWizard
Registered User
 
Join Date: Jun 2008
Posts: 15
Default Re: mplayer vdpau

Does VDPAU work with Quadro FX 570M? A friend of mine wants to know that.
The laptop is a Thinkpad T61p


It should, but I want to get sure.
FallenWizard is offline   Reply With Quote
Old 11-15-08, 08:15 PM   #82
cbaoth
Registered User
 
Join Date: Feb 2004
Posts: 2
Default Re: mplayer vdpau

I only tested h.264 support (for mpeg2 the cpu is fast enough, no vc-1 support for my G92 yet). When it works, it's VERY fast. 3-5% cpu usage on a 3GHz conroe c2d to playback a blu-ray 23mbit h.264 file. Makes me wonder why DXVA on windows need 20+% cpu do the same?, API inefficency, CPU based post processing?

Now for the bad news: the libvo display code (vo_vdpau) doesn't appear to wait for v-sync so you'll get nasty tearing on your pretty 1080p tv. Unacceptable for HTPC usage. It doesn't appear to like the h.264 bitstreams x264 in .mkv/.mp4 containers, or an apple trailer in a .mov container. Fails with a "Error at libvo/vo_vdpau.c:826" message.

I tried 'mkvextract tracks foo.mkv 1:video.264' as suggested here and it plays back the x264 encoded video stream perfectly. So it appears to be an issue with container muxing in the patched mplayer, more than a problem with x264 bitstreams.

And the BBC-HD planet earth caps I have show corruption but play (neon green and pink blocks in the bottom of the display, and some macro blocking in the good part of the picture at times.

Hopefully it'll all get fixed soon enough. I suspect the code is still new and rough, possibly released to steal thunder from ATI's unusable XvBA. It's a beta driver and a bunch unfinished mplayer patches (no osd, forward/reverse has issues, vsync).

Oh and I popped in #mythtv-users on freenode, people are talking about a vdpau patch to the trunk version of mythtv. The 3, 4? different video accel apis did cause a bit of a concern. Myth can probably handle it, it's c++, just subclass each api.

But I'm more worried about libavcodec, which everyone pretty much uses on linux for video decoding these days, are we going to end up with ffh264 (software), ffh264_vdpau, ffh264_xvba, ffh264_vaapi codecs? Since it's low level video bitstream code, it might be tougher to abstract than for the actual players.

Update: wild arse guess, since the same video stream works when mkvextracted, presumably the only difference is how vdpau is initialised before playback when playing a .mkv containered file?
cbaoth is offline   Reply With Quote
Old 11-16-08, 12:19 AM   #83
philipl
Registered User
 
Join Date: May 2003
Location: Sunnyvale, CA
Posts: 116
Default Re: mplayer vdpau

Quote:
Originally Posted by Stephen Warren View Post
Sorry, you also need to:

export VDPAU_DEBUG=2
Hi Stephen,

I'm travelling right now so I'm using my laptop which has an 8400GS, but I'm seeing the exact same situation.

I extended my little vdpau test program to try and instantiate a decoder and it fails with a 25 error too. Here's the output from that:

Code:
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x8980d88, 0, -, -)
    -> 0, 1, 0xf71be790
vdp_device_create_x11 status: 0
vdp_get_proc_address(1, 5, -)
    -> 0, 0xf71ae250
vdp_get_proc_address(1, 36, -)
    -> 0, 0xf71afb90
vdp_get_proc_address(1, 37, -)
    -> 0, 0xf71afa20
vdp_get_proc_address(1, 38, -)
    -> 0, 0xf71adf10
vdp_decoder_query_capabilities(1, 8, -, -, -, -, -)
    -> 0, 1, 41, 4, 4096, 4096
vdp_decoder_create(1, 8, 1280, 720, -)
    -> 25
vdp_device_destroy(1)
    -> 0
and each time I run it and get this failure, I get an rm error in dmesg:

Code:
NVRM: Xid (0001:00): 13, 0003 00000000 00008297 00001b0c 0000f010 00000001
I guess you probably need more specifics about my system:

Distro: Slackware 12.1
Kernel: 2.6.27.5 (64bit kernel with 32bit userspace)
X server: 1.4.2
gcc: 4.2.3

Thanks,
__________________
--phil
philipl is offline   Reply With Quote
Old 11-16-08, 02:13 AM   #84
Civilus
Registered User
 
Join Date: Apr 2008
Location: Russia, Moscow
Posts: 39
Send a message via ICQ to Civilus
Default Re: mplayer vdpau

Stephen Warren
Thx. The cause of error was "ass=1" in mplayer.conf
Now even mplayer r27914 works.
__________________
OS: Gentoo Linux, ~amd64. VideoCard: GeForce GTX 470. ASUS P8P67 Deluxe, 2x4GB DDR3-1600 CL9, Core i7 2600k.
Civilus is offline   Reply With Quote
Reply


Thread Tools

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
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
NVIDIA VDPAU Reference Benchmarks News Archived News Items 0 06-11-12 05:30 AM
VDPAU and KDE 4.8 compositing = slow Pie-rate NVIDIA Linux 30 05-23-12 07:07 AM
VDPAU testing tool crisalide NVIDIA Linux 392 04-29-12 06:01 PM
mplayer & xmms problems! replys2me NVIDIA Linux 5 09-06-02 02:34 PM

All times are GMT -5. The time now is 10:05 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.