Как исправить масштабирование xrandr

У меня есть два монитора рядом. Один - 3840x2160@30hz, другой - 1280x1024@60hz. Я пытаюсь установить меньший масштаб монитора:

xrandr --output VGA1 --scale 2x2

С помощью этой команды можно использовать только 1/4 монитора.

Как я могу исправить эту проблему с помощью xrandr?

0
задан 11 June 2016 в 09:55

1 ответ

Due to the bug described here, I had to patch and recompile the xserver-xorg-core package using Chris Wilson's patch.

Here's how I did it:

Download the source and patch for the xserver-xorg-core package.

mkdir src && cd src

apt-get source xorg-server

cd xorg-xserver-x.xx.x/randr

wget -O- "https://bugs.freedesktop.org/attachment.cgi?id=94929" > randr.patch

Patch xrandr:

patch -p1 < randr.patch

At

File to patch:

type:

rrcrtc.c

Install build dependencies:

sudo apt-get build-dep xserver-xorg-core

Install more build packages:

sudo apt-get install build-essential devscripts fakeroot

Compile the package:

cd ..

debuild -us -uc -i -I

Install the new package:

sudo dpkg -i xserver-xorg-core_x.xx.x-x.deb

Restart your DE and xrandr should now scale perfectly!

1
ответ дан 11 June 2016 в 19:55

Другие вопросы по тегам:

Похожие вопросы: