Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262597 - x11-base/xorg-server-1.5.3-r4 xinerama doesn't work
Summary: x11-base/xorg-server-1.5.3-r4 xinerama doesn't work
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-15 19:36 UTC by Maciej Józiewicz
Modified: 2009-03-16 22:29 UTC (History)
0 users

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


Attachments
my xorg.conf for server-1.5 (xorg.conf,881 bytes, text/plain)
2009-03-16 09:50 UTC, Maciej Józiewicz
Details
my current log (Xorg.0.log,26.79 KB, text/plain)
2009-03-16 09:50 UTC, Maciej Józiewicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Józiewicz 2009-03-15 19:36:58 UTC
I have a laptop with 965GM and use xf86-video-intel-2.5.1-r1.

I use xrandr to connect external displays during runtime (and usually --right-of). After upgrading to 1.5.3-r4 all windows started maximizing to fill both screens width. After downgrading back to r2 everything works fine. The r3 was quite unstable for me so I didn't really used and don't remember how xinerama works there.

Reproducible: Always

Steps to Reproduce:




Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r3-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T2370_@_1.73GHz-with-glibc2.2.5
Timestamp of tree: Sun, 15 Mar 2009 11:45:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-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.28-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-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 /var/lib/hsqldb"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/ http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl ftp://mirror.icis.pcz.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ "
LANG="pl_PL.utf8"
LC_ALL="pl_PL.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en"
MAKEOPTS="-j3"
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 /usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/synce /usr/portage/local/layman/sunrise /usr/portage/local/layman/rbu /usr/portage/local/layman/jokey /usr/portage/local/layman/x11 /usr/portage/local/layman/pro-audio"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 apm avahi bash-completion berkdb bluetooth branding bzip2 c3p0 cairo caps cdda cddb cdr cli cracklib crypt css cups curl cxx dbus dedicated dga djvu doc dri dts dvd dvdr dvdread eds emboss encode esd evo exif fbcon ffmpeg flac fltk fortran ftp gd gdbm gif gimp glut gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk gtkhtml guile hal hddtemp iconv idn ieee1394 imagemagick imlib inotify ipv6 java javamail javascript jbig joystick jpeg jpeg2k kerberos lame latex lcms ldap libcaca libgda libnotify lm_sensors log4j lzo mad matroska midi mikmod mime mmx mng mono mp3 mpeg mplayer mudflap multilib musepack mysql ncurses network networkmanager nls nptl nptlonly nsplugin odbc offensive ogg openal openexr opengl openmp pam pcmcia pcre pda pdf perl php png portaudio ppds python qt3support qt4 quicktime rdesktop readline reflection samba scanner sdl servletapi session slang speex spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff timidity tk truetype unicode usb vcd videos vim-syntax vorbis wavpack webkit wifi wma wmf x264 xattr xcb xcomposite xine xinerama xml xorg xosd xpm xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" NETBEANS_MODULES="apisupport harness cnd groovy gsf ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-03-16 09:18:08 UTC
So hold on, you were using xinerama, but now you're using xrandr?

And if your window manager doesn't support xrandr/xinerama, it will maximize windows across both screens.

Please attach: your xorg.conf, your Xorg.0.log, the output of "xrandr" before AND after connecting your second screen, the versions of your window manager and overall desktop environment.

NB, why aren't you using xf86-video-intel-2.6.3?

Thanks
Comment 2 Maciej Józiewicz 2009-03-16 09:50:05 UTC
Created attachment 185171 [details]
my xorg.conf for server-1.5
Comment 3 Maciej Józiewicz 2009-03-16 09:50:52 UTC
Created attachment 185173 [details]
my current log
Comment 4 Maciej Józiewicz 2009-03-16 10:00:25 UTC
The xinerama thing is a bit confusing. I never use it for static multiscreen config. I mean the xinerama flag which gives apps and window-manager ability to know the borders of screens.

I'm using metacity 2.24.0-r2 with gnome-2.24.1 - nothing fancy here.

