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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-13-08, 12:47 AM   #1
theuni
Registered User
 
Join Date: Nov 2008
Posts: 27
Default 180.16 VDPAU Playback Problems

Last thread has gotten really long, thought it might be a good tiime to start a new one to correspond with the new release.

Some of my h264 movies now play successfully (still out of order frames, but that's a minor thing for now, i believe). Some still crash after a few frames, however.

I'm not sure about the legalities of posting a sample of a movie. If there's no problem, I'll be happy to. I've searched the net trying to find movies that fail as mine do, but I can't find any. I guess that means we're getting closer!

Here's the output from a failed h264 movie

Code:
./mplayer -vc ffh264vdpau -vo vdpau /tmp/sample.264
MPlayer dev-SVN-r27960-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz (Family: 6, Model: 15, Stepping: 11)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /tmp/sample.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(0x12320e0, 1, -, -)
    -> 0, 1, 0x7f8ff14d8350
vdp_get_proc_address(1, 5, -)
    -> 0, 0x7f8ff13ca230
vdp_get_proc_address(1, 9, -)
    -> 0, 0x7f8ff13cc4f0
vdp_get_proc_address(1, 10, -)
    -> 0, 0x7f8ff13ca190
vdp_get_proc_address(1, 13, -)
    -> 0, 0x7f8ff13d0570
vdp_get_proc_address(1, 12, -)
    -> 0, 0x7f8ff13d0080
vdp_get_proc_address(1, 24, -)
    -> 0, 0x7f8ff13d0a80
vdp_get_proc_address(1, 22, -)
    -> 0, 0x7f8ff13cf380
vdp_get_proc_address(1, 18, -)
    -> 0, 0x7f8ff13cbdf0
vdp_get_proc_address(1, 19, -)
    -> 0, 0x7f8ff13ca0f0
vdp_get_proc_address(1, 46, -)
    -> 0, 0x7f8ff13cd670
vdp_get_proc_address(1, 47, -)
    -> 0, 0x7f8ff13cf200
vdp_get_proc_address(1, 53, -)
    -> 0, 0x7f8ff13c9f10
vdp_get_proc_address(1, 54, -)
    -> 0, 0x7f8ff13cf640
vdp_get_proc_address(1, 55, -)
    -> 0, 0x7f8ff13c9e70
vdp_get_proc_address(1, 56, -)
    -> 0, 0x7f8ff13cb0d0
vdp_get_proc_address(1, 57, -)
    -> 0, 0x7f8ff13c9dd0
vdp_get_proc_address(1, 63, -)
    -> 0, 0x7f8ff13c9ce0
vdp_get_proc_address(1, 64, -)
    -> 0, 0x7f8ff13caee0
vdp_get_proc_address(1, 4096, -)
    -> 0, 0x7f8ff13cacb0
vdp_get_proc_address(1, 37, -)
    -> 0, 0x7f8ff13cb610
vdp_get_proc_address(1, 38, -)
    -> 0, 0x7f8ff13c9fb0
vdp_get_proc_address(1, 40, -)
    -> 0, 0x7f8ff13ccdc0
vdp_get_proc_address(1, 65, -)
    -> 0, 0x7f8ff13cadb0
vdp_get_proc_address(1, 33, -)
    -> 0, 0x7f8ff13cfdc0
vdp_get_proc_address(1, 23, -)
    -> 0, 0x7f8ff13d0e30
vdp_presentation_queue_target_create_x11(1, 58720259, -)
    -> 0, 2
vdp_presentation_queue_create(1, 2, -)
    -> 0, 3
vdp_decoder_create(1, 8, 1280, 688, 9, -)
    -> 0, 4
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 5
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 6
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 7
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 8
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 9
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 10
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 11
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 12
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 13
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 14
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 15
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 16
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 17
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 18
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 19
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 20
vdp_video_surface_create(1, 0, 1280, 688, -)
    -> 0, 21
vdp_video_mixer_create(1, 0, NULL, 3, {0, 1, 2}, {1280, 688, 0}, -)
    -> 0, 22
vdp_output_surface_create(1, 0, 1680, 1050, -)
    -> 0, 23
vdp_output_surface_create(1, 0, 1680, 1050, -)
    -> 0, 24
vdp_output_surface_create(1, 0, 1680, 1050, -)
    -> 0, 25
vdp_decoder_render(4, 5, {...}, 1, {{(ver 0) 109699, ...}})
    -> 0
vdp_decoder_render(4, 6, {...}, 1, {{(ver 0) 73397, ...}})
    -> 0
vdp_decoder_render(4, 7, {...}, 1, {{(ver 0) 28334, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 23, -)
    -> 0, 0
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 5, 0, NULL, NULL, 23, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
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.
vdp_presentation_queue_display(3, 23, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 8, {...}, 1, {{(ver 0) 16982, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 24, -)
    -> 0, 0
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 8, 0, NULL, NULL, 24, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 24, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 8, {...}, 1, {{(ver 0) 17093, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 23, -)
    -> 0, 1229144188144507552
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 8, 0, NULL, NULL, 23, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 23, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 9, {...}, 1, {{(ver 0) 47771, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 24, -)
    -> 0, 1229144188185917536
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 8, 0, NULL, NULL, 24, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 24, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 8, {...}, 1, {{(ver 0) 16148, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 23, -)
    -> 0, 1229144188227621504
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 6, 0, NULL, NULL, 23, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 23, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 10, {...}, 1, {{(ver 0) 52220, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 24, -)
    -> 0, 1229144188269504928
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 8, 0, NULL, NULL, 24, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 24, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 8, {...}, 1, {{(ver 0) 20467, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 23, -)
    -> 0, 1229144188311141760
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 9, 0, NULL, NULL, 23, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 23, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 11, {...}, 1, {{(ver 0) 48779, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 24, -)
    -> 0, 1229144188352868352
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 8, 0, NULL, NULL, 24, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 24, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 8, {...}, 1, {{(ver 0) 22292, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 23, -)
    -> 0, 1229144188394773024
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 10, 0, NULL, NULL, 23, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 23, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 12, {...}, 1, {{(ver 0) 47987, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 24, -)
    -> 0, 1229144188436437216
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 8, 0, NULL, NULL, 24, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 24, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 8, {...}, 1, {{(ver 0) 19040, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 23, -)
    -> 0, 1229144188478172128
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 11, 0, NULL, NULL, 23, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 23, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 13, {...}, 1, {{(ver 0) 47585, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 24, -)
    -> 0, 1229144188519736864
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 8, 0, NULL, NULL, 24, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 24, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 8, {...}, 1, {{(ver 0) 17127, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 23, -)
    -> 0, 1229144188561412352
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 12, 0, NULL, NULL, 23, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 23, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 14, {...}, 1, {{(ver 0) 47611, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 24, -)
    -> 0, 1229144188603300672
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 8, 0, NULL, NULL, 24, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 24, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 8, {...}, 1, {{(ver 0) 15662, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 23, -)
    -> 0, 1229144188644843936
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 13, 0, NULL, NULL, 23, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 23, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 15, {...}, 1, {{(ver 0) 48413, ...}})
    -> 0
vdp_presentation_queue_block_until_surface_idle(3, 24, -)
    -> 0, 1229144188686769728
vdp_video_mixer_render(22, 4294967295, NULL, 2, 0, NULL, 8, 0, NULL, NULL, 24, {0, 0, 1280, 688}, {0, 0, 1280, 688}, 0, NULL)
    -> 0
vdp_presentation_queue_display(3, 24, 1280, 688, 0)
    -> 0
vdp_decoder_render(4, 8, {...}, 1, {{(ver 0) 16287, ...}})
VDPAU nvidia: Error detected 1010 147  28
VDPAU nvidia: Backtrace:
01: /usr/lib/libvdpau_nvidia.so [0x7f8ff14d6768]
VDPAU nvidia: Error detected 0 2951
VDPAU nvidia: Backtrace:
01: /usr/lib/libvdpau_nvidia.so [0x7f8ff14d6768]
    -> 25
Error 25 at libvo/vo_vdpau.c:1011
I've got a few files that fail that way, they all seem to end with the error:

VDPAU nvidia: Error detected 1010 147 28

Edit: I'm also noticing that the offloading doesn't seem as drastic as it was before. Previously with offloaded movies, the cpu would sit at 2%-10% during playback as opposed to 80%-90% without. Now, almost all offloaded 720p/1080p movies sit at no less than 20%-40%. Not that it's an insignificant improvement, but not as drastic as before. Is there any explanation for this, or just a fluke on my side?

Thoughts?

Btw: 8800GT / x86_64 / Gentoo Stable
theuni is offline   Reply With Quote
Old 12-13-08, 01:18 AM   #2
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: 180.16 VDPAU Playback Problems

This error code:
VDPAU nvidia: Error detected 1010 147 28
means more reference frames were required to decode the clip than were allocated. You can hack MPlayer's libvo/vo_vdpau.c to request that more be allocated. Depending on the video resolution, the amount of RAM you have, etc., this may or may not work: The current MPlayer code already attempts to allocate the max level 4.1 compliant # of reference frames. It's possible for lower resolution clips that you'll be able to allocate more than that with the existing driver. A future driver release should increase the limit a second time, in fact making the limit completely arbitrary.
Stephen Warren is offline   Reply With Quote
Old 12-13-08, 01:20 AM   #3
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: 180.16 VDPAU Playback Problems

Re: your second point. I can't think of any changes that would cause any change in CPU utilization. Are you sure your system isn't in a lower power state (i.e. throttling the CPU clock due to lack of usage of the CPU)?
Stephen Warren is offline   Reply With Quote
Old 12-13-08, 01:31 AM   #4
theuni
Registered User
 
Join Date: Nov 2008
Posts: 27
Default Re: 180.16 VDPAU Playback Problems

Stephen-

I've increased NUM_VIDEO_SURFACES_H264 to no avail, though it seems as though 17 should've been high enough already? Which one should I be modifying?

Edit: I've changed the harcoded numbers around the case IMGFMT_VDPAU_H264_HIGH statement too, no change. Am I missing something?

As for the decrease in speed... looks like you were right. The new driver seems to have enabled powermizer for my card, and it has been clocked down. Bonus, i suppose!

TheUni
theuni is offline   Reply With Quote
Old 12-13-08, 02:04 AM   #5
theuni
Registered User
 
Join Date: Nov 2008
Posts: 27
Default Re: 180.16 VDPAU Playback Problems

Stepen-

I've thrown this in the case IMGFMT_VDPAU_H264_HIGH:

printf("References: %i\n",max_references);

3 of the files that refuse to play show values of 4,7, and 9. Well within the spec, as well as within the coded limits.

I've also noticed that one movie that DOES play shows a value of 12.

Any idea why it's throwing the error? Am I way off here?

I realize I'm not giving you much to go on without a sample. I think a few sec. clip is probably ok to share. Sorry for the rapidshare...
http://rapidshare.com/files/17292487...e.cut.264.html

TheUni
theuni is offline   Reply With Quote
Old 12-13-08, 02:23 PM   #6
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: 180.16 VDPAU Playback Problems

Specifically, you want to modify this code:

Code:
        {
            // FIXME: Use "h->sps.ref_frame_count" here instead.

            // Level 4.1 limits:
            uint32_t round_width = (vid_width + 15) & ~15;
            uint32_t round_height = (vid_height + 15) & ~15;
            uint32_t surf_size = (round_width * round_height * 3) / 2;
            max_references = (12 * 1024 * 1024) / surf_size;
            if (max_references > 16) {
                max_references = 16;
            }
        }
Note: This code calculates the maximum number of reference frames that a level 4.1 compliant stream of the stream's resolution could possibly use. This number is in no way correlated to the actual number of reference frames your clip actually uses, because ffmpeg/MPlayer architecture makes it impossible to access that value. Hence, the MPlayer code has to essentially guess that.

Now, it's possible therefore that your stream uses more reference frames than level 4.1 allows. Depending on the exact values of stream resolution etc., you may be able to simple add this line after (or instead of) the above to get your clips to play:

Code:
max_references = 16;
(or some lower value).

Note however that most HW that VDPAU supports still has a restriction on the maximum amount of RAM that the reference frame information must fit into. This is approximately level 4.1 limits, so the above may not fix anything for you. Drivers before 180.16 would not allow more than 4 reference frames no matter what. 180.16 allowed more than 4 reference frames, if they fit within this size limit. That allowed almost any level 4.1 compliant clip to be supported. The next driver release should remove this size limit, thus allowing clips over level 4.1 to be supported. You'll still have to hack the MPlayer code to support that though, unless we find a way to access the clip's real max_reference_frames value at the appropriate time.

Hope this clears things up!
Stephen Warren is offline   Reply With Quote
Old 12-13-08, 02:24 PM   #7
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: 180.16 VDPAU Playback Problems

Oh, and on Monday, I'll take a look at your clips just to confirm that the issue is that they're not level 4.1 compliant.
Stephen Warren is offline   Reply With Quote
Old 12-13-08, 06:12 PM   #8
theuni
Registered User
 
Join Date: Nov 2008
Posts: 27
Default Re: 180.16 VDPAU Playback Problems

Stephen-

Thanks as always for the quick response. Mediainfo on the movie reports 5 ref frames @ full 1080p. Not sure how that fits in with the spec. I'm curious to hear your findings/response.

TheUni
theuni is offline   Reply With Quote

Old 12-13-08, 10:22 PM   #9
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: 180.16 VDPAU Playback Problems

At 1080p, level 4.1 dictates a max of 4 ref frames.
Stephen Warren is offline   Reply With Quote
Old 12-14-08, 12:10 AM   #10
theuni
Registered User
 
Join Date: Nov 2008
Posts: 27
Default Re: 180.16 VDPAU Playback Problems

Well I guess that clears that up then.

Here's hoping the next driver release removes the barrier completely. I have faith that a solution to determine the max reference frames can be introduced.

TheUni
theuni is offline   Reply With Quote
Old 12-16-08, 09:38 PM   #11
zero4281
Registered User
 
Join Date: Dec 2008
Posts: 2
Default Re: 180.16 VDPAU Playback Problems

I'm getting 2 consistent errors when trying to play back video from a HD movie trailer. I have a 8600 GT 256MB, the 180.16 drivers installed. Playing with or without hardware acceleration doesn't seem to matter. The video can be found here: http://www.apple.com/trailers/wb/watchmen/

The first error is:
Code:
mplayer -vo vdpau -vc ffh264vdpau -ao pulse watchmen-tlr2_h1080p.mov
MPlayer dev-SVN-r27960 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     E6750  @ 2.66GHz (Family: 6, Model: 15, Stepping: 11)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing watchmen-tlr2_h1080p.mov.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [avc1]  1920x800  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name: Watchmen
 copyright:  2008 Paramount Vantage. All Rights Reserved
 comments: Encoded and delivered by apple.com/trailers/
==========================================================================
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: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
VDec: vo config request - 1920 x 800 (preferred colorspace: H.264 MAIN VDPAU acceleration)
VDec: using H.264 MAIN VDPAU acceleration as output csp (no 1)
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1920x800 => 1920x800 H.264 MAIN VDPAU acceleration
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x8bbd070, 0, -, -)
    -> 0, 1, 0xb5c5c0a0
vdp_get_proc_address(1, 5, -)
    -> 0, 0xb675a220
vdp_get_proc_address(1, 9, -)
    -> 0, 0xb675cc60
vdp_get_proc_address(1, 10, -)
    -> 0, 0xb675a150
vdp_get_proc_address(1, 13, -)
    -> 0, 0xb6761bb0
vdp_get_proc_address(1, 12, -)
    -> 0, 0xb67615d0
vdp_get_proc_address(1, 24, -)
    -> 0, 0xb67621c0
vdp_get_proc_address(1, 22, -)
    -> 0, 0xb6760570
vdp_get_proc_address(1, 18, -)
    -> 0, 0xb675c3c0
vdp_get_proc_address(1, 19, -)
    -> 0, 0xb675a080
vdp_get_proc_address(1, 46, -)
    -> 0, 0xb675ef90
vdp_get_proc_address(1, 47, -)
    -> 0, 0xb6760390
vdp_get_proc_address(1, 53, -)
    -> 0, 0xb6759e10
vdp_get_proc_address(1, 54, -)
    -> 0, 0xb67608d0
vdp_get_proc_address(1, 55, -)
    -> 0, 0xb6759d40
vdp_get_proc_address(1, 56, -)
    -> 0, 0xb675b2b0
vdp_get_proc_address(1, 57, -)
    -> 0, 0xb6759c70
vdp_get_proc_address(1, 63, -)
    -> 0, 0xb6759b60
vdp_get_proc_address(1, 64, -)
    -> 0, 0xb675b020
vdp_get_proc_address(1, 4096, -)
    -> 0, 0xb675ad60
vdp_get_proc_address(1, 37, -)
    -> 0, 0xb675b950
vdp_get_proc_address(1, 38, -)
    -> 0, 0xb6759ee0
vdp_get_proc_address(1, 40, -)
    -> 0, 0xb675d760
vdp_get_proc_address(1, 65, -)
    -> 0, 0xb675aea0
vdp_get_proc_address(1, 33, -)
    -> 0, 0xb6761240
vdp_get_proc_address(1, 23, -)
    -> 0, 0xb6762620
vdp_presentation_queue_target_create_x11(1, 39845889, -)
    -> 0, 2
vdp_presentation_queue_create(1, 2, -)
    -> 0, 3
vdp_decoder_create(1, 7, 1920, 800, 5, -)
VDPAU nvidia: Error detected 1020 1393  7
VDPAU nvidia: Backtrace:
01: /usr/lib/libvdpau_nvidia.so [0xb5c59d0e]
02: /usr/lib/libvdpau_nvidia.so [0xb5c5abe9]
03: /usr/lib/libvdpau_nvidia.so [0xb5c9fb28]
04: /usr/lib/libvdpau_nvidia.so [0xb5c83c5d]
05: /usr/lib/libvdpau_nvidia.so [0xb5c7d50b]
06: /usr/lib/libvdpau_nvidia.so [0xb5c6158f]
07: /usr/lib/libvdpau_trace.so [0xb675ba3b]
08: mplayer [0x807db9d]
VDPAU nvidia: Error detected 0 2534
VDPAU nvidia: Backtrace:
01: /usr/lib/libvdpau_nvidia.so [0xb5c59d0e]
02: /usr/lib/libvdpau_nvidia.so [0xb5c59dd9]
03: /usr/lib/libvdpau_nvidia.so [0xb5c615fe]
04: /usr/lib/libvdpau_trace.so [0xb675ba3b]
05: mplayer [0x807db9d]
    -> 23
Error 23 at libvo/vo_vdpau.c:727
The second error is:
Code:
mplayer -vo vdpau -ao pulse watchmen-tlr2_h1080p.mov
MPlayer dev-SVN-r27960 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU     E6750  @ 2.66GHz (Family: 6, Model: 15, Stepping: 11)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing watchmen-tlr2_h1080p.mov.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [avc1]  1920x800  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 name: Watchmen
 copyright:  2008 Paramount Vantage. All Rights Reserved
 comments: Encoded and delivered by apple.com/trailers/
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1920 x 800 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1920x800 => 1920x800 Planar YV12
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x8bbcff0, 0, -, -)
    -> 0, 1, 0xb58f50a0
vdp_get_proc_address(1, 5, -)
    -> 0, 0xb67eb220
vdp_get_proc_address(1, 9, -)
    -> 0, 0xb67edc60
vdp_get_proc_address(1, 10, -)
    -> 0, 0xb67eb150
vdp_get_proc_address(1, 13, -)
    -> 0, 0xb67f2bb0
vdp_get_proc_address(1, 12, -)
    -> 0, 0xb67f25d0
vdp_get_proc_address(1, 24, -)
    -> 0, 0xb67f31c0
vdp_get_proc_address(1, 22, -)
    -> 0, 0xb67f1570
vdp_get_proc_address(1, 18, -)
    -> 0, 0xb67ed3c0
vdp_get_proc_address(1, 19, -)
    -> 0, 0xb67eb080
vdp_get_proc_address(1, 46, -)
    -> 0, 0xb67eff90
vdp_get_proc_address(1, 47, -)
    -> 0, 0xb67f1390
vdp_get_proc_address(1, 53, -)
    -> 0, 0xb67eae10
vdp_get_proc_address(1, 54, -)
    -> 0, 0xb67f18d0
vdp_get_proc_address(1, 55, -)
    -> 0, 0xb67ead40
vdp_get_proc_address(1, 56, -)
    -> 0, 0xb67ec2b0
vdp_get_proc_address(1, 57, -)
    -> 0, 0xb67eac70
vdp_get_proc_address(1, 63, -)
    -> 0, 0xb67eab60
vdp_get_proc_address(1, 64, -)
    -> 0, 0xb67ec020
vdp_get_proc_address(1, 4096, -)
    -> 0, 0xb67ebd60
vdp_get_proc_address(1, 37, -)
    -> 0, 0xb67ec950
vdp_get_proc_address(1, 38, -)
    -> 0, 0xb67eaee0
vdp_get_proc_address(1, 40, -)
    -> 0, 0xb67ee760
vdp_get_proc_address(1, 65, -)
    -> 0, 0xb67ebea0
vdp_get_proc_address(1, 33, -)
    -> 0, 0xb67f2240
vdp_get_proc_address(1, 23, -)
    -> 0, 0xb67f3620
vdp_presentation_queue_target_create_x11(1, 39845889, -)
    -> 0, 2
vdp_presentation_queue_create(1, 2, -)
    -> 0, 3
vdp_video_surface_create(1, 0, 1920, 800, -)
    -> 0, 4
vdp_video_mixer_create(1, 0, NULL, 3, {0, 1, 2}, {1920, 800, 0}, -)
    -> 0, 5
vdp_output_surface_create(1, 0, 3840, 1200, -)
    -> 0, 6
vdp_output_surface_create(1, 0, 3840, 1200, -)
VDPAU nvidia: Error detected 1020 1393  7
VDPAU nvidia: Backtrace:
01: /usr/lib/libvdpau_nvidia.so [0xb58f2d0e]
02: /usr/lib/libvdpau_nvidia.so [0xb58f3be9]
03: /usr/lib/libvdpau_nvidia.so [0xb5938b28]
04: /usr/lib/libvdpau_nvidia.so [0xb5908a00]
05: /usr/lib/libvdpau_nvidia.so [0xb5908c22]
06: /usr/lib/libvdpau_nvidia.so [0xb58f7733]
07: /usr/lib/libvdpau_trace.so [0xb67ed49d]
08: mplayer [0x807d7b7]
VDPAU nvidia: Error detected 0 1368
VDPAU nvidia: Backtrace:
01: /usr/lib/libvdpau_nvidia.so [0xb58f2d0e]
02: /usr/lib/libvdpau_nvidia.so [0xb58f2dd9]
03: /usr/lib/libvdpau_nvidia.so [0xb58f782e]
04: /usr/lib/libvdpau_trace.so [0xb67ed49d]
05: mplayer [0x807d7b7]
    -> 23
Error 23 at libvo/vo_vdpau.c:791
zero4281 is offline   Reply With Quote
Old 12-16-08, 10:10 PM   #12
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: 180.16 VDPAU Playback Problems

@zero4281,

You're running out of video RAM. You could try: running fewer X application (and maybe restarting X) to free up some RAM, or hacking MPlayer's vo_vdpau.c and changing NUM_VIDEO_SURFACES_H264 to be lower, depending on how many reference frames your clips need.
Stephen Warren 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
problems with drivers after 295.40 (OpenSuSE 12.1, GeFroce 7900 GS, Phenom II X4) alawa NVIDIA Linux 0 06-09-12 06:37 PM
Blu-ray 3D Movie Playback With PC on a 3D HDTV Using HDMI 1.4 News Archived News Items 0 05-16-12 03:30 AM
can i only use TV for video playback gulo NVIDIA Windows Graphics Drivers 4 09-13-05 05:21 PM
DirectX 8 problems with GeForce4 Derwin NVIDIA GeForce 7, 8, And 9 Series 19 08-20-02 01:23 AM

All times are GMT -5. The time now is 05:09 AM.


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