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

screen tearing on full screen app on linux #1017

Open
goofyseeker311 opened this issue Nov 7, 2024 · 1 comment
Open

screen tearing on full screen app on linux #1017

goofyseeker311 opened this issue Nov 7, 2024 · 1 comment

Comments

@goofyseeker311
Copy link

goofyseeker311 commented Nov 7, 2024

Question

on rtx 3080 on ubuntu 24.04 LTS linux with proper nvidia drivers has screen tearing when in full screen mode with lwjgl opengl glfw window. when in windowed mode there is no screen tearing. no screen tearing in windows in full screen or windowed mode.

using typical swapinterval(1). any ideas why this is happening?

(side note: if you put all the different platforms native lwjgl opengl jars in the .jar file, it will not run on linux, but will run on windows. ie you have to make a separate jar for at least the linux distribution of the app, to get it running.)

(side note: also gpu (opencl) fps is somehow locked to 62-63fps, even opencl cpu mode is not locked to 62fps.)

@goofyseeker311
Copy link
Author

goofyseeker311 commented Nov 7, 2024

Also side question: hdr screen usage on lwjgl glfw opengl? assuming you already have either RGB10A2 or FLOAT4 pixel texture to draw to the screen on the opengl side. I would assume RGB10A2 would make 0-255 to be 0.0f-1.0f sdr range and everything 255-1023 to be hdr range. float would be direct 0.0f-1.0f sdr and all above 1.0f is hdr.

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

No branches or pull requests

1 participant