Posts: 17
Joined: Feb 2009
Reputation:
0
2009-04-16, 02:58
Hello,
First of all, i'd like to thank motd2k for giving us the ability to use vdpau in xbmc and of course every person that helped in the creation of the xbmc, my wife and i have been using it for a few months and we are very happy with it!
I'm currently using linuxport r19488. I've an NVIDIA 8500gt 512mb.
I've been debugging some "ERROR: (VDPAU) Error: The system does not have enough resources to complete the requested operation at this time.(23) .." that occasionally occurs when i play some 1080p h264 vids on a 1080p output screen. (The vids play fine with mplayer -fs -vo vdpau -vd ffh264_vpdau.... even with xbmc running minimized in the bg).
a) Is there any reason why currently the NUM_OUTPUT_SURFACES is set to 4? when i set it to 2, the vids play fine (well... at least most of the time)... but i'm not completely sure if it's set to 4 for some particular reason. (just for reference, i peeked into mplayer code and it uses 3 output surfaces... and according to the nvidia readme, the minimum has to be 2...). (to be able to play with the num_output_surface variable, i created another variable that holds the totalAvailableOutputSurfaces in case in cant even create the surfaces set in num_output_surface_variable... and changed a line in the PrePresent method to "if (surfaceNum >= totalAvailableOutputSurfaces) surfaceNum = 0"; and a line in the Present method to "if (presentSurfaceNum >= totalAvailableOutputSurfaces) presentSurfaceNum = 0;")
b) Another thing that i've noticed is that when i set the VDPAU_TRACE to 1 or 2, and VDPAU_TRACE_FILE=vdpau.log and run xbmc (with an unmodified vdpau.[cpp|h] or with my modified one) the log contains the record for all the vdp_*_create calls, but not even one vdp_*_destroy call... tracing mplayer, it records both vdp_*_create and vdp_*_destroy calls... (I've tried with both 180.44 and 185.19 nvidia driver versions with the same results)... So, i dont know if vdpau is freeing its resources sucessfully or not...
Does anybody else have seen this behavior?
Thanks for any insight and collaboration...
Let me know if there's some info that you need so i can provide it... i've could pastebin the logs/modified sources if needed, etc...
ps. please take into consideration that point b) happens also with vanilla r19488 sources... so its not caused by my changes... i just dont know if it's just my configuration thats causing it, or if its a general problem... caused by some vdp_get_proc_address problems, etc.. i have no idea...
Posts: 73
Joined: Feb 2009
Reputation:
0
Use nvidia driver version 185.19 and "ERROR: (VDPAU) Error: The system does not have enough resources to complete the requested operation at this time.(23) .." should no longer happen as it will use system memory when the card does not have enough.
Posts: 92
Joined: Feb 2009
Reputation:
0
Hello,
some time with original bluray stream or 180p h264 file of 14Go, i have the message "buffering...." (it pauses the video, buffering... and restart).
Is it a limitation of the vdpau or i need more memory in my system ?
I have an AMD 3200+ with 512MB 9500 GT 512MB ubuntu 8.10 32bits.
The CPU is around 40%
Posts: 3,555
Joined: Oct 2003
Reputation:
12
tslayer
Team-XBMC Developer
Posts: 3,555
Are you using the correct version? You mentioned 8.10 which doesn't have vdpau. More details please.
42.7% of all statistics are made up on the spot
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Posts: 92
Joined: Feb 2009
Reputation:
0
sorry, i have forgotten version. This is the 8.10 version of ubuntu and i use linuxport svn 19391 and last beta driver of nvidia (185.19)
Posts: 1,414
Joined: Nov 2008
Reputation:
35
[QUOTE|
a) Is there any reason why currently the NUM_OUTPUT_SURFACES is set to 4? when i set it to 2, the vids play fine (well... at least most of the time)... but i'm not completely sure if it's set to 4 for some particular reason. (just for reference, i peeked into mplayer code and it uses 3 output surfaces... and according to the nvidia readme, the minimum has to be 2...). (to be able to play with the num_output_surface variable, i created another variable that holds the totalAvailableOutputSurfaces in case in cant even create the surfaces set in num_output_surface_variable... and changed a line in the PrePresent method to "if (surfaceNum >= totalAvailableOutputSurfaces) surfaceNum = 0"; and a line in the Present method to "if (presentSurfaceNum >= totalAvailableOutputSurfaces) presentSurfaceNum = 0;")
[/quote]
I don't know if it has to do anything with the number of surfaces, but when i turn on SRT subtitles i see some ocasional stuttering when vdpau is on.
Has anyone has the same experience ?
Posts: 3,555
Joined: Oct 2003
Reputation:
12
tslayer
Team-XBMC Developer
Posts: 3,555
nunu, show your debug log (pastebin).
42.7% of all statistics are made up on the spot
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Posts: 92
Joined: Feb 2009
Reputation:
0
tslayer : i will provide as soon as possible !! (i have reencoded and don't have the orignal stream anymore). It seems that the bitrate plays with the problem.
It's the reason why i have asked people if they try to play bluray stream and if they have issues with them.
For example, indiana jones 4 has the "buffering problem" with XBMC.
regards
Manuel
Posts: 3
Joined: Apr 2009
Reputation:
0
2009-04-17, 15:42
(This post was last modified: 2009-04-17, 15:44 by gert.)
Is the svn readme-linux-file up to date? I have installed all it asks for, but there was one library not mentioned which was needed to get trough ./configure (forgot to note which one, unfortunately), and now make fails with:
make[1]: *** [GraphicContext.o] Error 1
make[1]: Leaving directory `/home/gert/xbmc-vdpau/XBMC/guilib'
make: *** [guilib] Error 2
and a lot of errors before this.
Is there any deps not listed in the readme file that might cause this?
edit. forgot to mention I'm using Ubutnu 9.04.