Crash on video playback

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, xnview

Post Reply
silverant2
Posts: 1
Joined: Fri Nov 28, 2025 7:44 pm

Crash on video playback

Post by silverant2 »

XnViewMP crashes when attempting to play any video file. The video area appears transparent, and after about a second the program crashes. Thumbnails for video files are also not generated.

- OS: Arch Linux (kernel 6.17.8-arch1-1)
- Display Server: Wayland (Hyprland compositor)
- XnViewMP Version: 1.9.5-1

Log output with debug=2 shows:

Code: Select all

0.33.1 (git 8da6cdd) - Multimedia Development Kit. Copyright (c) 2016-2025 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: arch/ 4KB x86_64; glibc2.24/2.42 libc++210000; Clang21.0.0 (++20250702083737+272576543246-1~exp1~20250702203908.1008); 15:48:47 Jul  5 2025. 
==> 1.000000  1.000000  122.303396  96.000000  (0)
XNVIEW restoreGeometry before : 640 480 
XNVIEW restoreGeometry after : 1280 705 
ARG[] = /opt/xnviewmp/XnView
#### onCurrentChanged 0 
QMDKWidget setMedia /mnt/storage/2025-11-24_01-25-51.mp4 
QMDKWidget play
#### onCurrentChanged 0 
### CRASH ###
### CRASH ###
[...continues indefinitely, prints about 500,000 crash lines per second]
I didn't have any success with the following workarounds:
- QT_XCB_GL_INTEGRATION=xcb_egl
- QT_XCB_GL_INTEGRATION=none
- LIBVA_DRIVER_NAME=null
- VDPAU_DRIVER=null
- QT_QPA_PLATFORM=xcb (resulted in black screen instead of crash)
- LIBGL_ALWAYS_SOFTWARE=1
- Various combinations of the above

I currently have useInternalVideoPlayer=false in xnview.ini which prevents the crash, but completely disables video playback and thumbnail generation.

Thank you to anyone who may take time to look at this. I really enjoy XnViewMP over other software I've tried.
Post Reply