Facepunch / garrysmod-issues

Garry's Mod issue tracker
136 stars 56 forks source link

DPI scaling isn't working #5123

Open Gravy59 opened 2 years ago

Gravy59 commented 2 years ago

Details

I have a 2560x1600 display, and when I set Garry's Mod to my native resolution the UI is extremely small and difficult to use. I can make it larger by lowering the resolution, but I shouldn't have to do that. I understand if Source cannot handle DPI Scaling, but there has to be a way to fix this

Steps to reproduce

  1. Have a monitor of a resolution larger than 1920x1080 (e.g. 2560x1440)
  2. Launch Garry's Mod
  3. Load a map
  4. Open the spawn menu
  5. Press your face against the screen to try and read the small text

Images:

image image

VCSoldier commented 2 years ago

this is an issue with source, not gmod, same thing happens in anything that isnt csgo

A1steaksa commented 4 months ago

This would be immensely useful for me. I have a 4K monitor and the only way to use it for Garry's Mod is to put the game in fullscreen mode which causes lengthy delays when alt-tabbing to edit lua scripts, which significantly reduces how useful hot reloads are. In my case, Windows deals with the changes from game resolution to desktop resolution by consolidating all of my open windows onto a single monitor after freezing for 5-10 seconds.

Alternatively, I can try to run the game in borderless or windowed mode at something like 1080p, but in those cases the game window does not stretch to fill the screen and I'm still unable to clearly read the interface.

Third party window-scalers are largely unhelpful as they introduce a significant amount of both input delay and frame pacing problems that make actually playing the game annoying and unpleasant.

A lack of UI scaling is making Garry's Mod actively harder to develop for and worse to play. This is, from my perspective, a problem severe enough issue to warrant a pretty significant time investment to fix. Or, perhaps, an interim solution could be created to ease the worst of the problems by applying some user-configurable scalar to draw calls to scale them without the interface code's knowledge.

GrayWolf64 commented 3 weeks ago

I have the same issue on a 2880x1800 display, desperately looking for a fix!