Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: Jan Gruuthuse on August 18, 2016, 05:33:12 AM

Title: vdpau saving hangs on commit: 3ce52bb [x265] revert non patch
Post by: Jan Gruuthuse on August 18, 2016, 05:33:12 AM
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.
Title: Re: vdpau saving hangs on commit: 3ce52bb [x265] revert non patch
Post by: mean on August 18, 2016, 06:16:27 AM
works here ?? (with a random file)

Does it still happen after a reboot ?
Title: Re: vdpau saving hangs on commit: 3ce52bb [x265] revert non patch
Post by: Jan Gruuthuse on August 18, 2016, 10:51:28 AM
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.
Title: Re: vdpau saving hangs on commit: 3ce52bb [x265] revert non patch
Post by: eumagga0x2a on August 18, 2016, 12:02:42 PM
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.
Title: Re: vdpau saving hangs on commit: 3ce52bb [x265] revert non patch
Post by: Jan Gruuthuse on August 18, 2016, 12:48:04 PM
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.
Title: Re: vdpau saving hangs on commit: 3ce52bb [x265] revert non patch
Post by: mean on August 18, 2016, 02:09:22 PM
I think we leak GPU buffers
After a while , you need to reboot or restart X11
(only for VDPAU & maybe libva)