Created attachment 161365 [details] Gcompris without images SUMMARY See attachment, the gcompris software does not work properly, it worked a few months ago. All images are now not loaded, making it almost inpossible to play any game. STEPS TO REPRODUCE 1. sudo apt-get install 1. gcompris-qt OBSERVED RESULT Images are not loaded EXPECTED RESULT Images should be loaded SOFTWARE/OS VERSIONS Linux/KDE Plasma: Ubuntu 22.04.3 LTS (available in About System) KDE Plasma Version: ??? KDE Frameworks Version: ??? Qt Version: Qt: 5.15.3 ADDITIONAL INFORMATION
Created attachment 161366 [details] Other screen
Created attachment 161367 [details] Third screen
Note that I've also tried building gcompris myself on master (commit d1c379b291256c121f1f39dd40a2ea0dcc713dde), and it also had the same behavior.
Hi, can you check if you have the qt5-image-formats-plugins package installed? It seems the svg files are not loading, I'll dig more if it is not due to this missing package.
This is very weird, but surely due to a local issue on your system... Also I doubt that it's the plugin to load svg that's missing, as the background of the menu and the activity (which are also svg) are loading fine. Can you check when starting it from command-line if you see some relevant log ? Also, can you check if you can reproduce the issue with our standalone installer (from https://gcompris.net/downloads-en.html ) ? That could give a hint to find where the issue comes from.
Here is the output of running "gcompris-qt" from the command line : ``` exeCount set to: 123 "Invalid level 4 for activity learn_subtractions/Learn_subtractions.qml, removing it" "Invalid level 5 for activity learn_subtractions/Learn_subtractions.qml, removing it" qml: enter main.qml (run #123, ratio=2.3076923076923075, fontRatio=2.4305156220049837, dpi=169, userDataPath=/home/edgar/.local/share/GCompris) Downloading resource file "data2/voices-ogg/voices-en_US.rcc" Downloading resource file "data2/words/words-webp.rcc" Download of QUrl("https://cdn.kde.org/gcompris/data2/words/words-webp.rcc") is already running, skipping second attempt. notifyWordset: "data2/words/words-webp.rcc" Downloading resource file "data2/backgroundMusic/backgroundMusic-ogg.rcc" Successfully registered resource "/home/edgar/.cache/KDE/gcompris-qt/data2/backgroundMusic/backgroundMusic-ogg.rcc" qrc:/gcompris/src/activities/menu/Menu.qml:94:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } qrc:/gcompris/src/core/GCSingletonFontLoader.qml:31:41: QML FontLoader: Cannot load font: "qrc:/gcompris/src/core/resource/fonts/Andika-R.ttf" qrc:/gcompris/src/core/Bar.qml:315:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } qrc:/gcompris/src/core/Bar.qml:268:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } qrc:/gcompris/src/activities/menu/Menu.qml:708:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } QSGTextureAtlas: texture atlas allocation failed, code=501 Local resource is up-to-date: "voices-en_US.rcc" Successfully registered resource "/home/edgar/.cache/KDE/gcompris-qt/data2/voices-ogg/voices-en_US.rcc" Local resource is up-to-date: "words-webp.rcc" Successfully registered resource "/home/edgar/.cache/KDE/gcompris-qt/data2/words/words-webp.rcc" Local resource is up-to-date: "backgroundMusic-ogg.rcc" previous height set to: 1200 DownloadManager: shutting down, 0 active jobs DownloadManager: shutting down, 0 active jobs ```
I see that the package "qt5-image-formats-plugin is already installed" : qt5-image-formats-plugins is already the newest version (5.15.3-1).
When I run it from the installer it nows works fine !! And here is the output from running the script in the downloads folder : ``` $ ~/Downloads/gcompris-qt-3.3-Linux/bin/gcompris-qt.sh exeCount set to: 127 qml: enter main.qml (run #127, ratio=2.3076923076923075, fontRatio=2.4305156220049837, dpi=169, userDataPath=/home/edgar/.local/share/GCompris) Downloading resource file "data2/voices-ogg/voices-en_US.rcc" Downloading resource file "data2/words/words-webp.rcc" Download of QUrl("https://cdn.kde.org/gcompris/data2/words/words-webp.rcc") is already running, skipping second attempt. notifyWordset: "data2/words/words-webp.rcc" Download of QUrl("https://cdn.kde.org/gcompris/data2/words/words-webp.rcc") is already running, skipping second attempt. Downloading resource file "data2/backgroundMusic/backgroundMusic-ogg.rcc" Successfully registered resource "/home/edgar/.cache/KDE/gcompris-qt/data2/backgroundMusic/backgroundMusic-ogg.rcc" Found box2d in "/home/edgar/Downloads/gcompris-qt-3.3-Linux/lib/qml" Local resource is up-to-date: "voices-en_US.rcc" Successfully registered resource "/home/edgar/.cache/KDE/gcompris-qt/data2/voices-ogg/voices-en_US.rcc" Local resource is up-to-date: "words-webp.rcc" Successfully registered resource "/home/edgar/.cache/KDE/gcompris-qt/data2/words/words-webp.rcc" Local resource is up-to-date: "backgroundMusic-ogg.rcc" DownloadManager: shutting down, 0 active jobs DownloadManager: shutting down, 0 active jobs ```
We already had this issue and it was fixed installing libqt5quick5 instead of libqt5quick5-gles (see https://invent.kde.org/education/gcompris/-/issues/31). Can you check which package is installed on your system?
(In reply to Jazeix Johnny from comment #9) > We already had this issue and it was fixed installing libqt5quick5 instead > of libqt5quick5-gles (see > https://invent.kde.org/education/gcompris/-/issues/31). > Can you check which package is installed on your system? (note: the issue is "QSGTextureAtlas: texture atlas allocation failed, code=501")
Indeed, this one was installed : $ dpkg -l | grep -E libqt5quick5 ii libqt5quick5-gles:amd64 5.15.3+dfsg-1 amd64 Qt 5 Quick library — OpenGL ES variant
It worked indeed after installing libqt5quick5 Would be great if you could add this suggestion inside the log of gcompris itself (or even as an alert in the gcompris app itself)
(In reply to Edgar Hipp from comment #12) > It worked indeed after installing libqt5quick5 > > Would be great if you could add this suggestion inside the log of gcompris > itself (or even as an alert in the gcompris app itself) Ideally the fix would be to mark the package incompatible in Debian/Ubuntu. I'll propose it to the maintainers but if not possible, we'll add an entry in our FAQ (https://gcompris.net/faq-en.html)