Open pierrexn opened 2 months ago
vaapi again? show me the log. I can't see which function in my library crashes
here is logs.txt
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))
#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
recommend to use egl in wayland. can't know the reason from the log
by using QT_XCB_GL_INTEGRATION=xcb_egl?
yes
the latest build should fix the crash, previously x11 display is used by vaapi, now drm is preferred. But I still recommend you to use egl, it's used on ubuntu at least 8 years irrc. Is your app run in x11 or wayland? I tested qt6.4 on ubuntu24.04 in wayland environment, qt app default platform is wayland (libqwayland-generic.so), and egl is always used in wayland. If i run application with -platform xcb
, glx is used and environment var QT_XCB_GL_INTEGRATION=xcb_egl
can let qt use egl. the default platform plugin can be different on other OSes.
With 0.25 version, some users have crashes on wayland when trying to play video file
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
`#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`
here vainfo: 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