Skip to content

Rive template project crashes on Steam Deck #249

@mstetson

Description

@mstetson

Describe the bug (REQUIRED)
Engine crashes initializing Rive on Steam Deck, maybe all Linux.

To Reproduce (REQUIRED)
Steps to reproduce the behavior:

  1. Create a new Defold project from the Rive project template.
  2. Bundle for Linux x86.
  3. Copy the bundle to a Steam Deck. (Maybe any Linux box, but I haven't tried.)
  4. Run the executable.
  5. Engine crashes.

Crash dump: _crash.zip

Expected behavior (REQUIRED)
I expected the game to launch

Defold version (REQUIRED):

  • Defold: 1.12.2
  • Extension-Rive: main branch today (a6c7f7c)

I've had the same crash with Defold 1.12.1, Extension-Rive 10.1.0.

Platforms (REQUIRED):

  • Platforms: Linux
  • OS: SteamOS
  • Device: Steam Deck

Logs (OPTIONAL):

(deck@MicahDeck RiveTest)$ ./RiveTest.x86_64
INFO:DLIB: Log server started on port 36175
INFO:ENGINE: Target listening with name: MicahDeck - fe80::16d4:24ff:feb7:b031 - Linux
INFO:ENGINE: Engine service started on port 8001
INFO:GRAPHICS: Installed graphics device 'ADAPTER_FAMILY_OPENGL'
INFO:ENGINE: Defold Engine 1.12.2 (e43be33)
INFO:PROFILER: Initialized Remotery (ws://127.0.0.1:17815/rmt)
INFO:ENGINE: Loading data from: archive:game.dmanifest
INFO:RIVEEXT: Registered Rive extension:  2026-01-09T07:54:52Z  3a5b5058aca009b823154ed7f92c11d599c00ae3

INFO:LIVEUPDATE: Found no legacy liveupdate zip file references
INFO:LIVEUPDATE: Found no legacy liveupdate index paths
INFO:SOUND:   DSP backend: Fallback
INFO:SOUND: Sound
INFO:SOUND:   nSamplesPerSec:   48000
INFO:SOUND:        useThread:   1
INFO:ENGINE: Initialised sound device 'default'
INFO:RIVEEXT: ==== GL GPU: AMD Custom GPU 0405 (radeonsi, vangogh, LLVM 18.1.8, DRM 3.59, 6.11.11-valve26-1-neptune-611-gb3afa9aa9ae7) ====

INFO:RIVEEXT: Render to texture enabled
INFO:RIVEEXT: Display Factor: 1
ERROR:GRAPHICS: DoCreateShader(2272): gl error 1282: GL_INVALID_OPERATION

RiveTest.x86_64: ../src/opengl/graphics_opengl.cpp:2272: GLuint dmGraphics::DoCreateShader(HContext, GLenum, const void *, uint32_t, char *, uint32_t): Assertion `0' failed.
INFO:CRASH: Successfully wrote Crashdump to file: /home/deck/.Defold/_crash
ERROR:CRASH: CALL STACK:


ERROR:CRASH: ./RiveTest.x86_64(+0x5d1407) [0x5626b41b0407]
ERROR:CRASH: /usr/lib/libc.so.6(+0x3dd10) [0x7fc07e64bd10]
ERROR:CRASH: /usr/lib/libc.so.6(+0x975a4) [0x7fc07e6a55a4]
ERROR:CRASH: /usr/lib/libc.so.6(gsignal+0x20) [0x7fc07e64bbe0]
ERROR:CRASH: /usr/lib/libc.so.6(abort+0x26) [0x7fc07e633582]
ERROR:CRASH: /usr/lib/libc.so.6(__assert_perror_fail+0) [0x7fc07e6334eb]
ERROR:CRASH: ./RiveTest.x86_64(+0x6c7aab) [0x5626b42a6aab]
ERROR:CRASH: ./RiveTest.x86_64(+0x6bf975) [0x5626b429e975]
ERROR:CRASH: ./RiveTest.x86_64(+0x328747) [0x5626b3f07747]
ERROR:CRASH: ./RiveTest.x86_64(+0x2d4e04) [0x5626b3eb3e04]
ERROR:CRASH: ./RiveTest.x86_64(+0x2d552c) [0x5626b3eb452c]
ERROR:CRASH: ./RiveTest.x86_64(+0x324fe3) [0x5626b3f03fe3]
ERROR:CRASH: ./RiveTest.x86_64(+0x324eee) [0x5626b3f03eee]
ERROR:CRASH: ./RiveTest.x86_64(+0x2d4e04) [0x5626b3eb3e04]
ERROR:CRASH: ./RiveTest.x86_64(+0x2d552c) [0x5626b3eb452c]
ERROR:CRASH: ./RiveTest.x86_64(+0x31a381) [0x5626b3ef9381]
ERROR:CRASH: ./RiveTest.x86_64(+0x2d4e04) [0x5626b3eb3e04]
ERROR:CRASH: ./RiveTest.x86_64(+0x2d552c) [0x5626b3eb452c]
ERROR:CRASH: ./RiveTest.x86_64(+0x298139) [0x5626b3e77139]
ERROR:CRASH: ./RiveTest.x86_64(+0x297586) [0x5626b3e76586]
ERROR:CRASH: ./RiveTest.x86_64(+0x2990e0) [0x5626b3e780e0]
ERROR:CRASH: ./RiveTest.x86_64(+0x29a31b) [0x5626b3e7931b]
ERROR:CRASH: ./RiveTest.x86_64(+0x294771) [0x5626b3e73771]
ERROR:CRASH: /usr/lib/libc.so.6(+0x27488) [0x7fc07e635488]
ERROR:CRASH: /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x7fc07e63554c]
ERROR:CRASH: ./RiveTest.x86_64(+0x294545) [0x5626b3e73545]
ERROR:CRASH:

Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions