Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 460048 - x11-drivers/ati-drivers-12.11_beta11 segfaults on startup with sys-kernel/gentoo-sources-3.8.0 and sys-kernel/gentoo-sources-3.8.1 (but works fine with gentoo-sources-3.7.6)
Summary: x11-drivers/ati-drivers-12.11_beta11 segfaults on startup with sys-kernel/gen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: emil karlson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-02 21:31 UTC by Mark Dominik Bürkle
Modified: 2013-05-06 20:28 UTC (History)
2 users (show)

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


Attachments
Xorg.0.log with segfault, running on kernel 3.8.0 with discrete gpu selected (Xorg.0.log.kernel_3.8.0.ati-drivers_12.11_beta11.aticonfig--px-dgpu,19.73 KB, text/plain)
2013-03-02 21:38 UTC, Mark Dominik Bürkle
Details
Xorg.0.log with segfault, running on kernel 3.8.1 with discrete gpu selected (Xorg.0.log.kernel_3.8.1.ati-drivers_12.11_beta11.aticonfig--px-dgpu,19.74 KB, text/plain)
2013-03-02 21:41 UTC, Mark Dominik Bürkle
Details
Xorg.0.log OK, running on kernel 3.8.1 with "integrated" gpu selected (Xorg.0.log.kernel_3.8.1.ati-drivers_12.11_beta11.aticonfig--px-igpu,30.60 KB, text/plain)
2013-03-02 21:55 UTC, Mark Dominik Bürkle
Details
my xorg.conf -- in case one of the options is uncommon... (xorg.conf.382-13.1-dgpu,1.06 KB, text/plain)
2013-03-09 11:25 UTC, Mark Dominik Bürkle
Details
Xorg.0.log with segfault, running ati-drivers 13.1 on kernel 3.8.2 with discrete gpu selected (Xorg.0.log.kernel_3.8.2.ati-drivers_13.1.aticonfig--px-dgpu,19.74 KB, text/plain)
2013-03-09 11:26 UTC, Mark Dominik Bürkle
Details
Xorg.0.log with segfault, running ati-drivers 13.2_beta7 on kernel 3.8.2 with discrete gpu selected (Xorg.0.log.kernel_3.8.2.ati-drivers_13.2_beta7.aticonfig--px-dgpu,19.79 KB, text/plain)
2013-03-09 11:27 UTC, Mark Dominik Bürkle
Details
Xorg.0.log OK, running ati-drivers 13.2_beta7 on kernel 3.7.6 with discrete gpu selected (Xorg.0.log.kernel_3.7.6.ati-drivers_13.2_beta7.aticonfig--px-dgpu,36.03 KB, text/plain)
2013-03-09 11:29 UTC, Mark Dominik Bürkle
Details
kernel .config for 3.7.6 (config-3.7.6-gentoo,100.43 KB, text/plain)
2013-03-09 11:30 UTC, Mark Dominik Bürkle
Details
kernel .config for 3.8.2 (config-3.8.2-gentoo,99.27 KB, text/plain)
2013-03-09 11:30 UTC, Mark Dominik Bürkle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Dominik Bürkle 2013-03-02 21:31:24 UTC
after upgrading to gentoo-sources-3.8.0 and finally rebooting about ten days ago, X didn't display the login screen anymore: it segfaults, as can be seen in the Logfiles attached to this bug.

To my shame I don't have the console driver set up correctly so tty1-tty6 display a black screen, too, which makes it hard to switch integrated/discrete GPU with aticonfig --px-igpu / --px-dgpu while X is not running.

Reproducible: Always

Steps to Reproduce:
1. emerge ati-drivers-12.11_beta11 and gentoo-sources-3.8.1
2. reboot with kernel 3.8.1
3. try to run X
Actual Results:  
X segfaults repeatedly until xdm (gdm) stops to respawn it.

Expected Results:  
should be usable

