Bug 2346005 - Trying to load supertuxkart using a dual GPU setup makes supertuxkart segfault.
Summary: Trying to load supertuxkart using a dual GPU setup makes supertuxkart segfault.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: supertuxkart
Version: 41
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-16 16:51 UTC by Pedro Barreto
Modified: 2025-02-26 01:14 UTC (History)
4 users (show)

Fixed In Version: supertuxkart-1.4-12.fc41
Clone Of:
Environment:
Last Closed: 2025-02-26 01:14:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pedro Barreto 2025-02-16 16:51:23 UTC
Description of problem: Trying to load supertuxkart using a dual GPU setup makes supertuxkart segfault.

How reproducible:Always.


Steps to Reproduce:
1. Load SupertuxKart on Gnome by clicking on its icon or running switcherooctl launch supertuxkart.

Actual results:
[verbose  ] main: Error messages and other text output will be logged to /home/pedro/.config/supertuxkart/config-0.10/stdout.log.
[info   ] [FileManager]: Data files will be fetched from: '/usr/share/supertuxkart/data/'
[info   ] [FileManager]: User directory is '/home/pedro/.config/supertuxkart/config-0.10/'.
[info   ] [FileManager]: Addons files will be stored in '/home/pedro/.local/share/supertuxkart/addons/'.
[info   ] [FileManager]: Screenshots will be stored in '/home/pedro/.local/share/supertuxkart/screenshots/'.
[info   ] [FileManager]: User-defined grand prix will be stored in '/home/pedro/.local/share/supertuxkart/grandprix/'.
[info   ] [FileManager]: Asset 0 will be loaded from '/usr/share/supertuxkart/data/challenges/'.
[info   ] [FileManager]: Asset 1 will be loaded from '/usr/share/supertuxkart/data/gfx/'.
[info   ] [FileManager]: Asset 2 will be loaded from '/usr/share/supertuxkart/data/grandprix/'.
[info   ] [FileManager]: Asset 3 will be loaded from '/usr/share/supertuxkart/data/gui/icons/'.
[info   ] [FileManager]: Asset 4 will be loaded from '/usr/share/supertuxkart/data/gui/screens/'.
[info   ] [FileManager]: Asset 5 will be loaded from '/usr/share/supertuxkart/data/gui/dialogs/'.
[info   ] [FileManager]: Asset 6 will be loaded from '/usr/share/supertuxkart/data/replay/'.
[info   ] [FileManager]: Asset 7 will be loaded from '/usr/share/supertuxkart/data/shaders/'.
[info   ] [FileManager]: Asset 8 will be loaded from '/usr/share/supertuxkart/data/skins/'.
[info   ] [FileManager]: Asset 9 will be loaded from '/usr/share/supertuxkart/data/ttf/'.
[info   ] [FileManager]: Asset 10 will be loaded from '/usr/share/supertuxkart/data/po/'.
[info   ] [FileManager]: Asset 11 will be loaded from '/usr/share/supertuxkart/data/library/'.
[info   ] [FileManager]: Asset 12 will be loaded from '/usr/share/supertuxkart/data/models/'.
[info   ] [FileManager]: Asset 13 will be loaded from '/usr/share/supertuxkart/data/music/'.
[info   ] [FileManager]: Asset 14 will be loaded from '/usr/share/supertuxkart/data/sfx/'.
[info   ] [FileManager]: Asset 15 will be loaded from '/usr/share/supertuxkart/data/textures/'.
[info   ] [FileManager]: Asset 16 will be loaded from '/usr/share/supertuxkart/data/tracks/'.
[verbose  ] translation: Env var LANGUAGE = 'pt_BR.UTF-8'.
[verbose  ] translation: Language 'Portuguese (Brazil)'.
..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..

(supertuxkart:12880): Gtk-WARNING **: 13:49:40.073: gtk_disable_setlocale() must be called before gtk_init()
Falha de segmentação (imagem do núcleo gravada)


Expected results: Running the game as usual.


Additional info: It seems to be a wayland+sdl issue. Running SDL in Xwayland works perfectly: just run 'export SDL_VIDEODRIVER=x11' and then 'switcherooctl launch supertuxkart'.

One solution would be removing the "PrefersNonDefaultGPU=true" from supertuxkart.desktop as it is a light game and does not need a dedicated GPU to run well. Arch and Debian do not have the option on xonotic.desktop. Also, that error does not occur on Arch.

Comment 1 Fedora Update System 2025-02-17 19:09:36 UTC
FEDORA-2025-85fee2e619 (supertuxkart-1.4-12.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-85fee2e619

Comment 2 Fedora Update System 2025-02-18 02:00:39 UTC
FEDORA-2025-85fee2e619 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-85fee2e619`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-85fee2e619

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2025-02-26 01:14:05 UTC
FEDORA-2025-85fee2e619 (supertuxkart-1.4-12.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.