News:

--

Main Menu

VDPAU cannot Initialize VDPAU

Started by Jan Gruuthuse, July 23, 2012, 05:15:07 AM

Previous topic - Next topic

Jan Gruuthuse

with 03:45:00 hours of 720p video loading, each part 2.1 GB. Upon loading part 009, 10th,  pop up windows appear complaining:

terminal output @ github gist: https://gist.github.com/3162038

Searching decoder in plugins
  [tryCreatingVideoDecoder]  No decoder found in plugin
  [ADM_getDecoder]  Searching decoder in vdpau (1280 x 720, extradataSize:0)...
  [ADM_getDecoder]  This is vdpau compatible
[lavc] Build: 3544932
[lavc] Decoder init: h264_vdpau video decoder initialized! (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration))
[decoderFFVDPAU]  [VDPAU] Decoder created
  [surfaceCreate]  ADM_coreVdpau::funcs.createSurface(ADM_coreVdpau::vdpDevice,VDP_CHROMA_TYPE_420,width,height,surface) call failed with error=The system does not have enough resources to complete the requested operation at this time.
  [decoderFFVDPAU]  Cannot create surface 17/50
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
  [paintGL]  Painting dummy openGl widget
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
  [paintGL]  Painting dummy openGl widget
^[OF  [~decoderFFVDPAU]  [VDPAU] Cleaning up
  [surfaceDestroy]  ADM_coreVdpau::funcs.destroySurface(surface) call failed with error=An invalid handle value was provided.
  [~decoderFFVDPAU]  Error destroying surface 17
  [~decoderFFVDPAU]  [VDPAU] Destroying decoder
[lavc] Destroyed


_____________________________________________
Avidemux v2.6.0 (r8085)
_____________________________________________
Compiler: GCC 4.6.3
cmake: 2.8.8
Build Target: Linux (x86-64)
User Interface: Qt (4.8.1)
_____________________________________________
Kernel: Linux 3.2.0-26-generic (x86_64)
Distribution: Linux Ubuntu 12.04 LTS (Precise Pangolin)
Desktop: Unity 2D 5.12.0
Display Server:  X Server 1.11.3
Display Driver: NVIDIA 302.17
Intel Core i5-2500K @ 3.30GHz (4 Cores) with 8 GB ram
Graphics: NVIDIA GeForce GT 520/PCIe/SSE2 1024MB (810/535MHz)
OpenGL render: 4.2.0 NVIDIA 302.17
_____________________________________________

Jan Gruuthuse

#1
This issue still happening when loading 10th part (2GB/part)  this warning pops up.

In terminal output:
[Editor] Decoder FCC: H264 (34363248) [ADM_getDecoder] 
Searching decoder in plugins
  [tryCreatingVideoDecoder]  No decoder found in plugin
  [ADM_getDecoder]  Searching decoder in vdpau (1280 x 720, extradataSize:0)...
  [ADM_getDecoder]  This is vdpau compatible
[lavc] Build: 3554148
[lavc] Decoder init: h264_vdpau video decoder initialized! (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration))
[decoderFFVDPAU]  [VDPAU] Decoder created
  [surfaceCreate]  ADM_coreVdpau::funcs.createSurface(ADM_coreVdpau::vdpDevice,VDP_CHROMA_TYPE_420,width,height,surface) call failed with error=The system does not have enough resources to complete the requested operation at this time.
  [decoderFFVDPAU]  Cannot create surface 22/50
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest

ONLY: when in Preferences [Video] [v] Decode video using VDPAU is marked

Weird is this worked for loading 9 x 2 GB parts in project, like if it can only create 9 decoder(s) instances? should not the same 1st created decoder be used?

mean

It's because each chunks is allocating its own codec and associated buffers
and it runs out of vdpau buffers

Jan Gruuthuse

Thanks for explaining.
Now that I know: Just tried this, once this message pops up you can set : Preferences [Video] [ ] Decode video using VDPAU. Then the message does not appear when loading following parts.

mean

Normally it should automatically revert to pure sw decoder

Jan Gruuthuse

It does. But It every time you load a next part that message pops up again. I do often load over 15 2 GB's parts/5 hours of recording)