Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508062 - x11-drivers/ati-drivers-14.3_beta with x11-drivers/xf86-video-intel-2.99.911 - X: segmentation fault in /usr/lib64/xorg/modules/drivers/intel_drv.so
Summary: x11-drivers/ati-drivers-14.3_beta with x11-drivers/xf86-video-intel-2.99.911 ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-19 06:49 UTC by Sergey Ilinykh
Modified: 2017-02-23 22:54 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Ilinykh 2014-04-19 06:49:47 UTC
[    17.725] (==) fglrx(0): Backing store enabled
[    17.725] (==) fglrx(0): Silken mouse enabled
[    17.770] (II) fglrx(0): Initializing HW Cursor
[    17.770] (II) fglrx(0): Use standard UXA acceleration.
[    17.770] (II) fglrx(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    17.770] (**) fglrx(0): DPMS enabled
[    17.770] (==) fglrx(0): Intel XvMC decoder enabled
[    17.770] (II) fglrx(0): Set up textured video
[    17.770] (II) fglrx(0): [XvMC] xvmc_vld driver initialized.
[    17.770] (II) fglrx(0): direct rendering: DRI2 Enabled
[    17.770] (WW) fglrx(0): Option "VendorName" is not used
[    17.770] (WW) fglrx(0): Option "ModelName" is not used
[    17.770] (WW) fglrx(0): Option "Shadow" is not used
[    17.770] (WW) fglrx(0): Option "Tiling" is not used
[    17.770] (WW) fglrx(0): Option "LinearFramebuffer" is not used
[    17.770] (==) fglrx(0): hotplug detection: "enabled"
[    17.770] (EE)
[    17.770] (EE) Backtrace:
[    17.789] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x580118]
[    17.789] (EE) 1: /usr/bin/X (0x400000+0x183ce9) [0x583ce9]
[    17.789] (EE) 2: /lib64/libpthread.so.0 (0x7fce46c1b000+0xfeb0) [0x7fce46c2aeb0]
[    17.789] (EE) 3: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fce4328e000+0xdce0) [0x7fce4329bce0]
[    17.789] (EE) 4: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fce4328e000+0x1b209) [0x7fce432a9209]
[    17.789] (EE) 5: /usr/lib64/xorg/modules/drivers/intel_drv.so (0x7fce4328e000+0x1b76d) [0x7fce432a976d]
[    17.789] (EE) 6: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (xdl_xs115_atiddxPxScreenInit+0x72) [0x7fce43bd5502]
[    17.789] (EE) 7: /usr/lib64/xorg/modules/drivers/fglrx_drv.so (xdl_xs115_atiddxScreenInit+0x1108) [0x7fce43bb1dd8]
[    17.789] (EE) 8: /usr/bin/X (AddScreen+0x71) [0x435b31]
[    17.789] (EE) 9: /usr/bin/X (InitOutput+0x3df) [0x475bff]
[    17.789] (EE) 10: /usr/bin/X (0x400000+0x394fb) [0x4394fb]
[    17.789] (EE) 11: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7fce458b4a65]
[    17.789] (EE) 12: /usr/bin/X (0x400000+0x24e6e) [0x424e6e]
[    17.789] (EE)
[    17.789] (EE) Segmentation fault at address 0x18
[    17.789] (EE)
Fatal server error:
[    17.789] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    17.791] (EE)
[    17.791] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    17.791] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    17.791] (EE)


