Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 397317

Summary: x11-apps/xrandr: --panning no longer works
Product: Gentoo Linux Reporter: Laszlo Valko <gentoo.bugs>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: me, perfinion
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.freedesktop.org/show_bug.cgi?id=39949
Whiteboard:
Package list:
Runtime testing required: ---

Description Laszlo Valko 2012-01-02 01:26:45 UTC
/usr/bin/xrandr --output LVDS1 --panning 1440x1100
used to work on my laptop.
With the latest stable x11-base/xorg-server-1.11.2-r2, or with x11-base/xorg-server-1.11.3, it no longer works. Reverting to x11-base/xorg-server-1.10.4-r1 makes it working again.


Reproducible: Always

Steps to Reproduce:
1. upgrade to xorg-server-1.11.[23]
2. use xrandr --panning
3.
Actual Results:  
Panning is not available when the mouse hits the sides of the desktop.

Expected Results:  
Panning should be available when the mouse hits the sides of the desktop.

xrandr resizes the desktop correctly, as it can be seen from the output of xrandr, however, the mouse is not allowed to pan the display.

With 1.11.2, a maximum of a single pixel of panning can be achieved with the mouse, however, this has been "corrected" in 1.11.3, and now not a single pixel of panning is possible.

Upstream "something" that may be related:
http://lists.freedesktop.org/archives/xorg-announce/2011-December/001773.html
https://bugs.freedesktop.org/show_bug.cgi?id=39949
Comment 1 Laszlo Valko 2012-01-02 01:30:01 UTC
Portage 2.1.10.11 (default/linux/x86/10.0/server, gcc-4.5.3, glibc-2.13-r4, 2.6.39-myhardened-r1 i686)
=================================================================
System uname: Linux-2.6.39-myhardened-r1-i686-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 01 Jan 2012 03:00:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.65-r1
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-myhardened x-myfixes
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -mtune=core2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium3 -mtune=core2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/myhardened /var/lib/layman/myfixes"
SYNC="rsync://127.0.0.1:1875/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d aac aalib acl acpi alsa amrnb amrwb apache2 audio berkdb bluetooth browserplugin bzip2 bzlib cairo caps cgi clamdtop cli cracklib crypt ctype curl cxx dga directfb dkim dri dvd encode exif fbcon flac fontconfig ftp gd gdbm ggi gif gpm gtk gtk2 hash iconv imap irda java jce joystick jpeg ldap ldapsam lmtp logrotate loop-aes lzo mad maildir maildrop memlimit mhash mikmod mime mmap mmx modules motif mozilla mp3 musepack mysql mysqli ncurses no-helper nptl nptlonly nsplugin oav ogg opengl openmp pam pcmcia pcntl pcre perl php png pnm pppd procmail pyzord qt3support quotas rar razor readline samba sdl session sieve slang soap sockets socks5 spamassassin speex sse sse2 ssl ssse3 suexec svg sysfs syslog sysvipc tcl tcltk tcpd tga tiff tk truetype unicode usb vda video vidix vorbis win32codecs wmf x86 xanim xinerama xml xml2 xmlreader xmlwriter xorg xpm xsl xv zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias cgi" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel fbdev radeonhd radeon nouveau nv vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 NiTr0 2013-11-13 16:15:36 UTC
In xorg-server 1.14.3-r2 --panning/--scale still not working...
Comment 3 Matt Turner gentoo-dev 2018-04-30 22:20:40 UTC
I sent Chris Wilson's patch to the mailing list.
Comment 4 Matt Turner gentoo-dev 2018-05-02 16:39:29 UTC
Fixed upstream by:

https://cgit.freedesktop.org/xorg/xserver/commit/?id=d7297b00444b0e2cd936fbfb08206a575ab8c29d

Will be in xorg-server-1.20.
Comment 5 Matt Turner gentoo-dev 2018-05-10 18:09:16 UTC
Fixed with xorg-server-1.20.0 that I just pushed. :)