System info:
OS: Linux Mint 22 x86_64
Kernel: 6.8.0-50-generic
Shell: bash 5.2.21
DE: Cinnamom 6.2.9 desktop environment'
Terminal: gnome-terminal
During the install instructions found at https://powdertoy.co.uk/Wiki/W/Building_TPT_with_Meson.html#Compiling_for_Linux I ran into some trouble right at the end. When running the ./powder command to try and launch the program after compiling, I receive the following error from the terminal:
od@tau-cannon:~/The-Powder-Toy/build-debug$ ./powder
ReadFile: powder.pref: No such file or directory
ReadFile: stamps/stamps.json: No such file or directory
ReadFile: stamps/stamps.def: No such file or directory
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 171
Current serial number in output stream: 172
od@tau-cannon:~/The-Powder-Toy/build-debug$
From what I could tell, the install process went off without a hitch. I ran meson compile a second time as the wiki instructs to check and make sure nothing got missed, but the terminal reports there is nothing to do. I've also tried running an optimized build and ran into the same thing. I've not launched this program before so I figure several of these files the game is looking for are auto-generated upon running for the first time. Been a fan of this game for years and want to install it now that I've migrated to Linux. Thank you for any help you can provide!
SDL_RENDER_DRIVER=software ./powder?Hey, thank you for the reply. I'm not sure where to input that fix you have there in the red text. Would this be in a .c file?
I also hadn't realized you guys have an executable. I went ahead and tried downloading and running that but it behaves exactly the same. Running it via the terminal gives the same error message. I will keep trying and report back if I happen to find a solution. Thank you!
You were correct. I believe when I set up this operating system over a year ago I messed up somewhere with the graphics drivers. I did the following by the person named kernel8liang's instructions here
https://github.com/apache/mxnet/issues/5385
After this I gave the program a shot and got it working! Thank you for the advice.