Can't change display position to "right of"

Bug #2064196 reported by Skrzatu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Triaged
Medium
Unassigned
mutter (Ubuntu)
Triaged
Medium
Unassigned
nvidia-graphics-drivers-470 (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

I have two monitors (Iiyama and Philips).
In 22.04 I had two separate pulpits on each monitors.

Currently in "Settings -> Displays" I can set it to "duplicate" or "joined".
joined option is inconvenient because, every window I open is by default in the center of the gap between two monitors.

I'am able to change it manually via nvidia-settings but it isn't persistent.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: xorg 1:7.7+23ubuntu3
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
.proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
.proc.driver.nvidia.gpus.0000.01.00.0: Error: path was not a regular file.
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 470.239.06 Sat Feb 3 06:03:07 UTC 2024
 GCC version:
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
BootLog: Error: [Errno 13] Brak dostępu: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Tue Apr 30 08:05:32 2024
DistUpgraded: Fresh install
DistroCodename: noble
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 NVIDIA Corporation GK106 [GeForce GTX 660] [10de:11c0] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Gigabyte Technology Co., Ltd GK106 [GeForce GTX 660] [1458:354e]
InstallationDate: Installed on 2024-04-28 (2 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
MachineType: MSI MS-7758
ProcEnviron:
 LANG=pl_PL.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-31-generic root=UUID=e678c4a6-a42f-4ef2-a6c8-9187e5d5ab0a ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/07/2014
dmi.bios.release: 4.6
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V2.13
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z77A-G43 (MS-7758)
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV2.13:bd03/07/2014:br4.6:svnMSI:pnMS-7758:pvr1.0:rvnMSI:rnZ77A-G43(MS-7758):rvr1.0:cvnMSI:ct3:cvr1.0:skuTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7758
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 1.0
dmi.sys.vendor: MSI
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.120-2build1
version.libgl1-mesa-dri: libgl1-mesa-dri 24.0.5-1ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1build1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Skrzatu (skrzatu) wrote :
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I wonder if this is due to bug 2060268...

affects: xorg (Ubuntu) → gnome-control-center (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Are you sure Settings is showing both Iiyama and Philips or is it perhaps showing one of them twice? (bug 2060268)

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

If you delete ~/.config/monitors.xml and log in again, can you configure the monitors correctly after that?

tags: added: multimonitor nvidia
Changed in gnome-control-center (Ubuntu):
status: New → Incomplete
Changed in nvidia-graphics-drivers-470 (Ubuntu):
status: New → Incomplete
Revision history for this message
Skrzatu (skrzatu) wrote (last edit ):

Removing ~/.config/monitors.xml doesn't help.

In the "Settings -> Display" I see two different names. Both monitors are recognized.

I think it is more configuration problem.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Did you log in again after deleting the file?

Is one of the two different names "Unknown Display"?

Revision history for this message
Skrzatu (skrzatu) wrote :

Actually xrandr show 3 displays:

Screen 0: minimum 8 x 8, current 5760 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm panning 3840x1080+0+0 tracking 5760x1080+0+0 border 0/0/0/0
   1920x1080 60.00*+ 59.94 50.00 60.00 50.04
   1680x1050 59.95
   1440x900 74.98 59.89
   1440x576 50.00
   1280x1024 75.02 60.02
   1280x960 60.00
   1280x720 60.00 59.94 50.00
   1152x864 75.00
   1024x768 75.03 70.07 60.00
   800x600 75.00 60.32 56.25
   720x576 50.00
   720x480 59.94
   640x480 75.00 72.81 59.94 59.93
DVI-D-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 510mm x 287mm panning 3840x1080+1920+0 tracking 5760x1080+0+0 border 0/0/0/0
   1920x1080 60.00*+
   1680x1050 59.95
   1440x900 74.98 59.89
   1280x1024 75.02 60.02
   1280x720 60.00
   1024x768 75.03 60.00
   800x600 75.00 60.32
   640x480 75.00 72.81 59.94
DP-1 disconnected (normal left inverted right x axis y axis)
None-1-1 connected (normal left inverted right x axis y axis)
   1920x1080 60.00 +

Revision history for this message
Skrzatu (skrzatu) wrote :

I have restarted system after removing monitors.xml.

The third one on the list is "Unknown Display".

Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):

The xrandr output looks correct but the attached MonitorsUser.xml.txt looks suspicious in that it confirms the monitors don't have any separate positional information. If deleting monitors.xml didn't work then next please try:

1. sudo rm /dev/dri/card0 # (should be the "Unknown Display")
2. rm ~/.config/monitors.xml
3. Log in again.

If that works then the issue is just bug 2060268. And unfortunately deleting /dev/dri/card0 will only last until the next reboot.

Revision history for this message
Skrzatu (skrzatu) wrote :

Removing /dev/dri/card0 and re-login makes it work. So its the https://bugs.launchpad.net/bugs/2060268

Changed in nvidia-graphics-drivers-470 (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
Changed in gnome-control-center (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
Changed in mutter (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.