Regression: Kubuntu 22.04 LTS overrides Xorg.conf-specified monitor layout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When I built a new PC with Kubuntu 22.04 LTS, I carried over my recently purchased GeForce RTX 3060 and copied over the Xorg.conf that was doing perfectly well for me in 20.04 LTS, containing the following line:
Option "metamodes" "HDMI-0: 1280x1024 +3200+0, DP-3: 1280x1024 +0+0, DP-1: 1920x1080 +1280+0"
(Bear in mind that, due to a history of bugginess in KScreen2 and how it interacts with Plasma panel layouts, I disable it in the Background Services control panel and do my best to lock down the allowed layouts and resolutions in Xorg.conf.)
This technique has been working for me for close to a decade, with my previous video card being a GeForce GTX750 and, if I remember correctly, I was also using it with the GeForce GT430 I was using before that, and with Kubuntu and Lubuntu versions going back to at least Kubuntu 16.04 LTS and likely to Lubuntu 14.04 and possibly even Lubuntu 12.04.
However, much to my dismay, it appeared to have no effect, and the system was still assigning a virtual layout that didn't match the physical arrangement of the monitors.
Eventually, I realized from /var/log/Xorg.0.log that my metamodes line WAS getting set, but, for reasons I still have no idea how to diagnose, something else was overriding it and resetting the metamodes line back to the undesired default, with unlocked resolutions and an incorrect monitor layout.
[ 21.689] (II) NVIDIA(0): Setting mode "HDMI-0: 1280x1024 @1280x1024 +3200+0 {ViewPortIn=
[ 21.747] (II) NVIDIA(0): Setting mode "DP-3: 1280x1024 @1280x1024 +0+0 {ViewPortIn=
[ 21.834] (II) NVIDIA(0): Setting mode "HDMI-0: nvidia-auto-select @1280x1024 +1920+0 {ViewPortIn=
[ 21.922] (II) NVIDIA(0): Setting mode "HDMI-0: nvidia-auto-select @1280x1024 +1920+0 {ViewPortIn=
As a workaround which may or may not show up in the ubuntu-bug report, I've created a /etc/X11/
...though that doesn't fix the monitor layout at the login screen and it's not possible to work around the forced changeability of the resolution without a working metamodes according to https:/
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSign
Uname: Linux 6.5.0-14-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 535.146.02 Sun Dec 3 14:06:14 UTC 2023
GCC version: gcc version 12.3.0 (Ubuntu 12.3.0-
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: KDE
Date: Tue Jan 30 06:25:44 2024
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate] [10de:2504] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. GA106 [GeForce RTX 3060 Lite Hash Rate] [1043:8810]
Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:164e] (rev c6) (prog-if 00 [VGA controller])
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:164e]
InstallationDate: Installed on 2024-01-05 (24 days ago)
InstallationMedia: Kubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.1)
MachineType: ASRock B650 PG Lightning
ProcKernelCmdLine: BOOT_IMAGE=
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/26/2023
dmi.bios.release: 5.26
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: 1.21
dmi.board.
dmi.board.name: B650 PG Lightning
dmi.board.vendor: ASRock
dmi.board.version: Default string
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: Default string
dmi.product.name: B650 PG Lightning
dmi.product.sku: Default string
dmi.product.
dmi.sys.vendor: ASRock
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.113-
version.
version.
version.
version.
version.
version.
version.
version.
affects: | xorg (Ubuntu) → xorg-server (Ubuntu) |