1.7.2 Crash on playing videos

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

User avatar
Cyb10101
Posts: 4
Joined: Sat Jun 08, 2024 12:43 pm

1.7.2 Crash on playing videos

Post by Cyb10101 »

System:
XnView MP 1.7.2 64-bit (Linux) - Libformat 7.180 (2024-06-04)
OS: Ubuntu 24.04 LTS 64bit (fresh install, not upgraded from 22.04)
Display Server: Wayland
ffmpeg: 6.1.1-3ubuntu5

Description:
XnView MP crash every time, if i open a video. This problem occured some versions before. I don't know which version and why.

It could be this in gdb backtrace:
__memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:265
or something with ffmpeg or pipewire sound server:
#MDK SDK : AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Eingabe-/Ausgabefehler
#MDK SDK : ERROR! Unable to seek unloaded media
or a wayland problem:
#MDK SDK : trying va from x11 display: 0x25748e0

Effect: Open a video, window hang 2 seconds, crashes and closed

To reproduce:
Just open a video directly or via XnView MP Browser or slide from image to video. I could not reproduce it in a virtual machine.

Actual behaviour (bug): Crash on videos :bug:
Expected behaviour: Do not crash on videos :)

Files:

~/.config/xnviewmp/xnview.ini:

Code: Select all

[Start]
debug=2
Logs:

$ LD_LIBRARY_PATH=/opt/XnView/lib QT_PLUGIN_PATH=/opt/XnView/lib /opt/XnView/XnView

Code: Select all

getNext => 4 
 ==> 0x35cb390 
##ADD to cache 1   /Camera/IMG_20231009_125004.jpg
P   /Camera/IMG_20231009_125004.jpg (4000 1800)
setCurrentFilename </Camera/PXL_20231031_150435498.mp4>
@@ BitmapResizeThread:: clear
MyView::change /Camera/PXL_20231031_150435498.mp4 
OPEN player /Camera/PXL_20231031_150435498.mp4
X11 display: 0x25748e0
#MDK SDK : 0.25.0 (git 2200147) - Multimedia Development Kit. Copyright (c) 2016-2024 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang18.1.0 (++20240129073356+3df71e5a3f5d-1~exp1~20240129193412.14)GCC4.2.1; libc++180100; 06:19:03 Jan 31 2024

#MDK SDK : video decoders: "VAAPI", "VDPAU", "CUDA", "MMAL", "FFmpeg"
#MDK SDK : video decoders: "VAAPI", "VDPAU", "CUDA", "MMAL", "FFmpeg"
#MDK SDK : getVideoOutContext (nil) => 0x395e830. vo count: 1

QMDKWidget setMedia /Camera/PXL_20231031_150435498.mp4
#MDK SDK : default FrameReader0x2ec59d0 state: 0=>0=>0, 0
#MDK SDK : default0x2ec59d0 virtual void mdk::FrameReader::stop(), current state: 0
#MDK SDK : default FrameReader0x2ec59d0 state: 0=>0=>0, 0
#MDK SDK : default0x2ec59d0 virtual void mdk::FrameReader::stop(), current state: 0
#MDK SDK : player property: continue_at_end = 1
#MDK SDK : AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Eingabe-/Ausgabefehler
#MDK SDK : 
#MDK SDK : 0x35b18e0 MediaControl.prepare(0, ...) /Camera/PXL_20231031_150435498.mp4
#MDK SDK : default 0x2ec59d0 FrameReader.start(0, ...)
#MDK SDK : default 0x2ec59d0 FrameReader::update MediaStatus 0=>0X2
#MDK SDK : default FrameReader0x2ec59d0 state: 0=>0=>1, 0
#MDK SDK : default FrameReader0x2ec59d0 state: 0=>1=>1, 0
#MDK SDK : ERROR! Unable to seek unloaded media
#MDK SDK : unloaded media's position 0
#MDK SDK : start frame reader thread: 134394087999168
#MDK SDK : try to load av module: /opt/XnView/lib/libffmpeg.so.6

QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
resizeGL>>>>>dpr: 1.000000, logical dpi: (96.000000,96.000000), phy dpi: (92.891429,93.784615)
#MDK SDK : 0x36c1030 setVideoSurfaceSize(1540x947, (nil))

PLAYER 2d14650 
getNext => 4 
 ==> 0x3618860 
##START cache 1 /Camera/PXL_20231031_150510525.mp4
   /Camera/IMG_20231009_125004.jpg (4000 1800)
