ValveSoftware / ValveSoftware/Proton

Fullscreen doesn't take into consideration xrandr scaling

Open
#3,060 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
32.8k
Forks
1.6k
PR merge metrics
PR metrics pending

Description

Hello, I'm using the linear scaling feature of xrandr to fit 1920x1080 linearly to my 4k screen. However, on some games, (specifically Underrail and Pillars of Eternity II in this case), this scaling is ignored when the game is at fullscreen and the game will still still scale from 1920x1080 to 4k on its own, causing only the top left quarter of the game to be visible (and not use linear scaling.)

I've tested this with 4.11-4 and 4.2-9 with the same issue.

Investigating other options that have a "Borderless Fullscreen" and separate "Fullscreen" mode, it seems to be a problem with Fullscreen as Borderless Fullscreen fits to the window fine.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using xrandr linear scaling with the Underrail or Pillars of Eternity II fullscreen mode, then compare it with Borderless Fullscreen. Trace Proton's fullscreen and display-scaling handling; the fix is complete when fullscreen respects the configured scaling without cropping the display.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.