glxinfo Segmentation fault on Hardy [i915]

Bug #244734 reported by Tudor Holton
6
Affects Status Importance Assigned to Milestone
mesa-utils (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

glxinfo segfaults on an Intel 915GM on Hardy.

It appears to segfault after printing out the table of detail.

The reason I noticed this is that DRI doesn't seem to be working, and I noticed "direct rendering: No". I deleted xorg.conf to restore it to its default settings, but it hasn't changed.

LIBGL_DEBUG=verbose glxinfo shows this:
libGL error: dlopen /usr/lib/dri/i915_dri.so failed (/usr/lib/dri/i915_dri.so: undefined symbol: _glapi_Dispatch)

If I run glxinfo a few times, eventually the system freezes. Possible memory leak?

Obviously, I'm running Beryl/Compiz, this has no relevance if Beryl/Compiz is off.

Information attached.

tudor@kneet:~$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04

I also have an up-to-date hardware report at:
https://answers.launchpad.net/~tudor/+hwdb-submissions

Revision history for this message
Tudor Holton (tudor) wrote :
Revision history for this message
Tudor Holton (tudor) wrote :
Revision history for this message
Tudor Holton (tudor) wrote :
Revision history for this message
Tudor Holton (tudor) wrote :

Sorry, attached one of the earlier glxinfos when it was crashing. Here is the LIBGL_DEBUG=verbose one.

Revision history for this message
Tudor Holton (tudor) wrote :
Revision history for this message
Tudor Holton (tudor) wrote :

I'm unsure if this should go into xserver-xorg-video-intel or mesa. I think mesa is pretty much just a wrapper for calling the xorg libraries, so I'm assigning it to video-intel but I could be wrong.

Revision history for this message
unggnu (unggnu) wrote :

This might be connected to Bug 236877. According to your Xorg.0.log "(II) intel(0): direct rendering: Enabled" direct rendering is enabled and if you are running Compiz DRI should definitively work.
Maybe it is just a bug of glxinfo (mesa-utils).

Changed in xserver-xorg-video-intel:
status: New → Incomplete
Revision history for this message
Tudor Holton (tudor) wrote :

Shifted to mesa-utils.

Changed in xserver-xorg-video-intel:
status: Incomplete → New
Revision history for this message
Tudor Holton (tudor) wrote :

Compiz appears to work for the most part, it's just that scrolling is exceptionally choppy. From reading around, it was suggested that DRI was most probably the cause. Since glxinfo segfaults, and things fall apart from then on, something is definitely awry.

Revision history for this message
unggnu (unggnu) wrote :

Scrolling might be connected to Bug #177492. Scrolling is generally a little bit slower with Compiz. How much frames do you get with glxgears?

Revision history for this message
Tudor Holton (tudor) wrote :

With Compiz off: 518.119 FPS median
With Compiz on: 570.632 FPS median

Revision history for this message
Tudor Holton (tudor) wrote :

I found Bug #177492 also and tried all the options listed there. EXA and XAA both behave similarly.

I'm not as concerned about the scrolling as I am about glxinfo segfaulting and causing the system to fall apart.

I think a segfault is a sign of something more serious being wrong and I'm reporting that above the scrolling issue.

Revision history for this message
unggnu (unggnu) wrote :

If X crashes with glxinfo you might try to get a full backtrace like described here https://wiki.ubuntu.com/X/Backtracing. You need to use a second system to connect through ssh or something like that to use gdb while X hangs.

Changed in mesa-utils:
status: New → Incomplete
Revision history for this message
StefanW (stefan-stefan-weigand) wrote :

I had exactly the same "problem". glxinfo segfaulting and direct rendering enabled reported in xorg.0.log but disabled in glxinfo.

Fix was to remove the not needed package xorg-driver-fglrx.

Revision history for this message
Ralph Janke (txwikinger) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Revision history for this message
Abdelmonam Kouka (abdelmonam-kouka) wrote :

I have the same problem with ubuntu 10.04 with intel video card, this is what I get:
kouka@kouka-desktop:~$ glxinfo
name of display: :0.0
Segmentation fault

----------------

Compiz fusion did not work also!

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mesa-utils (Ubuntu) because there has been no activity for 60 days.]

Changed in mesa-utils (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Gray (gray-green) wrote :

I had the same problem and found this topic: https://bugs.archlinux.org/task/21163
deleted file ~/.drirc and now it's all works fine

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.