supertuxkart / stk-code

The code base of supertuxkart
Other
4.45k stars 1.05k forks source link

Antarctica Rendering Engine 2.0 Error #4739

Open James-Ashwood opened 2 years ago

James-Ashwood commented 2 years ago

Description

When running the STK binary, I get an error saying

..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..
X connection to :0 broken (explicit kill or server shutdown).

The rest loads fine.

Configuration

STK release version: 1.3 (Installed fresh today) Installed using pacman -S supertuxkart

System: Intel Latitude E6230 (Garuda Linux)

James-Ashwood commented 2 years ago

Note: I have seen this and it did not work.

Benau commented 2 years ago

try start stk with wayland, otherwise you need to wait until SDL2 fixes the Xorg issue (we create window with SDL2)

James-Ashwood commented 2 years ago

Okay, thanks. I tried wayland and still throwing this error.

Benau commented 2 years ago

SDL_VIDEODRIVER=wayland bin/supertuxkart btw

James-Ashwood commented 2 years ago

Well, that got me this @Benau :

..:: Antarctica Rendering Engine 2.0 ::..
Unable to initialize SDL!: wayland not available
No display created: : Video subsystem has not been initialized
No display created: : Video subsystem has not been initialized
[warn   ] irr_driver: Unknown desktop resolution.
[info   ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: Unable to initialize SDL!: wayland not available
[info   ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: Unable to initialize SDL!: wayland not available
[info   ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: Unable to initialize SDL!: wayland not available
[info   ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: Unable to initialize SDL!: wayland not available
[fatal  ] irr_driver: Couldn't initialise irrlicht device. Quitting.
James-Ashwood commented 2 years ago

It works when I install it with snap, however I cannot make my own tracks (which is what I am trying to do) with snap due to file permission errors.

Benau commented 2 years ago

Then probably use an older libSDL2.so (from snap) will work. Try get it from debian repo

btw please don't use stk-editor to create your own track, it's in beta and will not provide as best experience as blender

James-Ashwood commented 2 years ago

Okay. And okay. I was using that just to see how it works, as I know nothing about it (I am a programmer, not an artist), but I will have a look into it.