Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262676 - x11-libs/gtk+-2.14.7-r2 breaks xinerama
Summary: x11-libs/gtk+-2.14.7-r2 breaks xinerama
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-16 17:04 UTC by Dave Kerschner
Modified: 2009-04-19 16:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xorg.conf (xorg.conf,3.62 KB, text/plain)
2009-03-24 00:18 UTC, Dave Kerschner
Details
Xorg.0.log (Xorg.0.log,21.23 KB, text/plain)
2009-03-24 00:19 UTC, Dave Kerschner
Details
Xorg.0.log (Xorg.0.log,179.30 KB, text/plain)
2009-03-27 03:01 UTC, Dave Kerschner
Details
Xorg.conf, xrandr output, Xorg.0.log (xorg_output,177.80 KB, text/plain)
2009-04-12 10:44 UTC, Alex Lyon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Kerschner 2009-03-16 17:04:08 UTC
After installing x11-libs/gtk+-2.14.7-r2 I am no longer able to move windows from my primary monitor to my secondary monitor. Part of the window remains on the primary monitor. I have experienced this before when I did not have the xinerama flag set for an older version of gtk+. I was able to temporarily "fix" this problem by downgrading to gkt+-2.12.11 but this solution is far from ideal.

Reproducible: Always

Steps to Reproduce:
1. emerge gtk+
2. 
3. 

Actual Results:  
Windows no longer able to move to secondary monitor


