Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 434  / 2 Years ago, fri, august 26, 2022, 12:02:58

The latest version of gcompris has a bug. I used to be able to use it, but since I upgraded to ubuntu 20.04 it stopped working, here is what it does:


lea@lea:~$ uname -a
Linux lea 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
lea@lea:~$ gcompris -v
gcompris-qt 1.1
lea@lea:~$ gcompris
exeCount set to: 2
Erreur de segmentation (core dumped)
lea@lea:~$ gcompris-qt -v
gcompris-qt 0.97
lea@lea:~$ gcompris-qt
exeCount set to: 13
qml: enter main.qml (run #13, ratio=1.5384615384615385, fontRatio=1.6174712355185357, dpi=98, userDataPath=/home/lea/.local/share/GCompris)
Downloading resource file "data2/voices-ogg/voices-fr.rcc"
Erreur de segmentation (core dumped)
lea@lea:~$

Could anyone look into it ? I would gladly help and provide as much information as required ?




$ apt-cache policy gcompris gcompris-qt

gcompris:
Installé : 1:0.97-1build1
Candidat : 1:0.97-1build1
Table de version :
*** 1:0.97-1build1
500 500 archive.ubuntu.com/ubuntu focal/universe amd64 Packages
500 archive.ubuntu.com/ubuntu focal/universe i386 Packages
100 /var/lib/dpkg/status

gcompris-qt:
Installé : 0.97-1build1
Candidat : 0.97-1build1
Table de version :
*** 0.97-1build1 500
500 archive.ubuntu.com/ubuntu focal/universe amd64 Packages
100 /var/lib/dpkg/status

$ dpkg -S $(which gcompris)
dpkg-query: aucun chemin ne correspond à /snap/bin/gcompris
lea@lea:/opt/gcompris/bin$ gcompris
exeCount set to: 5 Erreur de segmentation (core dumped)

carte graphique: 01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS482M [Mobility Radeon Xpress 200] (prog-if 00 [VGA controller]) Subsystem: Acer Incorporated [ALI] RS482M [Mobility Radeon Xpress 200] Flags: bus master, 66MHz, medium devsel, latency 66, IRQ 17, NUMA node 0 Memory at c8000000 (32-bit, prefetchable) [size=128M]


EDIT:
I have 2 versions installed:



  • Version 1.1 from snap, command line gcompris

  • Version 0.97 from apt-get, command line gcompris-qt


running gcompris --software-renderer DOES WORK


running gcompris --opengl-renderer DOES NOT WORK


running gcompris-qt --software-renderer DOES NOT WORK


running gcompris-qt --opengl-renderer DOES NOT WORK


Conclusions:



  • I probably have a driver problem...

  • Version 0.97 does not work even in software graphic mode.... please update software depot to 1.1 !


More From » 20.04

 Answers
5

And now the fully working solution:


Disable the harware open GL when launching gcompris



QT_XCB_FORCE_SOFTWARE_OPENGL=1 gcompris --software-renderer



With that command, the app runs fine without any bugs.


Or even better, edit file /etc/environment and add



LIBGL_ALWAYS_SOFTWARE=1




QT_XCB_FORCE_SOFTWARE_OPENGL=1



[#1734] Saturday, August 27, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ettorina

Total Points: 439
Total Questions: 99
Total Answers: 131

Location: Vanuatu
Member since Wed, Oct 14, 2020
4 Years ago
ettorina questions
Thu, Sep 1, 22, 15:28, 2 Years ago
Mon, Mar 14, 22, 06:04, 2 Years ago
Sun, Jul 24, 22, 13:31, 2 Years ago
;