Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

monitor resolution not detected properly #47

Open
jaredb1011 opened this issue Jul 6, 2021 · 2 comments
Open

monitor resolution not detected properly #47

jaredb1011 opened this issue Jul 6, 2021 · 2 comments

Comments

@jaredb1011
Copy link

I'm using a 2560x1440p monitor with no scaling set. I double checked in nvidia control panel that I'm running native 2560x1440p resolution. When I call d.devices, I get this:

<Display name=Generic PnP Monitor adapter=NVIDIA GeForce RTX 2070 SUPER resolution=2048x1152 rotation=0 scale_factor=1.25 primary=True>

According to this, my resolution is only 2048x1152 with a scale factor of 1.25. I believe this is causing an issue for me, because I am not able to capture the entire output of my monitor, even when I set region=(0, 0, 2559, 1439).

Any ideas?

@jaredb1011
Copy link
Author

If I overwrite d.device.resolution with the proper 2560x1440 resolution, I get the full screen capture as expected.

@yuckify
Copy link

yuckify commented Sep 11, 2021

I had the same issue and this worked for me as well. Note, the variable is no longer "device" its now "display". So for me it would be d.display.resolution = (3840, 2160).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants