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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-02-08, 10:35 PM   #217
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: mplayer vdpau

theuni,

My previous response:

Thanks for the sample. This file exceeds the H.264 level 4.1 limits that we support; in particular, it requires more than the 4 reference frames we support at this resolution. It is plausible this limit could be relaxed in a future driver release, but I cannot make any kind of promise on this, nor scheduling commitment.
Stephen Warren is offline   Reply With Quote
Old 12-03-08, 09:41 AM   #218
Duran
Registered User
 
Join Date: Nov 2008
Posts: 28
Default Re: mplayer vdpau

"plausible?"
vdpau is kinda useless if it doesnt support the majority of mkv files
Duran is offline   Reply With Quote
Old 12-03-08, 11:56 AM   #219
Gregoire.Favre
Registered User
 
Join Date: Nov 2004
Posts: 126
Default Re: mplayer vdpau

I am stupid : I bought a vdpau compatible card because I thought I could do something with it, but it's not the case and maybe ATI will give a working solution before vdpau can become usable ???

If anyone can wait a little more before choosing a graphic card it'll be a good idea ;-)
Gregoire.Favre is offline   Reply With Quote
Old 12-03-08, 12:01 PM   #220
yau3
Registered User
 
Join Date: Dec 2008
Posts: 14
Default Re: mplayer vdpau

With regard to reference frame limits:
According to DXVA encoding guides and to Wikipedia, the level 4.1 limit varies by resolution (4 for 1920x1080, 9 for 1280x720 and so on).
In my x264 experiments, however, the VDPAU limit seems to be at a constant 4, even for resolutions such as 720x576. Framerate does not seem to be a factor.

Could you please clarify whether this is the real number? Is anybody having success with values larger than 4?
yau3 is offline   Reply With Quote
Old 12-03-08, 12:09 PM   #221
marchetto
Registered User
 
Join Date: Mar 2005
Posts: 205
Default Re: mplayer vdpau

What about the error I posted?
I don't know why it goes wrong, it's a wmv file
marchetto is offline   Reply With Quote
Old 12-03-08, 01:18 PM   #222
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: mplayer vdpau

Quote:
Originally Posted by yau3 View Post
In my x264 experiments, however, the VDPAU limit seems to be at a constant 4, even for resolutions such as 720x576. Framerate does not seem to be a factor.
That is correct at present.
Stephen Warren is offline   Reply With Quote
Old 12-03-08, 01:46 PM   #223
mojito
Registered User
 
Join Date: Nov 2006
Posts: 7
Default Re: mplayer vdpau

As far as I know, the correct formula for the maximum number of reference frames for High Profile@Level 4.1 compliance is:
8388608/(width x height)

The sample.mkv mentioned earlier with a resolution of 1280x544 could use up to 12 reference frames and would (as far as reference frames are concerned) still conform to High Profile Level 4.1 specs
mojito is offline   Reply With Quote
Old 12-03-08, 03:02 PM   #224
apaige
Registered User
 
Join Date: Apr 2008
Posts: 106
Default Re: mplayer vdpau

In other words, use XVideo for 720p, VDPAU for 1080p?
apaige is offline   Reply With Quote

Old 12-03-08, 04:14 PM   #225
adamorjames
Registered User
 
adamorjames's Avatar
 
Join Date: Oct 2008
Posts: 39
Default Re: mplayer vdpau

There is no number 28 in the error. It's suppose to be an X264 file.. 720p.. GeForce 8600M GT. nvidia-settings says 512 MB of RAM... I thought it was 256 MB but I guess nvidia-settings doesn't lie. Same error code ("VDPAU nvidia: Error detected 0 4730") as this guy.

Code:
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang und
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1280x720  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
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))
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 1280 x 720 (preferred colorspace: H.264 HIGH VDPAU acceleration)
VDec: using H.264 HIGH VDPAU acceleration as output csp (no 2)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x720 => 1280x720 H.264 HIGH VDPAU acceleration 
VDPAU capture: Enabled
vdp_imp_device_create_x11(0xa8acd30, 0, -, -)
    -> 0, 1, 0xaeff20a0
vdp_get_proc_address(1, 5, -)
    -> 0, 0xaefe1220
vdp_get_proc_address(1, 9, -)
    -> 0, 0xaefe3c50
vdp_get_proc_address(1, 10, -)
    -> 0, 0xaefe1150
vdp_get_proc_address(1, 13, -)
    -> 0, 0xaefe8ba0
vdp_get_proc_address(1, 12, -)
    -> 0, 0xaefe85c0
vdp_get_proc_address(1, 24, -)
    -> 0, 0xaefe91b0
vdp_get_proc_address(1, 22, -)
    -> 0, 0xaefe7560
vdp_get_proc_address(1, 18, -)
    -> 0, 0xaefe33b0
vdp_get_proc_address(1, 19, -)
    -> 0, 0xaefe1080
vdp_get_proc_address(1, 46, -)
    -> 0, 0xaefe5f80
vdp_get_proc_address(1, 47, -)
    -> 0, 0xaefe7380
vdp_get_proc_address(1, 53, -)
    -> 0, 0xaefe0e10
vdp_get_proc_address(1, 54, -)
    -> 0, 0xaefe78c0
vdp_get_proc_address(1, 55, -)
    -> 0, 0xaefe0d40
vdp_get_proc_address(1, 56, -)
    -> 0, 0xaefe22b0
vdp_get_proc_address(1, 57, -)
    -> 0, 0xaefe0c70
vdp_get_proc_address(1, 63, -)
    -> 0, 0xaefe0b60
vdp_get_proc_address(1, 64, -)
    -> 0, 0xaefe2020
vdp_get_proc_address(1, 4096, -)
    -> 0, 0xaefe1d60
vdp_get_proc_address(1, 37, -)
    -> 0, 0xaefe2950
vdp_get_proc_address(1, 38, -)
    -> 0, 0xaefe0ee0
vdp_get_proc_address(1, 40, -)
    -> 0, 0xaefe4750
vdp_get_proc_address(1, 65, -)
    -> 0, 0xaefe1ea0
vdp_presentation_queue_target_create_x11(1, 56623105, -)
    -> 0, 2
vdp_presentation_queue_create(1, 2, -)
    -> 0, 3
vdp_decoder_create(1, 8, 1280, 720, -)
    -> 0, 4
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 5
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 6
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 7
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 8
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 9
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 10
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 11
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 12
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 13
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 14
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 15
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 16
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 17
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 18
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 19
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 20
vdp_video_surface_create(1, 0, 1280, 720, -)
    -> 0, 21
vdp_video_mixer_create(1, 0, NULL, 3, {0, 1, 2}, {1280, 720, 0}, -)
    -> 0, 22
vdp_output_surface_create(1, 0, 1680, 1050, -)
    -> 0, 23
vdp_output_surface_create(1, 0, 1680, 1050, -)
    -> 0, 24
vdp_decoder_render(4, 5, {...}, 1, {{(ver 0) 806, ...}})
    -> 0
vdp_decoder_render(4, 6, {...}, 1, {{(ver 0) 2834, ...}})
    -> 0
vdp_decoder_render(4, 7, {...}, 1, {{(ver 0) 2139, ...}})
VDPAU nvidia: Error detected 0 4730 
VDPAU nvidia: Backtrace:
01: /usr/lib/libvdpau_nvidia.so [0xaefefd0e]
02: /usr/lib/libvdpau_nvidia.so [0xaefefdd9]
03: /usr/lib/libvdpau_nvidia.so [0xaeff0ec5]
04: /usr/lib/libvdpau_nvidia.so [0xaf035000]
05: /usr/lib/libvdpau_nvidia.so [0xaf01ad96]
06: /usr/lib/libvdpau_nvidia.so [0xaf012f46]
07: /usr/lib/libvdpau_nvidia.so [0xaeff825f]
08: /usr/lib/libvdpau_trace.so [0xaefe4b4e]
09: ./mplayer [0x80b4f1c]
    -> 2
Error at libvo/vo_vdpau.c:826
adamorjames is offline   Reply With Quote
Old 12-03-08, 04:50 PM   #226
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: mplayer vdpau

Quote:
Originally Posted by adamorjames View Post
There is no number 28 in the error. It's suppose to be an X264 file.. 720p.. GeForce 8600M GT. nvidia-settings says 512 MB of RAM... I thought it was 256 MB but I guess nvidia-settings doesn't lie. Same error code ("VDPAU nvidia: Error detected 0 4730") as this guy.

Code:
vdp_decoder_render(4, 7, {...}, 1, {{(ver 0) 2139, ...}})
VDPAU nvidia: Error detected 0 4730 
VDPAU nvidia: Backtrace:
01: /usr/lib/libvdpau_nvidia.so [0xaefefd0e]
02: /usr/lib/libvdpau_nvidia.so [0xaefefdd9]
03: /usr/lib/libvdpau_nvidia.so [0xaeff0ec5]
04: /usr/lib/libvdpau_nvidia.so [0xaf035000]
05: /usr/lib/libvdpau_nvidia.so [0xaf01ad96]
06: /usr/lib/libvdpau_nvidia.so [0xaf012f46]
07: /usr/lib/libvdpau_nvidia.so [0xaeff825f]
08: /usr/lib/libvdpau_trace.so [0xaefe4b4e]
09: ./mplayer [0x80b4f1c]
    -> 2
Error at libvo/vo_vdpau.c:826
Yes, this isn't a reference frame limit issue, it's some fatal decode failure. Can you post a link to the clip you're playing? The first few MB should be enough; just whatever it takes to cover the first few pictures judging by your log.
Stephen Warren is offline   Reply With Quote
Old 12-03-08, 04:53 PM   #227
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: mplayer vdpau

Quote:
Originally Posted by marchetto View Post
Error 14 at libvo/vo_vdpau.c:658[/code]

After this error, konsole session is not available, and I must open a new konsole session.
Looks like this is VDP_STATUS_INVALID_DECODER_PROFILE. I guess you're not using a GPU that VDPAU supports VC-1 on.
Stephen Warren is offline   Reply With Quote
Old 12-03-08, 05:19 PM   #228
adamorjames
Registered User
 
adamorjames's Avatar
 
Join Date: Oct 2008
Posts: 39
Default Re: mplayer vdpau

Stephen:
It is fixed besides stuttering. It seems I was using an old VDPAU patch. I got the newer one out of the two in the ftp and the X264 file plays. Using 180.11 driver btw.
EDIT: What information can I give you to fix the stuttering?
adamorjames 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 12:04 PM
NVIDIA VDPAU Reference Benchmarks News Archived News Items 0 06-11-12 06:30 AM
VDPAU and KDE 4.8 compositing = slow Pie-rate NVIDIA Linux 30 05-23-12 08:07 AM
VDPAU testing tool crisalide NVIDIA Linux 392 04-29-12 07:01 PM
mplayer & xmms problems! replys2me NVIDIA Linux 5 09-06-02 03:34 PM

All times are GMT -5. The time now is 06:57 PM.


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