I have the same problem on gnome Debian 12 except that it runs in a Wayland session, but in X11 mode. Install through apt-get.
Here what happens when starting it normally:
Code: Select all
xnview
MDK 0.20.0 (git f265269) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang16.0.0 (++20230301033254+f53ab957ead2-1~exp1~20230301153357.42)GCC4.2.1; libc++160000; 13:53:46 Mar 2 2023
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
==> 1.000000 1.000000 88.900000 96.000000 (0)
XNVIEW restoreGeometry before : 640 480
XNVIEW restoreGeometry after : 850 620
w.init
XNVIEW SIZE 850 620
########### BrowserWindow :: BrowserWindow
libpng warning: iCCP: known incorrect sRGB profile
MENU install : 0x39cc920
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
libpng warning: iCCP: known incorrect sRGB profile
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'
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'
########### BrowserWindow :: ok create (640 480)
###### CHECK CHILDRENS 0
###### CHECK CHILDRENS ok (0)
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'
BrowserWindow :: changeVisibility()
BrowserWindow :: changeVisibility()
BrowserWindow :: changeVisibility()
########### BrowserWindow :: restoreState (850 620)
ThumbLoaderThread :: stop()
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'
BrowserWindow :: restoreState => 850 620
=> 588 372
BrowserWindow :: restoreState ok => 588 372
XNVIEW SIZE ok 850 620
###### CHECK CHILDRENS 0
###### CHECK CHILDRENS ok (0)
w.start
### BrowserWindow :: onStart go
#### onFavoriteDockVisible (1)
BookmarkNode::BookmarkNode : 0x3dac950
#### onCategoryFilterDockVisible (1)
libpng warning: iCCP: known incorrect sRGB profile
#### onCategoryDockVisible (1)
########### BrowserWindow :: restoreState (1680 917)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 1680 917
=> 1418 558
BrowserWindow :: restoreState ok => 1418 558
### BrowserWindow :: onStart
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
BrowserWindow :: onStart 2
setPathname </home/work/Pictures/Screenshots/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 3ace420
######ThumbLoaderThread :: forever : 3ace420
** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
## OPEN FOLDER
######ThumbLoaderThread :: forever 2 : 3ace420
CHECK <0>
######ThumbLoaderThread :: forever : 3ace420
** start condition wait
## Check folder
## Check companion 0
## Check companion ok 0
## OPEN DB FOLDER ok 0
## UPDATE DB FOLDER ok 0
## OPEN FOLDER ok 0
## updateLabel 0
## updateLabels ok 0
ThumbLoaderThread :: stop()
SORT the list...
STD::SORT... 0
STL::SORT... 0
SORT the list... 0
SORT the list... 0
BitmapLoadThread :: stop()
QObject::disconnect: No such signal CategoryView::selectionChanged(const DBFilterModel::DBFileList&)
QObject::connect: No such signal CategoryView::selectionChanged(const DBFilterModel::DBFileList&)
Create children /home/work/
Create children /home/work/Pictures/
Create children /home/work/Pictures/Screenshots/
## UPDATE ==> (Screenshots)
## OPEN FOLDER done 10
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(14)
ThumbLoaderThread :: stop()
** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 3ace420
CHECK <14>
### BrowserWindow :: finish
### START 14
######ThumbLoaderThread :: start : 14 -1 -1
LOAD BITMAP </home/work/Pictures/Screenshots/Screenshot from 2023-06-04 21-04-44.png>
sizeHints : 128
GFF :: LoadThumbnail : 192 108 (0)
LOADED & CREATED
BLOB length 100
LOAD BITMAP </home/work/Pictures/Screenshots/Screenshot from 2023-06-04 21-21-05.png>
GFF :: LoadThumbnail : 192 40 (0)
LOADED & CREATED
######ThumbLoaderThread :: forever : 3ace420
** start condition wait
######### CategoryModel :: checkAndSave()
SAVE : 1680 917
BrowserWindow :: saveState => 1680 917
=> 1418 558
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
######ThumbLoaderThread :: run : 3ace420 OK
QMutex: destroying locked mutex
BitmapLoadThread :: stop()
BookmarkNode::~BookmarkNode : 0x3dac950
If I follow the instruction and force it to run Wayland
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
then the same client buffer error happens :
Code: Select all
QT_QPA_PLATFORM=wayland xnview
MDK 0.20.0 (git f265269) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang16.0.0 (++20230301033254+f53ab957ead2-1~exp1~20230301153357.42)GCC4.2.1; libc++160000; 13:53:46 Mar 2 2023
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
==> 1.000000 1.000000 88.566417 96.000000 (0)
XNVIEW restoreGeometry before : 640 480
qt.qpa.wayland: Failed to load client buffer integration: "wayland-egl"
qt.qpa.wayland: Available client buffer integrations: ()
XNVIEW restoreGeometry after : 850 620
w.init
XNVIEW SIZE 850 620
########### BrowserWindow :: BrowserWindow
libpng warning: iCCP: known incorrect sRGB profile
MENU install : 0x2390500
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
libpng warning: iCCP: known incorrect sRGB profile
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'
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'
########### BrowserWindow :: ok create (640 480)
###### CHECK CHILDRENS 0
###### CHECK CHILDRENS ok (0)
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'
BrowserWindow :: changeVisibility()
BrowserWindow :: changeVisibility()
BrowserWindow :: changeVisibility()
########### BrowserWindow :: restoreState (850 620)
ThumbLoaderThread :: stop()
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'
BrowserWindow :: restoreState => 850 620
=> 588 372
BrowserWindow :: restoreState ok => 588 372
XNVIEW SIZE ok 850 620
###### CHECK CHILDRENS 0
###### CHECK CHILDRENS ok (0)
qt.qpa.wayland: No shell integration named "xdg-shell" found
qt.qpa.wayland: No shell integration named "xdg-shell-v6" found
qt.qpa.wayland: No shell integration named "wl-shell" found
qt.qpa.wayland: No shell integration named "ivi-shell" found
qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells ("xdg-shell", "xdg-shell-v6", "wl-shell", "ivi-shell")
w.start
### BrowserWindow :: onStart go
#### onFavoriteDockVisible (1)
BookmarkNode::BookmarkNode : 0x2730500
#### onCategoryFilterDockVisible (1)
libpng warning: iCCP: known incorrect sRGB profile
#### onCategoryDockVisible (1)
########### BrowserWindow :: restoreState (850 588)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 850 588
=> 588 229
BrowserWindow :: restoreState ok => 588 229
### BrowserWindow :: onStart
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
BrowserWindow :: onStart 2
setPathname </home/work/Pictures/Screenshots/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 24e8f90
######ThumbLoaderThread :: forever : 24e8f90
** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
## OPEN FOLDER
######ThumbLoaderThread :: forever 2 : 24e8f90
CHECK <0>
######ThumbLoaderThread :: forever : 24e8f90
** start condition wait
## Check folder
## Check companion 0
## Check companion ok 0
## OPEN DB FOLDER ok 0
## UPDATE DB FOLDER ok 0
## OPEN FOLDER ok 0
## updateLabel 0
## updateLabels ok 0
ThumbLoaderThread :: stop()
SORT the list...
STD::SORT... 0
STL::SORT... 0
SORT the list... 0
SORT the list... 0
BitmapLoadThread :: stop()
QObject::disconnect: No such signal CategoryView::selectionChanged(const DBFilterModel::DBFileList&)
QObject::connect: No such signal CategoryView::selectionChanged(const DBFilterModel::DBFileList&)
Create children /home/work/
Create children /home/work/Pictures/
Create children /home/work/Pictures/Screenshots/
## UPDATE ==> (Screenshots)
###### CHECK CHILDRENS 8
dataChanged2 ==> 1 (Desktop) -> 7 (Templates)
###### CHECK CHILDRENS ok (2)
## OPEN FOLDER done 6
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(14)
ThumbLoaderThread :: stop()
** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 24e8f90
CHECK <14>
### BrowserWindow :: finish
### START 14
######ThumbLoaderThread :: start : 14 -1 -1
sizeHints : 128
######ThumbLoaderThread :: forever : 24e8f90
** start condition wait
sizeHints : 128
### ThumbLoaderThread :: setFirstItemToLoad
** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
######ThumbLoaderThread :: forever 2 : 24e8f90
CHECK <0>
######ThumbLoaderThread :: forever : 24e8f90
** start condition wait
It never starts then.
Going by
qt.qpa.wayland: Attempted to load the following shells ("xdg-shell", "xdg-shell-v6", "wl-shell", "ivi-shell")
I think I found the requested shells though under /usr/lib/x86_64-linux-gnu/qt5/plugins/wayland-shell-integration/
file:///usr/lib/x86_64-linux-gnu/qt5/plugins/wayland-shell-integration/libivi-shell.so
file:///usr/lib/x86_64-linux-gnu/qt5/plugins/wayland-shell-integration/libwl-shell.so
file:///usr/lib/x86_64-linux-gnu/qt5/plugins/wayland-shell-integration/libxdg-shell.so
file:///usr/lib/x86_64-linux-gnu/qt5/plugins/wayland-shell-integration/libxdg-shell-v5.so
file:///usr/lib/x86_64-linux-gnu/qt5/plugins/wayland-shell-integration/libxdg-shell-v6.so
I am not too knowledgeable about linux, but doesn't that indicate that these shell-integrations actually exist but xnview for some reason doesn't find them?
The following packages and its dependencies concerning QT have been installed:
qtwayland5
I also tried adding these 2, no difference
qt5-gtk-platformtheme
qt6-gtk-platformtheme
The only other thought I have is that this is a fresh Debian installation that is very barebone without any software, not even system tools. For some reason it has a hard time to make apps run Wayland out of the box, I had to force many apps to run Wayland through setting and everionment variables, otherwise they prefer xWayland despite it being a Wayland session. Maybe something is missing which makes apps default to X11 despite it being a Wayland session.
In my opinion related observations to the Wayland issue and it running on X11:
1) XnView has no cursor in fullscreen. It functionally exists, but is not visible. That issue exists for all apps running on xWayland/X11 on my system. Once they run on Wayland the issue disappears.
2) Cropping images does not work, I can't draw with the rectangle mouse. I need to enter the coordinates of where to crop manually in the fields on top. The mouse seems to have no function in the image part of the window.
3) Watching videos fully crashes the computer, everything becomes unresponsive, the video never loads.
To me 1 and 2 at least are probably related to it running on X11 instead of Wayland. I assume 3 is related to it to, this Debian install doesn't take kindly to any app running X11 which tries to do anything visual or mouse related.