Hardware: hp Pavilion g6 (1222sg) with an AMD Radeon 6400M / 7400M Series, device ID 6760, Radeon HD 6470M or the like.
Comment 1 Mark Dominik Bürkle 2013-03-02 21:38:18 UTC
Created attachment 340802 [details]
Xorg.0.log with segfault, running on kernel 3.8.0 with discrete gpu selected
Comment 2 Mark Dominik Bürkle 2013-03-02 21:41:50 UTC
Created attachment 340804 [details]
Xorg.0.log with segfault, running on kernel 3.8.1 with discrete gpu selected
Comment 3 Mark Dominik Bürkle 2013-03-02 21:55:03 UTC
Created attachment 340806 [details]
Xorg.0.log OK, running on kernel 3.8.1 with "integrated" gpu selected

with aticonfig --px-igpu, the X server starts up.
It's utilizing the cpu-integrated gpu.

But: KeePassX displays a window with black content area, unusable.
Other programs work alright...??
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-03-05 16:10:31 UTC
And what about 13.1 / 13.2_beta7?
Comment 5 Mark Dominik Bürkle 2013-03-09 11:25:19 UTC
Created attachment 341396 [details]
my xorg.conf -- in case one of the options is uncommon...
Comment 6 Mark Dominik Bürkle 2013-03-09 11:26:30 UTC
Created attachment 341398 [details]
Xorg.0.log with segfault, running ati-drivers 13.1 on kernel 3.8.2 with discrete gpu selected
Comment 7 Mark Dominik Bürkle 2013-03-09 11:27:06 UTC
Created attachment 341400 [details]
Xorg.0.log with segfault, running ati-drivers 13.2_beta7 on kernel 3.8.2 with discrete gpu selected
Comment 8 Mark Dominik Bürkle 2013-03-09 11:29:40 UTC
Created attachment 341402 [details]
Xorg.0.log OK, running ati-drivers 13.2_beta7 on kernel 3.7.6 with discrete gpu selected
Comment 9 Mark Dominik Bürkle 2013-03-09 11:30:34 UTC
Created attachment 341404 [details]
kernel .config for 3.7.6
Comment 10 Mark Dominik Bürkle 2013-03-09 11:30:50 UTC
Created attachment 341406 [details]
kernel .config for 3.8.2
Comment 11 Mark Dominik Bürkle 2013-03-09 11:31:49 UTC
lapmdb-hpl ~ #>> emerge --info
Portage 2.1.11.52 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.7.6-gentoo x86_64)
=================================================================
System uname: Linux-3.7.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.1
KiB Mem:     6054000 total,   4401160 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of tree: Fri, 08 Mar 2013 13:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo seden local
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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/seden /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avx berkdb bluetooth branding bzip2 cdda cddb cdinstall cdparanoia cdr cgi cli cracklib crypt css cxx dbus dedicated dga dri dvd dvdr fam fastcgi ffmpeg firefox flac fortran gdbm gif glut gnome gnutls gpm gsm gstreamer gtk gzip hddtemp iconv idn ipv6 java java6 javascript jpeg jpeg2k kerberos lame lash ldap lm_sensors mad matroska mbox mikmod mime mmap mms mmx mng mod modules mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nls nptl nsplugin ogg openal openexr opengl openmp pam pcre pdf perl php png posix quicktime raw rdesktop readline recode samba sasl savedconfig sdl session sharedmem simplexml smp sound sse sse2 ssl subversion svg symlink syslog sysvipc tcl tcmalloc tcpd theora tiff tokenizer udev unicode usb vcd videos vim-syntax vnc vorbis wavpack wifi wmf x264 xcb xcomposite xml xosd xsl xulrunner xv xvid zlib" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 pypy1_9 jython2_5" QEMU_SOFTMMU_TARGETS="arm" QEMU_USER_TARGETS="arm armeb" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

lapmdb-hpl ~ #>>
Comment 12 Mark Dominik Bürkle 2013-03-09 11:42:22 UTC
/etc/conf.d/modules had
modules="video i915"
module_video_args="use_bios_initial_backlight"
module_i915_args="invert_brightness=-1"

While 3.7.6 has no module video, 3.8.2 does have it (.config choices).

