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

Linux Wayland is broken. #245

Open
5 tasks done
KomaDi opened this issue Aug 31, 2024 · 4 comments
Open
5 tasks done

Linux Wayland is broken. #245

KomaDi opened this issue Aug 31, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@KomaDi
Copy link

KomaDi commented Aug 31, 2024

Before opening this issue, I ensure that...

  • I have read the FAQ and confirmed my issue is not mentioned in it.
  • I have checked both open and closed issues and confirmed this bug has not already been reported.
  • I am not asking for tech support (e.g. game closing on startup, error when trying to build, etc).
  • I am not asking for modding support or reporting a bug in a specific mod; this bug either occurs without mods enabled or is directly related to the mod loader.
  • This bug is not related to any unofficial fork/port of the decompilation, and any issues with those should be kept in the appropriate repository.

Expected Behavior

Game should display normally in fullscreen without blackbars

Actual Behavior

Game is rendering with blackbars not in fullscreen

Steps to Reproduce

start program with SDL_VIDEOBACKEND=wayland env
SDL_VIDEOBACKEND=wayland RSDKv3

Screenshots

Screenshot_20240831_232218
Screenshot_20240831_232248

Log File

log.txt

Decompilation Version

a08c065

Game Version

Blit Release (Steam/XBOX 360/PS3)

Game Revision

No response

Renderer Type

Software Renderer

Platform

PC/Void Linux

Additional Comments

I think it's happening because wayland scaling

@KomaDi KomaDi added the bug Something isn't working label Aug 31, 2024
@GeffDev
Copy link
Contributor

GeffDev commented Aug 31, 2024

This looks like a framebuffer scaling issue, are you using a HiDPI display?

@KomaDi
Copy link
Author

KomaDi commented Aug 31, 2024

This looks like a framebuffer scaling issue, are you using a HiDPI display?

I set 120% scaling in kde plasma. In rsdkv5 this bug is fixed, but not here

@GeffDev
Copy link
Contributor

GeffDev commented Aug 31, 2024

In v5 Wayland HiDPI support was fixed in RSDKModding/RSDKv5-Decompilation@fc451f8. I'm not quite sure if SDL2 has an equivalent to GLFW_SCALE_TO_MONITOR right now.

@KomaDi
Copy link
Author

KomaDi commented Sep 1, 2024

In v5 Wayland HiDPI support was fixed in RSDKModding/RSDKv5-Decompilation@fc451f8. I'm not quite sure if SDL2 has an equivalent to GLFW_SCALE_TO_MONITOR right now.

Oh really? I leave issue opened, maybe this problem will be solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants