Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

superTuxKart: irr_driver: Couldn't initialise irrlicht device #269959

Closed
bountygurl opened this issue Nov 25, 2023 · 2 comments
Closed

superTuxKart: irr_driver: Couldn't initialise irrlicht device #269959

bountygurl opened this issue Nov 25, 2023 · 2 comments

Comments

@bountygurl
Copy link

bountygurl commented Nov 25, 2023

Describe the bug

When trying to run supertuxkart after having installed it via nix shell, the following error message appears and supertuxkart won't start.

❯ nix shell nixpkgs#superTuxKart

~ 
❯ supertuxkart
[verbose  ] main: Error messages and other text output will be logged to /home/bountygurl/.config/supertuxkart/config-0.10/stdout.log.
[info   ] [FileManager]: Data files will be fetched from: '/nix/store/xnwq5qk2mpqva74kawn6l0i8hnqn9rxl-supertuxkart-1.4/share/supertuxkart/data/'
[info   ] [FileManager]: Data files will be fetched from: '/nix/store/f1bvlhphj0ffqdhwvb5iclfic0a7qpzf-stk-assets/'
[info   ] [FileManager]: User directory is '/home/bountygurl/.config/supertuxkart/config-0.10/'.
[info   ] [FileManager]: Addons files will be stored in '/home/bountygurl/.local/share/supertuxkart/addons/'.
[info   ] [FileManager]: Screenshots will be stored in '/home/bountygurl/.local/share/supertuxkart/screenshots/'.
[info   ] [FileManager]: User-defined grand prix will be stored in '/home/bountygurl/.local/share/supertuxkart/grandprix/'.
[info   ] [FileManager]: Asset 0 will be loaded from '/nix/store/xnwq5qk2mpqva74kawn6l0i8hnqn9rxl-supertuxkart-1.4/share/supertuxkart/data/challenges/'.
[info   ] [FileManager]: Asset 1 will be loaded from '/nix/store/xnwq5qk2mpqva74kawn6l0i8hnqn9rxl-supertuxkart-1.4/share/supertuxkart/data/gfx/'.
[info   ] [FileManager]: Asset 2 will be loaded from '/nix/store/xnwq5qk2mpqva74kawn6l0i8hnqn9rxl-supertuxkart-1.4/share/supertuxkart/data/grandprix/'.
[info   ] [FileManager]: Asset 3 will be loaded from '/nix/store/xnwq5qk2mpqva74kawn6l0i8hnqn9rxl-supertuxkart-1.4/share/supertuxkart/data/gui/icons/'.
[info   ] [FileManager]: Asset 4 will be loaded from '/nix/store/xnwq5qk2mpqva74kawn6l0i8hnqn9rxl-supertuxkart-1.4/share/supertuxkart/data/gui/screens/'.
[info   ] [FileManager]: Asset 5 will be loaded from '/nix/store/xnwq5qk2mpqva74kawn6l0i8hnqn9rxl-supertuxkart-1.4/share/supertuxkart/data/gui/dialogs/'.
[info   ] [FileManager]: Asset 6 will be loaded from '/nix/store/xnwq5qk2mpqva74kawn6l0i8hnqn9rxl-supertuxkart-1.4/share/supertuxkart/data/replay/'.
[info   ] [FileManager]: Asset 7 will be loaded from '/nix/store/xnwq5qk2mpqva74kawn6l0i8hnqn9rxl-supertuxkart-1.4/share/supertuxkart/data/shaders/'.
[info   ] [FileManager]: Asset 8 will be loaded from '/nix/store/xnwq5qk2mpqva74kawn6l0i8hnqn9rxl-supertuxkart-1.4/share/supertuxkart/data/skins/'.
[info   ] [FileManager]: Asset 9 will be loaded from '/nix/store/xnwq5qk2mpqva74kawn6l0i8hnqn9rxl-supertuxkart-1.4/share/supertuxkart/data/ttf/'.
[info   ] [FileManager]: Asset 10 will be loaded from '/nix/store/xnwq5qk2mpqva74kawn6l0i8hnqn9rxl-supertuxkart-1.4/share/supertuxkart/data/po/'.
[info   ] [FileManager]: Asset 11 will be loaded from '/nix/store/f1bvlhphj0ffqdhwvb5iclfic0a7qpzf-stk-assets/library/'.
[info   ] [FileManager]: Asset 12 will be loaded from '/nix/store/f1bvlhphj0ffqdhwvb5iclfic0a7qpzf-stk-assets/models/'.
[info   ] [FileManager]: Asset 13 will be loaded from '/nix/store/f1bvlhphj0ffqdhwvb5iclfic0a7qpzf-stk-assets/music/'.
[info   ] [FileManager]: Asset 14 will be loaded from '/nix/store/f1bvlhphj0ffqdhwvb5iclfic0a7qpzf-stk-assets/sfx/'.
[info   ] [FileManager]: Asset 15 will be loaded from '/nix/store/f1bvlhphj0ffqdhwvb5iclfic0a7qpzf-stk-assets/textures/'.
[info   ] [FileManager]: Asset 16 will be loaded from '/nix/store/f1bvlhphj0ffqdhwvb5iclfic0a7qpzf-stk-assets/tracks/'.
[verbose  ] translation: Env var LANGUAGE = 'de_DE.UTF-8'.
[verbose  ] translation: Language 'German (Germany)'.
..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: Could not initialize display!
[info   ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: Could not initialize display!
[info   ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: Could not initialize display!
[info   ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: Could not initialize display!
[fatal  ] irr_driver: Couldn't initialise irrlicht device. Quitting.

Additional context

I have no problem starting supertuxkart when installing it with dnf.

Notify maintainers

@PyroLagus
@peterhoeg

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.10-200.fc38.x86_64, Fedora Linux, 38 (Workstation Edition), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/store/sqnwyn76kbbylncxclpd7a8hjxamg7d3-source`

Priorities

Add a 👍 reaction to issues you find important.

@OPNA2608
Copy link
Contributor

Works on NixOS.

[info   ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: SDL Version 2.26.5
[info   ] [IrrDriver Logger]: Using renderer: OpenGL 4.6

You're on non-NixOS, and the game is trying to use OpenGL, so likely #9415. Please check if https://nixos.org/manual/nixpkgs/unstable/#sec-opengl or https://github.com/guibou/nixGL fixes it.

@bountygurl
Copy link
Author

Thanks! It worked with nixGL.

nix shell nixpkgs#superTuxKart
nix run --impure github:guibou/nixGL -- supertuxkart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants