Fixed: No matching colrospace compatible hw accelerator found

Started by Jan Gruuthuse, June 08, 2016, 08:14:51 AM

Previous topic - Next topic

Jan Gruuthuse

fixed: 7597963    [VDPAU] Workraround, do not even try if colorspace is not yv12

loading this video on vdpau
File (1.16 MB total) ColourspaceIssue.mp4 Will be deleted on 15 June, 2016 Download link https://we.tl/7qkX0ffkcs

Terminal output while doing so
[lookup]  Matching hw accel : vdpau
  [ADM_FFgetFormat]  Reusing existing setup
  [vdpauGetFormat]  [vdpau]: GetFormat
  [vdpauGetFormat]  [vdpau]: Evaluating 5
  [vdpauGetFormat]  No matching colrospace compatible hw accelerator found
  [canSupportThis]  LibVA not enabled
  [lookup]  No Matching Hw accel
  [ADM_FFgetFormat]  No Hw Accel for that
  [getBuffer]  [VDPAU] No more available surface, creating a new one
Saving crash file to /home/jan/.avidemux6/crash.py
Scripting video streams
Scripting segments
Scripting markers
Scripting post-processing
Scripting video encoder
Scripting video filters
Scripting audio tracks
Scripting muxer

*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x60) [0x7fcbb7846f20]:0:<ADM_backTrack>:-2
/lib/x86_64-linux-gnu/libc.so.6(+0x36cb0) [0x7fcbb312fcb0]:1:<>:-2
/lib/x86_64-linux-gnu/libc.so.6(memset+0x54) [0x7fcbb3185504]:2:<memset>:-2
/usr/lib/libADM6avcodec.so.57(+0x34b2f5) [0x7fcbb82172f5]:3:<>:-2
/usr/lib/libADM6avcodec.so.57(+0x164a0e) [0x7fcbb8030a0e]:4:<>:-2
/usr/lib/libADM6avcodec.so.57(+0x168b67) [0x7fcbb8034b67]:5:<>:-2
/usr/lib/libADM6avcodec.so.57(+0x113923) [0x7fcbb7fdf923]:6:<>:-2
/usr/lib/libADM6avcodec.so.57(avcodec_decode_video2+0x2c6) [0x7fcbb82191d6]:7:<avcodec_decode_video2>:-2
/usr/lib/libADM_coreVideoCodec6.so(_ZN9decoderFF10uncompressEP18ADMCompressedImageP8ADMImage+0xc1) [0x7fcbb8f78d41]:8:<decoderFF::uncompress(ADMCompressedImage*, ADMImage*)>:0
/usr/bin/avidemux3_qt4(_ZN12ADM_Composer15decompressImageEP8ADMImageP18ADMCompressedImagej+0xbf) [0x45873f]:9:<ADM_Composer::decompressImage(ADMImage*, ADMCompressedImage*, unsigned int)>:0
/usr/bin/avidemux3_qt4(_ZN12ADM_Composer22DecodePictureUpToIntraEjj+0x14f) [0x4591ef]:10:<ADM_Composer::DecodePictureUpToIntra(unsigned int, unsigned int)>:0
/usr/bin/avidemux3_qt4(_ZN12ADM_Composer10seektoTimeEjmb+0xb8) [0x459458]:11:<ADM_Composer::seektoTime(unsigned int, unsigned long, bool)>:0
/usr/bin/avidemux3_qt4(_ZN12ADM_Composer13goToTimeVideoEm+0x6b) [0x456d6b]:12:<ADM_Composer::goToTimeVideo(unsigned long)>:0
/usr/bin/avidemux3_qt4(_ZN12ADM_Composer16checkForValidPtsEP8_SEGMENT+0x2ee) [0x45f60e]:13:<ADM_Composer::checkForValidPts(_SEGMENT*)>:0
/usr/bin/avidemux3_qt4(_ZN12ADM_Composer7addFileEPKc+0xa87) [0x455547]:14:<ADM_Composer::addFile(char const*)>:0
/usr/bin/avidemux3_qt4(_Z11A_openVideoPKc+0x14c) [0x43cb3c]:15:<A_openVideo(char const*)>:0
/usr/bin/avidemux3_qt4(_ZN10MainWindow9openFilesE5QListI4QUrlE+0x158) [0x4777d8]:16:<MainWindow::openFiles(QList<QUrl>)>:0
/usr/bin/avidemux3_qt4(_ZN10MainWindow11eventFilterEP7QObjectP6QEvent+0x5e) [0x4778ce]:17:<MainWindow::eventFilter(QObject*, QEvent*)>:0
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent+0x86) [0x7fcbb4cc1646]:18:<QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x6c) [0x7fcbb51f2e0c]:19:<QApplicationPrivate::notify_helper(QObject*, QEvent*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x270) [0x7fcbb51f94a0]:20:<QApplication::notify(QObject*, QEvent*)>:0
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x6d) [0x7fcbb4cc14dd]:21:<QCoreApplication::notifyInternal(QObject*, QEvent*)>:0
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x1ed) [0x7fcbb4cc4b3d]:22:<QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)>:0
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x1aaf83) [0x7fcbb4ceef83]:23:<>:-2
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x254) [0x7fcbb1685e04]:24:<g_main_context_dispatch>:-2
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x49048) [0x7fcbb1686048]:25:<>:-2
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c) [0x7fcbb16860ec]:26:<g_main_context_iteration>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x71) [0x7fcbb4cee7a1]:27:<QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x26bbe6) [0x7fcbb5294be6]:28:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f) [0x7fcbb4cc00af]:29:<QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)>:0
*********** BACKTRACK **************
Crash Dump for Crash
Segfault
at line 0, file ??ADM_backTrack