emerge --info
Portage 2.2.10 (default/linux/amd64/13.0/developer, gcc-4.8.2, glibc-2.19, 3.9.11-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.9.11-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3610QM_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:    16309988 total,   1921028 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sat, 19 Apr 2014 06:30:01 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.5, 3.4.0
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo rion sunrise Armageddon qt mate-overlay test
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -maes"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /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="-march=native -O2 -pipe -maes"
DISTDIR="/home/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified digest distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/home/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/portage/build"
PORTDIR="/home/portage/portage"
PORTDIR_OVERLAY="/var/lib/layman/rion /var/lib/layman/sunrise /var/lib/layman/Armageddon /var/lib/layman/qt /var/lib/layman/mate /home/rion/projects/test-overlay"
USE="X a52 aac acl acpi alsa amd64 avahi avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdr cli consolekit cracklib crypt cups custom-optimization cxx dbus dri dts dv dvb dvd dvdnav dvdr emboss encode exif faac faad fam ffmpeg firefox flac fuse gallium gif glamor glitz gnome-keyring gphoto2 gpm gsm gstreamer gtk gtk3 h323 iconv idn ipv6 jabber java6 jingle jpeg jpeg2k kde lcms libcanberra libnotify libsecret mad mate mmx mng modemmanager modplug modules mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pch pcmcia pcre pdf pm-utils png policykit ppds qalculate qml qt3support qt4 readline rtmp samba schroedinger sdl semantic-desktop session sip smp snmp speex spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg symlink tcpd theora threads thunar tiff tokenizer truetype udev udisks unicode upnp upower usb v4l v4l2 vaapi vdpau vhosts vnc vorbis vpx webkit wifi x264 xcb xcomposite xinerama xml xv xvid xvmc 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" APACHE2_MODULES="dav dav_fs authn_file auth_basic auth_digest authz_groupfile authz_host dir mime log_config" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU en" NETBEANS_MODULES="apisupport harness ide nb websvccommon php profiler webcommon cnd ergonomics dlight" NGINX_MODULES_HTTP="dav fastcgi flv access auth_basic autoindex charset browser empty_gif gzip map memcached rewrite userid" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="vesa intel i965 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, SYNC, USE_PYTHON




[ebuild     U  ] x11-drivers/xf86-video-intel-2.99.911 [2.21.15] USE="dri glamor udev uxa xvmc -debug% -sna"

[ebuild   R    ] x11-drivers/ati-drivers-14.3_beta:1  USE="modules multilib qt4 -debug -pax_kernel -static-libs"

Reproducible: Always
Comment 1 TheNumb 2014-05-19 08:52:16 UTC
Hello,

Try rebuilding xf86-video-intel with USE="sna uxa".
Comment 2 Sergey Ilinykh 2014-06-04 18:00:51 UTC
with USE="sna uxa" it's even worse. backtrace is the same but I got kind of lock. was unable to switch back to terminal, but magic sysrq keys still work.
Comment 3 Manuel Rüger (RETIRED) gentoo-dev 2015-01-06 18:41:26 UTC
As ati-drivers-14.3_beta is not available in the tree anymore, does this problem still exist with recent versions of ati-drivers and x11-video-intel?
Comment 4 Sergey Ilinykh 2015-01-07 10:12:30 UTC
with intel+sna I get  "atiddxProbe: fail to probe intel VGA device". X doesn't work but no locks.

I'll test intel+uxa again and let you know.
Comment 5 Sergey Ilinykh 2015-01-07 10:28:13 UTC
kind of lock with intel+uxa.
sysrq works, no changes on display. just black screen with freezed cursor.

last lines in Xorg.0.log

[    63.552] (II) fglrx(0): Allocated new frame buffer 1920x1080 stride 7680, untiled
[    63.562] (II) UXA(0): Driver registered support for the following operations:
[    63.562] (II)         solid
[    63.562] (II)         copy
[    63.562] (II)         composite (RENDER acceleration)
[    63.562] (II)         put_image
[    63.562] (II)         get_image
[    63.562] (II) fglrx(0): [DRI2] Setup complete
[    63.562] (II) fglrx(0): [DRI2]   DRI driver: i965
[    63.562] (II) fglrx(0): [DRI2]   VDPAU driver: i965
[    63.562] (==) fglrx(0): Backing store enabled
[    63.562] (==) fglrx(0): Silken mouse enabled
[    63.562] (II) fglrx(0): Initializing HW Cursor
[    63.562] (II) fglrx(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    63.562] (**) fglrx(0): DPMS enabled
[    63.562] (==) fglrx(0): Intel XvMC decoder enabled
[    63.562] (II) fglrx(0): Set up textured video
[    63.562] (II) fglrx(0): [XvMC] xvmc_vld driver initialized.
[    63.562] (II) fglrx(0): DRI2: Enabled
[    63.562] (II) fglrx(0): DRI3: Not available
[    63.562] (WW) fglrx(0): Option "VendorName" is not used
[    63.562] (WW) fglrx(0): Option "ModelName" is not used
[    63.562] (WW) fglrx(0): Option "Shadow" is not used
[    63.562] (WW) fglrx(0): Option "Tiling" is not used
[    63.562] (WW) fglrx(0): Option "LinearFramebuffer" is not used
[    63.562] (==) fglrx(0): hotplug detection: "enabled"
[    63.598] (II) Loading sub module "glx"
[    63.598] (II) LoadModule: "glx"
[    63.598] (II) Loading /usr/lib32/xorg/modules/extensions/libglx.so
[    63.598] (EE) Failed to load /usr/lib32/xorg/modules/extensions/libglx.so: /usr/lib32/xorg/modules/extensions/libglx.so: cannot open shared object file: No such file or directory
[    63.598] (II) UnloadModule: "glx"
[    63.598] (II) Unloading glx
[    63.598] (EE) fglrx: Failed to load module "glx" (loader failed, 7)
[    63.598] (EE) fglrx(0): Failed to load GLX module.
[    63.598] (WW) fglrx(0): ***********************************************************
[    63.598] (WW) fglrx(0): * DRI initialization failed                               *
[    63.598] (WW) fglrx(0): * kernel module (fglrx.ko) may be missing or incompatible *
[    63.598] (WW) fglrx(0): * 2D and 3D acceleration disabled                         *
[    63.598] (WW) fglrx(0): ***********************************************************
[    63.598] (II) fglrx(0): FBADPhys: 0xf400000000 FBMappedSize: 0x10000000
[    63.599] (II) fglrx(0): Intel display surface mc addr for AMD: ffe8117000
Comment 6 Sergey Ilinykh 2015-01-07 10:34:53 UTC
tested drivers:
x11-drivers/xf86-video-intel-2.99.917
x11-drivers/ati-drivers-14.12-r1

so no crash anymore. nothing works though.
Comment 7 Sergey Ilinykh 2015-01-07 10:58:12 UTC
after manually fixing /usr/lib32/xorg/modules/extensions/libglx.so symlink to /usr/lib64/opengl/ati/extensions/libglx.so and installing intel+uxa I was able to start X with fglrx driver.
Comment 8 Sergey Ilinykh 2015-01-07 15:29:00 UTC
now it hardlocks on suspend to ram.
but I think to close this bug it's enough to add some version/use deps in ebuilds. or at least add some elogs.
Comment 9 Sergey Ilinykh 2015-01-07 15:29:45 UTC
ah yes. and fix this strange bug with libglx
Comment 10 Sergey Ilinykh 2015-01-07 18:09:49 UTC
I can't say for sure but it seems "acpi_backlight=vendor   video.use_native_backlight=1" params for kernel fix problem with hardlock on resume.
Comment 11 Sergey Ilinykh 2015-01-09 15:06:16 UTC
ok I was wrong regarding hard lock. it doesn't depend on backlight. just happens randomly on resume.

glx problem is in configs generated by eselect opengl.

probably it's better to close this bug and open few others.
Comment 12 Matt Turner gentoo-dev 2017-02-23 22:54:43 UTC
ati-drivers is dead, and will not be supported for X.