r/defold • • 18d ago

Help ⋅ Solved ✔ My Linux build refuse to run.

It works fine in the editor and the Windows build, but the Linux build keeps throwing the same error. I'm using Void Linux.

Here's the terminal output:

INFO:DLIB: Log server started on port 37299
INFO:ENGINE: Target listening with name: Vakua - ::1 - Linux
INFO:ENGINE: Engine service started on port 8001
INFO:ENGINE: OpenAPI: http://localhost:8001/openapi.json
INFO:GRAPHICS: Installed graphics device 'ADAPTER_FAMILY_VULKAN'
INFO:ENGINE: Defold Engine 1.14.1 (ee283d4)
INFO:PROFILER: Initialized Remotery (ws://127.0.0.1:17815/rmt)
INFO:GRAPHICS: Vulkan device selected: AMD Radeon RX 6600 (RADV NAVI23)
INFO:ENGINE: Loading data from: archive:game.dmanifest
[ALSOFT] (EE) Failed to connect PipeWire event context (errno: 112)
[ALSOFT] (EE) Could not query RTKit: No such file or directory (2)
INFO:SOUND:   DSP backend: SSE
INFO:SOUND: Sound
INFO:SOUND:   nSamplesPerSec:   48000
INFO:SOUND:        useThread:   1
INFO:ENGINE: Initialised sound device 'default'
INFO:PHYSICS: Created physics context: Box2D v2.2.1
ERROR:GRAPHICS: Unable to get a valid shader from a ShaderDesc for this context. 
ERROR:GAMESYS: Failed to create shader program '/shader_-5550195794139652642.spc': No error information was provided by the graphics backend.
ERROR:GAMESYS: No shapes found in collision object
ERROR:GRAPHICS: Unable to get a valid shader from a ShaderDesc for this context. 
ERROR:GAMESYS: Failed to create shader program '/shader_-7170045909771754498.spc': No error information was provided by the graphics backend.
ERROR:GRAPHICS: Unable to get a valid shader from a ShaderDesc for this context. 
ERROR:GAMESYS: Failed to create shader program '/shader_6592067761991147028.spc': No error information was provided by the graphics backend.
ERROR:GAMEOBJECT: Could not instantiate game object from prototype /main/crate.goc.
8 Upvotes

4 comments sorted by

2

u/PhilipRoman 17d ago

--graphics-adapter=opengl might be a workaround? Looks like some mismatch between what bob.jar creates (opengl/glsl) and what the engine expects (spir-v)

2

u/R3cl41m3r 17d ago edited 17d ago

That worked, thanks.

1

u/PhilipRoman 6d ago

Just FYI I reported it to defold devs and they have fixed it for future releases: https://github.com/defold/defold/issues/13780

1

u/Sufficient_Grade_534 5d ago

Yeah sorry about that, it should be fixed now.
/Defold dev