News:

--

Main Menu

Possible issue

Started by mit, May 12, 2013, 07:36:40 AM

Previous topic - Next topic

mit

Hi, mean!
First of all, sorry for my English!I hope you understand me!
Second, i have to say i know this issue probably only happens to me, because i use ââ,¬Å¾OPTIMUSââ,¬Å" laptop and have any restrictions using Nvidia.But by other side, Vdpau-deinterlace works.So the problem above not happens because of my specifications, you can check.

When i select Vdpau-resizer, then type preview, got this:
Picture
Code (window content) Select

Crash

Assert failed :src->_width==_width
at line 26, file /home/az/rpmbuild/BUILD/avidemux_2.6_branch_mean/avidemux_core/ADM_coreImage/src/ADM_imageOperation.cppADM_backTrack
ADMImage::duplicateMacro(ADMImage*, bool)
ADM_Composer::samePicture(ADMImage*)
ADM_videoFilterBridge::getNextFrameBase(unsigned int*, ADMImage*)
ADM_videoFilterBridge::getNextFrameAs(ADM_HW_IMAGE, unsigned int*, ADMImage*)
ADM_flyDialog::nextImage()
Ui_seekablePreviewWindow::Ui_seekablePreviewWindow(QWidget*, ADM_coreVideoFilter*, unsigned int)
filtermainWindow::preview(bool)
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QAbstractButton::clicked(bool)
/usr/lib64/qt48/lib/libQtGui.so.4() [0x3001b84aab]
/usr/lib64/qt48/lib/libQtGui.so.4() [0x3001b85e3b]
QAbstractButton::mouseReleaseEvent(QMouseEvent*)
QWidget::event(QEvent*)
QApplicationPrivate::notify_helper(QObject*, QEvent*)
QApplication::notify(QObject*, QEvent*)
QCoreApplication::notifyInternal(QObject*, QEvent*)
QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent


When i try to save file, got this:
Picture
Code (backtrace from terminal) Select
*********** BACKTRACK **************
[startThread]  Thread created and started
/usr/lib64/libADM_core6.so(ADM_backTrack+0x59) [0x3003605cc9]:0:<ADM_backTrack>:-2
/usr/lib64/libADM_coreImage6.so(_ZN8ADMImage14duplicateMacroEPS_b+0x34) [0x3007e07134]:1:<ADMImage::duplicateMacro(ADMImage*, bool)>:0
avidemux3_qt4(_ZN12ADM_Composer11samePictureEP8ADMImage+0xa9) [0x44c639]:2:<ADM_Composer::samePicture(ADMImage*)>:0
/usr/lib64/libADM_coreVideoFilter6.so(_ZN21ADM_videoFilterBridge16getNextFrameBaseEPjP8ADMImage+0x24) [0x300aa03504]:3:<ADM_videoFilterBridge::getNextFrameBase(unsigned int*, ADMImage*)>:0
/usr/lib64/libADM_coreVideoFilter6.so(_ZN21ADM_videoFilterBridge14getNextFrameAsE12ADM_HW_IMAGEPjP8ADMImage+0x1e) [0x300aa035de]:4:<ADM_videoFilterBridge::getNextFrameAs(ADM_HW_IMAGE, unsigned int*, ADMImage*)>:0
avidemux3_qt4(_ZN20ADM_videoFilterQueue9runActionEv+0x9e) [0x461f9e]:5:<ADM_videoFilterQueue::runAction()>:0
/usr/lib64/libADM_coreUtils6.so(_ZN15ADM_threadQueue3runEv+0x11) [0x3004a12061]:6:<ADM_threadQueue::run()>:0
/usr/lib64/libADM_coreUtils6.so() [0x3004a12079]:7:</usr/lib64/libADM_coreUtils6.so() [0x3004a12079]>:0
/lib64/libpthread.so.0() [0x3507a07851]:8:</lib64/libpthread.so.0() [0x3507a07851]>:0
/lib64/libc.so.6(clone+0x6d) [0x35076e890d]:9:<clone>:-2
*********** BACKTRACK **************

Jan Gruuthuse

could not replicate this happening with vdpau: Resize on ubuntu 12.04 64-bit:
Vendor      : NVIDIA Corporation
Renderer      : GeForce GT 520/PCIe/SSE2
Version      : 4.2.0 NVIDIA 304.88
Direct Rendering      : Yes
OS: Ubuntu 12.04, Kernel: 3.5.0-28-generic (x86_64), Desktop: Unity 2D 5.18.0, Display Server: X Server 1.13.0, Display Driver: NVIDIA 304.88, OpenGL: 4.2.0 NVIDIA 304.88, Compiler: GCC 4.6, File-System: ext4, Screen Resolution: 1920x1080
vdpauinfo
display: :0   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  304.88  Wed Mar 27 14:49:27 PDT 2013

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12
422     4096  4096  UYVY YUYV

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                 0  8192  2048  2048
MPEG2_SIMPLE          3  8192  2048  2048
MPEG2_MAIN            3  8192  2048  2048
H264_MAIN            41  8192  2048  2048
H264_HIGH            41  8192  2048  2048
VC1_SIMPLE            1  8190  2048  2048
VC1_MAIN              2  8190  2048  2048
VC1_ADVANCED          4  8190  2048  2048
MPEG4_PART2_SP        3  8192  2048  2048
MPEG4_PART2_ASP       5  8192  2048  2048
DIVX4_QMOBILE         0  8192  2048  2048
DIVX4_MOBILE          0  8192  2048  2048
DIVX4_HOME_THEATER    0  8192  2048  2048
DIVX4_HD_1080P        0  8192  2048  2048
DIVX5_QMOBILE         0  8192  2048  2048
DIVX5_MOBILE          0  8192  2048  2048
DIVX5_HOME_THEATER    0  8192  2048  2048
DIVX5_HD_1080P        0  8192  2048  2048

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  Y8U8V8A8 V8U8Y8A8
R10G10B10A2      16384 16384    y  Y8U8V8A8 V8U8Y8A8

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        y
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y         1     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
CHROMA_TYPE                      y 
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y 
CSC_MATRIX                       y 
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y 
LUMA_KEY_MAX_LUMA                y 

mean

I've seen it, but its difficult to reproduce

mit

Ok.Seems Optimus system is a big part of the reason this happening.Thanks!

Jan Gruuthuse

Optimus support comes to the NVIDIA Linux driver
Bumblebee, a project aiming to support NVIDIA Optimus technology under Linux.
perhaps this 2 above are of some help to you.
I did miss 1st time the meaning OPTIMUS, and confused it with Optimus Prime Laptop.


mit

Hi again, mean!
I found something odd about this, but which probably can help you to find a reason that cause this issue.
If i add ASS_filter before VDPAU_Resize, the problem disappeared.Preview don't resize image, but don't crashing (see picture). Re-encoding also works.But if i swap filters positions (move ASS under VDPAU), the problem persists.  :o