Feature #1036

Add support for undersampled 3D rendering

Added by Calinou almost 2 years ago. Updated almost 2 years ago.

Status:Invalid% Done:

100%

Priority:Normal
Assignee:-
Category:Client
Target version:ALL
OS: Arch:

Description

Support for undersampled 3D rendering should be added, to allow users of hiDPI monitors (but with slow GPUs) to play the game with decent framerates without the inconveniences of lower-resolution fullscreen.

For example, I get low, unstable framerate (20-30 FPS) on my laptop in its native resolution (3840×2160), but after forcing the game to run in 1920×1080 fullscreen, I get 60-100 FPS in most areas of official maps (in a local game with only one player, though).

The game seems to handle non-native fullscreen resolutions quite well on Linux, probably thanks to SDL 2, but it could be even better with undersampling (which many modern games provide now).

Upsides of undersampling compared to lower-resolution fullscreen:
- Keeps the HUD and fonts sharp (although the HUD head probably will be undersampled)
- No modesetting required when alt-tabbing (makes it faster to switch between windows)
- Can be used in windowed mode
- Makes it possible to change the upscaling algorithm used (lower or higher-quality, or even pixelated for a retro look)

Downsides:
- Probably slower than lower-resolution fullscreen, but needs to be tested

History

#1 Updated by IR4T4 almost 2 years ago

  • Target version set to ALL

Send us a patch.

#2 Updated by Spyhawk almost 2 years ago

  • Status changed from New to Invalid
  • % Done changed from 0 to 100

but with slow GPUs

Not worth the effort.

A high dpi screen should be used with a high-end graphic card, with the according high performance, fully proprietary driver from nVidia or AMD.

#3 Updated by Mateos almost 2 years ago

Ah, so new laptops aren’t supported?

#4 Updated by Spyhawk almost 2 years ago

New laptops don’t allow lower resolution?

#5 Updated by Mateos almost 2 years ago

Ah, so the game leaves a constraint to the user? Some cool design choice yeah. What year is it?

#6 Updated by Spyhawk almost 2 years ago

It is the year where you send patch if you want a feature that is not worth the effort.
These hidpi laptop with low gfx perf aren’t designed for gaming.

Now please stop being condescending: the code is open, stop complaining and start by sticking your thumb out of your a**.

#7 Updated by Mateos almost 2 years ago

Judging it isn’t worth the effort and throwing the thing away is "condescending" as you say, but heh, even though most of the new stuff (engines, software) support this feature (you have like plenty of articles online), it’s not a big issue ETL doesn’t do as well; non-techi people will just see an old game running with low frame rate on modern systems and forget about it. I think you just missed my point ^^'

#8 Updated by keMoN almost 2 years ago

There are points being missed on both sides. But please understand that we are an incredibly small team and to no extend comparable to game studios working on those referenced modern games. This ticket is closed and will remain closed, because we have absolutely no ressources lying around and the workload is already immensly impressive. All of the people involved are doing this as a hobby.
Everyone who wants to can join our efforts and the fastest way to get your desired features is to send patches. There are quite a few people on here/Discord/IRC etc that have the potential knowledge to work on this project but choose not to because of various reasons. We respect that, but please also respect our decision to priotitize issues and decline those that we deem to not be worth being looked into. We do not get paid for this but the workload is that of a full-time job. So please respect our decision if we can’t work on some features.

Again, we are an open team a nd if you have knowledge in that area, which by the discussion seems likely, then just have a look for yourself.

This is not meant to be offensive, but rather defensive. Please understand the situation we are in.

Also available in: Atom PDF