## MyPreviewThread :: MyPreviewThread (0x7a3b1c226d30)
MyPreviewThread :: set 
## MyPreviewThread :: run
m_mutex.lock()
m_mutex.lock() ok
## Bitmap :: load 0 
###### GFF:load </Camera/PXL_20231031_150510525.mp4>
#MDK SDK : ffmpeg loaded: /opt/XnView/lib/libffmpeg.so.6
#MDK SDK : Selected avformat runtime version: 60.20.100 (build: 60.20.100), license: LGPL version 2.1 or later
#MDK SDK : Selected avformat runtime configuration: --extra-version=avbuild --disable-doc --disable-debug --disable-static --enable-shared --enable-runtime-cpudetect --enable-libvpl --enable-libdrm --disable-postproc --ranlib=llvm-ranlib-18 --nm=llvm-nm-18 --ar=llvm-ar-18 --nvcc=clang-18 --toolchain=hardened --enable-cross-compile --target-os=linux --arch=amd64 --pkg-config=pkg-config --sysroot='$SYSROOT' --cc=clang-18 --enable-lto --enable-pic --extra-cflags='-Wa,--noexecstack -fdata-sections -ffunction-sections -fstack-protector-strong -I/home/runner/work/avbuild/avbuild/tools/Vulkan-Headers/include -I=/usr/include/libdrm -I/tmp/dep/include -Wa,--noexecstack -fdata-sections -ffunction-sections -fstack-protector-strong --target=x86_64-linux-gnu' --extra-ldflags='-s -fuse-ld=lld -Wl,--gc-sections -Wl,--gc-sections --target=x86_64-linux-gnu' --extra-libs=-lrt --disable-stripping --enable-small --disable-outdevs --disable-filters --enable-filter='*null*,afade,*fifo,*format,*resample,aeval,allrgb,allyuv,atempo,pan,*bars,color,*key,crop,draw*,eq*,framerate,*_qsv,*_vaapi,*v4l2*,hw*,scale,volume,test*' --disable-muxers --disable-encoders --disable-decoders --disable-demuxers --enable-wolfssl --enable-decoder='*sub*,movtext,*web*,aac*,*ac3*,alac*,ape,ass,av1*,ccaption,cfhd,cook,dca,dnxhd,eac3*,exr,truehd,ff*,*yuv*,flv,flac,gif,h26[3-4]*,hevc*,hap,mp[1-3]*,prores,*peg*,mlp,mpl2,nellymoser,opus,pcm*,qtrle,*png*,tiff,rawvideo,rv*,sami,srt,ssa,v210*,vc1*,vorbis,vp[6-9]*,wm*,wrapped_avframe' --enable-demuxer='*sub*,*ac3,*ac,*peg*,*web*,au,ape,ass,avi,concat,dnxhd,dts*,*dash*,*flv,gif,hls,h264,hevc,kux,matroska,mov,mp3,mxf,ogg,pcm*,rawvideo,rt*p,spdif,srt,vc1,v210*,wav,*pipe,image2,mlv,nsv,nut' --enable-encoder='aac,cfhd,dnxhd,exr,ff*,*yuv*,gif,h26[3-4]*,av1*,hevc*,mjpeg*,*png,opus,pcm*,prores*,rawvideo,spdif,speedhq,*jpeg,*png,tiff,vp[8-9]*,wrapped_avframe,*nvenc,*qsv,*v4l2m2m,*vaapi,vorbis' --enable-muxer='*jpeg,dnxhd,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,og*,pcm*,rawvideo,spdif,*pipe,*segment,webm,wav,dash,nu*'
#MDK SDK : global option: ffmpeg.version = 6
#MDK SDK : avformat_version0x7a3b0e0f6961
#MDK SDK : Trying MediaIO FFmpeg for protocol ""
#MDK SDK : 0x7a3abc0016c0 open url: /Camera/PXL_20231031_150435498.mp4
#MDK SDK : 0x7a3abc0016c0 url opened
#MDK SDK : Selected avcodec runtime version: 60.38.100 (build: 60.38.100), license: LGPL version 2.1 or later
#MDK SDK : avcodec_descriptor_next0x7a3b0dd5d995
#MDK SDK : default 0x2ec59d0 FrameReader::update MediaStatus 0X2=>0X2
#MDK SDK : FFmpeg/Libav runtime git-2024-01-30-36a986d-avbuild
#MDK SDK : Selected avutil runtime version: 58.36.101 (build: 58.36.101), license: LGPL version 2.1 or later
#MDK SDK : global option: ffmpeg.configuration = --extra-version=avbuild --disable-doc --disable-debug --disable-static --enable-shared --enable-runtime-cpudetect --enable-libvpl --enable-libdrm --disable-postproc --ranlib=llvm-ranlib-18 --nm=llvm-nm-18 --ar=llvm-ar-18 --nvcc=clang-18 --toolchain=hardened --enable-cross-compile --target-os=linux --arch=amd64 --pkg-config=pkg-config --sysroot='$SYSROOT' --cc=clang-18 --enable-lto --enable-pic --extra-cflags='-Wa,--noexecstack -fdata-sections -ffunction-sections -fstack-protector-strong -I/home/runner/work/avbuild/avbuild/tools/Vulkan-Headers/include -I=/usr/include/libdrm -I/tmp/dep/include -Wa,--noexecstack -fdata-sections -ffunction-sections -fstack-protector-strong --target=x86_64-linux-gnu' --extra-ldflags='-s -fuse-ld=lld -Wl,--gc-sections -Wl,--gc-sections --target=x86_64-linux-gnu' --extra-libs=-lrt --disable-stripping --enable-small --disable-outdevs --disable-filters --enable-filter='*null*,afade,*fifo,*format,*resample,aeval,allrgb,allyuv,atempo,pan,*bars,color,*key,crop,draw*,eq*,framerate,*_qsv,*_vaapi,*v4l2*,hw*,scale,volume,test*' --disable-muxers --disable-encoders --disable-decoders --disable-demuxers --enable-wolfssl --enable-decoder='*sub*,movtext,*web*,aac*,*ac3*,alac*,ape,ass,av1*,ccaption,cfhd,cook,dca,dnxhd,eac3*,exr,truehd,ff*,*yuv*,flv,flac,gif,h26[3-4]*,hevc*,hap,mp[1-3]*,prores,*peg*,mlp,mpl2,nellymoser,opus,pcm*,qtrle,*png*,tiff,rawvideo,rv*,sami,srt,ssa,v210*,vc1*,vorbis,vp[6-9]*,wm*,wrapped_avframe' --enable-demuxer='*sub*,*ac3,*ac,*peg*,*web*,au,ape,ass,avi,concat,dnxhd,dts*,*dash*,*flv,gif,hls,h264,hevc,kux,matroska,mov,mp3,mxf,ogg,pcm*,rawvideo,rt*p,spdif,srt,vc1,v210*,wav,*pipe,image2,mlv,nsv,nut' --enable-encoder='aac,cfhd,dnxhd,exr,ff*,*yuv*,gif,h26[3-4]*,av1*,hevc*,mjpeg*,*png,opus,pcm*,prores*,rawvideo,spdif,speedhq,*jpeg,*png,tiff,vp[8-9]*,wrapped_avframe,*nvenc,*qsv,*v4l2m2m,*vaapi,vorbis' --enable-muxer='*jpeg,dnxhd,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,og*,pcm*,rawvideo,spdif,*pipe,*segment,webm,wav,dash,nu*'
#MDK SDK : av_dict_copy0x7a3b0e1706f6
#MDK SDK : before avformat_open_input. io: 0x7a3abc0016c0(FFmpeg/pb: 0x7a3abc017d00, url: /Camera/PXL_20231031_150435498.mp4
#MDK SDK : FFmpeg/Libav runtime git-2024-01-30-36a986d-avbuild
#MDK SDK : after avformat_open_input. pb: 0x7a3abc017d00, iformat: 0x7a3b0e257448 context flags: 2097280, input format flags: 67141640

## MyPreviewThread :: ERROR : 2 (0x7a3b1c226d30)
m_stopCondition.wakeOne()
m_loadCondition.wait()
#MDK SDK : Unsupported stream type: data, codec: unknown
#MDK SDK : supports 204 ffmpeg sw pixel formats. unsupported: uyyvyy411 rgb8 x2rgb10be x2bgr10be p212be p212le p412be p412le gbrap14be gbrap14le
#MDK SDK : Format: mov,mp4,m4a,3gp,3g2,mj2, range: 0 +30831ms, bitrate: 20140198, size: 0
Metadata:
  com.android.capture.fps: 30,000000
  com.android.model: Pixel 8 Pro
  location-eng: +48.5677+9.4058/
  location: +48.5677+9.4058/
  creation_time: 2023-10-31T15:05:10.000000Z
  minor_version: 131072
  com.android.manufacturer: Google
  compatible_brands: isomiso2mp41
  major_brand: isom
Streams: 3
 Video:
  stream#2, range: 0 +30831ms, frames: 925, rotation: 90
  codec: hevc tag: 'hvc1' profile: 1 level: 153, yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0, bitrate: 19893711, 1920x1080, fps: 30.002, bframes: 0, primaries: BT709, trc: BT709, matrix: BT709, range: Full
  extra data(109): 01 01 60 00 00 00 00 00 00 00 00 00 99 F0 00 FC FD F8 F8 00 00 0F 03 20 00 01 00 18 40 01 0C 01 FF FF 01 60 00 00 03 00 00 03 00 00 03 00 00 03 00 99 2C 09 21 00 01 00 27 42 01 01 01 60 00 00 03 00 00 03 00 00 03 00 00 03 00 99 A0 03 C0 80 11 07 CB A2 D2 BB 24 BB 9B 80 80 80 81 5C 50 A4 22 00 01 00 08 44 01 C0 66 7C 0C C6 40 
  Metadata:
   handler_name: VideoHandle
   vendor_id: [0][0][0][0]
   language: eng
   creation_time: 2023-10-31T15:05:10.000000Z
 Audio:
  stream#1, range: 0 +30808ms, frames: 1444
  codec: aac tag: 'mp4a' profile: 1 level: -99, sample size: 0/16, block align: 0, frame_size: 1024, f32p stereo(2) @48000Hz, bitrate: 191983
  extra data(2): 11 90 
  Metadata:
   handler_name: SoundHandle
   vendor_id: [0][0][0][0]
   language: eng
   creation_time: 2023-10-31T15:05:10.000000Z

#MDK SDK : default FrameReader0x2ec59d0 request to pause 1, loaded: 0.
#MDK SDK : default FrameReader0x2ec59d0 state: 0=>1=>2, 0
#MDK SDK : default FrameReader0x2ec59d0 state requested: 2, current: 0
#MDK SDK : AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Eingabe-/Ausgabefehler
#MDK SDK : 
#MDK SDK : default 0x2ec59d0 FrameReader::update MediaStatus 0X2=>0X4
#MDK SDK : ***buffering progress 0%***
#MDK SDK : default 0x2ec59d0 FrameReader::update MediaStatus 0X4=>0X14
#MDK SDK : AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Eingabe-/Ausgabefehler
#MDK SDK : 
#MDK SDK : ++++++++++++BUFFERING START++++++++++++
#MDK SDK : 
#MDK SDK : default FrameReader0x2ec59d0 state: 0=>2=>1, 1
#MDK SDK : default FrameReader0x2ec59d0 update state: 0=>1

PLAYER 2d14650 
#MDK SDK : default FrameReader0x2ec59d0 state: 1=>1=>2, 1
#MDK SDK : default FrameReader0x2ec59d0 update state: 1=>2

PLAYER 2d14650 
#MDK SDK : starting decode loop thread mdk.vdec2@134394035570368
#MDK SDK : video stream#2 starting decoding loop from decoder index 0...
#MDK SDK : default FrameReader0x2ec59d0 ignore unsupported video decoder MMAL
#MDK SDK : creating video decoder: VAAPI...
#MDK SDK : opening video decoder: VAAPI...
#MDK SDK : starting decode loop thread mdk.adec1@134393855215296
#MDK SDK : opening ffmpeg video decoder: hevc ...
#MDK SDK : audio stream#1 starting decoding loop from decoder index 0...
#MDK SDK : creating audio decoder: auto...
#MDK SDK : opening audio decoder: FFmpeg...
#MDK SDK : opening ffmpeg audio decoder: aac ...
#MDK SDK : 0x7a3a9c000c20mdk::NativeVideoBufferPool::NativeVideoBufferPool()
#MDK SDK : trying va from x11 display: 0x25748e0
#MDK SDK : AVCodec.Audio[aac.] decoder: 1 Single threads
#MDK SDK : aac f32p, stereo @48000Hz
#MDK SDK : ***buffering progress 100%***
#MDK SDK : default 0x2ec59d0 FrameReader::update MediaStatus 0X14=>0X124
#MDK SDK : AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Eingabe-/Ausgabefehler
#MDK SDK : 
#MDK SDK : ++++++++++++BUFFERING END++++++++++++
#MDK SDK : 
#MDK SDK : 0x7a3a9c000c20 VA-API INFO: VA-API version 1.20.0

