After logging out and back in, X recognises a non-existent screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
x11-xserver-utils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have one monitor only. However, x11 recognises two screens, and places one of them to the right of my real screen.
This causes several issues: I can "lose" my mouse pointer at the right hand side of my real screen. Some apps start on the non-existent screen, and it is hard or impossible (in case of some steam games) to pull them out to my real screen.
Gnome settings shows the two screens, my real screen first and the non-existent one second, but does not let me fiddle with the settings of the second one. It seems that xrandr sees this screen too:
~$ xrandr -q
Screen 0: minimum 8 x 8, current 7680 x 2160, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
3840x2160 60.00*+ 30.00
2560x1440 59.95
1920x1080 60.00 59.94
1600x900 60.00
1280x1024 60.02
1280x800 59.81
1280x720 60.00 59.94
1152x864 59.96
1024x768 60.00
800x600 60.32
720x480 59.94
640x480 59.94 59.93
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
None-1-1 connected (normal left inverted right x axis y axis)
3840x2160 60.00 +
But trying to remove "None-1-1" yields an error:
~$ xrandr --output None-1-1 --off
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 7 (RRSetScreenSize)
Serial number of failed request: 45
Current serial number in output stream: 47
Here is the content of /sys/class/drm, but I don't know what to make of it.
card0 card1 card1-DP-2 card1-HDMI-A-2 version
card0-Unknown-1 card1-DP-1 card1-HDMI-A-1 renderD128
I use an right-to-left environment, and maybe this is related.
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: x11-xserver-utils 7.7+10build2
ProcVersionSign
Uname: Linux 6.8.0-22-generic x86_64
NonfreeKernelMo
.proc.driver.
DeviceFileMinor: 4323
DeviceFileMode: 256
DeviceFileModify: 1
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 550.67 Tue Mar 12 23:54:15 UTC 2024
GCC version: gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu3)
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Sat Apr 13 20:18:55 2024
DistUpgraded: 2024-01-19 13:45:35,307 DEBUG migrateToDeb822
DistroCodename: noble
DistroVariant: ubuntu
DkmsStatus:
nvidia/550.67, 6.8.0-11-generic, x86_64: installed
nvidia/550.67, 6.8.0-22-generic, x86_64: installed
GraphicsCard:
NVIDIA Corporation GA104 [GeForce RTX 3070 Ti] [10de:2482] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd GA104 [GeForce RTX 3070 Ti] [1458:408f]
InstallationDate: Installed on 2022-01-31 (803 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220126)
MachineType: ASUS System Product Name
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: x11-xserver-utils
UpgradeStatus: Upgraded to noble on 2024-01-19 (85 days ago)
dmi.bios.date: 03/18/2024
dmi.bios.release: 34.1
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3401
dmi.board.
dmi.board.name: PRIME Z690-A
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.
dmi.sys.vendor: ASUS
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.120-2
version.
version.
version.
version.
version.
version.
version.
version.
I just found out that this happens only after I log out of gnome and back in again, or if I reset the X server using control+ alt+backspace.
After a full restart, the system behaves normally. gnome settings still show the non-existent screen, but the mouse pointer cannot wander into its "territory", and apps behave normally.