Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430000 - >=x11-drivers/ati-drivers-12.6 incompatible with >=x11-drivers/xf86-video-intel-2.20.3
Summary: >=x11-drivers/ati-drivers-12.6 incompatible with >=x11-drivers/xf86-video-int...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: http://ati.cchtml.com/show_bug.cgi?id...
Whiteboard:
Keywords:
: 444560 (view as bug list)
Depends on: 439420
Blocks:
  Show dependency tree
 
Reported: 2012-08-05 13:23 UTC by zhoujingmiller
Modified: 2013-07-17 10:53 UTC (History)
6 users (show)

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


Attachments
log of X segfault (Xorg.8.log,9.28 KB, text/plain)
2012-08-05 13:23 UTC, zhoujingmiller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zhoujingmiller 2012-08-05 13:23:14 UTC
X segfaults with xf86-video-intel-2.20.3 and ati-drivers-12.6

Reproducible: Always

Steps to Reproduce:
(This is a AMD+Intel muxless platform running AMD Radeon HD 6630M and Intel i5 2410M.)
1. run startx
2. screen went black and then some message in Xorg's log appears
3. Xorg's X server segfaults
Actual Results:  
Xorg segfaults and fallbacks to tty.

Expected Results:  
Xorg does not segfault and KDE (or whatever) starts.

