Crash with ClutterGLX critical

Bug #293201 reported by EricDHH
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Netbook Remix Launcher
Invalid
Medium
Unassigned
xserver-xorg-video-savage (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Hardware: IBM Thinkpad T23, Intrepid 8.10 fresh full install with updates
Software & Drivers:
(II) AIGLX: Loaded and initialized /usr/lib/dri/savage_dri.so
(II) GLX: Initialized DRI GL provider for screen 0
S3 Inc. SuperSavage IX/C SDR rev 5
Module savage: vendor="X.Org Foundation" compiled for 1.5.0, module version = 2.2.1

Following crash when trying to start netbook-launcher.

(netbook-launcher:6182): ClutterGLX-CRITICAL **: Unable to find suitable GL visual.
Unable to run Netbook Launcher: Unable to realize the default stage

The same time this appears in Xorg.0.log

AUDIT: Mon Nov 3 18:09:04 2008: 4917 X: client 4 rejected from local host ( uid=1000 gid=1000 pid=5184 )

Can i activate more debugging in netbook-launcher? I have inserted the ppa line in my sources.list but there is no never version than netbook-launch 1.5.0~ppa1. Something wrong with 16BPP screen on the savage? On 8.04 i got a start without function, on 8.10 nothing but the error.

ByeBye
Eric

Revision history for this message
Neil J. Patel (njpatel) wrote :

Hi, can you please attach the output of glxinfo. Also, can you see if you can run glxgears, and what framerate you get.

Changed in netbook-remix-launcher:
assignee: nobody → njpatel
status: New → Triaged
Revision history for this message
EricDHH (ericdhh) wrote :

Hello

here are the infos. The savage chip is normally able to drive 3d games, hope it is fast enough for ume?

With glxgears i get:

eric@vishnu:~$ glxgears
1661 frames in 5.0 seconds = 332.020 FPS
1802 frames in 5.0 seconds = 360.205 FPS
1814 frames in 5.0 seconds = 362.425 FPS
1834 frames in 5.0 seconds = 366.744 FPS
1857 frames in 5.0 seconds = 371.020 FPS
2095 frames in 5.0 seconds = 418.894 FPS

Glxinfo is attached.

(--) SAVAGE(0): Chip: id 8c2e, "SuperSavage/IXC 64"
(--) SAVAGE(0): Engine: "SuperSavage"
(--) SAVAGE(0): AGP card detected
(==) SAVAGE(0): Using AGP DMA
(II) SAVAGE(0): DMA is not supported on SuperSavages.
(==) SAVAGE(0): DMA disabled
(==) SAVAGE(0): Using AGP 1x mode
(==) SAVAGE(0): Using 16 MB AGP aperture
(==) SAVAGE(0): Using gamma correction (1.0, 1.0, 1.0)
(--) SAVAGE(0): probed videoram: 16384k

Using full memory size, should be enough for 1024x768 screen in 3d.

Bye
Eric

Bill Filler (bfiller)
Changed in netbook-remix-launcher:
importance: Undecided → Medium
Revision history for this message
Paul Larson (pwlars) wrote :

Moving to Ubuntu distribution

Changed in netbook-launcher (Ubuntu):
assignee: nobody → Neil J. Patel (njpatel)
importance: Undecided → Medium
status: New → Triaged
Changed in netbook-remix-launcher:
status: Triaged → Won't Fix
tags: added: ubuntu-unr
Revision history for this message
Olivier Berger (olivierberger) wrote :

Any news about this problem ?

Revision history for this message
EricDHH (ericdhh) wrote :

The machine was sold, did not see this behaviour on other machines. Fo my optinion this bug can be closed, unr 9.04 runs well on my eee901.

Eric

Revision history for this message
knarf (launchpad-ubuntu-f) wrote :

Problem still exists on latest Lucid with T23 / SuperSavage. Does Clutter require non power of two support like Compiz does? If so that will be the culprit as the current Savage driver does not support this.

Revision history for this message
knarf (launchpad-ubuntu-f) wrote :

To respond to my own question: I had a look at clutter (clutter/glx/clutter-glx-texture-pixmap.c to be specific) and saw that it tries to use GL_ARB_texture_non_power_of_two followed by GL_ARB_texture_rectangle. The savage driver does not support those extensions. As to whether it is possible to add at least GL_ARB_texture_rectangle to this driver I have not got a clue yet...

Loïc Minier (lool)
affects: netbook-launcher (Ubuntu) → xserver-xorg-video-savage (Ubuntu)
Changed in xserver-xorg-video-savage (Ubuntu):
assignee: Neil J. Patel (njpatel) → nobody
Changed in netbook-remix-launcher:
status: Won't Fix → Invalid
assignee: Neil J. Patel (njpatel) → nobody
Revision history for this message
knarf (launchpad-ubuntu-f) wrote :

This problem is increasing in importance as Clutter gets added to more and more programs. I just tried to import some photos using gthumb:

$ gthumb

(gthumb:24916): ClutterGLX-CRITICAL **: Unable to find suitable GL visual.

** ERROR **: Unable to initialize GtkClutter
aborting...

GLX works, glxgears is happy, depth is set to 24 bits.

This problem with Clutter should be fixed in some way as it threatens to make a whole range of machines unusable just because their video drivers do not support some non-essential feature which Clutter insists on using. Those machines are perfectly capable of running modern software as can be seen by the fact that I use a Thinkpad T23 as my main machine.

Clutter is non-essential and should be made optional if it can not be changed so it does not depend on GL_ARB_texture_non_power_of_two and/or GL_ARB_texture_rectangle.

Revision history for this message
knarf (launchpad-ubuntu-f) wrote :

OK, I have made some progress with Clutter and the savage. The failure to acquire a visual is caused by clutter requesting non-zero alpha depth when checking for available visuals. The savage driver does not support alpha so it never returns a usable visual. I changed clutter to get rid of this request and suddenly it works - sort of. That alpha request is there for a reason so the savage driver should be changed to either support alpha (difficult if the hardware does not offer support) or ignore the alpha request.

For now clutter is semi-usable when patched. I'm running clutter 1.2.2 so the patch is not applicable to the version currently used in Ubuntu. I'll have a look at implementing alpha support in the savage driver which would be the real solution to this problem.

Bryce Harrington (bryce)
tags: added: intrepid
Revision history for this message
Hervé (herve-gmx) wrote :

Just installed Ubuntu 9.10 Netbook Remix on my IBM T23. Get a bunch of
Mar 31 19:48:08 herve-laptop kernel: [ 132.300067] netbook-launche[1514]: segfault at 404 ip 00b55326 sp bfae35ac error 4 in libGL.so.1.2[b53000+5000]
in the kern.log
There is as well a weird behavior, the "Desktop" (screen with all shortcuts) doesn't display for the first connected user but gets displayed for the second connected user.

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notification.]

