xrandr --scale (again again) confines mouse to native resolution

Bug #2004104 reported by Danky
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mutter (Ubuntu)
New
Undecided
Unassigned
xorg-server (Ubuntu)
New
Undecided
Unassigned

Bug Description

This is a regression of https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1580123
It was fixed in xserver-1.20 but now in xserver 21.1.3 the bug strikes again

xrandr --scale confines mouse to the native resolution, it can be reproduced doing:
xrandr --output HDMI-1 --scale 2x2

The screen HDMI-1 will double scale (ie to match a fullhd monitor to other 4k monitors), but the mouse will be confined to a quarter of the screen.

$ lsb_release -rd
Description: Ubuntu 22.04.1 LTS
Release: 22.04

$ xrandr --version
xrandr program version 1.5.1
Server reports RandR version 1.6

$ apt-cache policy xserver-xorg-core
xserver-xorg-core:
  Installed: 2:21.1.3-2ubuntu2.5

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xserver-xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-58.64-generic 5.15.74
Uname: Linux 5.15.0-58-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 525.78.01 Mon Dec 26 05:58:42 UTC 2022
 GCC version: gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
BootLog: Error: [Errno 13] Permiso denegado: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: Enlightenment
Date: Sun Jan 29 12:22:44 2023
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
DkmsStatus: nvidia/525.78.01, 5.15.0-58-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 NVIDIA Corporation GA102 [GeForce RTX 3090] [10de:2204] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Gigabyte Technology Co., Ltd GA102 [GeForce RTX 3090] [1458:4043]
InstallationDate: Installed on 2022-07-12 (200 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
MachineType: Gigabyte Technology Co., Ltd. Z690 AORUS MASTER
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz root=LABEL=D2UB ro net.ifnames=0 apparmor=0 intel_iommu=on nvidia-drm.modeset=1
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/28/2022
dmi.bios.release: 5.24
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: F8e
dmi.board.asset.tag: Default string
dmi.board.name: Z690 AORUS MASTER
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvrF8e:bd03/28/2022:br5.24:svnGigabyteTechnologyCo.,Ltd.:pnZ690AORUSMASTER:pvr-CF:rvnGigabyteTechnologyCo.,Ltd.:rnZ690AORUSMASTER:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
dmi.product.family: Z690 MB
dmi.product.name: Z690 AORUS MASTER
dmi.product.sku: Default string
dmi.product.version: -CF
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.110-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 22.0.5-0ubuntu0.3
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.3-2ubuntu2.5
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Danky (danky) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):
affects: xorg (Ubuntu) → xorg-server (Ubuntu)
tags: added: cursor multimonitor nvidia
tags: added: xrandr-scaling
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.