Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no window rendered running HelloOpenXRGL sample #1031

Open
farmboy0 opened this issue Dec 21, 2024 · 1 comment
Open

no window rendered running HelloOpenXRGL sample #1031

farmboy0 opened this issue Dec 21, 2024 · 1 comment

Comments

@farmboy0
Copy link

Version

3.3.5

Platform

Linux x64

JDK

GraalVM 17

Module

GLFW, OpenXR, OpenGL

Bug description

I tried running the HelloOpenXRGL on linux with LWJGL 3.3.5 but there are 2 problems with it.

  1. you need to add GL21.GL_SRGB8 to the desiredSwapchainFormats at line 600-603
  2. The real problem I see though is that the 2D window the sample opens is empty on X11 and not even showing the window border on wayland.

Im running Gentoo Linux with GLFW 3.4

Stacktrace or crash log output

No response

@knokko
Copy link
Contributor

knokko commented Dec 23, 2024

It has been a long time since I wrote this sample, and I don't really use OpenGL nowadays. Could you elaborate point (1)? Why is it a good idea to add this desired swapchain format?

Regarding point (2), that is desired! I never wanted to create a window; I just want to render on the headset. But... creating an OpenGL context without creating a window is surprisingly hard, so the easiest way to do this, is by creating a small invisible window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants