XRANDR is failing to scale the output as requested. Step #1 - Check the current resolution: # xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 320 x 175, current 1280 x 1024, maximum 2560 x 2048 default connected 1280x1024+0+0 0mm x 0mm 1280x1024 50.0* 51.0 52.0 53.0 .... Step #2 - Try scaling the output to the current size (1x1): # xrandr --output default --scale 1x1 xrandr: Failed to get size of gamma for output default X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (RANDR) Minor opcode of failed request: 26 (RRSetCrtcTransform) Value in failed request: 0x160 Serial number of failed request: 20 Current serial number in output stream: 21 Step #3 - Try scaling the output to be 1/2 the current size (0.5x0.5): # xrandr --output default --scale 0.5x0.5 xrandr: Failed to get size of gamma for output default X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (RANDR) Minor opcode of failed request: 26 (RRSetCrtcTransform) Value in failed request: 0x160 Serial number of failed request: 22 Current serial number in output stream: 23 Step #4 - Try scaling the output to be 50% larger than the current size (1.5x1.5): # xrandr --output default --scale 1.5x1.5 xrandr: Failed to get size of gamma for output default X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (RANDR) Minor opcode of failed request: 26 (RRSetCrtcTransform) Value in failed request: 0x160 Serial number of failed request: 21 Current serial number in output stream: 22 Current system details: OS: Linux 3.1.6, 64-bit GLIBC: 2.13-r4 Video card: Dual 'nVidia Corporation G96 [GeForce 9500 GT] (rev a1)' Xorg-server: 1.11.3 `-- x11-apps/xrandr-1.3.5 amd64 `-- x11-libs/libXrandr-1.3.2 (>=x11-libs/libXrandr-1.3) amd64 `-- x11-libs/libXrender-0.9.6 (x11-libs/libXrender) amd64 `-- x11-libs/libX11-1.4.4 (x11-libs/libX11) amd64 `-- sys-devel/libtool-2.4-r1 (>=sys-devel/libtool-2.2.6a) amd64 `-- sys-devel/m4-1.4.15 (sys-devel/m4) amd64 `-- x11-misc/util-macros-1.15.0 (>=x11-misc/util-macros-1.15.0) amd64 `-- media-fonts/font-util-1.2.0 (>=media-fonts/font-util-1.2.0) amd64 `-- dev-util/pkgconfig-0.26 (>=dev-util/pkgconfig-0.23) amd64
Created attachment 56005 [details] X.Org log file
My current configuration is: Section "InputClass" Identifier "evdev keyboard catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "XkbOptions" "terminate:ctrl_alt_bksp" EndSection Section "Device" Identifier "Card0-0" Driver "nvidia" BusID "PCI:2:0:0" EndSection Section "Screen" Identifier "screen" SubSection "Display" Virtual 2560 2048 EndSubSection EndSection
I've performed some troubleshooting and (excluding the nvidia driver specific messages in the log file) am getting the same behavior using the VESA 2.3.0 driver.
Hi - I have another computer running Ubuntu 11.04 that does not have this problem. It is running the following packages: Xorg-server 1.10.1 Xrandr app – 1.3.1 Xrandr lib – 1.3.1
I think this is expected for xf86-video-vesa and the older NVIDIA driver you tried because they don't support configuring scaling via RandR. Please try a newer NVIDIA driver version.
My system details have changes since I opened this ticket. My system details are now: OS: Linux 3.6.11, 64-bit GLIBC: 2.15-r3 Video card: NVIDIA Corporation GF116 [GeForce GTX 550 Ti] (rev a1) Xorg-server: 1.13.1 NVIDIA Drivers: 310.19 `-- x11-apps/xrandr-1.3.5 amd64 `-- x11-libs/libXrandr-1.4.0 (>=x11-libs/libXrandr-1.3) amd64 `-- x11-libs/libXrender-0.9.7 (x11-libs/libXrender) amd64 `-- x11-libs/libX11-1.5.0 (x11-libs/libX11) amd64 `-- sys-devel/automake-1.11.6 (>=sys-devel/automake-1.11.1) amd64 `-- sys-devel/automake-1.12.6 (>=sys-devel/automake-1.12) [~amd64 keyword] `-- sys-devel/autoconf-2.69 (>=sys-devel/autoconf-2.68) amd64 `-- sys-devel/libtool-2.4-r1 (sys-devel/libtool) amd64 `-- sys-devel/m4-1.4.16 (sys-devel/m4) amd64 `-- x11-misc/util-macros-1.17 (>=x11-misc/util-macros-1.17) amd64 `-- media-fonts/font-util-1.3.0 (>=media-fonts/font-util-1.2.0) amd64 `-- virtual/pkgconfig-0 (virtual/pkgconfig) amd64 I am running Twinview and the following command works without issues: # xrandr --output DVI-I-2 --scale 1.5x1.5 --output DVI-I-3 --scale 1.5x1.5
Excellent, thanks for confirming.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.