Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xrandr scaling not restored after screen lock/display sleep #9434

Open
emanruse opened this issue Aug 31, 2024 · 0 comments
Open

xrandr scaling not restored after screen lock/display sleep #9434

emanruse opened this issue Aug 31, 2024 · 0 comments
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: desktop-linux needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@emanruse
Copy link

Qubes OS release

4.2.2

Brief summary

After remaining for some time in locked screen mode, the original down scaling introduced by xrandr is not restored.

Steps to reproduce

Not sure if this is relevant, just extra info: On this system there are 2 displays - one 4K (primary, DisplayPort) and one 2K (secondary, HDMI). To have a matching scale, I set this when using either (A) both screens (side-by-side) or (B) only the 2K one:

xrandr \
    --output DP-2 \
    --scale 2x2 \
    --set "Broadcast RGB" "Limited 16:235"
  1. While in (B) mode (only 2K screen, scaled as explained), lock the screen

  2. Wait a few seconds or a minute

  3. Move the mouse

Expected = Actual: scaling is fine

  1. Wait more (e.g. 15+ minutes) - this seems to be the key to reproducing the issue. I have not measured the exact time, it seems to vary.

Expected behavior

The scaling should be preserved as set by xrandr.

Actual behavior

The specified scaling is not preserved. Everything displays as 1x1 (i.e. twice bigger), instead of 2x2 scaled.

@emanruse emanruse added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Aug 31, 2024
@andrewdavidwong andrewdavidwong added C: desktop-linux needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. affects-4.2 This issue affects Qubes OS 4.2. labels Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: desktop-linux needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

2 participants