Hi EricW@Hamburg,

This bug was reported against an earlier version of Ubuntu, can you
test if it still occurs on Lucid?

Please note we also provide technical support for older versions of
Ubuntu, but not in the bug tracker. Instead, to raise the issue through
normal support channels, please see:

    http://www.ubuntu.com/support

If you are the original reporter and can still reproduce the issue on
Lucid, please run the following command to refresh the report:

  apport-collect 293201

If you are not the original reporter, please file a new bug report, so
we can work with you as the original reporter instead (you can reference
bug 293201 in your report if you think it may be related):

  ubuntu-bug xorg

If by chance you can no longer reproduce the issue on Lucid or if you
feel it is no longer relevant, please mark the bug report 'Fix Released'
or 'Invalid' as appropriate, at the following URL:

  https://bugs.launchpad.net/ubuntu/+bug/293201

Changed in xserver-xorg-video-savage (Ubuntu):
status: Triaged → Incomplete
tags: added: needs-retested-on-lucid-by-june
Revision history for this message
EricDHH (ericdhh) wrote :

The thinkpad t23 was sold away, i cannot test this issue again. If no other t23 user was affected we can close this bug.

Revision history for this message
Bryce Harrington (bryce) wrote :

[From reporter's comment it sounds like this is now fixed. If not, please reopen with clarification.]

Changed in xserver-xorg-video-savage (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Aapo Rantalainen (aapo-rantalainen) wrote :

This is not working for me.

My test case is simple.c
/* gcc `pkg-config --cflags --libs clutter-1.0` simple.c*/
#include <clutter/clutter.h>
int main (int argc, char *argv[]) {
  ClutterActor *stage;
  clutter_init (&argc, &argv);

  stage = clutter_stage_get_default ();
  clutter_actor_show_all(stage);
  clutter_main();
  return 0;
}

Error message is: ClutterGLX-CRITICAL **: Unable to find suitable GL visual.

Lucid with all packages up to date.
I also installed clutter-1.3.8 and error is same.

glxgears is working.

lspci:
VGA compatible controller: S3 Inc. VT8636A [ProSavage KN133] AGP4X VGA Controller (TwisterK) (rev 01)
(Laptop with integrated controller)

grep savage /var/log/Xorg.0.log
(II) Loading /usr/lib/xorg/modules/drivers/savage_drv.so
(II) AIGLX: Loaded and initialized /usr/lib/dri/savage_dri.so

First file is in package: xserver-xorg-video-savage
Latter is in package: libgl1-mesa-dri

Attached: glxinfo

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.