diddlesnaps / supertuxkart

MIT License
11 stars 6 forks source link

[Bug]: application not opening. #17

Open kaincenteno opened 3 years ago

kaincenteno commented 3 years ago

What happened?

application does not start after clicking icon or opening it through terminal

What should have happened?

application should have started

Output of snap info supertuxkart

name:      supertuxkart
summary:   A 3D arcade racer with a variety of characters, tracks, and modes to play
publisher: Daniel Llewellyn (diddledan)
store-url: https://snapcraft.io/supertuxkart
contact:   https://github.com/diddlesnaps/supertuxkart/issues
license:   unset
description: |
  Karts. Nitro. Action! SuperTuxKart is a 3D open-source arcade racer with a variety of characters,
  tracks, and modes to play. Our aim is to create a game that is more fun than realistic, and
  provide an enjoyable experience for all ages.

  Discover the mystery of an underwater world, or drive through the jungles of Val Verde and visit
  the famous Cocoa Temple. Race underground or in a spaceship, through a rural farmland or a strange
  alien planet. Or rest under the palm trees on the beach, watching the other karts overtake you.
  But don't eat the bananas! Watch for bowling balls, plungers, bubble gum, and cakes thrown by your
  opponents.

  You can do a single race against other karts, compete in one of several Grand Prix, try to beat
  the high score in time trials on your own, play battle mode against the computer or your friends,
  and more! For a greater challenge, race online against players from all over the world and prove
  your racing prowess!

  - Upstream Project: https://supertuxkart.net/
  - snapcraft.yaml Build Definition:
  https://github.com/diddlesnaps/supertuxkart/blob/master/snap/snapcraft.yaml
commands:
  - supertuxkart
snap-id:      OYiX2afEAetC4e61gP6ndLs9ieJPUc83
tracking:     latest/stable
refresh-date: today at 22:17 PDT
channels:
  latest/stable:    1.2 2021-07-12 (587) 617MB -
  latest/candidate: ↑                          
  latest/beta:      ↑                          
  latest/edge:      1.2 2021-08-01 (598) 617MB -
installed:          1.2            (587) 617MB -

Output of snap connections supertuxkart

Interface               Plug                                 Slot                     Notes
audio-playback          supertuxkart:audio-playback          :audio-playback          -
bluetooth-control       supertuxkart:bluetooth-control       -                        -
desktop                 supertuxkart:desktop                 :desktop                 -
desktop-legacy          supertuxkart:desktop-legacy          :desktop-legacy          -
joystick                supertuxkart:joystick                :joystick                -
network                 supertuxkart:network                 :network                 -
network-bind            supertuxkart:network-bind            :network-bind            -
opengl                  supertuxkart:opengl                  :opengl                  -
pulseaudio              supertuxkart:pulseaudio              -                        -
screen-inhibit-control  supertuxkart:screen-inhibit-control  :screen-inhibit-control  -
wayland                 supertuxkart:wayland                 :wayland                 -
x11                     supertuxkart:x11                     :x11                     -

Output of snap version

snap    2.51.4
snapd   2.51.4
series  16
ubuntu  21.04
kernel  5.11.0-31-generic

Relevant log output

No response

Teminal output of app

[verbose  ] main: Error messages and other text output will be logged to /home/kain/snap/supertuxkart/587/.config/supertuxkart/config-0.10/stdout.log.
[info   ] [FileManager]: Data files will be fetched from: '/snap/supertuxkart/587/usr/share/supertuxkart/data/'
[info   ] [FileManager]: User directory is '/home/kain/snap/supertuxkart/587/.config/supertuxkart/config-0.10/'.
[info   ] [FileManager]: Addons files will be stored in '/home/kain/snap/supertuxkart/587/.local/share/supertuxkart/addons/'.
[info   ] [FileManager]: Screenshots will be stored in '/home/kain/snap/supertuxkart/587/.local/share/supertuxkart/screenshots/'.
[info   ] [FileManager]: User-defined grand prix will be stored in '/home/kain/snap/supertuxkart/587/.local/share/supertuxkart/grandprix/'.
[info   ] [FileManager]: Asset 0 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/challenges/'.
[info   ] [FileManager]: Asset 1 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/gfx/'.
[info   ] [FileManager]: Asset 2 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/grandprix/'.
[info   ] [FileManager]: Asset 3 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/gui/icons/'.
[info   ] [FileManager]: Asset 4 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/gui/screens/'.
[info   ] [FileManager]: Asset 5 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/gui/dialogs/'.
[info   ] [FileManager]: Asset 6 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/replay/'.
[info   ] [FileManager]: Asset 7 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/shaders/'.
[info   ] [FileManager]: Asset 8 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/skins/'.
[info   ] [FileManager]: Asset 9 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/ttf/'.
[info   ] [FileManager]: Asset 10 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/po/'.
[info   ] [FileManager]: Asset 11 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/library/'.
[info   ] [FileManager]: Asset 12 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/models/'.
[info   ] [FileManager]: Asset 13 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/music/'.
[info   ] [FileManager]: Asset 14 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/sfx/'.
[info   ] [FileManager]: Asset 15 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/textures/'.
[info   ] [FileManager]: Asset 16 will be loaded from '/snap/supertuxkart/587/usr/share/supertuxkart/data/tracks/'.
[verbose  ] translation: Env var LANGUAGE = 'en_US.UTF-8'.
[verbose  ] translation: Language 'English (United States)'.
[info   ] tinygettext: Adding language fallback en

..:: Antarctica Rendering Engine 2.0 ::..
/usr/share/libdrm/amdgpu.ids: No such file or directory
si_init_perfcounters: max_sh_per_se = 2 not supported (inaccurate performance counters)
X Error:  BadAlloc
  Request Major code 146 ()
  Request Minor code 2
  Error Serial #100
  Current Serial #101
qwertychouskie commented 2 years ago

Another user ran into this: https://github.com/supertuxkart/stk-code/issues/4659

kaincenteno commented 2 years ago

from snapcraft.io forum discussion this should resolve the issue:

https://forum.snapcraft.io/t/some-snap-apps-no-longer-starting-up-on-amd-laptop/26403/6?u=kaincenteno

the problem appear with the change to the new kernel from 5.8 to 5.11 in 20.04.3 in the others snap apps that I got the problem of snaps no starting in AMD hardware was because old libraries.

removing libgtk2.0-0 and update to Core20 in the snaps fix the problem. I don’t know if this helps in the case of this games.

Hope ring some bells for someone able to help!

DiogoConstantino commented 1 year ago

Like @kaincenteno this is being discussed on the snapcraft forum, and there's a suggestion for fix which is rebase the snap on core20 (I see it's still based on core18).

NuromenPt commented 1 year ago

Having the same bug over here

qwertychouskie commented 1 year ago

@diddlesnaps Any chance of getting this bumped to core20?

eslerm commented 11 months ago

https://github.com/diddlesnaps/supertuxkart/pull/24 resolves this issue.