Pages : 1
#1 Le 07/09/2022, à 15:29
- Endoril
Bug sur programmes QT depuis Ubuntu 22.04 sous Gnome3
Bonjour,
Mes programmes QT ont l'air bizarres et sont inutilisables depuis l'upgrade 22.04 (KeepassXC et RazerGenie), voir ici : https://ibb.co/pWWK1hj
Il doit manquer une bibliothèque mais ldd ne montre rien :
$ ldd /usr/bin/razergenie
linux-vdso.so.1 (0x00007fffdb9c8000)
libopenrazer.so.0 => /lib/x86_64-linux-gnu/libopenrazer.so.0 (0x00007f4020ed5000)
libQt5Widgets.so.5 => /lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f4020814000)
libQt5Gui.so.5 => /lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f4020136000)
libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f401fbd7000)
libQt5DBus.so.5 => /lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007f401fb43000)
libQt5Network.so.5 => /lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f401f992000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f401f764000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f401f744000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f401f51c000)
libQt5Xml.so.5 => /lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007f401f4d6000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f401f3ef000)
libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f401f368000)
libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f401f32b000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f401f30f000)
libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f401f240000)
libmd4c.so.0 => /lib/x86_64-linux-gnu/libmd4c.so.0 (0x00007f401f22e000)
libdouble-conversion.so.3 => /lib/x86_64-linux-gnu/libdouble-conversion.so.3 (0x00007f401f219000)
libicui18n.so.70 => /lib/x86_64-linux-gnu/libicui18n.so.70 (0x00007f401eeea000)
libicuuc.so.70 => /lib/x86_64-linux-gnu/libicuuc.so.70 (0x00007f401eced000)
libpcre2-16.so.0 => /lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007f401ec64000)
libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f401eb95000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f401ea5b000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4020f59000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f401ea0d000)
libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f401e9b9000)
libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f401e8ff000)
libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f401e8cb000)
libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f401e803000)
libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f401e7dc000)
libicudata.so.70 => /lib/x86_64-linux-gnu/libicudata.so.70 (0x00007f401cbbe000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f401cb46000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f401ca7f000)
libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f401c9b4000)
libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f401c985000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f401c97f000)
libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f401c971000)
libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f401c82f000)
libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f401c821000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f401c7f6000)
liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f401c7d6000)
libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f401c7cb000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f401c68d000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f401c684000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f401c670000)
libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f401c646000)
libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f401c623000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f401c5fd000)
libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f401c5f5000)
libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f401c5ed000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f401c5d5000)
libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f401c5c8000)
$ ldd /usr/bin/keepassxc
linux-vdso.so.1 (0x00007ffdfefc6000)
libQt5Svg.so.5 => /lib/x86_64-linux-gnu/libQt5Svg.so.5 (0x00007f14172dc000)
libqrencode.so.4 => /lib/x86_64-linux-gnu/libqrencode.so.4 (0x00007f14172cf000)
libQt5Concurrent.so.5 => /lib/x86_64-linux-gnu/libQt5Concurrent.so.5 (0x00007f14172c6000)
libsodium.so.23 => /lib/x86_64-linux-gnu/libsodium.so.23 (0x00007f141726e000)
libykpers-1.so.1 => /lib/x86_64-linux-gnu/libykpers-1.so.1 (0x00007f141725a000)
libzxcvbn.so.0 => /lib/x86_64-linux-gnu/libzxcvbn.so.0 (0x00007f14170f2000)
libargon2.so.1 => /lib/x86_64-linux-gnu/libargon2.so.1 (0x00007f14170e6000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f14170ca000)
libQt5Network.so.5 => /lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f1416f19000)
libQt5Widgets.so.5 => /lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f1416858000)
libQt5Gui.so.5 => /lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f141617a000)
libquazip5.so.1 => /lib/x86_64-linux-gnu/libquazip5.so.1 (0x00007f1416144000)
libQt5DBus.so.5 => /lib/x86_64-linux-gnu/libQt5DBus.so.5 (0x00007f14160ae000)
libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f1415b4f000)
libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f1415a0f000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f14158d1000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f14156a5000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f14155be000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1415394000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f141538f000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f141536f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f14176e4000)
libyubikey.so.0 => /lib/x86_64-linux-gnu/libyubikey.so.0 (0x00007f141536a000)
libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x00007f141534c000)
libjson-c.so.5 => /lib/x86_64-linux-gnu/libjson-c.so.5 (0x00007f1415339000)
libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f14152e3000)
libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f141525c000)
libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f1415221000)
libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f1415152000)
libmd4c.so.0 => /lib/x86_64-linux-gnu/libmd4c.so.0 (0x00007f1415140000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f14150f0000)
libdouble-conversion.so.3 => /lib/x86_64-linux-gnu/libdouble-conversion.so.3 (0x00007f14150db000)
libicui18n.so.70 => /lib/x86_64-linux-gnu/libicui18n.so.70 (0x00007f1414dac000)
libicuuc.so.70 => /lib/x86_64-linux-gnu/libicuuc.so.70 (0x00007f1414bb1000)
libpcre2-16.so.0 => /lib/x86_64-linux-gnu/libpcre2-16.so.0 (0x00007f1414b28000)
libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f1414a59000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f141491d000)
libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f14148f3000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f14148cd000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f14148a3000)
libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f14147d8000)
libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f14147a7000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f14147a1000)
libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f1414793000)
libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f14146db000)
libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f14146a7000)
libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f14145df000)
libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f14145b6000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f14144ef000)
libicudata.so.70 => /lib/x86_64-linux-gnu/libicudata.so.70 (0x00007f14128d1000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f141285b000)
libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f1412855000)
libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f141284b000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f1412844000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f1412830000)
libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f1412822000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f14127f7000)
liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f14127d5000)
libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f14127ca000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f14127b2000)
libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f141278f000)
libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f1412782000)
Si je lance à la main :
$ keepassxc
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
QPainter::begin: Paint device returned engine == 0, type: 2
QWidget::render: Cannot render with an inactive painter
$ razergenie
Translation loaded: true
"PM2151H14410231"
"Razer DeathAdder V2"
DeviceListWidget: Received errored signal!
DeviceListWidget: Reason: "Téléchargement des images désactivé"
DeviceListWidget: Long reason: "Le téléchargement des images est désactivé. Vous pouvez l'activer dans les préférences."
"mouse"
CURRENT LOCATION: "0"
CURRENT LOCATION: "1"
CURRENT LOCATION: "2"
currDPI: (0, 0)
maxDPI: 20000
Une idée du problème ?
Merci par avance.
Hors ligne
#2 Le 07/09/2022, à 15:47
- Endoril
Re : Bug sur programmes QT depuis Ubuntu 22.04 sous Gnome3
Ok,
J'ai trouvé un workaround.
Grace a ce post : https://github.com/keepassxreboot/keepassxc/issues/4995
Qui mène ici (voir réponse de igrmm) : https://github.com/qbittorrent/qBittorrent/issues/12441
Si je lance mes programmes comme suit :
export QT_AUTO_SCREEN_SCALE_FACTOR=0 && keepassxc
export QT_AUTO_SCREEN_SCALE_FACTOR=0 && razergenie
Cela fontionne très bien...
Plus qu'a :
echo -e "# repair QT broken windows\nexport QT_AUTO_SCREEN_SCALE_FACTOR=0" >> .profile
et reboot...
QT...
Dernière modification par Endoril (Le 07/09/2022, à 16:28)
Hors ligne
Pages : 1