It's currently not possible to launch Wayland programs through raddbg, I managed to reproduce this with this raylib example program
#include "raylib.h"
int main(void) {
const int screenWidth = 800;
const int screenHeight = 450;
InitWindow(screenWidth, screenHeight, "raylib [core] example - basic window");
SetTargetFPS(60);
while (!WindowShouldClose()) {
BeginDrawing();
ClearBackground(RAYWHITE);
DrawText("Congrats! You created your first window!", 190, 200, 20,
LIGHTGRAY);
EndDrawing();
}
CloseWindow();
return 0;
}
when compiling this and adding it as a target no window will be spawned, the program itself however is running (at least according to ps), when I however start raddbg with GLFW_VIDEODRIVER=x11 raddbg aka enforcing that GLFW (which raylib uses) uses x11 instead of Wayland everything works fine. Setting the env variable in the target for some reason doesn't work though, this might however be a different issue.
It's currently not possible to launch Wayland programs through raddbg, I managed to reproduce this with this raylib example program
when compiling this and adding it as a target no window will be spawned, the program itself however is running (at least according to
ps), when I however start raddbg withGLFW_VIDEODRIVER=x11 raddbgaka enforcing that GLFW (which raylib uses) uses x11 instead of Wayland everything works fine. Setting the env variable in the target for some reason doesn't work though, this might however be a different issue.