Prefer discrete GPU on dual-GPU systems via PRIME environment variables breaks AppImage builds for Ubuntu/Pop!_OS 22.04 #448

Open
opened 2026-04-05 16:21:04 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @timnolte on 3/6/2026

Pretty sure this is now the cause of my latest AppImage build as of main today to now crash with a Core Dump. I have a System76 machine with dual GPUs running in hybrid mode.

I went back to the commits before this change and the build runs perfectly fine.

Works:
#d50b4cbf3d05e3d3fe7d6f078a9719f90ca01e5f

Doesn't Work(crashes):
#008cfd1f8657c0e266a7a741920d7e9f7e187baa

To clarify both of the builds from these commits will crash with a Core Dump if started from the command line(terminal window) with:

Could not create GBM EGL display: EGL_NOT_INITIALIZED. Aborting...
(Core dump)

However, the version that works will run perfectly fine via the app icon generated in the DE launcher.

Originally posted by @timnolte in https://github.com/OrcaSlicer/OrcaSlicer/issues/12602#issuecomment-4008978267

*Originally created by @timnolte on 3/6/2026* Pretty sure this is now the cause of my latest AppImage build as of `main` today to now crash with a Core Dump. I have a System76 machine with dual GPUs running in hybrid mode. I went back to the commits before this change and the build runs perfectly fine. Works: [#d50b4cbf3d05e3d3fe7d6f078a9719f90ca01e5f](https://github.com/OrcaSlicer/OrcaSlicer/commit/d50b4cbf3d05e3d3fe7d6f078a9719f90ca01e5f) Doesn't Work(crashes): [#008cfd1f8657c0e266a7a741920d7e9f7e187baa](https://github.com/OrcaSlicer/OrcaSlicer/commit/008cfd1f8657c0e266a7a741920d7e9f7e187baa) To clarify both of the builds from these commits will crash with a Core Dump if started from the command line(terminal window) with: ``` Could not create GBM EGL display: EGL_NOT_INITIALIZED. Aborting... (Core dump) ``` However, the version that works will run perfectly fine via the app icon generated in the DE launcher. _Originally posted by @timnolte in https://github.com/OrcaSlicer/OrcaSlicer/issues/12602#issuecomment-4008978267_
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#448