vdpau saving hangs on commit: 3ce52bb [x265] revert non patch

Started by Jan Gruuthuse, August 18, 2016, 05:33:12 AM

Previous topic - Next topic

Jan Gruuthuse

on ubuntu 14.04.5 avidemux
- Select File To Save window stays open
- GUI grays out (Window is not responding) force quit is required to exit.
- teminal window ends with:
Quote[edCache] Flush
[vdpGetProcAddressWrapper]  Calling vdpGetProcAddressWrapper for function 38
  [vdpGetProcAddressWrapper]  Wrapping DECODER_DESTROY decoderDestroy
  [vdpGetProcAddressWrapper]  Ok
  [vdpauGetFormat]  [vdpau]: GetFormat
  [vdpauGetFormat]  [vdpau]: Evaluating 109
  [parseHwAccel]  Trying h263_vaapi, hwPixFmt=53, wantedPixFmt 36, hwCodecId =5 : wantedCodecID=28
  [parseHwAccel]  Trying h264_vaapi, hwPixFmt=53, wantedPixFmt 36, hwCodecId =28 : wantedCodecID=28
  [parseHwAccel]  Trying h264_vdpau, hwPixFmt=109, wantedPixFmt 36, hwCodecId =28 : wantedCodecID=28
  [vdpauGetFormat]  Found matching hw accelerator : h264_vdpau
  [vdpauGetFormat]  Successfully setup hw accel
  [canSupportThis]  This is supported by VDPAU
  [lookup]  Matching hw accel : vdpau
  [ADM_FFgetFormat]  Reusing existing setup
  [vdpGetProcAddressWrapper]  Calling vdpGetProcAddressWrapper for function 7
==> GetProcAddress called
[vdpGetProcAddressWrapper]  Ok
  [vdpGetProcAddressWrapper]  Calling vdpGetProcAddressWrapper for function 36
==> GetProcAddress called
[vdpGetProcAddressWrapper]  Ok
  [vdpGetProcAddressWrapper]  Calling vdpGetProcAddressWrapper for function 37
  [vdpGetProcAddressWrapper]  Wrapping DECODER_CREATE decoderCreate
  [vdpGetProcAddressWrapper]  Ok
  [vdpGetProcAddressWrapper]  Calling vdpGetProcAddressWrapper for function 40
  [vdpGetProcAddressWrapper]  Wrapping DECODER_RENDER decoderRender
  [vdpGetProcAddressWrapper]  Ok
  [getBuffer]  [VDPAU] No more available surface, creating a new one
  [getBuffer]  [VDPAU] No more available surface, creating a new one
  [getBuffer]  [VDPAU] No more available surface, creating a new one
  [uncompress]  [VDPAU] No picture
[decompressImage] uncompress failed
[DecodePictureUpToIntra]   decode error for frame 0, not necessarily a problem
  [uncompress]  [VDPAU] No picture
[decompressImage] uncompress failed
[DecodePictureUpToIntra]   decode error for frame 1, not necessarily a problem
  [switchToSegment]  Switched ok to segment 0 (dontdecode=0)
  [start]  admPreview,starting
  [updateLoaded]   conf updated
  [HandleAction]  ************ SAVE_VIDEO **************
Paint event
[refresh]  [Vdpau]Rrefresh
  [paintGL]  Painting dummy openGl widget
  [admSaver]  [Save] Encoder index=0
  [save]  Audio starting time 00:00:00,000
  [save]  [A_Save] Saving..

I'll do some more testing later this day, I'm out this morning as I was yesterday all day.
Have no clue what to look for at this moment.
Video test file is 720p4audioTracks3satá´´á´° clip if you have this one laying around.

mean

works here ?? (with a random file)

Does it still happen after a reboot ?

Jan Gruuthuse

Just back in.
After reboot same issue.
Deleted  both ~/.avidemux6/config2 and ~/.avidemux6/defaultSettings.py
Issue is gone, can't put my finger on why.

eumagga0x2a

Did this affect only the Qt4 version? Maybe the filepicker appeared for some reason on another virtual desktop, blocking the application? Anyway, WFM with a current Qt5 build.

Jan Gruuthuse

small quirk(s) that come a live sometimes: Try reboot if fail, delete config2, if still fail delete defaultSettings.py.
sometimes with hardware acceleration (decoding offloaded to GPU) reboot is not enough: actual powerdown is needed of the hardware.
Time shortage (yesterday & today) did not allow thoroughly investigating.

mean

I think we leak GPU buffers
After a while , you need to reboot or restart X11
(only for VDPAU & maybe libva)