You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something happened in this branch merge 1904873 that broke the HiDPI behavior in Linux environment, if I switch to previous commit, before the merge, all is proper 68b553c
Environment
Operating System is Linux Ubuntu 22.04 running on Windows 11 WSL with export LIBGL_ALWAYS_SOFTWARE=1 to avoid trouble with the Nvidia WSL drivers
Issue Screenshot
Sample output on broken branch - it looks that something gets it to switch to wayland
This looks the same as the issue in raylib-go gen2brain/raylib-go#354. With different compositors, it works but with Gnome/Mutter, it is like that (although I cannot reproduce it in VM with Gnome/Wayland). You can just use an X11 session, or compile with SDL, or try a different compositor, but it looks like it is specific to something in Gnome.
Just to add, before that commit, you were using X11 compatibility mode in Wayland, now you are using native Wayland mode. In raylib-go I added a build tag x11 (i.e. I just don't define -D_GLFW_WAYLAND) for users who want to keep the old/compatibility behavior.
raysan5
changed the title
[module] Linux HiDPI broken on last master branch merge
[rcore] Linux HiDPI broken on last master branch merge
Mar 30, 2024
raysan5
changed the title
[rcore] Linux HiDPI broken on last master branch merge
[rcore] HiDPI not workign as expected on Wayland protocol
Apr 21, 2024
raysan5
changed the title
[rcore] HiDPI not workign as expected on Wayland protocol
[rcore] HiDPI not working as expected on Wayland protocol
Apr 21, 2024
Please, before submitting a new issue verify and check:
Issue description
Something happened in this branch merge 1904873 that broke the HiDPI behavior in Linux environment, if I switch to previous commit, before the merge, all is proper 68b553c
Environment
export LIBGL_ALWAYS_SOFTWARE=1
to avoid trouble with the Nvidia WSL driversIssue Screenshot
This produces this image, when running the sample, which renders incorrectly, mouse events are also off
This produces this image, when running the sample, which render properly
Code Example
The text was updated successfully, but these errors were encountered: