XNViewMP hangs on Linux after video in viewer or full screnn

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

Moderators: XnTriq, helmut, xnview

argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

Double checked with 1.6.4, problem persists under Wayland
User avatar
xnview
Author of XnView
Posts: 44449
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by xnview »

if you try to set

Code: Select all

QT_XCB_GL_INTEGRATION=xcb_egl
?
Pierre.
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

Same problem with QT_XCB_GL_INTEGRATION=xcb_egl

BTW: I get no preview thumbnails for video files, just white placeholders, maybe that is relevant?
User avatar
xnview
Author of XnView
Posts: 44449
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by xnview »

argumon wrote: Tue Jan 23, 2024 5:18 pm Same problem with QT_XCB_GL_INTEGRATION=xcb_egl

BTW: I get no preview thumbnails for video files, just white placeholders, maybe that is relevant?
but do you have crashs?
Pierre.
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

Yes, no thumbnail previews and when I click on any video, it crashes.
sen
Posts: 2
Joined: Wed Jan 24, 2024 8:01 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by sen »

I have the same issue on wayland, except that the video thumbnails are working.
The Program crashes when a video file is selected in the browser or when you switch to a video file in view mode.

Image and audio files are working fine. Thumbnails are being generated and displayed, even for video files.

Version:
  • xnviewmp 1.6.4
  • Linux 6.7.0 x86_64
  • plasma (KDE) 5.27.10
  • wayland 1.22.0
  • ffmpeg 2:6.1.1
Logs:
User avatar
xnview
Author of XnView
Posts: 44449
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by xnview »

sen wrote: Wed Jan 24, 2024 8:24 pm I have the same issue on wayland, except that the video thumbnails are working.
The Program crashes when a video file is selected in the browser or when you switch to a video file in view mode.

Image and audio files are working fine. Thumbnails are being generated and displayed, even for video files.
Do you have tried with QT_XCB_GL_INTEGRATION=xcb_egl?
Pierre.
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

Yes, I added it to xnview.sh, but that did not help.
sen
Posts: 2
Joined: Wed Jan 24, 2024 8:01 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by sen »

xnview wrote: Thu Jan 25, 2024 12:51 pm
sen wrote: Wed Jan 24, 2024 8:24 pm I have the same issue on wayland, except that the video thumbnails are working.
The Program crashes when a video file is selected in the browser or when you switch to a video file in view mode.

Image and audio files are working fine. Thumbnails are being generated and displayed, even for video files.
Do you have tried with QT_XCB_GL_INTEGRATION=xcb_egl?
Yes, same crash. I see no difference in the logs.

Updated Logs: Packages tested: The crash while selecting a video in the browser tab only occurred because of the preview window.
When configuring xnview to skip the internal video playback it doesn't crash:
  • File list > Custom filter > Video > Associated program
  • View > Filter > Video > unchecked
  • no preview panel
The info panel shows the video file details, thumbnails are working fine and the files open in mpv.
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

sen wrote: Fri Jan 26, 2024 2:07 am The crash while selecting a video in the browser tab only occurred because of the preview window.
When configuring xnview to skip the internal video playback it doesn't crash:
  • File list > Custom filter > Video > Associated program
  • View > Filter > Video > unchecked
  • no preview panel
The info panel shows the video file details, thumbnails are working fine and the files open in mpv.
I closed the preview pane, before clicking on a video file, but still got the crash.
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

Checked with 1.6.5, problem still persists, QT_XCB_GL_INTEGRATION=xcb_egl is set.
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

Just installed KDE 6 with the Tumbleweed Update, where Wayland is the default. Unfortunately, the problem still exists
User avatar
xnview
Author of XnView
Posts: 44449
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by xnview »

argumon wrote: Mon Mar 25, 2024 8:24 am Just installed KDE 6 with the Tumbleweed Update, where Wayland is the default. Unfortunately, the problem still exists
Please wait the 1.7.0, i've updated the video engine...
Pierre.
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

xnview wrote: Wed Mar 27, 2024 7:02 am Please wait the 1.7.0, i've updated the video engine...
Great, many thanks in advance
argumon
Posts: 49
Joined: Sun Mar 10, 2013 9:02 pm

Re: XNViewMP hangs on Linux after video in viewer or full screnn

Post by argumon »

Just tried it, but sorry, still the same problem. Works perfect under X11, crashing on first click on a video file under Wayland.
I'll send you the logs.