GUI elements missing/corrupted (glew issue)

Description:

Applications loads with some GUI elements missing/corrupted, loading any files crashes the application. Starting the application in the terminal gives these errors. Rolling back to prusa-slicer-2.9.4-1 and glew-2.2.0-7 fixes the issue

15:19:42: Debug: window wxTreeCtrl@0x55975d6c82a0 ("treeCtrl") lost focus even though it didn't have it 15:19:42: Debug: window wxTreeCtrl@0x55975d6c82a0 ("treeCtrl") lost focus even though it didn't have it 15:19:42: Debug: window wxTreeCtrl@0x55975d6c82a0 ("treeCtrl") lost focus even though it didn't have it [2026-01-11 15:19:42.273690] [0x00007f88512d3940] [error] Unable to init glew library: No GLX display [2026-01-11 15:19:42.278102] [0x00007f88512d3940] [error] Unable to init glew library: No GLX display

Additional info:

PrusaSlicer-2.9.4+arch3 based on Slic3r (with GUI support)

Steps to reproduce:

step 1. start the application

Edited by Mike