Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237741 - xserver1.5 breaks glx software renderer
Summary: xserver1.5 breaks glx software renderer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-15 15:20 UTC by ultimA
Modified: 2008-12-17 09:30 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 ultimA 2008-09-15 15:20:11 UTC
After upgrading to xserver1.5, glxgears and glxinfo stop working. They output:
Xlib: extension "GLX" missing on display ":0.0".

glxinfo additionally segfaults.

xserver outputs at load time:
(EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: undefined symbol: _glapi_tls_Context)
(EE) GLX: could not load software renderer

Further notes:
- xorg-server was compiled with -dri (using patch from Comment #10 from Bug 236851)
- Load "glx" is in xorg.conf
- xorg-server 1.3, 1.4.2 worked fine

I suspect the sw glx extension was not emerged/installed right?

Reproducible: Didn't try




emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.2.4, glibc-2.6.1-r0, 2.6.26-rc8 i686)
=================================================================
System uname: 2.6.26-rc8 i686 Pentium II (Deschutes)
Timestamp of tree: Sun, 14 Sep 2008 15:45:05 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -fgcse-after-reload -fweb -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -fgcse-after-reload -fweb -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X acl acpi bash-completion berkdb bzip2 cjk cli cracklib crypt dbus directfb exif fbcon fortran ftp gdbm gif glib glibc-omitfp gpm gzip hal hald iconv isdnlog jpeg jpeg2k lzo midi mmx mouse mudflap ncurses nls noaudio nojoystick nptl nptlonly openexr opengl openmp pam pcmcia pcre pdf perl png pppd python raw readline reflection session spl ssl svg sysfs threads tiff truetype unicode usb wifi wmf x86 xml xorg zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="neomagic"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2008-09-16 07:43:50 UTC
Could you try rebuilding mesa, then xorg-server?

Thanks
Comment 2 ultimA 2008-09-16 08:51:24 UTC
> Could you try rebuilding mesa, then xorg-server?

Have already tried, but no luck. I also tried adding the "none" option to VIDEO_CARDS for mesa, I thought it might be needed to enable software rendering. Also tried hacking the xserver ebuild to add "--enable-glx-tls" configure option, which appeared as a possible related cause after seaching on google.

None of them worked.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2008-10-29 13:29:20 UTC
Do you have the "nptl" use flag enabled? If not, try to enable it.

Thanks
Comment 4 ultimA 2008-12-16 21:19:36 UTC
Phew, that was long ago. To be honest, I don't know anymore, since then my system is completely new (but still gentoo).

I remember that one of mesa or xserver1.5 forced nptl to on or off, and I went along with that, whichever was forced by emerge.

However, now I have xserver 1.5.2 and I do not have the problem anymore. Software opengl is working now.
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2008-12-17 09:30:24 UTC
Alright, thanks for the follow up.

I'll close this bug fixed then. Please don't hesitate to reopen a new bug if you have any issues.

Thanks