The officially official Devuan Forum!

You are not logged in.

#1 2023-02-11 00:48:00

TCH
Member
Registered: 2023-01-29
Posts: 31  

[SOLVED] X11 zooms(?) at screen resolution changes?

If i run a fullscreen game, it changes the resolution to 960x540, despite the resolution being set to 1920x1080. The game's window is 1920x1080, but the entire desktop is zoomed. The monitor reports it is in 1920x1080 (and i believe it, as no blur happens).

Furthermore even a simple xrandr command is enough for this:

xrandr --output DP-0 --brightness 1

And after this command, the desktop is zoomed.

The screenshot program says too, that the resolution is 1920x1080 and it is able to capture the entire desktop, including the missing three quarters.

The system is Devuan Chimaera, the GFX card is an NVIDIA 960 GTX and the driver is the latest from the official repos (525.85.12-1). Before updating to Devuan 4, this did work correctly.

Any ideas?

Last edited by TCH (2023-02-11 00:50:37)

Offline

#2 2023-02-11 01:08:19

TCH
Member
Registered: 2023-01-29
Posts: 31  

Re: [SOLVED] X11 zooms(?) at screen resolution changes?

Okay, after trying and searching for hours with no avail, i got a sudden spark, went into /etc/X11/xorg.conf and did the following change:

    Option         "metamodes" "1920x1080_144 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "metamodes" "1920x1080_144 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0 ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"

And now everything is fine...but why?! Why did this work before without specifying ViewPortIn and ViewPortOut and why does it need it now???

Offline

Board footer