xf86-video-intel used to work quite well with ati-drivers, say 2.20.2 did a good job working with ati-drivers-12.6. and it is in 2.20.3 that breakage occurs. My speculation is that changes related to hardware ID's took place in xf86-video-intel and ati-drivers fail to recognize that.
Comment 1 zhoujingmiller 2012-08-05 13:23:46 UTC
Created attachment 320454 [details]
log of X segfault
Comment 2 zhoujingmiller 2012-08-05 13:24:26 UTC
localhost ~ # emerge --info xorg-server
Portage 2.1.10.65 (hardened/linux/amd64/no-multilib/selinux, gcc-4.6.3, glibc-2.16.0, 3.5.0-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.1
Timestamp of tree: Sun, 05 Aug 2012 10:00:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo science spring x11 mozilla gentoo-haskell
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=native -msse4.2 -mavx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/grub /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -O2 -march=native -msse4.2 -mavx"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-pipe -O2 -march=native -msse4.2 -mavx"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ http://mirrors.163.com/gentoo/ http://mirrors.xmu.edu.cn/gentoo/ http://mirrors.stuhome.net/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirrors.sohu.com/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/Spring /var/lib/layman/x11 /var/lib/layman/mozilla /var/lib/layman/haskell"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi adns alsa amd64 ao apm atm avahi berkdb blas bluetooth bzip2 cairo caps cdda cddb cdparanoia cjk cli consolekit cracklib crypt cups curl cxx dbus djvu dri dv dvb dvd encode exif expat fam ffmpeg fftw flac fltk fontconfig fortran freetds ftp gdbm gif gmp gnuplot gnutls gphoto2 gpm graphviz gsl gsm gstreamer gtk hardened hdf5 hscolour iconv icu idn ieee1394 imagemagick imlib ios ipv6 java jbig jpeg jpeg2k justify kde lame lapack latex lcms libnotify libwww lm_sensors lua lzma lzo mad mmap mmx mng modules mp3 mpeg mssql mtp mudflap musepack mysql mysqli ncurses networkmanager nls nptl nsplugin odbc ogg open_perms openal openexr opengl openmp pam pax_kernel pcmcia pcre pdf peer_perms perl png policykit postgres pppd pulseaudio python qt4 quicktime radius readline ruby sasl sdl selinux semantic-desktop session slp sndfile soap socks5 speex spell sqlite sqlite3 sse sse2 ssl subversion svg syslog szip taglib tcl tcpd theora threads tiff tk truetype ubac udev unicode urandom usb v4l v4l2 vcd vorbis wavpack wifi wmf x264 xattr xcb xcomposite xft xinerama xinetd xml xmp xpm xscreensaver xv xvid zeroconf 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a jl2005c kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z template topfield toshiba_pdrm11" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev void keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby19" SANE_BACKENDS="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm kodak kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_usb nec net niash p5 pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp" USERLAND="GNU" VIDEO_CARDS="vesa intel fglrx" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

x11-base/xorg-server-1.12.3 was built with the following:
USE="ipv6 nptl (selinux) udev xnest xorg -dmx -doc -kdrive -minimal -static-libs -tslib -xvfb"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"
Comment 3 zhoujingmiller 2012-08-05 13:25:05 UTC
X.Org X Server 1.12.3                                                                                                                                                                           
Release Date: 2012-07-09                                                                                                                                                                        
X Protocol Version 11, Revision 0                                                                                                                                                               
Build Operating System: Linux 3.5.0-gentoo x86_64 Gentoo                                                                                                                                        
Current Operating System: Linux localhost 3.5.0-gentoo #1 SMP Fri Jul 27 11:01:49 SGT 2012 x86_64                                                                                               
Kernel command line: BOOT_IMAGE=/vmlinuz-3.5.0-gentoo root=/dev/sda6 ro rootfstype=jfs raid=noautodetect resume=/dev/sda5 selinux=1 video.allow_duplicates=1 keymap=us modprobe.blacklist=radeon pcie_aspm=force i915.semaphores=1 i915.lvds_downclock=1 i915.i915_enable_fbc=1 i915.i915_enable_rc6=1                                                                                          
Build Date: 04 August 2012  09:48:07AM                                                                                                                                                          
 
Current version of pixman: 0.27.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Comment 4 Francisco J. Vazquez 2012-08-09 07:24:45 UTC
Same here (muxless intel+ati). Had to downgrade to 2.20.2.
Comment 5 Reinis Danne 2012-09-14 18:08:05 UTC
Please test with latest xf86-video-intel and remove all the i915 kernel module options when you are doing it, some of those are known to be broken and causing problems, useful und safe options are enabled by default already.
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-09-18 04:16:24 UTC
Does this still happen with ati-drivers-12.9? This package is in the x11 overlay for now because it is an embedded release with some problems.
Comment 7 zhoujingmiller 2012-09-18 16:47:42 UTC
(In reply to comment #6)
> Does this still happen with ati-drivers-12.9? This package is in the x11
> overlay for now because it is an embedded release with some problems.

The latest version of xf86-video-intel that remains working with the 12.9 of ati-drivers (embedded) is still 2.20.2. Otherwise, X still segfaults. Tested on xf86-video-intel 2.20.8. Mr. Chris Wilson needs to wait for Debian (sid) to upgrade the drivers there to take a look into the issue. Therefore, the problem should remain unfixed unless xf86-video-intel's announcement says otherwise.
Comment 8 Alexander Mezin 2012-11-16 18:13:35 UTC
After xserver 1.13 stabilization, this now happens on stable gentoo.
Comment 9 Mark Dominik Bürkle 2012-11-23 07:00:22 UTC
X Server 1.13, xf86-video-intel 2.20.13 segfaults at start. Downgraded to 2.20.2.
Comment 10 Julian W. 2012-11-24 12:01:11 UTC
As a stable user, I tried to downgrade back to 2.19.0 (the latest stable version before 2.20.13), which failed (due to the new X server, I guess). Had to "unmask" 2.20.2 (AND mask 2.20.12), that works now.

Bit of a suboptimal situation here for stable users, I'd say. Maybe stabilize 2.20.2?
Comment 11 Alexander Mezin 2012-11-25 10:23:50 UTC
There is a patch for xf86-video-intel that fixes this: https://bugs.gentoo.org/show_bug.cgi?id=444560
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2012-11-28 21:16:43 UTC
*** Bug 444560 has been marked as a duplicate of this bug. ***
Comment 13 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-03-11 00:22:19 UTC
According to the launchpad bug, the issue is fixed in ati-drivers-13.2_beta
Can you verify?
Comment 14 Alexander Mezin 2013-03-11 00:30:30 UTC
Yes it's fixed, even in 13.1
Comment 15 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-03-11 00:31:59 UTC
(In reply to comment #14)

Thanks, marking as FIXED then.
Comment 16 Julian W. 2013-03-13 17:09:15 UTC
There's still a problem with xf86-video-intel >2.20.2 and ati-drivers, as described here: http://forums.gentoo.org/viewtopic-p-7233812.html

I have the exact same problem. Tried with ati-drivers-13.1 and 13.2_beta7.
xf86-video-intel-2.20.2 is the only version that worked - 2.19.0 fails to compile and >=2.20.13 fails to start X with the error shown in that forum post.

I've just spent half the day to get X to run with 2.20.2 removed from the tree, no success.

I'll gladly help with fixing this, tell me what info you need. Until then, please put 2.20.2 back.
Comment 17 Alexander Mezin 2013-03-13 22:37:03 UTC
Have you tried disabling SNA?
Comment 18 Julian W. 2013-03-14 11:55:24 UTC
(In reply to comment #17)
> Have you tried disabling SNA?

That worked, thanks a lot.

Ok now I may be blind and dumb, but I didn't see any clue anywhere that SNA (which is enabled by default in the desktop profile) could be the problem here.
Perhaps an elog message would be a good idea?

In any case, this elog message from ati-drivers seems kinda outdated now that xf86-video-intel-2.20.2 is gone from the tree:

WARN (postinst)

It is reported that xf86-video-intel-2.20.3 and later cause the X server
to crash on systems that use hybrid AMD/Intel graphics. If you experience
this crash, downgrade to xf86-video-intel-2.20.2 or earlier.
For details, see https://bugs.gentoo.org/show_bug.cgi?id=430000
Comment 19 Yichao Zhou 2013-07-16 16:26:54 UTC
How can you mask this bug as fixed?  Just add some warning?  I admit that I'm also a blind person and do not notice the warning in this a little long elog.

Why cann't we just automatically disable sna, or just when VIDEO_CARD contains fglrx?  Also who needs xf86-video-intel-2.19.0 which cannot be compiled?
Comment 20 emil karlson 2013-07-16 18:12:47 UTC
(In reply to Yichao Zhou from comment #19)
> How can you mask this bug as fixed?  Just add some warning?  I admit that
> I'm also a blind person and do not notice the warning in this a little long
> elog.

I don't think there is anyone too keen on actually fixing this one properly, as ati-drivers is mostly closed source.
 
> Why cann't we just automatically disable sna, or just when VIDEO_CARD
> contains fglrx?  Also who needs xf86-video-intel-2.19.0 which cannot be
> compiled?

It's not admissible to silently disable features on gentoo.
Comment 21 Yichao Zhou 2013-07-17 02:49:15 UTC
> It's not admissible to silently disable features on gentoo.

I think only disable sna on hybrid system has no problem, since it is reported that casusing problem at that platform.  This is not so hard to archieve by USES flag.  Also you can yield a warning about this so we can make it not so silent.

Crash on a stable arch is really very rare.  This is the my first crash with stable arch which is not caused by kernel misconfiguration.  For stable arch, stablility is more important than feature, isn't it?
Comment 22 Yichao Zhou 2013-07-17 03:18:26 UTC
Or ar least, write something like

REQUIRED_USE="video_cards_fglrx ? ( !sna )"
Comment 23 emil karlson 2013-07-17 05:46:35 UTC
(In reply to Yichao Zhou from comment #22)
> Or ar least, write something like
> 
> REQUIRED_USE="video_cards_fglrx ? ( !sna )"

I some people might want this combination for eg. live cd.
Comment 24 Yichao Zhou 2013-07-17 05:56:21 UTC
> I some people might want this combination for eg. live cd.

Why livecd need [sna] and fglrx?
Comment 25 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-07-17 10:53:44 UTC
The problem exists only for hybrid graphics systems, not for any other combination of Intel+AMD graphics.

There are a number of use cases where a user would want to use the Intel graphics with SNA but still have the proprietary ati-drivers installed.