Xnview Kubuntu Wayland client buffer integration

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

Moderators: helmut, XnTriq, xnview

Post Reply
sacharja
Posts: 42
Joined: Sat Nov 01, 2008 5:39 pm

Xnview Kubuntu Wayland client buffer integration

Post by sacharja »

Hi,

got the following issue:
when using the deb file in a standard Kubungu 23.04 Wayland session, I just get the error "dependencies cannot be satisfied". After using the tar archive and executing ./xnview.sh , I get the following:

Code: Select all

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
qt.qpa.wayland: Failed to load client buffer integration: "wayland-egl"
qt.qpa.wayland: Available client buffer integrations: ()
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")
  
Does anyone have and idea what I'm missing here?
sacharja
Posts: 42
Joined: Sat Nov 01, 2008 5:39 pm

Re: Xnview Kubuntu Wayland client buffer integration

Post by sacharja »

According to https://github.com/pyinstaller/pyinstaller/issues/6483 it's because "the Wayland Qt plugins are not included, so only Xorg is supported. If you do not force wayland to be ignored (unset WAYLAND_DISPLAY or set QT_QPA_PLATFORM=xcb) you get the error message".

Any chance to include the wayland QT plugins in the next version? Wayland can be tested in Kubuntu via settings > start & shutdown > behavior > automatically login with wayland
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Xnview Kubuntu Wayland client buffer integration

Post by xnview »

do you have checked this post
Pierre.
sacharja
Posts: 42
Joined: Sat Nov 01, 2008 5:39 pm

Re: Xnview Kubuntu Wayland client buffer integration

Post by sacharja »

Thanks, but all listed dependencies there are already installed. Installing the deb via console also works fine without error message:
sudo dpkg -i 1.deb
(Lese Datenbank ... 284934 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von 1.deb ...
Entpacken von xnview (1.4.5) über (1.4.5) ...
xnview (1.4.5) wird eingerichtet ...
Trigger für desktop-file-utils (0.26-1ubuntu5) werden verarbeitet ...
Trigger für mailcap (3.70+nmu1ubuntu1) werden verarbeitet ...
sacharja
Posts: 42
Joined: Sat Nov 01, 2008 5:39 pm

Re: Xnview Kubuntu Wayland client buffer integration

Post by sacharja »

BTW: in the same plain Kubuntu xnview is working well in an x session. But as soon as Kubuntu is being restarted in wayland xnview fails to start, so I guess this is indeed related to some missing wayland stuff (maybe it's working in plain Ubuntu because it's running there as xwayland).

EDIT: Setting this env leads to some progress when starting xnview from the console, but still no GUI visible and still the dependency error in qapt:

Code: Select all

export QT_QPA_PLATFORM="wayland;xcb" #workaround for xnview from https://wiki.archlinux.org/title/wayland

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
==> 2,000000 2,000000 153,624643 96,000000 (1)
XNVIEW restoreGeometry before : 640 480
XNVIEW restoreGeometry after : 640 480
w.init
XNVIEW SIZE 640 480


########### BrowserWindow :: BrowserWindow

libpng warning: iCCP: known incorrect sRGB profile
MENU install : 0x1bdd760
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'
########### BrowserWindow :: ok create (640 480)
BrowserWindow :: changeVisibility()
BrowserWindow :: changeVisibility()
BrowserWindow :: changeVisibility()
########### BrowserWindow :: restoreState (640 480)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 640 480
=> 378 232
BrowserWindow :: restoreState ok => 378 232
XNVIEW SIZE ok 640 480
qt.qpa.wayland: Failed to load client buffer integration: "wayland-egl"
qt.qpa.wayland: Available client buffer integrations: ()
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 : 0x20b1b40
#### onCategoryFilterDockVisible (1)
libpng warning: iCCP: known incorrect sRGB profile
#### onCategoryDockVisible (1)
########### BrowserWindow :: restoreState (952 598)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 952 598
=> 690 239
BrowserWindow :: restoreState ok => 690 239
### 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/ss/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 1d85b40
######ThumbLoaderThread :: forever : 1d85b40
** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 1d85b40
CHECK <0>
######ThumbLoaderThread :: forever : 1d85b40
** start condition wait
## OPEN FOLDER
## 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 1
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/ss/
## OPEN FOLDER done 5
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(13)
ThumbLoaderThread :: stop()
** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 1d85b40
CHECK <13>
### START 13
######ThumbLoaderThread :: start : 13 -1 -1
### BrowserWindow :: finish
LOAD BITMAP </home/ss/sudo>
my_error_exit...<Not a JPEG file: starts with 0x46 0x65>
GFF :: LoadThumbnail : 0 0 (2)
ThumbLoaderThread - ADD into DB (13)
BLOB length 75
sizeHints : 128
######ThumbLoaderThread :: forever : 1d85b40
** start condition wait
sizeHints : 128
### ThumbLoaderThread :: setFirstItemToLoad
** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
######ThumbLoaderThread :: forever 2 : 1d85b40
CHECK <0>
######ThumbLoaderThread :: forever : 1d85b40
** start condition wait 
Last edited by sacharja on Mon Jun 05, 2023 9:33 pm, edited 1 time in total.
pont
Posts: 1
Joined: Sun Jun 04, 2023 8:05 pm

Re: Xnview Kubuntu Wayland client buffer integration

Post by pont »

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.
sacharja
Posts: 42
Joined: Sat Nov 01, 2008 5:39 pm

Re: Xnview Kubuntu Wayland client buffer integration

Post by sacharja »

>I also tried adding these 2, no difference
Thanks, also thought about trying that one.

>Maybe something is missing which makes apps default to X11 despite it being a Wayland session.
you can put the following in your ~/.profile and it defaults to wayland and falls back to x11 if wayland is not working:

Code: Select all

export QT_QPA_PLATFORM="wayland;xcb"
Guess that xnview is never running as native wayland application, only as xWayland if it all possible.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Xnview Kubuntu Wayland client buffer integration

Post by xnview »

ok, it will be fixed in next release...
Pierre.
sacharja
Posts: 42
Joined: Sat Nov 01, 2008 5:39 pm

Re: Xnview Kubuntu Wayland client buffer integration

Post by sacharja »

wow, that would be awesome (BTW: Kubuntu / KDE will default to wayland for the next release end of the year)
sacharja
Posts: 42
Joined: Sat Nov 01, 2008 5:39 pm

Re: Xnview Kubuntu Wayland client buffer integration

Post by sacharja »

Seems v1.5.0 deb is still not working with wayland. However, I found that the flatpak is currently working in Kubuntu Wayland ;)
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Xnview Kubuntu Wayland client buffer integration

Post by xnview »

sacharja wrote: Sat Jul 15, 2023 12:01 am Seems v1.5.0 deb is still not working with wayland. However, I found that the flatpak is currently working in Kubuntu Wayland ;)
always a problem?
Pierre.
sacharja
Posts: 42
Joined: Sat Nov 01, 2008 5:39 pm

Re: Xnview Kubuntu Wayland client buffer integration

Post by sacharja »

xnview wrote: Sat Jul 15, 2023 5:33 am always a problem?
Currently WORKING in Kubuntu 23.04 Wayland:
XnView MP 1.5.2: https://download.xnview.com/XnView_MP.g ... 4.AppImage
XnView MP 1.5.2: https://download.xnview.com/XnViewMP-linux-x64.tgz
XnView MP 1.4.5: https://flathub.org/apps/details/com.xnview.XnViewMP

NOT WORKING in Kubuntu 23.04 Wayland:
XnView MP 1.5.2: https://download.xnview.com/XnViewMP-linux-x64.deb (still "Error: cannot satisfy dependencies")
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Xnview Kubuntu Wayland client buffer integration

Post by xnview »

sacharja wrote: Fri Jul 28, 2023 7:00 pm NOT WORKING in Kubuntu 23.04 Wayland:
XnView MP 1.5.2: https://download.xnview.com/XnViewMP-linux-x64.deb (still "Error: cannot satisfy dependencies")
Strange, do you have more info?
Pierre.
sacharja
Posts: 42
Joined: Sat Nov 01, 2008 5:39 pm

Re: Xnview Kubuntu Wayland client buffer integration

Post by sacharja »

Seems I found it. I Installed a fresh Kubuntu 23.04 Wayland VM.

I could list the dependencies of the deb package with:

Code: Select all

kubuntu@kubuntu:~/Desktop$ dpkg -I 1.deb
 neues Debian-Paket, Version 2.0.
 Größe 48703028 Byte: control-Archiv= 747 Byte.
    1068 Byte,    10 Zeilen      control              
      75 Byte,     4 Zeilen   *  postinst             #!/bin/sh
 Package: xnview
 Version: 1.5.2
 Architecture: amd64
 Installed-Size: 16
 Depends: libasound2 (>= 1.0.16), libatk1.0-0 (>= 1.12.4), libbz2-1.0, libc6 (>= 2.17), libcairo-gobject2 (>= 1.10.0), libcairo2 (>= 1.2.4), libcups2 (>= 1.4.0), libdbus-1-3 (>= 1.9.14), libdrm2 (>= 2.4.30), libegl1-mesa | libegl1, libfontconfig1 (>= 2.11), libfreetype6 (>= 2.3.5), libgcc1 (>= 1:3.4), libgdk-pixbuf2.0-0 (>= 2.22.0), libgl1-mesa-glx | libgl1, libglib2.0-0 (>= 2.33.14), libgstreamer-plugins-base1.0-0 (>= 1.0.0), libgstreamer1.0-0 (>= 1.4.0), libgtk-3-0 (>= 3.5.18), libopenal1 (>= 1.14), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpulse-mainloop-glib0 (>= 0.99.1), libpulse0 (>= 0.99.4), libsqlite3-0 (>= 3.5.9), libstdc++6 (>= 5), libx11-6 (>= 2:1.4.99.1), libx11-xcb1, libxcb-shm0, libxcb1 (>= 1.8), libxcb-xinerama0, libxext6, libxfixes3, libxi6 (>= 2:1.5.99.2), libxv1, zlib1g (>= 1:1.2.3.4), libopenal1
 Section: graphics
 Priority: optional
 Maintainer: None <none@none.com>
 Homepage: http://www.xnview.com
 Description: Graphic viewer, browser, converter.
Then I tried to install it with apt:

Code: Select all

kubuntu@kubuntu:~/Desktop$ sudo apt install ./1.deb
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Hinweis: »xnview« wird an Stelle von »./1.deb« gewählt.
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 xnview : Hängt ab von: libgdk-pixbuf2.0-0 (>= 2.22.0) ist aber nicht installierbar
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
Translated:
The following packages have unmet dependencies:
xnview : depends on: libgdk-pixbuf2.0-0 (>= 2.22.0) but is not installable
E: Problems could not be corrected, you have defective packages that were hold back
Within Kubuntu there's a library installed called libgdk-pixbuf-2.0-0 (with a minus before the 2).

EDIT: anyhow, I think the Flatpak version is currently the best for Unix, since this is the only one that automatically updates in Kubuntu (KDE Discover)/ Ubuntu (Ubuntu Software)(and might be the easiest to maintain in the long run).

Many thanks for making XnView Wayland capable.
Post Reply