Notable side-effect (of this?): with 3.8.2 I got my vga consoles (tty1-tty6) back.
Will try 3.8.2 with /etc/conf.d/modules with everything commented out now.
Comment 13 Mark Dominik Bürkle 2013-03-09 17:48:02 UTC
With 3.8.2 and /etc/conf.d/modules "empty" (just comments and empty lines),
the consoles tty1..6 were still displayed. So I'd like to run 3.8.2 very much.

But ati-drivers do not cope, neither 13.1 nor 13.2_beta7 run without segfaulting at start up...

They do run with 3.7.6, however. So I'll check 3.7.10, next.
Comment 14 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-03-09 17:54:13 UTC
also clean up /etc/ati as users report problems sometimes when that contains stale configuration data from previous versions.
Comment 15 Mark Dominik Bürkle 2013-03-09 18:56:40 UTC
(In reply to comment #14)
> also clean up /etc/ati as users report problems sometimes when that contains
> stale configuration data from previous versions.

so do what in /etc/ati/: remove amdpcsdb?

lapmdb-hpl ~ #>> cd /etc/ati/
lapmdb-hpl ati #>> l
total 300
drwxr-xr-x   2 root root  4096 Mar  9 19:45 ./
drwxr-xr-x 106 root root 12288 Mar  9 19:52 ../
-rw-r--r--   1 root root 59217 Mar  9 19:47 amdpcsdb
-rw-r--r--   1 root root 98660 Mar  9 19:45 amdpcsdb.default
-rw-r--r--   1 root root 41052 Mar  9 19:45 atiogl.xml
-rwxr-xr-x   1 root root  2749 Mar  9 19:45 authatieventsd.sh*
-rw-r--r--   1 root root 37440 Mar  9 19:45 control
-rw-r--r--   1 root root 12887 Mar  9 19:45 logo.xbm.example
-rw-r--r--   1 root root 12902 Mar  9 19:45 logo_mask.xbm.example
-rw-r--r--   1 root root     8 Mar  9 19:45 signature
lapmdb-hpl ati #>> 


BTW: works fine with 3.7.10 and 13.2_beta7, as expected.
Comment 16 Mark Dominik Bürkle 2013-03-09 19:29:45 UTC
(In reply to comment #15)
> (In reply to comment #14)
> > also clean up /etc/ati as users report problems sometimes when that contains
> > stale configuration data from previous versions.
> 
> so do what in /etc/ati/: remove amdpcsdb?

moved amdpcsdb to amdpcsdb.old,
called aticonfig --pxl
found new amdpcsdb which is same (diff: no differences) as amdpcsdb.old.

Seems to make no sense to remove that file, but if You insist on doing it, I'll try to remove amdpcsdb, reboot with 3.8.2 and 13.2_beta7 and see what happens.
Comment 17 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-03-09 19:37:06 UTC
I don't insist on anything, I just repeat what was reported to me to make problems go away for some users. We cannot help at all in fixing the issue, and certainly nobody from AMD will look at this bug report (but they do look occasionally at ati.cchtml.com tracker I have heard).
Comment 18 Mark Dominik Bürkle 2013-03-10 07:13:32 UTC
(In reply to comment #17)
> We cannot help at all in fixing the issue,
> and certainly nobody from AMD will look at this bug report (but they do look
> occasionally at ati.cchtml.com tracker I have heard).

I hope they do look at ati.cchtml.com tracker...
 http://ati.cchtml.com/show_bug.cgi?id=732
I'll upload the log files there, too.

Running 3.8.2/13.2_beta7 with "aticonfig --px-igpu" worked, as it did with 3.8.1/13.x(?). However, suspend/resume did not work - it was hanging.

Of course, "px-igpu" also works with 3.7.6/13.2_beta7. Switching to px-dgpu.
Comment 19 Mark Dominik Bürkle 2013-05-06 20:28:49 UTC
ati-drivers-13.3_beta2 is running
with kernel gentoo-sources-3.8.4 and xf86-video-intel-2.20.13
at least since 2013-03-30 05:15:50 CDT