#MDK SDK : audio stream#1 sending 1 invalid AOT frame @0,000000s. seeking: 0
#MDK SDK : 0x35b18e0 1st audio frame @0,000000
#MDK SDK : 0x35b18e0 seek end audio frame @0,000000 seek_pos_: -1, sync_ao_ 1
#MDK SDK : Selected avfilter runtime version: 9.17.100 (build: 9.17.100), license: LGPL version 2.1 or later
#MDK SDK : AudioRenderer format: f32, stereo @48000Hz, requested: f32p, stereo @48000Hz
#MDK SDK : AudioRenderer format changed and reinitialize
#MDK SDK : virtual bool mdk::AudioBackendALSA::close() @214
#MDK SDK : AudioBackendALSA ERROR@216>>> snd_pcm_drop(pcm_) (fffffffb): Eingabe-/Ausgabefehler
#MDK SDK : 
#MDK SDK : buffer time(us): 666~10922667, period time(us): 333~5461334, perdiods: 2~1024
#MDK SDK : snd_pcm_hw_params_set_buffer_time_near 85328
#MDK SDK : snd_pcm_hw_params_set_buffer_time_near ret 85333
#MDK SDK : buffer_size dt: 5333, request periods: 16
#MDK SDK : snd_pcm_hw_params_set_periods_near 16
#MDK SDK : snd_pcm_hw_params_set_periods_near ret 16
#MDK SDK : period size: 256, time: 5333
#MDK SDK : Using audio backend: ALSA
#MDK SDK : 0x35b18e0 ao opened: 1, reopen: 1, bad ao: 0
#MDK SDK : 0x7a3a980a34e8 filter graph: 
#MDK SDK : 
+-----------+
|    src    |default--[48000Hz fltp:stereo]--vol:default
| (abuffer) |
+-----------+

                                          +---------------+
swr:default--[48000Hz flt:stereo]--default|      dst      |
                                          | (abuffersink) |
                                          +---------------+

                                           +----------+
src:default--[48000Hz fltp:stereo]--default|   vol    |default--[48000Hz fltp:stereo]--swr:default
                                           | (volume) |
                                           +----------+

                                           +-------------+
vol:default--[48000Hz fltp:stereo]--default|     swr     |default--[48000Hz flt:stereo]--dst:default
                                           | (aresample) |
                                           +-------------+


#MDK SDK : bad delay. written: 80 - delay = -5
#MDK SDK : bad delay. written: 80 - delay = -5
#MDK SDK : >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 80, a: 0, delta: 80 +0,021333

########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
#MDK SDK : bad delay. written: 80 - delay = -5
#MDK SDK : 0x7a3a9c000c20 VA-API INFO: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so

#MDK SDK : 0x7a3a9c000c20 VA-API INFO: Found init function __vaDriverInit_1_20

#MDK SDK : 0x7a3a9c000c20 VA-API INFO: va_openDriver() returns 0

#MDK SDK : libva version: 1.20. Vendor: Mesa Gallium driver 24.0.5-1ubuntu1 for AMD Radeon RX 6800 XT (radeonsi, navi21, LLVM 17.0.6, DRM 3.57, 6.8.0-35-generic)
#MDK SDK : VAImageFormat.fcc: 0x3231564e 'NV12', lsb: 0, bpp: 0, depth: 0, mask: 0,0,0,0
#MDK SDK : VAImageFormat.fcc: 0x30313050 'P010', lsb: 0, bpp: 0, depth: 0, mask: 0,0,0,0
#MDK SDK : VAImageFormat.fcc: 0x36313050 'P016', lsb: 0, bpp: 0, depth: 0, mask: 0,0,0,0
#MDK SDK : VAImageFormat.fcc: 0x30323449 'I420', lsb: 0, bpp: 0, depth: 0, mask: 0,0,0,0
#MDK SDK : VAImageFormat.fcc: 0x32315659 'YV12', lsb: 0, bpp: 0, depth: 0, mask: 0,0,0,0
#MDK SDK : VAImageFormat.fcc: 0x56595559 'YUYV', lsb: 0, bpp: 0, depth: 0, mask: 0,0,0,0
#MDK SDK : VAImageFormat.fcc: 0x32595559 'YUY2', lsb: 0, bpp: 0, depth: 0, mask: 0,0,0,0
#MDK SDK : VAImageFormat.fcc: 0x59565955 'UYVY', lsb: 0, bpp: 0, depth: 0, mask: 0,0,0,0
#MDK SDK : VAImageFormat.fcc: 0x30303859 'Y800', lsb: 0, bpp: 0, depth: 0, mask: 0,0,0,0
#MDK SDK : VAImageFormat.fcc: 0x50343434 '444P', lsb: 0, bpp: 0, depth: 0, mask: 0,0,0,0
#MDK SDK : VAImageFormat.fcc: 0x50424752 'RGBP', lsb: 0, bpp: 0, depth: 0, mask: 0,0,0,0
#MDK SDK : VAImageFormat.fcc: 0x41524742 'BGRA', lsb: 1, bpp: 32, depth: 32, mask: 16711680,65280,255,4278190080
#MDK SDK : VAImageFormat.fcc: 0x41424752 'RGBA', lsb: 1, bpp: 32, depth: 32, mask: 255,65280,16711680,4278190080
#MDK SDK : VAImageFormat.fcc: 0x42475241 'ARGB', lsb: 1, bpp: 32, depth: 32, mask: 255,65280,16711680,4278190080
#MDK SDK : VAImageFormat.fcc: 0x58524742 'BGRX', lsb: 1, bpp: 32, depth: 24, mask: 16711680,65280,255,0
#MDK SDK : VAImageFormat.fcc: 0x58424752 'RGBX', lsb: 1, bpp: 32, depth: 24, mask: 255,65280,16711680,0
#MDK SDK : AVCodec.Video[hevc.] decoder: 1 Single threads
#MDK SDK : unsupported avcodec options:  hwcontext=vaapi
#MDK SDK : hevc yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0 1920x1080
#MDK SDK : decode stored recovery packets: 0
#MDK SDK : hevc codec pixel format list: (expected vaapi)
#MDK SDK : vaapi (selected)
#MDK SDK : vdpau
#MDK SDK : cuda
#MDK SDK : vulkan
#MDK SDK : yuvj420p
#MDK SDK : no sw format is requested, and no special option is required for hw frames context. using AVHWFramesContext created by avcodec
#MDK SDK : hwdec hw output pixel format: vaapi
#MDK SDK : video stream#2 sending 1 invalid AOT frame @0,000000s. seeking: 0
#MDK SDK : bad delay. written: 80 - delay = -5
#MDK SDK : 0x35b18e0 1st video frame to render @0,000000s, sync time: 0,080000
#MDK SDK : VideoRenderer clear buffered frames
#MDK SDK : 0-track seek end video frame @0,000000 seek_pos_: -1
#MDK SDK : bad delay. written: 80 - delay = -5
#MDK SDK : 0x35b18e0 1st video frame to render @0,000000s, sync time: 0,080000
#MDK SDK : bad delay. written: 80 - delay = -5
#MDK SDK : bad delay. written: 80 - delay = -5

PLAYER 2d14650 
#MDK SDK : VideoRenderer WxH=1540,000000x947,000000 1540,000000x947,000000, frame: 1920x1080
#MDK SDK : update transform 2d. scale: (0,345901, 1,000000), orientation: 0
#MDK SDK : m: mat<4, 4>(
#MDK SDK : 4.12483e-09  0.345901  0  0  
#MDK SDK : -1  1.19249e-08  0  0  
#MDK SDK : 0  0  1  0  
#MDK SDK : 0  0  0  1  
#MDK SDK : )
#MDK SDK : ThreadLocal<bool>::Data::Data() thread: 134395860180352
#MDK SDK : T *ThreadLocal<bool>::get() const allocate and initialize ThreadLocal data
#MDK SDK : ThreadLocal<UGL::opengl::Context::Config>::Data::Data() thread: 134395860180352
#MDK SDK : T *ThreadLocal<UGL::opengl::Context::Config>::get() const allocate and initialize ThreadLocal data
#MDK SDK : select gl api resolver for EGL|OpenGL|OpenGLES
#MDK SDK : ThreadLocal<std::function<void *(const char *)>>::Data::Data() thread: 134395860180352
#MDK SDK : T *ThreadLocal<std::function<void *(const char *)>>::get() const allocate and initialize ThreadLocal data
#MDK SDK : dso.load: libEGL.so.1test: true
#MDK SDK : libEGL.so.1 test load result (nil)...
#MDK SDK : ThreadLocal<std::unordered_map<const void *, std::unique_ptr<UGL::opengl::Context>>>::Data::Data() thread: 134395860180352
#MDK SDK : T *ThreadLocal<std::unordered_map<const void *, std::unique_ptr<UGL::opengl::Context>>>::get() const allocate and initialize ThreadLocal data
#MDK SDK : new Context object 0x3b68470(0) for native context handle 0x386ea30
#MDK SDK : ctx->api_: 0x2b6eee0
#MDK SDK : probing gl context... native: (nil)
#MDK SDK : select gl api resolver for EGL|OpenGL|OpenGLES
#MDK SDK : init: EGL runtime is not valid
#MDK SDK : resolving gl common functions...
#MDK SDK : select gl api resolver for OpenGL|OpenGLES
#MDK SDK : get_proc EGL runtime is not valid
#MDK SDK : ThreadLocal<void *(*)()>::Data::Data() thread: 134395860180352
#MDK SDK : T *ThreadLocal<void *(*)()>::get() const allocate and initialize ThreadLocal data
#MDK SDK : using opengl api resolver: GLX
#MDK SDK : probing gl client context... major_: 0
#MDK SDK : GL_VENDOR: AMD
#MDK SDK : GL_RENDERER: AMD Radeon RX 6800 XT (radeonsi, navi21, LLVM 17.0.6, DRM 3.57, 6.8.0-35-generic)
#MDK SDK : GL_VERSION: 4.6 (Compatibility Profile) Mesa 24.0.5-1ubuntu1
#MDK SDK : GL_SHADING_LANGUAGE_VERSION: 4.60
#MDK SDK : GLX_ARB_context_flush_control GLX_ARB_create_context GLX_ARB_create_context_no_error GLX_ARB_create_context_profile GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_ATI_pixel_format_float GLX_EXT_buffer_age GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_no_config_context GLX_EXT_swap_control GLX_EXT_swap_control_tear GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_INTEL_swap_event GLX_MESA_copy_sub_buffer GLX_MESA_gl_interop GLX_MESA_query_renderer GLX_MESA_swap_control GLX_NV_float_buffer GLX_OML_sync_control GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read GLX_SGI_swap_control GLX_SGI_video_sync GL_AMD_conservative_depth GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_framebuffer_multisample_advanced GL_AMD_multi_draw_indirect GL_AMD_performance_monitor GL_AMD_pinned_memory GL_AMD_query_buffer_object GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_shader_trinary_minmax GL_AMD_texture_texture4 GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_APPLE_packed_pixels GL_ARB_ES2_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_bindless_texture GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gl_spirv GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_indirect_parameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_post_depth_coverage GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_clock GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_stencil_export GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_texture_lod GL_ARB_shader_viewport_layer_array GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sparse_buffer GL_ARB_sparse_texture GL_ARB_sparse_texture2 GL_ARB_sparse_texture_clamp GL_ARB_spirv_extensions GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_filter_anisotropic GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_blend_equation_separate GL_ATI_draw_buffers GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_EGL_image_storage GL_EXT_EGL_sync GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_debug_label GL_EXT_demote_to_helper_invocation GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_separate_specular_color GL_EXT_shader_image_load_formatted GL_EXT_shader_image_load_store GL_EXT_shader_integer_mix GL_EXT_shader_samples_identical GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_EXT_texture_sRGB_decode GL_EXT_texture_shadow_lod GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_EXT_window_rectangles GL_IBM_multimode_draw_arrays GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_INTEL_blackhole_render GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_MESA_framebuffer_flip_y GL_MESA_pack_invert GL_MESA_shader_integer_functions GL_MESA_texture_const_bandwidth GL_MESA_texture_signed_rgba GL_MESA_window_pos GL_NVX_gpu_memory_info GL_NV_ES1_1_compatibility GL_NV_alpha_to_coverage_dither_control GL_NV_blend_square GL_NV_compute_shader_derivatives GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_clamp GL_NV_fog_distance GL_NV_half_float GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_primitive_restart GL_NV_shader_atomic_int64 GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_vdpau_interop GL_OES_EGL_image GL_OES_read_format GL_S3_s3tc GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays 
#MDK SDK : 16 bit texture channel depth: 16
#MDK SDK : OpenGL Context thread: 134395860180352
#MDK SDK : OpenGL4.6 Compatibility profile, EGL0, GLSL460
Features PBO: 1, RG texture: 1, 16bit texture: 1
#MDK SDK : resolving gl extensions...
#MDK SDK : select gl api resolver for OpenGL|OpenGLES
#MDK SDK : get_proc EGL runtime is not valid
#MDK SDK : using opengl api resolver: GLX
#MDK SDK : context version: 460
#MDK SDK : gl api resolved. thread@ 134395860180352
#MDK SDK : 
#MDK SDK : 0x3c117a0mdk::GLVideoRenderer::Private::Renderers::Renderers()
#MDK SDK : 0x3b68470/0x386ea30 Context::setLocalData local data 0x3962f10 for key: (nil). size: 1
#MDK SDK : 0x3b68470/0x386ea30 Context::setLocalData local data 0x3b7daa0 for key: 0x2. size: 2
#MDK SDK : Try VAAPI GL interop via X11

glXGetCurrentDisplay:0x25748e0, display from param: 0x25748e0
#MDK SDK : recreating GLXPixmap from pixmap75497508
#MDK SDK : VA-API error@787. vaPutSurface(display_, surface, pix , 0, 0, w, h , 0, 0, w, h , nullptr, 0, 0x00000000 | 0x00000020): 0x3 invalid VADisplay
#MDK SDK : xcb_dri3_pixmap_from_buffers_checked is missing in libxcb-dri3
#MDK SDK : unknown, bpc:0, bpp:0(), channels:(), map: 0 0 0 0 => host mapped nv12, bpc:8, bpp:12(8,16), channels:(1,2), map: 0 1 2 0
#MDK SDK : bpp 2, bpc: 8. gl texture parameters:
#MDK SDK :     R8 |   RED | UNSIGNED_BYTE
#MDK SDK :    RG8 |    RG | UNSIGNED_BYTE
#MDK SDK : texture created: 6
#MDK SDK : plane linesize 0: padded = 2048, effective = 1920. theoretical plane size: 1920x1080. coordinate crop: 0,937012
#MDK SDK : texture created: 7
#MDK SDK : plane linesize 1: padded = 2048, effective = 1920. theoretical plane size: 960x540. coordinate crop: 0,937012
#MDK SDK : crop_w=1,000000=>0,937012
#MDK SDK : frame color: BT709 BT709 BT709 Full. gamma: 2.200000, signal peak: 1.000000
#MDK SDK :  - 
#MDK SDK : output color: BT709 UNSPECIFIED RGB Full. gamma: 2.200000, signal peak: 1.000000
#MDK SDK : rgb primaries matrix: mat<3, 3>(
#MDK SDK : 1  0  0  
#MDK SDK : 0  1  0  
#MDK SDK : 0  0  1  
#MDK SDK : )
#MDK SDK : color transform: mat<4, 4>(
#MDK SDK : 1  0  1.5748  -0.7874  
#MDK SDK : 1  -0.187324  -0.468124  0.327724  
#MDK SDK : 1  1.8556  0  -0.9278  
#MDK SDK : 0  0  0  1  
#MDK SDK : )
#MDK SDK : EQ: mat<4, 4>(
#MDK SDK : 1  0  0  0  
#MDK SDK : 0  1  0  0  
#MDK SDK : 0  0  1  0  
#MDK SDK : 0  0  0  1  
#MDK SDK : )
#MDK SDK : texture 0: 2048x1080
#MDK SDK : texture 1: 1024x540

