mrbid / AstroImpact

A 3D online space game using UDP over IPv4.
https://astroimpact.net
GNU General Public License v3.0
0 stars 0 forks source link

Immediate crash (libGL error) on Ubuntu 24.04.1. AMD's IGP related? #1

Open Dadu042 opened 2 months ago

Dadu042 commented 2 months ago
$ astroimpact
----
3.3.6 X11 GLX EGL OSMesa clock_gettime evdev shared
----
AstroImpact
----
James William Fletcher (github.com/mrbid)
https://AstroImpact.net
https://notabug.org/AstroImpact/AstroImpact
----
Argv: <start epoch> <server host/ip> <num asteroids> <msaa 0-16> <autoroll 0-1> <center window 0-1> <control-type 0-1> <mouse sensitivity (0.001+)> <roll sensitivity (0.001+)>
e.g: /snap/astroimpact/2/astroimpact 1725984211 vfcash.co.uk 64 16 1 1 0 0.003 0.003
----
- Config File (~/.config/fat.cfg) or relative to cwd: (.config/fat.cfg) or (fat.cfg)
Create or edit this file: /home/kafka/snap/astroimpact/2/.config/fat.cfg
using the following template:
----
NUM_ASTEROIDS 64
MSAA 16
AUTOROLL 1
CENTER_WINDOW 1
CONTROLS 0
LOOKSENS 1
ROLLSENS 1
----
!! The CONTROLS setting in the config file allows you to swap between roll and yaw for mouse x:l=>r.
----
F = FPS to console.
R = Toggle auto-tilt/roll around planet.
T = Toggle between mouse look yaw/roll.
W, A, S, D, Q, E, SPACE, LEFT SHIFT.
Q+E to stop rolling.
L-CTRL / Right Click to Brake.
L-ALT / Mouse 3/4 Click to Instant Brake.
Escape to free mouse lock.
----
current epoch: 1725984178
start epoch:   1725984180
----
Asteroids: 64
MSAA: 16
Auto-Roll: 1
Center-Window: 1
Control-Type: 0
Mouse Sensitivity: 10 (0.001)
Roll Sensitivity: 10 (0.001)
----
Server Host/IP: vfcash.co.uk
----
libGL error: DRI driver not from this Mesa build ('23.2.1-1ubuntu3.1~22.04.2' vs '23.0.4-0ubuntu1~22.04.1')
libGL error: failed to load driver: radeonsi
libGL error: DRI driver not from this Mesa build ('23.2.1-1ubuntu3.1~22.04.2' vs '23.0.4-0ubuntu1~22.04.1')
libGL error: failed to load driver: swrast$ astroimpact
----
3.3.6 X11 GLX EGL OSMesa clock_gettime evdev shared
----
AstroImpact
----
James William Fletcher (github.com/mrbid)
https://AstroImpact.net
https://notabug.org/AstroImpact/AstroImpact
----
Argv: <start epoch> <server host/ip> <num asteroids> <msaa 0-16> <autoroll 0-1> <center window 0-1> <control-type 0-1> <mouse sensitivity (0.001+)> <roll sensitivity (0.001+)>
e.g: /snap/astroimpact/2/astroimpact 1725984211 vfcash.co.uk 64 16 1 1 0 0.003 0.003
----
- Config File (~/.config/fat.cfg) or relative to cwd: (.config/fat.cfg) or (fat.cfg)
Create or edit this file: /home/kafka/snap/astroimpact/2/.config/fat.cfg
using the following template:
----
NUM_ASTEROIDS 64
MSAA 16
AUTOROLL 1
CENTER_WINDOW 1
CONTROLS 0
LOOKSENS 1
ROLLSENS 1
----
!! The CONTROLS setting in the config file allows you to swap between roll and yaw for mouse x:l=>r.
----
F = FPS to console.
R = Toggle auto-tilt/roll around planet.
T = Toggle between mouse look yaw/roll.
W, A, S, D, Q, E, SPACE, LEFT SHIFT.
Q+E to stop rolling.
L-CTRL / Right Click to Brake.
L-ALT / Mouse 3/4 Click to Instant Brake.
Escape to free mouse lock.
----
current epoch: 1725984178
start epoch:   1725984180
----
Asteroids: 64
MSAA: 16
Auto-Roll: 1
Center-Window: 1
Control-Type: 0
Mouse Sensitivity: 10 (0.001)
Roll Sensitivity: 10 (0.001)
----
Server Host/IP: vfcash.co.uk
----
libGL error: DRI driver not from this Mesa build ('23.2.1-1ubuntu3.1~22.04.2' vs '23.0.4-0ubuntu1~22.04.1')
libGL error: failed to load driver: radeonsi
libGL error: DRI driver not from this Mesa build ('23.2.1-1ubuntu3.1~22.04.2' vs '23.0.4-0ubuntu1~22.04.1')
libGL error: failed to load driver: swrast
glfwCreateWindow() failed.

glfwCreateWindow() failed.

My CPU: AMD Radeon RX Vega 8.

Game v1.0 (stable 31/12/2023) installed from Snap store. If using Edge release (17/05/2024) the game does display the big yellow square then seems to freeze:

Server Host/IP: vfcash.co.uk
----
/usr/share/libdrm/amdgpu.ids: No such file or directory
Threads launched and game registration sent.
Process stopped
mrbid commented 2 months ago

I think the snap is most likely broken, the flathub package is more likely to work but there is no longer a server being hosted for it on vfcash.co.uk so it wont connect or do anything anymore sadly (it will probably just launch an empty game with no asteroids at most).

You could download the code, compile it, run your own server, or there is a deb package on https://astroimpact.net with the server and qt gui launcher where you could easier run your own server locally and connect to it. Here is the direct link for the download: https://github.com/AstroImpact/astroimpact.github.io/releases/download/1.1/fat.deb In theory everything in that should work, it installs:

I really appreciate your interest in the project but I have to admit, it's no longer maintained, and I probably need to just turn it into a single player game and re-release it so that it is easier for people to play.

With the snap being broken, I don't release anything on Snapcraft anymore, I just find it too confusing, I used Snapcraft for a few years and always had problems with it breaking my applications in various ways, I have extensive post history complaining about it on their forums lol... But they are good people. I've just given up with it to be honest with you.