← Back to team overview

desktop-packages team mailing list archive

[Bug 1079011] Re: stellarium assert failure: nv10_state_fb.c:50: get_rt_format: Assertion `0' failed.

 

The error occurs because nv10 (the driver used for this card) declares
VBO support (extension GL_ARB_vertex_buffer_object) but only supports
VBOs of int8, int16 and float (not double) types, and the application is
trying to draw data of type double.  Given that the double type is part
of the OpenGL spec, that would appear to be a bug in mesa, not the
application.

The easy fix would be "don't declare VBO support on those cards", but
that would slow down many other applications, and break any that require
this feature.

An alternative would be a software fallback that reads back the VBO data
and draws it as either a client-side array or individual primitives
(which would probably be even slower, but only applications that
actually use doubles would take the penalty), but that might be more
work than is reasonable to do for little benefit: stellarium and other
QtOpenGL applications will lose OpenGL 1 support in the upcoming Qt 5
transition anyway, and flightgear would probably be unusably slow on
such old hardware even if it didn't crash.

As an immediate workaround, you can use software rendering with
LIBGL_ALWAYS_SOFTWARE=1 stellarium
(perhaps the error message should suggest that?), but expect that to be slow.

I will report this upstream.

** Changed in: stellarium (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: flightgear (Ubuntu)
       Status: New => Incomplete

** Changed in: mesa (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1079011

Title:
  stellarium assert failure:  nv10_state_fb.c:50: get_rt_format:
  Assertion `0' failed.

Status in “flightgear” package in Ubuntu:
  Incomplete
Status in “mesa” package in Ubuntu:
  Confirmed
Status in “stellarium” package in Ubuntu:
  Invalid

Bug description:
  Stellarium crashes a few seconds after displaying the startup screen
  with this message in terminal:

  nv10_state_fb.c:50: get_rt_format: Assertion `0' failed.

  I have an nvidia GeForce4 MX 4000 video card, and have installed
  libgl1-mesa-dri and libgl1-mesa-dri-experimental, version
  9.0-0ubuntu1.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: stellarium 0.11.3-1
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  Uname: Linux 3.5.0-18-generic i686
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: i386
  Date: Wed Nov 14 22:52:36 2012
  InstallationDate: Installed on 2012-04-05 (224 days ago)
  InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: stellarium
  UpgradeStatus: Upgraded to quantal on 2012-10-20 (25 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flightgear/+bug/1079011/+subscriptions