xrandr fails setting panning on valid size

Bug #1807519 reported by fcole90
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
x11-xserver-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm trying to downscale GNOME interface, and in order to do this, on X, I'm using `xrandr --scale 1.25x1.25`, which produces a larger view, which I'd like to fit to my screen size.

So i'm trying to use the --panning option as follows:
`xrandr --output eDP-1-1 --scale 1.25x1.25 --panning 1360x768`

What happens is that the scale is applied but the panning is not, and throws the following error:
X Error of failed request: BadMatch (invalid parameter attributes)
  Major opcode of failed request: 140 (RANDR)
  Minor opcode of failed request: 29 (RRSetPanning)
  Serial number of failed request: 32
  Current serial number in output stream: 32

My xrandr output (`xrandr --prop`):
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 16384 x 16384
eDP-1-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 345mm x 194mm
 _MUTTER_PRESENTATION_OUTPUT: 0
 EDID:
  00ffffffffffff0030e45d0400000000
  00180103802313780a05f59458569228
  1e505400000001010101010101010101
  010101010101d01d56f4500016303020
  350059c2100000190000000000000000
  00000000000000000000000000fe004c
  4720446973706c61790a2020000000fe
  004c503135365748422d544c423100b7
 PRIME Synchronization: 1
  supported: 0, 1
 scaling mode: Full aspect
  supported: Full, Center, Full aspect
 Broadcast RGB: Automatic
  supported: Automatic, Full, Limited 16:235
 audio: auto
  supported: force-dvi, off, auto, on
 non-desktop: 0
  range: (0, 1)
 link-status: Good
  supported: Good, Bad
   1366x768 60.00*+
   1360x768 59.80 59.96
   1280x720 60.00 59.99 59.86 59.74
   1024x768 60.04 60.00
   960x720 60.00
   928x696 60.05
   896x672 60.01
   1024x576 59.95 59.96 59.90 59.82
   960x600 59.93 60.00
   960x540 59.96 59.99 59.63 59.82
   800x600 60.00 60.32 56.25
   840x525 60.01 59.88
   864x486 59.92 59.57
   800x512 60.17
   700x525 59.98
   800x450 59.95 59.82
   640x512 60.02
   720x450 59.89
   700x450 59.96 59.88
   640x480 60.00 59.94
   720x405 59.51 58.99
   684x384 59.88 59.85
   680x384 59.80 59.96
   640x400 59.88 59.98
   576x432 60.06
   640x360 59.86 59.83 59.84 59.32
   512x384 60.00
   512x288 60.00 59.92
   480x270 59.63 59.82
   400x300 60.32 56.34
   432x243 59.92 59.57
   320x240 60.05
   360x202 59.51 59.13
   320x180 59.84 59.32
VGA-1-1 disconnected (normal left inverted right x axis y axis)
 PRIME Synchronization: 1
  supported: 0, 1
 non-desktop: 0
  range: (0, 1)
 link-status: Good
  supported: Good, Bad
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
 PRIME Synchronization: 1
  supported: 0, 1
 aspect ratio: Automatic
  supported: Automatic, 4:3, 16:9
 Broadcast RGB: Automatic
  supported: Automatic, Full, Limited 16:235
 audio: auto
  supported: force-dvi, off, auto, on
 non-desktop: 0
  range: (0, 1)
 link-status: Good
  supported: Good, Bad

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: x11-xserver-utils 7.7+7build1
ProcVersionSignature: Ubuntu 4.15.0-42.45-generic 4.15.18
Uname: Linux 4.15.0-42-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0000:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 396.54 Tue Aug 14 19:02:34 PDT 2018
 GCC version: gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: GNOME
Date: Sat Dec 8 19:38:30 2018
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
DkmsStatus:
 bbswitch, 0.8, 4.15.0-39-generic, x86_64: installed
 bbswitch, 0.8, 4.15.0-42-generic, x86_64: installed
 nvidia, 396.54, 4.15.0-39-generic, x86_64: installed
 nvidia, 396.54, 4.15.0-42-generic, x86_64: installed
GraphicsCard:
 Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. 4th Gen Core Processor Integrated Graphics Controller [1043:178d]
   Subsystem: ASUSTeK Computer Inc. GM107M [GeForce GTX 850M] [1043:178d]
InstallationDate: Installed on 2017-08-21 (474 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170820)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 0bda:57b4 Realtek Semiconductor Corp.
 Bus 001 Device 012: ID 13d3:3408 IMC Networks
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK COMPUTER INC. X550JK
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-42-generic root=UUID=3eab3ace-7b67-4e6a-aea7-d31b73cc4819 ro quiet splash vt.handoff=1
SourcePackage: x11-xserver-utils
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/08/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: X550JK.303
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: X550JK
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrX550JK.303:bd10/08/2014:svnASUSTeKCOMPUTERINC.:pnX550JK:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX550JK:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.family: X
dmi.product.name: X550JK
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.91-2
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.5-0ubuntu0~18.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.5-0ubuntu0~18.04.1
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4.2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2
xserver.bootTime: Thu Sep 27 18:29:30 2018
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.19.6-1ubuntu4

Revision history for this message
fcole90 (fcole90) wrote :
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.