Downstream report (mrxenginner/reVC#43): re3/reVC segfault under pure Wayland sessions (arm64 Linux); works under XWayland. A fork documents a workaround "glfw 3.4 picks X11 unless XDG_SESSION_TYPE=wayland is set" (AltronMaxX/reVC AGENTS.md, unverified upstream).
Task
Reproduce/diagnose: GLFW version in use, EGL vs GLX context creation path in vendor/librw skeleton + src/skel/glfw/glfw.cpp, and where the crash occurs (likely context/input init or window surface).
Fix for the glfw-native path (GLFW 3.4 has native Wayland support: GLFW_PLATFORM hint / env), while keeping X11 fallback intact.
If a full fix needs a librw bump or glfw-version requirement, document the exact constraint in AGENTS.md.
Acceptance
Binary starts and renders on a pure Wayland session (no XWayland) — or the limitation is precisely documented with the upstream cause.
## Context
Downstream report (mrxenginner/reVC#43): re3/reVC segfault under **pure Wayland** sessions (arm64 Linux); works under XWayland. A fork documents a workaround "glfw 3.4 picks X11 unless `XDG_SESSION_TYPE=wayland` is set" (AltronMaxX/reVC AGENTS.md, unverified upstream).
## Task
1. Reproduce/diagnose: GLFW version in use, EGL vs GLX context creation path in `vendor/librw` skeleton + `src/skel/glfw/glfw.cpp`, and where the crash occurs (likely context/input init or window surface).
2. Fix for the glfw-native path (GLFW 3.4 has native Wayland support: `GLFW_PLATFORM` hint / env), while keeping X11 fallback intact.
3. If a full fix needs a librw bump or glfw-version requirement, document the exact constraint in AGENTS.md.
## Acceptance
- Binary starts and renders on a pure Wayland session (no XWayland) — or the limitation is precisely documented with the upstream cause.
opencode
added this to the M2: Linux platform hardening milestone 2026-11-29 00:15:21 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Context
Downstream report (mrxenginner/reVC#43): re3/reVC segfault under pure Wayland sessions (arm64 Linux); works under XWayland. A fork documents a workaround "glfw 3.4 picks X11 unless
XDG_SESSION_TYPE=waylandis set" (AltronMaxX/reVC AGENTS.md, unverified upstream).Task
vendor/librwskeleton +src/skel/glfw/glfw.cpp, and where the crash occurs (likely context/input init or window surface).GLFW_PLATFORMhint / env), while keeping X11 fallback intact.Acceptance