我偶尔需要使用平移功能来在我的联想笔记本电脑上移动更大的(虚拟)桌面。在我之前的笔记本电脑上,我使用 xrandr 来实现这一点。
xrandr --listactivemonitors
Monitors: 1
0: +*XWAYLAND18 1920/310x1080/170+0+0 XWAYLAND18
我现在尝试了以下操作,但收到一条错误消息:
xrandr --verbose --output XWAYLAND18 --panning 1920x1500
crtc 0: 1920x1080 59.96 +0+0 "XWAYLAND18"
X Error of failed request: BadRRCrtc (invalid Crtc parameter)
Major opcode of failed request: 139 (RANDR)
Minor opcode of failed request: 29 (RRSetPanning)
Crtc id in failed request: 0x561
Serial number of failed request: 22
Current serial number in output stream: 22
这是来自 lspci 的信息:
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01) (prog-if 00 [VGA controller])
Subsystem: Lenovo TigerLake-LP GT2 [Iris Xe Graphics]
Flags: bus master, fast devsel, latency 0, IRQ 185, IOMMU group 2
Memory at 603c000000 (64-bit, non-prefetchable) [size=16M]
Memory at 4000000000 (64-bit, prefetchable) [size=256M]
I/O ports at 3000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915
uname -a
Linux mylapubu 6.5.0-15-generic #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
(无需多显示器设置,屏幕在 1920x1080 下即可正常工作,没有任何问题)