Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67485 - xorg 6.8.0-r1 xinerama broken using an xorg.conf that worked with 6.7.0
Summary: xorg 6.8.0-r1 xinerama broken using an xorg.conf that worked with 6.7.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
: 69760 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-13 17:07 UTC by Matthew Forrester
Modified: 2004-12-28 11:23 UTC (History)
2 users (show)

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


Attachments
Patch for fixing monitor detection bugs (xorg_radeon_monitor.diff,6.34 KB, patch)
2004-10-18 07:39 UTC, Lance Albertson (RETIRED)
Details | Diff
xorg_radeon_monitor_fixes.diff (xorg_radeon_monitor_fixes.diff,7.07 KB, patch)
2004-10-19 09:17 UTC, Lance Albertson (RETIRED)
Details | Diff
xorg_radeon_monitor_fixes.diff (xorg_radeon_monitor_fixes.diff,7.91 KB, patch)
2004-10-19 17:54 UTC, Lance Albertson (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Forrester 2004-10-13 17:07:05 UTC
just doesn't work, updated for 6.7, config the same, just clones display of having different displays like before

make.conf:
# These settings were set by the catalyst build script that automatically built this stage
#CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
#CHOST="i686-pc-linux-gnu"
#CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
USE="xinerama alsa X avi bonobo cdr dedicated encode evo flac gif gnome gphoto2 gtk2 imap jabber joystick lirc mad mmx mozilla mpeg msn offensive oggvorbis opengl pnp png python readline samba sdl session soap speex spell truetype unicode usb wxwindows xine tiff dri glx truetype-fonts type1-fonts nls"
PORTAGE_BINHOST=http://gentoopackages.net/i686/All
GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo"
VIDEO_CARDS="radeon"
PORTAGE_NICENESS=20
GENTOO_MIRRORS="ftp://mirror.nutsmaas.nl/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://mir.zyrianes.net/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"

make.globals:
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
# Host-type
CHOST=i686-pc-linux-gnu
PORTAGE_TMPDIR=/var/tmp

PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
RPMDIR=${PORTDIR}/rpm
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf"

# Options passed to make during the build process
MAKEOPTS="-j2"

# Fetching command (5 tries, passive ftp for firewall compatibility)
FETCHCOMMAND="/usr/bin/wget --user-agent 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040811 Firefox/0.9.3' -t 5 --passive-ftp -P \${DISTDIR} \${URI}"
RESUMECOMMAND="/usr/bin/wget -c --user-agent 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040811 Firefox/0.9.3' -t 5 --passive-ftp -P \${DISTDIR} \${URI}"

CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS=${CFLAGS}

# Debug build -- if defined, binaries won't be stripped
#DEBUGBUILD=true

# Default maintainer options
#FEATURES="digest sandbox noclean noauto buildpkg usersandbox"
# Default user options
FEATURES="sandbox ccache autoaddcvs"

# By default output colored text where possible, set to "true" to output only
#black&white text
NOCOLOR="false"

PORTAGE_BINHOST_CHUNKSIZE="3000"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS"

# By default wait 5 secs before cleaning a package
CLEAN_DELAY="5"
# Set to yes automatically run "emerge clean" after each merge
# Important, as without this you may experience missing symlinks when
# downgrading libraries during a batch (world/system) update.
AUTOCLEAN="yes"

# Number of times 'emerge rsync' will run before giving up.
RSYNC_RETRIES="3"
# Number of seconds rsync will wait before timing out.
RSYNC_TIMEOUT="180"



Reproducible: Always
Steps to Reproduce:
1. Radeon 9200 Mobility
2. xorg-x11 6.8.0-r1
3. with external monitor
4. with xinerama

Actual Results:  
cloned

Expected Results:  
seperate displays
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-14 07:57:29 UTC
Please file this upstream at bugs.freedesktop.org (the xorg product) and be sure to attach your xorg.conf file.

Post the upstream bug URL here.

Thanks!
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-14 08:00:00 UTC
Make sure http://freedesktop.org/bugzilla/show_bug.cgi?id=1559 isn't your bug before filing a new one.
Comment 3 Lance Albertson (RETIRED) gentoo-dev 2004-10-15 20:48:29 UTC
I'm having the same problem and 6.8.0-r1 was recently pushed to stable. Below is the hardware I have. I'm planning on commenting on the bug on the freedesktop site, but I'm concerned about this being stable for users of xinerama or any dual+ setups.

0000:00:0f.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R100 QD [Radeon 7200

I did the suggestion and used the MonitorLayout option, but after I used that, X keeps segfaulting :(

If anything, there shoudl be a warning for dual+ monitor users in the ebuild or possibly move it down :(

Unfortunately, we have to wait on upstream to get this fixed it looks like.
Comment 4 Matthew Forrester 2004-10-16 02:49:00 UTC
It looks like it is that Freedesktop bug, so there is no point in going over there and commenting. Anybody who has been clobbered by this can unclobber themselves by putting ">=x11-base/xorg-x11-6.8.0-r1" in /etc/portage/packages.mask and then re-emerging (this portage shit amazes me sometimes)
Comment 5 Lance Albertson (RETIRED) gentoo-dev 2004-10-18 07:39:41 UTC
Created attachment 42099 [details, diff]
Patch for fixing monitor detection bugs

This was posted on the freedesktop site [1] earlier. I haven't had a chance to
try it myself yet, but hopefully I will tonight. 

[1] https://freedesktop.org/bugzilla/show_bug.cgi?id=1559
Comment 6 Frieder Bürzele 2004-10-18 09:55:20 UTC
for me the patch from http://freedesktop.org/bugzilla/show_bug.cgi?id=1559 works so far
Comment 7 Lance Albertson (RETIRED) gentoo-dev 2004-10-18 09:58:44 UTC
What was the problem you had? I'm curious your hardware and issue. Also, might not hurt to comment on the bug on freedesktop so the developer there knows its working for other things.
Comment 8 Matthew Forrester 2004-10-18 10:53:09 UTC
hardware is a laptop Acer Aspire 2001 with a ATI Radeon Mobility 9200 in it, connected to a 1600x1200 CRT and the Laptop LCD (1280x800). The effect is what was described in the freedesktop bug and it looks to be causeed by exactly the same thing. I don't know how to add a patch the the Gentoo building process so I'll wait till i realise a new version of the xorg-x11 ebuild comes out (which may be a while as I have it added to my packages.mask atm)
Comment 9 Lance Albertson (RETIRED) gentoo-dev 2004-10-18 19:19:31 UTC
I just verfied that this patch does indeed fix the problem I had. I suggest we include this into the patchset asap! :)
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-18 19:26:54 UTC
I'll see what I can do about getting it in tonight, but no promises.
Comment 11 Lance Albertson (RETIRED) gentoo-dev 2004-10-19 09:15:54 UTC
Comment on attachment 42099 [details, diff]
Patch for fixing monitor detection bugs

New updated version of the patch was posted.
Comment 12 Lance Albertson (RETIRED) gentoo-dev 2004-10-19 09:17:20 UTC
Created attachment 42184 [details, diff]
xorg_radeon_monitor_fixes.diff

New improved version of the patch. I'm going to give this a try later tonight.
Please test when you get a chance.
Comment 13 Lance Albertson (RETIRED) gentoo-dev 2004-10-19 17:52:41 UTC
Comment on attachment 42184 [details, diff]
xorg_radeon_monitor_fixes.diff

Yet another new improved patch was released
Comment 14 Lance Albertson (RETIRED) gentoo-dev 2004-10-19 17:54:10 UTC
Created attachment 42232 [details, diff]
xorg_radeon_monitor_fixes.diff

New patch posted on the from the freedesktop bugzilla #1559. I never got a
chance to try the first one. Perhaps we should wait a few more days to see if
they release anymore updated patches for this issue. I'll see if I can test
this latest patch tonight.
Comment 15 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-01 15:10:22 UTC
*** Bug 69760 has been marked as a duplicate of this bug. ***
Comment 16 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-03 00:37:06 UTC
Fixed in 6.8.0-r2 in CVS. Please test.
Comment 17 Guy Rouillier 2004-11-13 18:49:09 UTC
Wanted to report that I applied this patch against 6.8.0-r1 ebuild and I now have LCD+CRT working again on my Mobility 9600-based AMD64 laptop again.  Thanks.  I had to add MonitorLayout to xorg.conf for this to work.
Comment 18 Guy Rouillier 2004-12-26 19:30:53 UTC
I just emerged 6.8.0-r3, and unfortunately the Radeon fix does not appear to have been integrated.  Fortunately, the last patch still works against r3.  I've patched r3, rebuilt and now have external monitor working again.
Comment 19 Donnie Berkholz (RETIRED) gentoo-dev 2004-12-28 11:23:26 UTC
Yep not in -r3. It's in -r4 and >=6.8.1