Here is the output without any external screen:
szczerb@nomad ~ $ xrandr 
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 3200 x 1200
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800       60.0*+
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
TV disconnected (normal left inverted right x axis y axis)

I don't have any other monitor right know to connect to but the output is predictable :) I will suply it when I get home.
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-03-16 10:17:39 UTC
Ok, I'll try to explain a few things here because there's obviously some confusion :) (don't take it personally, it took me ages to figure it out...)

Both Xinerama and XRandR are X11 protocols extensions. Both allow client applications to know the geometry of the plugged-in monitors. With simple cases, Xinerama and XRandR will report the same information. For more complex cases, XRandR will report more detailed information and will allow more precise settings.

On the server side, the old Xinerama implementation (called PanoramiX/zaphod) is both old and unsupported. It may work in some cases, but never with Intel cards. In fact, the Intel folks just removed zaphod-mode support from the driver.

So now, the only way to configure dual-screen on the server is XRandR.

Fortunately, XRandR on the server side is also able to talk to clients who only speak Xinerama.

So it all should work correctly. If the "xrandr" utility reports correct values, then the problem probably isn't due to xorg-server.

Hope that clears up the situation.

Thanks
Comment 6 Maciej Józiewicz 2009-03-16 15:16:04 UTC
I just got a bit smarter - thanks ;]

That's my usual home doing-something-while-having-a-movie-full-screen dual screen setup:
szczerb@nomad ~ $ xrandr 
Screen 0: minimum 320 x 200, current 2560 x 1024, maximum 3200 x 1200
VGA connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 306mm x 230mm
   1024x768       85.0 +   85.0     85.0     75.1     75.0     70.1     60.0     43.5  
   1600x1200      65.0     65.0     60.0  
   1400x1050      74.8     60.0  
   1280x1024      75.0*    75.0     60.0  
   1280x960       60.0  
   1152x864       75.0  
   832x624        74.6  
   800x600        85.0     85.1     72.2     75.0     60.3     56.2  
   640x480        85.0     85.0     75.0     72.8     72.8     75.0     66.7     60.0     59.9  
   720x400        87.8     85.0     70.1  
   640x400        85.1  
   640x350        85.1  
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800       60.0*+
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
TV disconnected (normal left inverted right x axis y axis)


The only package besides xorg-server (1.5.3-r4 -> 1.5.3-r2) that changed version between said functionality not working and working again was libXfont (1.4.0 -> 1.3.4). The new version is lacking a header that the old server needs to build. I doubt that it'd make a difference.

Oh, and about intel-2.6.3, I didn't find the 2.6.1 working stable enough (I need flawless hibernation) so stayed with 2.5. I'll check if the 2.6.3 is any better.

Cheers :)
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2009-03-16 16:07:26 UTC
(In reply to comment #6)
> I just got a bit smarter - thanks ;]
> 
> That's my usual home doing-something-while-having-a-movie-full-screen dual
> screen setup:
> szczerb@nomad ~ $ xrandr 
[...]

Looks good.

> The only package besides xorg-server (1.5.3-r4 -> 1.5.3-r2) that changed
> version between said functionality not working and working again was libXfont
> (1.4.0 -> 1.3.4). The new version is lacking a header that the old server needs
> to build. I doubt that it'd make a difference.

That means you were using the x11 overlay... Could you try not using any packages from it? Could you also try emerging -r3 to see if it works or not?

> Oh, and about intel-2.6.3, I didn't find the 2.6.1 working stable enough (I
> need flawless hibernation) so stayed with 2.5. I'll check if the 2.6.3 is any
> better.

Bugs don't magically solve themselves. ;)

Thanks
Comment 8 Maciej Józiewicz 2009-03-16 22:29:43 UTC
Wow. Now it works fine with r4. Upgrading to r5 right now and will check the 2.6.3 driver then. I guess then that the problem is not reproductible so can be safely ignored for now :)

(the mentioned library was the one last and only package from the overlay - left after trying xorg-server-1.6.0 yet another time ;] )

Sorry for all the fuss and thank you for the help :)

(I guess that INVALID describes the situation best)