ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.18k stars 173 forks source link

Windows GoldSrc beta ignoring ingame resolution. #1078

Closed zp closed 11 years ago

zp commented 11 years ago

The GoldSrc beta(s) for Windows seems to ignore the chosen resolution in game, and sticks to whatever resolution your desktop is. It only appears to change the scaling of UI elements instead of changing resolution.

Examples

Desktop - 1680x1050, ingame - 800x600: http://vp-zp.com/zp/goldsrc/1680x1050-desktop_800x600-ingame.jpg

Desktop - 1680x1050, ingame - 1024x768: http://vp-zp.com/zp/goldsrc/1680x1050-desktop_1024x768-ingame.jpg

Desktop - 1024x768, ingame - 800x600: http://vp-zp.com/zp/goldsrc/1024x768-desktop_800x600-ingame.jpg

Desktop - 1024x768, ingame - 1024x768: http://vp-zp.com/zp/goldsrc/1024x768-desktop_1024x768-ingame.jpg

As you can see from the pics, only the matched 1024x768 desktop/ingame picture is scaled correctly and doesn't have terrible font issues.

alfred-valve commented 11 years ago

This is by design, the window for the game is kept at the desktop res and we do an upsampled blit from the smaller backbuffer to the fullscreen window. The resulting text looks actually a little better than if you had done the mode change (unless you are using an old style CRT, but who is these days).

alfred-valve commented 11 years ago

I'm adding a "-nofbo" and "-nomsaa" command line options to let you disable both the fbo upscaling and the msaa blit, this does reveal that the upscaled looks quite a bit worse, I am going to play with it.

alfred-valve commented 11 years ago

Problem found, missing GL_LINEAR on a FBO blit.