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

User avatar
xnview
Author of XnView
Posts: 44451
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: Fri Mar 29, 2024 3:34 pm 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.
the author of MDK is not able to reproduce on Wayland. Do you have tried without

Code: Select all

useInternalVideoPlayer=false
on Wayland?
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 »

I added export useInternalVideoPlayer=false to _xnview.sh and run it, but that did not make any difference, crash on 1st click on any video file.
But I can play these videos with all other video players, I have on my system (eg. VLC, Dragon, Haruna)
User avatar
xnview
Author of XnView
Posts: 44451
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 Apr 02, 2024 8:50 am I added export useInternalVideoPlayer=false to _xnview.sh and run it, but that did not make any difference, crash on 1st click on any video file.
But I can play these videos with all other video players, I have on my system (eg. VLC, Dragon, Haruna)
no sorry in xnview.ini
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 »

Oh, that worked much better. I get no thumbnails, just the white boxes. But the video plays in the preview pane and opening it, it plays in a tab. Only when I do F11 for full screen, I get a black screen, then sometimes a glimpse of the video, than black again.
But no crashes anymore!
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 »

That video mode change is not a video problem. Even when I go full screen on images, my screen gets black, my monitor clicks like changing modes or going to sleep. But after a few seconds, the image is full screen and then I can step through all images and videos in that folder.
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 »

argumon wrote: Fri Apr 05, 2024 6:42 am That video mode change is not a video problem. Even when I go full screen on images, my screen gets black, my monitor clicks like changing modes or going to sleep. But after a few seconds, the image is full screen and then I can step through all images and videos in that folder.
OK, that has been a generic KDE on Wayland problem, that other players like VLC also have. After fixing that in KDE settings, Video runs great in XNViewMP.

Thanks a lot for the excellent work!
User avatar
Akovia
Posts: 136
Joined: Sat Apr 02, 2011 2:10 am

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

Post by Akovia »

After fixing that in KDE settings, Video runs great in XNViewMP
Did you mean in xnviewmp.ini?

Just curious what the outlook is on this, or if anyone know which bugs to follow and where.
Setting

Code: Select all

useInternalVideoPlayer=false
does prevent the freezing when launching other players (Haruna in my case), but I really rely on seeing the video thumbs, so this isn't a long term solution.

Just trying to get more info.
Thanks!
Arch Linux
XnView MP
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 »

Akovia wrote: Mon Jun 24, 2024 8:37 pm Did you mean in xnviewmp.ini?
In the System Settings application under Display Configuration I disabled Adaptive Sync (Never)
User avatar
Akovia
Posts: 136
Joined: Sat Apr 02, 2011 2:10 am

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

Post by Akovia »

argumon wrote: Tue Jul 16, 2024 9:32 am
Akovia wrote: Mon Jun 24, 2024 8:37 pm Did you mean in xnviewmp.ini?
In the System Settings application under Display Configuration I disabled Adaptive Sync (Never)
Thanks for the tip, but that doesn't seem to be an option on my system.

Plasma: 6.1.2
Kernel: 6.9.9-arch1-1 (64-bit)
Card: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
Driver: nvidia 555.58.02-3

Image
Arch Linux
XnView MP
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 »

Akovia wrote: Tue Jul 16, 2024 12:20 pm Thanks for the tip, but that doesn't seem to be an option on my system.
That is an external monitor? Maybe you can disable FreeSync or whatever on that device?
User avatar
Akovia
Posts: 136
Joined: Sat Apr 02, 2011 2:10 am

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

Post by Akovia »

argumon wrote: Tue Jul 16, 2024 1:16 pm That is an external monitor?
It's my only monitor if that's what you mean.

From what I'm gathering here. FreeSync is for AMD GPUs, and G-Sync is for Nvidia. I'm using the nvidia driver, but somehow it's not supported on my system.

Image

I'll keep reading, but it seems like there is a bug somewhere that someone should address, but hopefully I can find a workaround like you did until they can get it fixed.
Arch Linux
XnView MP
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 »

Akovia wrote: Tue Jul 16, 2024 1:42 pm From what I'm gathering here. FreeSync is for AMD GPUs, and G-Sync is for Nvidia. I'm using the nvidia driver, but somehow it's not supported on my system.

I'll keep reading, but it seems like there is a bug somewhere that someone should address, but hopefully I can find a workaround like you did until they can get it fixed.
Hm, I had that problem on a desktop PC running OpenSuse Tumbleweed with an AMD GPU. My Laptop running Manjaro with an Nvidia 3060 and the proprietary drivers does not have that problem. But that is a fresh installation where I did not try XnviewMP < 1.7.
User avatar
Akovia
Posts: 136
Joined: Sat Apr 02, 2011 2:10 am

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

Post by Akovia »

So I did some digging and it seems this monitor never supported G-Sync or FreeSync, so it appears our problems are different.
I'm glad you were able to get a fix for yourself, but it seems I'll just have to wait. Hopefully your tip can help someone else though.

Thanks!
Arch Linux
XnView MP