memset




avcodec_decode_video2
decoderFF::uncompress(ADMCompressedImage*, ADMImage*)
ADM_Composer::decompressImage(ADMImage*, ADMCompressedImage*, unsigned int)
ADM_Composer::DecodePictureUpToIntra(unsigned int, unsigned int)
ADM_Composer::seektoTime(unsigned int, unsigned long, bool)
ADM_Composer::goToTimeVideo(unsigned long)
ADM_Composer::checkForValidPts(_SEGMENT*)
ADM_Composer::addFile(char const*)
A_openVideo(char const*)
MainWindow::openFiles(QList<QUrl>)
MainWindow::eventFilter(QObject*, QEvent*)
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
QApplicationPrivate::notify_helper(QObject*, QEvent*)
QApplication::notify(QObject*, QEvent*)
QCoreApplication::notifyInternal(QObject*, QEvent*)
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)

g_main_context_dispatch

g_main_context_iteration
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)

QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)

*** Error in `/usr/bin/avidemux3_qt4': malloc(): smallbin double linked list corrupted: 0x0000000003b8ec90 ***



_____________________________________________
Avidemux v2.6.12 (ada155d) update_ffmpeg_3.0.2
_____________________________________________
Compiler: GCC 4.8.4
cmake: 2.8.12.2
Build Target: Linux (x86-64)
User Interface: Qt (4.8.6)
_____________________________________________
Kernel: Linux 3.19.0-59-generic (x86_64) (linux-image-3.19.0-59-generic                         3.19.0-59.66~14.04.1)
Distribution: Linux Ubuntu 14.04.4 LTS (Trusty)
qt4-default: installed
qt5-default: not installed
_____________________________________________

Intel Core i7-3770K @ 3.50GHz (4 Cores/8 Threads) with 32 GB ram

Desktop: Unity 7.2.6
Display Server: X Server 1.15.1
Display Driver: NVIDIA 352.93
OpenGL: 4.3.0
Compiler: GCC 4.8.4 + CUDA 7.5


OpenGL Vendor: NVIDIA Corporation
OpenGL Renderer: GeForce GTX 960/PCIe/SSE2 2048MB (1227/3600MHz)
OpenGL: 4.5.0 NVIDIA 352.93


- vdpauinfo:API version: 1   NVIDIA VDPAU Driver Shared Library  352.93
- x264 0.148.2694 3b70645
(libswscale 3.1.101)
(libavformat 56.36.100)
x264 configuration: --bit-depth=8 --chroma-format=all
libx264 configuration: --bit-depth=8 --chroma-format=all


- x265 [info]: HEVC encoder version 1.5+1-32d72a0285e0
x265 [info]: build info [Linux][GCC 4.8.2][64 bit] 8bpp
_____________________________________________

mean

The root problem is video is YUV444 and not YUV420
I'll see if i can make it work

Jan Gruuthuse

It works with lavcodec when HW Accel VDPAU is disabled

mean

Patched so that it works, but no hw acceleration for the moment

Jan Gruuthuse

Fixed: 7597963    [VDPAU] Workraround, do not even try if colorspace is not yv12

Nice solution: avidemux switches now to lavcodec isntead of using vdpau.
When loading video supported vdpau avidemux uses vdpau.