emerge --info 
Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-glibc2.2.5
Timestamp of tree: Mon, 16 Mar 2009 14:15:01 +0000
distcc 3.0 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
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="/usr/local/portage/layman/jokey"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 bash-completion berkdb bindist bzip2 cairo cjk cli cracklib crypt cups dbus dri fortran gdbm gif gnome gnutls gpm gstreamer gtk hardened hddtemp iconv isdnlog jpeg libnotify lm_sensors midi mmx mudflap multilib ncurses nls nptl nptlonly openmp oss pam pcre perl png pppd python readline reflection sensord session sound spell spl sqlite3 sse sse2 ssl sysfs tcpd tiff truetype unicode xcomposite xft xinerama xorg xscreensaver xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-16 20:50:01 UTC
hum I have a xinerama setup but only with xrandr-1.2 capable drivers and it works just fine. I see that you have an intel, which version of the intel driver are you using ?
Comment 2 Dave Kerschner 2009-03-16 21:02:09 UTC
(In reply to comment #1)
> hum I have a xinerama setup but only with xrandr-1.2 capable drivers and it
> works just fine. I see that you have an intel, which version of the intel
> driver are you using ?
> 

I am using xrandr 1.2.2 and x11-drivers/xf86-video-intel 2.1.1
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-18 00:09:50 UTC
erm, what flavor of xorg are you running exactly ? Some sort of mix between 1.3 and 1.5 or something else ?
Comment 4 Dave Kerschner 2009-03-18 15:10:18 UTC
I have  x11-base/xorg-server  1.3.0.0-r6 installed, which is the last one unmasked for amd64. I'm hesitant to upgrade to 1.5 at this point unless I have a really good reason as it is my understanding that it will take a bit of reconfiguring to get it to work, and this is my primary work laptop.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-22 14:44:17 UTC
@x11, any idea ?
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-03-22 18:08:22 UTC
Please provide your xorg.conf, your Xorg.0.log and paste the output of the "xrandr" command.

Thanks
Comment 7 Dave Kerschner 2009-03-24 00:18:43 UTC
Created attachment 186058 [details]
xorg.conf
Comment 8 Dave Kerschner 2009-03-24 00:19:11 UTC
Created attachment 186060 [details]
Xorg.0.log
Comment 9 Dave Kerschner 2009-03-24 00:20:29 UTC
I've included my xorg.conf and Xorg.0.log
The xrandr command I use 
xrandr --output LVDS --mode 1280x800 --pos 0x0 --output VGA --mode 1024x768 --pos 1280x0
has no output.

I am now using xorg 1.5
Here are the new versions of the relevant packages.

x11-base/xorg-server 1.5.3-r5
x11-apps/xrandr 1.2.3
x11-drivers/xf86-video-intel 2.6.3-r1
Comment 10 Rémi Cardona (RETIRED) gentoo-dev 2009-03-24 09:28:59 UTC
(In reply to comment #9)
> I've included my xorg.conf and Xorg.0.log
> The xrandr command I use 
> xrandr --output LVDS --mode 1280x800 --pos 0x0 --output VGA --mode 1024x768
> --pos 1280x0
> has no output.

Just run "xrandr" and paste the output here.

Thanks
Comment 11 Dave Kerschner 2009-03-24 14:53:09 UTC
Ah, sorry. I misunderstood. Here it is. This is the output with my work monitor plugged in, which is wide screen for which I use this command. 
xrandr --output LVDS --mode 1280x800 --pos 0x0 --output VGA --mode 1440x900 --pos 1280x0
Both have the same problem. 

xrandr output

Screen 0: minimum 320 x 200, current 2720 x 900, maximum 2720 x 900
VGA connected 1440x900+1280+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1280x800       60.1 +
   1440x900       60.7* 
   1152x864       75.0  
   1024x768       75.0     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     59.9  
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1280x800       60.0*+
   1024x768       85.0     75.0     70.1     60.0  
   832x624        74.6  
   800x600        85.1     72.2     75.0     60.3     56.2  
   640x480        85.0     72.8     75.0     59.9  
   720x400        85.0  
   640x400        85.1  
   640x350        85.1  
TMDS-1 disconnected (normal left inverted right x axis y axis)
TV disconnected (normal left inverted right x axis y axis)
Comment 12 Dave Kerschner 2009-03-27 03:01:48 UTC
Created attachment 186377 [details]
Xorg.0.log
Comment 13 Dave Kerschner 2009-03-27 03:07:12 UTC
I downgraded to to Xorg 1.3 as something in 1.5, perhaps the intel driver, was causing the UI to lock up momentarily and it was getting on my nerves. Felt like being back on a windows box.

I am now using
x11-base/xorg-server-1.3.0.0-r6
x11-apps/xrandr-1.2.2
x11-drivers/xf86-video-intel-2.1.1

and here is my xrandr output with my standard CRT hooked up

Screen 0: minimum 320 x 200, current 2304 x 800, maximum 2720 x 900
VGA connected 1024x768+1280+0 (normal left inverted right) 0mm x 0mm
   1440x900       60.7  
   1280x800       60.1  
   1152x864       75.0  
   1152x768       54.8  
   1024x768       70.1*    60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     59.9  
LVDS connected 1280x800+0+0 (normal left inverted right) 0mm x 0mm
   1280x800       60.2*+
   1152x768       54.8  
   1024x768       85.0     75.0     70.1     60.0  
   832x624        74.6  
   800x600        85.1     72.2     75.0     60.3     56.2  
   640x480        85.0     72.8     75.0     59.9  
   720x400        85.0  
   640x400        85.1  
   640x350        85.1  
TMDS-1 disconnected (normal left inverted right)
TV disconnected (normal left inverted right)
Comment 14 Dave Kerschner 2009-03-30 18:45:42 UTC
Is there any more information I can provide? I'm getting a bit anxious about this as it is now preventing me from upgrading other packages...
Comment 15 Rémi Cardona (RETIRED) gentoo-dev 2009-03-30 18:55:44 UTC
Well, since the xrandr output you gave was for 1.3, it's kind of hard to compare.

Please upgrade again to 1.5.3, paste the output of the "xrandr" command and we'll try to figure out what happens.

Thanks
Comment 16 Dave Kerschner 2009-03-30 20:21:05 UTC
The original output I gave for xrandr, in comment 11, is from 1.5.3
I will upgrade again if it is necessary but I am experiencing this problem in both 1.3 and 1.5
I'd rather avoid upgrading as, like I said, I have a separate issue that I believe is related to the new intel driver which is require for 1.5
Comment 17 Rémi Cardona (RETIRED) gentoo-dev 2009-03-30 22:25:37 UTC
Hum, I thought only Xorg 1.5 had the bug. I guess it's not a Xorg issue then. Taking off x11@g.o from CC.

As for gtk, I have no idea what they put in there and how it changed compared to plain-old xinerama support.

I think it's worth reporting this bug to upstream Gnome developers.

As for the Xorg 1.5 issue you're having, please upgrade to 1.5.3 whenever possible as it's currently becoming stable and I *do* intend to kick the older server out of portage. Please file a bug for that so we can help you fix it.

Thanks
Comment 18 Alex Lyon 2009-04-12 10:44:47 UTC
Created attachment 188078 [details]
Xorg.conf, xrandr output, Xorg.0.log
Comment 19 Alex Lyon 2009-04-12 10:48:57 UTC
Comment on attachment 188078 [details]
Xorg.conf, xrandr output, Xorg.0.log

I also experience symptoms identical to those described in the report.  here is my information.  Please notify me if I may be of assistance:

emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_2.66GHz-with-glibc2.0
Timestamp of tree: Sun, 12 Apr 2009 08:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa berkdb bzip2 bzlib cddb cdr cli cracklib crypt cups dbus dri dvd exif ffmpeg fortran gdbm gif gpm gtk hal iconv imlib ipv6 isdnlog jbig jpeg jpeg2k loop-aes midi mmx mng mp2 mp3 mudflap musepack ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python raw readline reflection session spl sse sse2 ssl startup-notification sysfs tcpd tga theora tiff unicode v4l v4l2 win32codecs wmf x264 x86 xface xinerama xorg xscreensaver xv xvid 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

x11-libs/gtk+ installed versions (according to eix):
1.2.10-r12
2.14.7-r2

x11-drivers/xf86-video-ati 6.12.1-r1
x11-base/xorg-server 1.5.3-r5
x11-apps/xrandr 1.2.3
Comment 20 Dave Kerschner 2009-04-13 15:04:03 UTC
I resolved this problem by upgrading to XFCE 4.6 it turned out to be a problem with the window manager, not GTK+ I'm not sure why downgrading helped but it turns out that XFCE 4.4 was not xrandr aware. 4.6 is and upgrading to it solved the problem. I am unsure why it would work with one version of GTK+ but not another however.
Comment 21 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-04-13 15:47:55 UTC
(In reply to comment #20)
> I resolved this problem by upgrading to XFCE 4.6 it turned out to be a problem
> with the window manager, not GTK+ I'm not sure why downgrading helped but it
> turns out that XFCE 4.4 was not xrandr aware. 4.6 is and upgrading to it solved
> the problem. I am unsure why it would work with one version of GTK+ but not
> another however.
> 

Alright, so xfce guys would probably be interested in this...

@gnome: mark as invalid?
Comment 22 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-13 19:39:27 UTC
iirc gtk-2.14 has some xrandr support changes so it might make sense that the downgrade seemed to help.
Comment 23 Alex Lyon 2009-04-13 20:00:19 UTC
(In reply to comment #20)
> I resolved this problem by upgrading to XFCE 4.6 it turned out to be a problem
> with the window manager, not GTK+ I'm not sure why downgrading helped but it
> turns out that XFCE 4.4 was not xrandr aware. 4.6 is and upgrading to it solved
> the problem. I am unsure why it would work with one version of GTK+ but not
> another however.
> 

I confirm that updating to xfce-base/xfce4-4.6.0 has resolved the issue for me.
Comment 24 Rémi Cardona (RETIRED) gentoo-dev 2009-04-19 16:04:09 UTC
Closing Fixed then.

Thanks for the follow up.