Xorg multi-monitor setup truncated at 16384 pixels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Opinion
|
Undecided
|
Unassigned | ||
mutter (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
xorg-server (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I have three monitors arranged horizontally left-to-right, with fractional scaling enabled in Xorg mode (not Wayland):
#1: laptop, 3840x2400 native, scaled at 225%
#2: external monitor 1, 3840x2160 native, scaled at 150% (main display)
#3: external monitor 2, 3840x2160 native, scaled at 150%
In this setup, a little more than half of the rightmost monitor is truncated black.
I suspect it is caused by oversampled screens (fractional scaling) not fitting into the maximum framebuffer size of 16384x16384, as evidenced by the following xrandr(1):
$ xrandr | awk '/^[^ ]/ && $2 != "disconnected"'
Screen 0: minimum 320 x 200, current 16384 x 4320, maximum 16384 x 16384
eDP-1 connected 5112x3195+0+0 (normal left inverted right x axis y axis) 366mm x 229mm
DP-2 connected primary 7680x4320+5112+0 (normal left inverted right x axis y axis) 597mm x 336mm
DP-3 connected 7680x4320+12792+0 (normal left inverted right x axis y axis) 597mm x 336mm
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: xserver-xorg 1:7.7+23ubuntu2
ProcVersionSign
Uname: Linux 6.2.0-20-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 525.105.17 Tue Mar 28 18:02:59 UTC 2023
GCC version:
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 21 18:51:29 2023
DistUpgraded: 2023-04-20 13:31:05,017 DEBUG Running PostInstallScript: '/usr/lib/
DistroCodename: lunar
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
Intel Corporation Alder Lake-P Integrated Graphics Controller [8086:46a6] (rev 0c) (prog-if 00 [VGA controller])
Subsystem: Dell Alder Lake-P Integrated Graphics Controller [1028:0aff]
NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] [10de:2520] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Dell GA106M [GeForce RTX 3060 Mobile / Max-Q] [1028:0aff]
MachineType: Dell Inc. XPS 17 9720
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
XDG_RUNTIME_
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
UpgradeStatus: Upgraded to lunar on 2023-04-20 (1 days ago)
dmi.bios.date: 03/20/2023
dmi.bios.release: 1.15
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.15.1
dmi.board.name: 0W7GHH
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: XPS
dmi.product.name: XPS 17 9720
dmi.product.sku: 0AFF
dmi.sys.vendor: Dell Inc.
mtime.conffile.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.114-1
version.
version.
version.
version.
version.
version.
version.
version.
tags: | added: xrandr-scaling |
affects: | xorg (Ubuntu) → mutter (Ubuntu) |
This might be related to bug 1875285 but your analysis of cropping at the 16384 boundary sounds more likely.
For other related bugs, please refer to this list:
https:/ /bugs.launchpad .net/ubuntu/ +bugs?field. tag=xrandr- scaling
but realistically for a desktop bigger than 16K I think the only way forward is Wayland. Unfortunately Nvidia has a few problems with Wayland at the moment which is why it's not the default:
https:/ /bugs.launchpad .net/ubuntu/ +bugs?field. tag=nvidia- wayland