XnViewMP 96.3 not loading in Linux Mint 20 Cinnamon

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

Moderators: XnTriq, xnview

Post Reply
DanPF
Posts: 13
Joined: Tue Sep 11, 2018 3:29 pm

XnViewMP 96.3 not loading in Linux Mint 20 Cinnamon

Post by DanPF » Fri Jun 26, 2020 9:57 pm

I have seen several reports in various forums (but strangely not here) that XnVMP not starting in the recent release of Linux Min 20. I cant verify this as I dare not upgrade if this software wont work, as it is essential to my project. Has anyone here been successful in upgrading and loading XnVMP in Mint 20 Cinnamon?

EDIT:
I found someone helpful at least put up an error message - Of course this might be a Mint issue and not XnVmp

"Also , running XnViewMP (the most recent version 0.69.2 downloaded from the author’s site as a deb) fails with:

qt5ct: using qt5ct plugin
Segmentation fault (core dumped)"

Thanks Dan

DanPF
Posts: 13
Joined: Tue Sep 11, 2018 3:29 pm

Re: XnViewMP 96.3 not loading in Linux Mint 20 Cinnamon

Post by DanPF » Sat Jun 27, 2020 9:15 pm

Hi,
I just managed to try this in the Live Usb environment. Install from the .deb goes just fine but it will not launch giving me the same error message as above. I would really appreciate some help here as Ver 20 of Mint has something that I would like, so it would be a pity if I could not upgrade.

DanPF
Posts: 13
Joined: Tue Sep 11, 2018 3:29 pm

Re: XnViewMP 96.3 not loading in Linux Mint 20 Cinnamon

Post by DanPF » Sat Jun 27, 2020 10:56 pm

I found in the new repos there is a Flatpack version (93.1) which does work. This indicates to me that something in the later versions has caused this issue rather than LM20?

DanPF
Posts: 13
Joined: Tue Sep 11, 2018 3:29 pm

Re: XnViewMP 96.3 not loading in Linux Mint 20 Cinnamon

Post by DanPF » Sun Jun 28, 2020 3:08 pm

Last post - sorry for the drip feed of info,

I have just found that the AppImage file does run in LM20 Cinnamon. So I am confused what the AppImage contains that the LM20 system does not provide natively?

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnViewMP 96.3 not loading in Linux Mint 20 Cinnamon

Post by xnview » Tue Jun 30, 2020 2:55 pm

if you use export QT_DEBUG_PLUGINS=1 in a terminal, what do you see when executing XnView?
Pierre.

DanPF
Posts: 13
Joined: Tue Sep 11, 2018 3:29 pm

Re: XnViewMP 96.3 not loading in Linux Mint 20 Cinnamon

Post by DanPF » Tue Jun 30, 2020 8:48 pm

xnview wrote:
Tue Jun 30, 2020 2:55 pm
if you use export QT_DEBUG_PLUGINS=1 in a terminal, what do you see when executing XnView?
I loaded the 64bit deb file from your web Home page in a USB Live session.

opened a terminal and typed in QT_DEBUG_PLUGINS=1 the result was the same as others have reported

qt5ct: using qt5ct plugin
Segmentation fault (core dumped)

I hope that helps you.

Dan

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnViewMP 96.3 not loading in Linux Mint 20 Cinnamon

Post by xnview » Wed Jul 01, 2020 4:09 pm

Code: Select all

export QT_DEBUG_PLUGINS=1
?
Pierre.

DanPF
Posts: 13
Joined: Tue Sep 11, 2018 3:29 pm

Re: XnViewMP 96.3 not loading in Linux Mint 20 Cinnamon

Post by DanPF » Wed Jul 01, 2020 4:36 pm

xnview wrote:
Wed Jul 01, 2020 4:09 pm

Code: Select all

export QT_DEBUG_PLUGINS=1
?
Oops My Bad sorry,

here is the output

Code: Select all

export QT_DEBUG_PLUGINS=1

QFactoryLoader::QFactoryLoader() checking directory path "/opt/XnView/lib/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/platforms/libqlinuxfb.so"
Found metadata in lib /opt/XnView/lib/platforms/libqlinuxfb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "linuxfb"
        ]
    },
    "archreq": 0,
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/platforms/libqminimal.so"
Found metadata in lib /opt/XnView/lib/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archreq": 0,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/platforms/libqminimalegl.so"
Found metadata in lib /opt/XnView/lib/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archreq": 0,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/platforms/libqoffscreen.so"
Found metadata in lib /opt/XnView/lib/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archreq": 0,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/platforms/libqvnc.so"
Found metadata in lib /opt/XnView/lib/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archreq": 0,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/platforms/libqwayland-egl.so"
Found metadata in lib /opt/XnView/lib/platforms/libqwayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/platforms/libqwayland-generic.so"
Found metadata in lib /opt/XnView/lib/platforms/libqwayland-generic.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland"
        ]
    },
    "archreq": 0,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /opt/XnView/lib/platforms/libqwayland-xcomposite-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-egl"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /opt/XnView/lib/platforms/libqwayland-xcomposite-glx.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-xcomposite-glx"
        ]
    },
    "archreq": 0,
    "className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/platforms/libqxcb.so"
Found metadata in lib /opt/XnView/lib/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archreq": 0,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/opt/XnView/platforms" ...
loaded library "/opt/XnView/lib/platforms/libqxcb.so"
loaded library "Xcursor"
QFactoryLoader::QFactoryLoader() checking directory path "/opt/XnView/lib/platformthemes" ...
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/platformthemes/libqgtk2.so"
Found metadata in lib /opt/XnView/lib/platformthemes/libqgtk2.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "gtk2"
        ]
    },
    "archreq": 0,
    "className": "QGtk2ThemePlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("gtk2")
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/platformthemes/libqgtk3.so"
Found metadata in lib /opt/XnView/lib/platformthemes/libqgtk3.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "gtk3"
        ]
    },
    "archreq": 0,
    "className": "QGtk3ThemePlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("gtk3")
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/platformthemes/libqt5ct.so"
Found metadata in lib /opt/XnView/lib/platformthemes/libqt5ct.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "qt5ct"
        ]
    },
    "archreq": 0,
    "className": "Qt5CTPlatformThemePlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("qt5ct")
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/platformthemes/libqxdgdesktopportal.so"
Found metadata in lib /opt/XnView/lib/platformthemes/libqxdgdesktopportal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "xdgdesktopportal",
            "flatpak",
            "snap"
        ]
    },
    "archreq": 0,
    "className": "QXdgDesktopPortalThemePlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("xdgdesktopportal", "flatpak", "snap")
QFactoryLoader::QFactoryLoader() checking directory path "/opt/XnView/platformthemes" ...
loaded library "/opt/XnView/lib/platformthemes/libqt5ct.so"
qt5ct: using qt5ct plugin
QFactoryLoader::QFactoryLoader() checking directory path "/opt/XnView/lib/styles" ...
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/styles/libqgtk2style.so"
Found metadata in lib /opt/XnView/lib/styles/libqgtk2style.so, metadata=
{
    "IID": "org.qt-project.Qt.QStyleFactoryInterface",
    "MetaData": {
        "Keys": [
            "gtk2"
        ]
    },
    "archreq": 0,
    "className": "QGtk2StylePlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("gtk2")
QFactoryLoader::QFactoryLoader() looking at "/opt/XnView/lib/styles/libqt5ct-style.so"
Found metadata in lib /opt/XnView/lib/styles/libqt5ct-style.so, metadata=
{
    "IID": "org.qt-project.Qt.QStyleFactoryInterface",
    "MetaData": {
        "Keys": [
            "qt5ct-style"
        ]
    },
    "archreq": 0,
    "className": "Qt5CTStylePlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("qt5ct-style")
QFactoryLoader::QFactoryLoader() checking directory path "/opt/XnView/styles" ...
QFactoryLoader::QFactoryLoader() checking directory path "/opt/XnView/lib/platforminputcontexts" ...
QFactoryLoader::QFactoryLoader() checking directory path "/opt/XnView/platforminputcontexts" ...
loaded library "/opt/XnView/lib/styles/libqt5ct-style.so"
Cannot load library /opt/XnView/lib/styles/libqgtk2style.so: (/usr/lib/x86_64-linux-gnu/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates)
QLibraryPrivate::loadPlugin failed on "/opt/XnView/lib/styles/libqgtk2style.so" : "Cannot load library /opt/XnView/lib/styles/libqgtk2style.so: (/usr/lib/x86_64-linux-gnu/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates)"
Segmentation fault (core dumped)
Any help?

User avatar
xnview
Author of XnView
Posts: 33336
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnViewMP 96.3 not loading in Linux Mint 20 Cinnamon

Post by xnview » Thu Jul 02, 2020 12:21 pm

try to remove libqt5ct-style.so or libqgtk2style.so
Pierre.

DanPF
Posts: 13
Joined: Tue Sep 11, 2018 3:29 pm

Re: XnViewMP 96.3 not loading in Linux Mint 20 Cinnamon

Post by DanPF » Thu Jul 02, 2020 3:39 pm

xnview wrote:
Thu Jul 02, 2020 12:21 pm
try to remove libqt5ct-style.so or libqgtk2style.so
Ok, Done, again only in the ISO USB live environment:

I deleted libqgtk2style.so from
/opt/XnView/lib/styles/

Running the program from the terminal It loads fine now. I was not able to test for a dark theme or view anything due to time constraints - but a brief look showed all ok. The terminal response was

Code: Select all

mint@mint:~$ xnview
qt5ct: using qt5ct plugin
==> 1.000000  91.793814  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
libpng warning: iCCP: known incorrect sRGB profile
MENU install : 0x2eeda50 
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
libpng warning: iCCP: known incorrect sRGB profile
########### BrowserWindow :: ok create (640 480)
BrowserWindow :: changeVisibility()
BrowserWindow :: changeVisibility()
BrowserWindow :: changeVisibility()
########### BrowserWindow :: restoreState (850 620)
BrowserWindow :: restoreState => 850 620 
                              => 588 419 
BrowserWindow :: restoreState ok => 588 419 
XNVIEW SIZE ok 850 620 
w.start
### BrowserWindow :: onStart go
#### onFavoriteDockVisible (1)
 BookmarkNode::BookmarkNode : 0x31baf70  
#### onCategoryFilterDockVisible (1)
CREATE DB
CREATE DB OK
libpng warning: iCCP: known incorrect sRGB profile
#### onCategoryDockVisible (1)
########### BrowserWindow :: restoreState (850 588)
BrowserWindow :: restoreState => 850 588 
                              => 588 239 
BrowserWindow :: restoreState ok => 588 239 
### BrowserWindow :: onStart
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/mint/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 304f710 
######ThumbLoaderThread :: forever : 304f710 
 ** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 304f710 
CHECK <0> 
######ThumbLoaderThread :: forever : 304f710 
 ** start condition wait
## OPEN FOLDER
  ## OPEN DB FOLDER ok  0
  ## UPDATE DB FOLDER ok  0
  ## OPEN FOLDER ok  0
## updateLabel  0
## updateLabels ok  0
ThumbLoaderThread :: stop()
######### CategoryModel :: checkAndSave()
SORT the list...
STD::SORT... OK
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/mint/
MyDirModelThread :: run
## OPEN FOLDER done  2
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(9)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 304f710 
CHECK <8> 
### START 9 
######ThumbLoaderThread :: start : 8     -1 -1
### BrowserWindow :: finish
 CHECK : <ubiquity.desktop>
LOAD BITMAP </home/mint/Desktop/ubiquity.desktop>
my_error_exit...<Not a JPEG file: starts with 0x5b 0x44>
GFF :: LoadThumbnail : 2 
sizeHints : 128 
sizeHints : 128 
######ThumbLoaderThread :: forever : 304f710 
 ** start condition wait
### ThumbLoaderThread :: setFirstItemToLoad
 ** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
######ThumbLoaderThread :: forever 2 : 304f710 
CHECK <0> 
######ThumbLoaderThread :: forever : 304f710 
 ** start condition wait
sizeHints : 128 
sizeHints : 128 
### ThumbLoaderThread :: setFirstItemToLoad
 ** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
######ThumbLoaderThread :: forever 2 : 304f710 
CHECK <0> 
######ThumbLoaderThread :: forever : 304f710 
 ** start condition wait
######### CategoryModel :: checkAndSave()
SAVE : 1920 984
BrowserWindow :: saveState => 1920 984 
                           => 1658 635 
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
######ThumbLoaderThread :: run : 304f710 OK
QMutex: destroying locked mutex
 AFTER WAIT
BitmapLoadThread :: stop()
 BookmarkNode::~BookmarkNode : 0x31baf70  

Post Reply