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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-09-09, 06:56 PM   #1
keyser7777
Registered User
 
Join Date: Dec 2008
Posts: 10
Default vdpau problem - can't play 1080

Hi,

This happens only for 1080 movies, for 720p films it works just fine

Code:
./mplayer -vo vdpau -vc ffh264vdpau -fs /home/keyser/Samsung.Demo.Oceanic.Life.x264.1080p.40Mbps.mkvMPlayer dev-SVN-r28348-4.3.2 (C) 2000-2009 MPlayer Team          
CPU: Intel(R) Core(TM)2 CPU          4400  @ 2.00GHz (Family: 6, Model: 15, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1                             
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2                                 

Playing /home/keyser/Samsung.Demo.Oceanic.Life.x264.1080p.40Mbps.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC) "Video x264 1080p @ 40 Mbps", -vid 0
[mkv] Track ID 2: audio (A_AC3) "Audio ingles AC3 2.0 @ 448 Kbps", -aid 0, -alang eng
[mkv] Will play video track 1.                                                       
Matroska file format detected.                                                       
VIDEO:  [avc1]  1920x1080  24bpp  29.970 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, 448.0 kbit/29.17% (ratio: 56000->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_nas: init(): Can't open nas audio server -> nosound
DVB card number must be between 1 and 4
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1920 x 1080 (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] 1920x1080 => 1920x1080 H.264 HIGH VDPAU acceleration  [fs]
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!
Error 2 at libvo/vo_vdpau.c:1099
My display doesn't support this resolution anyway, but I guess this is no reason for vpdau to crash, it should just scale.

Anybody else had this problem?
Attached Files
File Type: log vpdau.log (14.1 KB, 133 views)
File Type: gz nvidia-bug-report.log.tar.gz (37.4 KB, 107 views)
keyser7777 is offline   Reply With Quote
Old 03-10-09, 03:55 AM   #2
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: vdpau problem - can't play 1080

Quote:
Originally Posted by keyser7777 View Post
This happens only for 1080 movies, for 720p films it works just fine
Please try latest MPlayer svn.

Carl Eugen
cehoyos is offline   Reply With Quote
Old 03-10-09, 06:48 AM   #3
keyser7777
Registered User
 
Join Date: Dec 2008
Posts: 10
Default Re: vdpau problem - can't play 1080

Hi,

Thanks for your advice.

I've updated to the latest svn version and it worked for some 1080 video files. However, for a one particular file, still doesn't works it works really slow, slower that without vdpau.

Samsung.Demo.Oceanic.Life.x264.1080p.40Mbps.mkv

Code:
[vdpau] Error when calling vdp_video_surface_create: The system does not have enough resources to complete the requested operation at this time.                                                    
[vdpau] no surfaces available in get_image                                                        
vf_get_image: Tried to allocate a format that can not be allocated!                               
[h264_vdpau @ 0x88b7b00]get_buffer() failed (-1 0 0 (nil))                                        
[h264_vdpau @ 0x88b7b00]decode_slice_header error                                                 
[h264_vdpau @ 0x88b7b00]no frame!                                                                 
Error while decoding frame!                                                                       
[vdpau] Error when calling vdp_video_surface_create: The system does not have enough resources to complete the requested operation at this time.                                                    
[vdpau] no surfaces available in get_image                                                        
vf_get_image: Tried to allocate a format that can not be allocated!                               
[h264_vdpau @ 0x88b7b00]get_buffer() failed (-1 0 0 (nil))                                        
[h264_vdpau @ 0x88b7b00]decode_slice_header error                                                 
[h264_vdpau @ 0x88b7b00]reference picture missing during reorder                                  
[h264_vdpau @ 0x88b7b00]Missing reference picture                                                 
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.                     
[vdpau] Error when calling vdp_video_surface_create: The system does not have enough resources to complete the requested operation at this time.                                                    
[vdpau] no surfaces available in get_image                                                        
vf_get_image: Tried to allocate a format that can not be allocated!                               
[h264_vdpau @ 0x88b7b00]get_buffer() failed (-1 0 0 (nil))                                        
[h264_vdpau @ 0x88b7b00]decode_slice_header error                                                 
[h264_vdpau @ 0x88b7b00]no frame!                                                                 
Error while decoding frame!                                                                       
[vdpau] Error when calling vdp_video_surface_create: The system does not have enough resources to complete the requested operation at this time.                                                    
[vdpau] no surfaces available in get_image                                                        
vf_get_image: Tried to allocate a format that can not be allocated!                               
[h264_vdpau @ 0x88b7b00]get_buffer() failed (-1 0 0 (nil))                                        
[h264_vdpau @ 0x88b7b00]decode_slice_header error                                                 
[h264_vdpau @ 0x88b7b00]reference picture missing during reorder                                  
[h264_vdpau @ 0x88b7b00]reference picture missing during reorder                                  
[h264_vdpau @ 0x88b7b00]Missing reference picture                                                 
[h264_vdpau @ 0x88b7b00]Missing reference picture                                                 
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.                     
[vdpau] Error when calling vdp_video_surface_create: The system does not have enough resources to complete the requested operation at this time.                                                    
[vdpau] no surfaces available in get_image                                                        
vf_get_image: Tried to allocate a format that can not be allocated!                               
[h264_vdpau @ 0x88b7b00]get_buffer() failed (-1 0 0 (nil))                                        
[h264_vdpau @ 0x88b7b00]decode_slice_header error                                                 
[h264_vdpau @ 0x88b7b00]no frame!                                                                 
Error while decoding frame!                                                                       
[vdpau] Error when calling vdp_video_surface_create: The system does not have enough resources to complete the requested operation at this time.                                                    
[vdpau] no surfaces available in get_image                                                        
vf_get_image: Tried to allocate a format that can not be allocated!                               
[h264_vdpau @ 0x88b7b00]get_buffer() failed (-1 0 0 (nil))                                        
[h264_vdpau @ 0x88b7b00]decode_slice_header error                                                 
[h264_vdpau @ 0x88b7b00]Missing reference picture                                                 
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.                     
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.          
[vdpau] Error when calling vdp_video_surface_create: The system does not have enough resources to complete the requested operation at this time.                                                    
[vdpau] no surfaces available in get_image                                                        
vf_get_image: Tried to allocate a format that can not be allocated!                               
[h264_vdpau @ 0x88b7b00]get_buffer() failed (-1 0 0 (nil))                                        
[h264_vdpau @ 0x88b7b00]decode_slice_header error                                                 
[h264_vdpau @ 0x88b7b00]no frame!                                                                 
Error while decoding frame!                                                                       
[h264_vdpau @ 0x88b7b00]number of reference frames exceeds max (probably corrupt input), discarding one                                                                                             
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.                     
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.          
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_surface_create: The system does not have enough resources to complete the requested operation at this time.                                                    
[vdpau] no surfaces available in get_image                                                        
vf_get_image: Tried to allocate a format that can not be allocated!                               
[h264_vdpau @ 0x88b7b00]get_buffer() failed (-1 0 0 (nil))                                        
[h264_vdpau @ 0x88b7b00]decode_slice_header error                                                 
[h264_vdpau @ 0x88b7b00]no frame!                                                                 
Error while decoding frame!                                                                       
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.                     
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[h264_vdpau @ 0x88b7b00]reference picture missing during reorder 0 
[h264_vdpau @ 0x88b7b00]Missing reference picture                  
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[h264_vdpau @ 0x88b7b00]reference picture missing during reorder 0 
[h264_vdpau @ 0x88b7b00]Missing reference picture                  
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Error when calling vdp_video_mixer_render: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[h264_vdpau @ 0x88b7b00]reference picture missing during reorder 0 
[h264_vdpau @ 0x88b7b00]Missing reference picture                  
[vdpau] Failed VDPAU decoder rendering: An invalid handle value was provided.
[h264_vdpau @ 0x88b7b00]reference picture missing during reorder 0 
[h264_vdpau @ 0x88b7b00]Missing reference picture
keyser7777 is offline   Reply With Quote
Old 03-10-09, 07:57 AM   #4
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: vdpau problem - can't play 1080

Quote:
Originally Posted by keyser7777 View Post
I've updated to the latest svn version and it worked for some 1080 video files. However, for a one particular file, still doesn't works it works really slow, slower that without vdpau.

Samsung.Demo.Oceanic.Life.x264.1080p.40Mbps.mkv
Please do not cut mplayer's output, but add -v to the command line and post uncut command line and output.
Please post a link to the file and some information about your hardware and drivers.

Carl Eugen
cehoyos is offline   Reply With Quote
Old 03-10-09, 11:54 AM   #5
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: vdpau problem - can't play 1080

In comment #1, the clip you were playing is causing VDPAU some problems, so it's aborting playback. Please upload the clip somewhere so we can download it and debug it. Alternatively, point us at a non-torrent non-warez site where we can download it.

In comment #3, it looks like you're simply running out of video memory for that clip. Googling implies that it's a level 5.1 clip using 16 reference frames, which if true is probably why.
Stephen Warren is offline   Reply With Quote
Old 03-10-09, 12:00 PM   #6
nullack
Registered User
 
Join Date: Oct 2007
Posts: 74
Default Re: vdpau problem - can't play 1080

Stephen I downloaded the clip.

I have an 8600 GT with 256mb ram.

Using 180.37 and current svn from an hour ago compile playback is good, very very low cpu utilisation on my old single core amd sempron. No artifacts.

I have compiz turned off.
nullack is offline   Reply With Quote
Old 03-10-09, 05:26 PM   #7
hl_
Registered User
 
Join Date: Feb 2009
Posts: 138
Default Re: vdpau problem - can't play 1080

Quote:
[vdpau] Error when calling vdp_video_surface_create: The system does not have enough resources to complete the requested operation at this time.
Looks like you're running out of VRAM.
Is there still work going on to improve VDPAU memory management?
hl_ is offline   Reply With Quote
Old 03-10-09, 05:53 PM   #8
keyser7777
Registered User
 
Join Date: Dec 2008
Posts: 10
Default Re: vdpau problem - can't play 1080

Hi,

Sorry for my delayed reply.


Quote:
I have an 8600 GT with 256mb ram.

Using 180.37 and current svn from an hour ago compile playback is good, very very low cpu utilisation on my old single core amd sempron. No artifacts.

I have compiz turned off.
Following the last comment, I've disabled kwin desktop effects (kde 4.2.1 compiz equivalent) and the film in cause it's being rendered smoothly, with very low cpu usage. However, with desktop effects turned on, there is a very high cpu usage and the rendering is very slow.
Is this a known issue?

Quote:
In comment #3, it looks like you're simply running out of video memory for that clip. Googling implies that it's a level 5.1 clip using 16 reference frames, which if true is probably why.
So this is a normal behaviour for this kind of file?

Quote:
Please post a link to the file and some information about your hardware and drivers.
nvidia-bug-report.log is attached to my first post
My gpu is a 8600GT with 256M.
keyser7777 is offline   Reply With Quote

Old 03-10-09, 06:17 PM   #9
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: vdpau problem - can't play 1080

Quote:
Originally Posted by keyser7777 View Post
Following the last comment, I've disabled kwin desktop effects (kde 4.2.1 compiz equivalent) and the film in cause it's being rendered smoothly, with very low cpu usage. However, with desktop effects turned on, there is a very high cpu usage and the rendering is very slow.
Is this a known issue?
A number of people have reported this, and it's turned out to be the compositing manager using indirect instead of direct rendering, which has quite some overhead. I'm not sure how to configure this for kwin.
Stephen Warren is offline   Reply With Quote
Old 03-10-09, 06:34 PM   #10
keyser7777
Registered User
 
Join Date: Dec 2008
Posts: 10
Default Re: vdpau problem - can't play 1080

Quote:
Originally Posted by Stephen Warren View Post
A number of people have reported this, and it's turned out to be the compositing manager using indirect instead of direct rendering, which has quite some overhead. I'm not sure how to configure this for kwin.
According to kde configuration tool, it uses Direct Rendering. (snapshot attached)
Attached Thumbnails
Click image for larger version

Name:	desktop-effects.jpeg
Views:	299
Size:	83.8 KB
ID:	35940  
keyser7777 is offline   Reply With Quote
Old 03-10-09, 06:47 PM   #11
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: vdpau problem - can't play 1080

I think that's just a configuration option to request direct rendering, not an actual status indicating that direct rendering could be set up. I'll have to think about how to determine this. Perhaps kde log files say something?

BTW, when the CPU usage is high, can you run top, and see whether it's MPlayer, kwin, or X that's sucking CPU. Thanks.
Stephen Warren is offline   Reply With Quote
Old 03-11-09, 02:02 PM   #12
keyser7777
Registered User
 
Join Date: Dec 2008
Posts: 10
Default Re: vdpau problem - can't play 1080

Hi,

During video play,when kwin desktop effects are enabled and the cpu usage is high, the most cpu consuming process is Xorg (40-70%), then mplayer(20-30%).

Thanks.
keyser7777 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
Rockstar condemns Max Payne 3 cheaters to play only against each other News Gaming Headlines 0 06-13-12 06:20 PM
Post working out problem with 40.xx trying to work problem out, ONLY system specs b5fan NVIDIA Windows Graphics Drivers 11 10-19-02 09:17 AM
Screen flash briefly problem tamahome NVIDIA Windows Graphics Drivers 8 09-19-02 12:07 PM
Nvidia Go on laptop, black border within XFree86 problem raxip NVIDIA Linux 3 07-31-02 10:58 AM

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


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