this post was submitted on 27 Oct 2023
4 points (75.0% liked)

Linux

157 readers
1 users here now

Everything about Linux

RULES

founded 1 year ago
MODERATORS
 

I'm considering buying a 1440p ultrawide display for my gaming machine (Linux Mint, Cinnamon X.Org). Is it possible to set certain games to only use the "middle" of the display? I ask because e.g. a game like League of Legends (it's my guilty pleasure, don't judge! ๐Ÿ˜‚) doesn't seem like a good fit for ultrawide, and I'd rather play it at 2560ร—1440 "centered" with black bars on the side.

Does anybody know? Thanks!

top 8 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 3 points 8 months ago

Sounds like a job for gamescope.

[โ€“] [email protected] 2 points 8 months ago

Doing this in reverse all the time. Stretching games on my triple head setup to full size. It's the same principle. If the game doesn't offer it kill it with gamescope, Wine virtual desktop or if nothing helps a completely virtual display that overlays your current:

https://beko.famkos.net/2021/05/31/extreme-multihead-for-gaming-on-linux-pc/

For some editing the config files directly works wonders. Looking at you Unity!

[โ€“] Clearwater 2 points 8 months ago

As the others said, windowed mode at your desired resolution, fullscreen at your desired resolution, or if neither work, gamescope.

Gamescope will make the game believe the display is a particular resolution and force it to run that way regardless of the actual hardware.

[โ€“] AProfessional 1 points 8 months ago (1 children)

Just set the game to full screen 2560x1440. The monitor does the right thing.

[โ€“] [email protected] 1 points 8 months ago (1 children)

No it won't. Source: me suffering during years gaming on Linux on UW display.

[โ€“] AProfessional 1 points 8 months ago (1 children)

Works for me. I have a Dell UW.

[โ€“] [email protected] 1 points 8 months ago

What are your EDID resolutions? Is there real display scaling available ? Mine Takes the whole monitor no matter what. Maybe yours was designed by a sane engineer.

[โ€“] [email protected] 1 points 8 months ago

I don't recomend Ultrawide Displays for gaming on linux. Get it and you,LL SUFFER (spoky voice).. The EDID of my UW display (predator) is horrible .. like.. uw 1440p or 768p and nothing in between..

Tbh theres have been a couple of years since the last time I tried and people says that gamescope does the trick but I didn't tried.. but believe me that It was a real pain in the passt to avoid res stretching.