[1]    2468459 segmentation fault (core dumped)  LD_LIBRARY_PATH=/opt/XnView/lib QT_PLUGIN_PATH=/opt/XnView/lib  .
$ LD_LIBRARY_PATH=/opt/XnView/lib QT_PLUGIN_PATH=/opt/XnView/lib gdb /opt/XnView/XnView
$ (gdb) run

Code: Select all

######### CategoryModel :: checkAndSave()
############################################ InfoPropertiesView

Warnung: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/liblber.so.2
######### CategoryModel :: checkAndSave()
## onItemPressed
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such slot AbstractViewWindow::onPagePrevious()
QObject::connect: No such slot AbstractViewWindow::onPageNext()
QObject::connect: No such slot AbstractViewWindow::onPageFirst()
QObject::connect: No such slot AbstractViewWindow::onPageLast()
QObject::connect: No such slot AbstractViewWindow::onUseSmooth()
QObject::connect: No such slot AbstractViewWindow::onNormalize2()
QObject::connect: No such slot AbstractViewWindow::onAlign()
MENU install : 0x28dc110 
@@@@@@@@@@
Create window finished
==> 1540 
ThumbLoaderThread :: stop()
@@ BitmapResizeThread:: clear
MyView::change /home/cyb10101/Smartphone/DCIM/Camera/PXL_20231031_150435498.mp4 
OPEN player /home/cyb10101/Smartphone/DCIM/Camera/PXL_20231031_150435498.mp4
Warnung: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pipewire.so
Warnung: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-support.so
Warnung: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-journal.so
Warnung: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/spa-0.2/support/libspa-dbus.so
Warnung: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-rt.so
[New Thread 0x7fffaf4006c0 (LWP 2631396)]
Warnung: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-protocol-native.so
Warnung: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-client-node.so
Warnung: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-client-device.so
Warnung: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-adapter.so
Warnung: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-metadata.so
Warnung: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/pipewire-0.3/libpipewire-module-session-manager.so
[New Thread 0x7fffaea006c0 (LWP 2631397)]
[New Thread 0x7fffae0006c0 (LWP 2631398)]
[New Thread 0x7fffad6006c0 (LWP 2631412)]
[New Thread 0x7fffacc006c0 (LWP 2631413)]
[New Thread 0x7fffa3e006c0 (LWP 2631414)]
X11 display: 0x19678e0
[New Thread 0x7fffa34006c0 (LWP 2631415)]
[New Thread 0x7fffa2a006c0 (LWP 2631416)]
[New Thread 0x7fffa20006c0 (LWP 2631418)]
[New Thread 0x7fffa16006c0 (LWP 2631419)]
[New Thread 0x7fffa0c006c0 (LWP 2631420)]
[New Thread 0x7fff97e006c0 (LWP 2631421)]
QMDKWidget setMedia /home/cyb10101/Smartphone/DCIM/Camera/PXL_20231031_150435498.mp4
[New Thread 0x7fff974006c0 (LWP 2631422)]
resizeGL>>>>>dpr: 1.000000, logical dpi: (96.000000,96.000000), phy dpi: (92.891429,93.784615)
PLAYER 26ac350 
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
SORT the list...
STD::SORT... 0
  STL::SORT... 0
SORT the list... 0 
SORT the list... 0 
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(233)
[New Thread 0x7fff94c006c0 (LWP 2631423)]
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 2a642d0 
######ThumbLoaderThread :: forever : 2a642d0 
 ** start condition wait
Warnung: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libvdpau.so.1
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 2a642d0 
CHECK <0> 
######ThumbLoaderThread :: forever : 2a642d0 
 ** start condition wait
setCurrentFilename </home/cyb10101/Smartphone/DCIM/Camera/PXL_20231031_150435498.mp4>
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
### ThumbLoaderThread :: setFirstItemToLoad
 ** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
######ThumbLoaderThread :: forever 2 : 2a642d0 
CHECK <0> 
######ThumbLoaderThread :: forever : 2a642d0 
 ** start condition wait
PLAYER 26ac350 
[New Thread 0x7fff8be006c0 (LWP 2631435)]
PLAYER 26ac350 
[New Thread 0x7fff8b4006c0 (LWP 2631436)]
[New Thread 0x7fff8aa006c0 (LWP 2631437)]
[New Thread 0x7fff8a0006c0 (LWP 2631438)]
[New Thread 0x7fff896006c0 (LWP 2631440)]
Warnung: could not find '.gnu_debugaltlink' file for /usr/lib/x86_64-linux-gnu/spa-0.2/audioconvert/libspa-audioconvert.so
[New Thread 0x7fff88c006c0 (LWP 2631452)]
[New Thread 0x7fff7fe006c0 (LWP 2631453)]
[New Thread 0x7fff7f4006c0 (LWP 2631454)]
[New Thread 0x7fff7ea006c0 (LWP 2631455)]
[New Thread 0x7fff7e0006c0 (LWP 2631456)]
[New Thread 0x7fff7d6006c0 (LWP 2631457)]
[New Thread 0x7fff7cc006c0 (LWP 2631458)]
[New Thread 0x7fff73e006c0 (LWP 2631459)]
[New Thread 0x7fff734006c0 (LWP 2631460)]
[New Thread 0x7fff72a006c0 (LWP 2631461)]
[New Thread 0x7fff720006c0 (LWP 2631462)]
[New Thread 0x7fff716006c0 (LWP 2631463)]
[New Thread 0x7fff70c006c0 (LWP 2631464)]
[New Thread 0x7fff67e006c0 (LWP 2631465)]
[New Thread 0x7fff674006c0 (LWP 2631466)]
[New Thread 0x7fff66a006c0 (LWP 2631467)]
########################################
############### UPDATE MENU ############
########################################
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
[New Thread 0x7fff5be006c0 (LWP 2631482)]
[New Thread 0x7fff5b4006c0 (LWP 2631494)]
[New Thread 0x7fff5aa006c0 (LWP 2631496)]
[New Thread 0x7fff5a0006c0 (LWP 2631497)]
[New Thread 0x7fff596006c0 (LWP 2631498)]
[New Thread 0x7fff58c006c0 (LWP 2631499)]
[New Thread 0x7fff4fe006c0 (LWP 2631500)]
PLAYER 26ac350 
glXGetCurrentDisplay:0x19678e0, display from param: 0x19678e0

Thread 1 "XnView" received signal SIGSEGV, Segmentation fault.
__memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:265
Warnung: 265	../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Datei oder Verzeichnis nicht gefunden
$ LD_LIBRARY_PATH=/opt/XnView/lib QT_PLUGIN_PATH=/opt/XnView/lib gdb /opt/XnView/XnView
$ (gdb) backtrace

Code: Select all

#0  __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:265
#1  0x00007fffd5484134 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007fffd5b20ecb in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007fffd4f72871 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007fffd4f4464a in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007fffd4f47b43 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#6  0x00007fffd4f4e349 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#7  0x00007ffff7fa6c8a in ?? () from /opt/XnView/lib/libmdk.so.0
#8  0x00007ffff7f555c2 in ?? () from /opt/XnView/lib/libmdk.so.0
#9  0x00007ffff7f52e88 in ?? () from /opt/XnView/lib/libmdk.so.0
#10 0x00007ffff7f49754 in ?? () from /opt/XnView/lib/libmdk.so.0
#11 0x00007ffff7f4f5bb in ?? () from /opt/XnView/lib/libmdk.so.0
#12 0x00007ffff7f4e33b in ?? () from /opt/XnView/lib/libmdk.so.0
#13 0x00007ffff7f2355e in ?? () from /opt/XnView/lib/libmdk.so.0
#14 0x00007ffff57c1095 in QOpenGLWidgetPrivate::invokeUserPaint() () from /opt/XnView/lib/libQt5Widgets.so.5
#15 0x00007ffff57a1cd0 in QWidget::event(QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
#16 0x00007ffff57c213d in QOpenGLWidget::event(QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
#17 0x00007ffff57637ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
#18 0x00007ffff576a2b0 in QApplication::notify(QObject*, QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
#19 0x00007ffff18a0948 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/XnView/lib/libQt5Core.so.5
#20 0x00007ffff579a4c5 in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /opt/XnView/lib/libQt5Widgets.so.5
#21 0x00007ffff5773089 in QWidgetRepaintManager::paintAndFlush() () from /opt/XnView/lib/libQt5Widgets.so.5
#22 0x00007ffff5773bd8 in QWidgetRepaintManager::sync() () from /opt/XnView/lib/libQt5Widgets.so.5
#23 0x00007ffff579bb7f in QWidgetPrivate::syncBackingStore() () from /opt/XnView/lib/libQt5Widgets.so.5
#24 0x00007ffff57a1e50 in QWidget::event(QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
#25 0x00007ffff58ab9d1 in QMainWindow::event(QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
#26 0x00007ffff57637ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
#27 0x00007ffff576a2b0 in QApplication::notify(QObject*, QEvent*) () from /opt/XnView/lib/libQt5Widgets.so.5
#28 0x00007ffff18a0948 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/XnView/lib/libQt5Core.so.5
#29 0x00007ffff18a39c2 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/XnView/lib/libQt5Core.so.5
#30 0x00007ffff18fca63 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /opt/XnView/lib/libQt5Core.so.5
#31 0x00007ffff72905b5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007ffff72ef717 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007ffff728fa53 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ffff18fc0fc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/XnView/lib/libQt5Core.so.5
#35 0x00007ffff189f31a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/XnView/lib/libQt5Core.so.5
#36 0x00007ffff18a8323 in QCoreApplication::exec() () from /opt/XnView/lib/libQt5Core.so.5
#37 0x0000000000549953 in main ()
User avatar
Cyb10101
Posts: 4
Joined: Sat Jun 08, 2024 12:43 pm

Re: 1.7.2 Crash on playing videos

Post by Cyb10101 »

It is potentially due to the Wayland display server with fractional scaling 150% to 3840x2160 pixels and an external AMD graphics card.
In X11 without fractional scaling to 2560x1440 pixels it works.
I don't know if I want to test this further. But this should be enough of a starting point. Or to close this ticket. :(
User avatar
xnview
Author of XnView
Posts: 44009
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.7.2 Crash on playing videos

Post by xnview »

could you send the output of 'vainfo'?
Pierre.
User avatar
Cyb10101
Posts: 4
Joined: Sat Jun 08, 2024 12:43 pm

Re: 1.7.2 Crash on playing videos

Post by Cyb10101 »

vainfo on X11 and Wayland Display Server:

Code: Select all

libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 24.0.5-1ubuntu1 for AMD Radeon RX 6800 XT (radeonsi, navi21, LLVM 17.0.6, DRM 3.57, 6.8.0-35-generic)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileAV1Profile0            :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc
User avatar
xnview
Author of XnView
Posts: 44009
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.7.2 Crash on playing videos

Post by xnview »

could you try with QT_XCB_GL_INTEGRATION=xcb_egl
Pierre.
User avatar
Cyb10101
Posts: 4
Joined: Sat Jun 08, 2024 12:43 pm

Re: 1.7.2 Crash on playing videos

Post by Cyb10101 »

Code: Select all

QT_XCB_GL_INTEGRATION=xcb_egl LD_LIBRARY_PATH=/opt/XnView/lib QT_PLUGIN_PATH=/opt/XnView/lib /opt/XnView/XnView
It is working on Wayland. :D