oneiric intel i815 dri segmentation fault (Speicherzugriffsfehler)

Bug #878493 reported by Felix
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
stellarium (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 11.10
Stellarium 0.11.0-1

My graphics chip is a VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
(i815)
Stellarium crashes at startup with a segmentation fault
(OpenGL supported version: "1.3 Mesa 7.11"
Qt GL paint engine is: "OpenGL" )

When I disable DRI with
       Option "DRI" "off"
in the Driver Section of xorg.conf, stallarium is running

(OpenGL supported version: "2.1 Mesa 7.11"
Qt GL paint engine is: "OpenGL2" )

But in natty it did run with DRI and (if I remember well) faster. Downgraded to Natty Version of Stellarium: no difference.

May be an error in the intel driver, but couldn't a fix make stellarium behave as if ther was no DRI when an intel 855 chipset is used? Other GL programs do not crash. But without DRI enabled they are significantly slower.

Felix (signor-rossi)
summary: - oneiric inte i815 dri segmentation fault (Speicherzugriffsfehler)
+ oneiric intel i815 dri segmentation fault (Speicherzugriffsfehler)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in stellarium (Ubuntu):
status: New → Confirmed
Revision history for this message
TBerk (bayareaberk-yahoo) wrote :

Intel(R) 82865G Graphics Controller

Worked fine in Ubuntu 10.10 (and prior versions).

Currently, if I run it from a terminal window I can capture the following error message:

[quote]

host-name@host-name:~$ stellarium
Using default graphics system specified at build time: raster
QProcess: Destroyed while process is still running.
 -------------------------------------------------------
[ This is Stellarium 0.11.0 - http://www.stellarium.org ]
[ Copyright (C) 2000-2011 Fabien Chereau et al ]
 -------------------------------------------------------
Writing log file to: "/home/host-name/.stellarium/log.txt"
File search paths:
  0 . "/home/host-name/.stellarium"
  1 . "/usr/share/stellarium"
Config file is: "/home/host-name/.stellarium/config.ini"
OpenGL supported version: "1.3 Mesa 7.11"
Qt GL paint engine is: "OpenGL"
Cache directory is: "/home/host-name/.cache/stellarium/stellarium"
Sky language is "en_US"
Application language is "en_US"
Loading Solar System data ...
Loaded 63 / 63 planet orbits from "/usr/share/stellarium/data/ssystem.ini"
Loading star data ...
"Loading "/usr/share/stellarium/stars/default/stars_0_0v0_1.cat": 0_0v0_1; 5013"
"Loading "/usr/share/stellarium/stars/default/stars_1_0v0_1.cat": 1_0v0_1; 21999"
"Loading "/usr/share/stellarium/stars/default/stars_2_0v0_1.cat": 2_0v0_1; 151416"
"Loading "/usr/share/stellarium/stars/default/stars_3_1v0_0.cat": 3_1v0_0; 434064"
Finished loading star catalogue data, max_geodesic_level: 3
navigation/preset_sky_time is a double - treating as jday: 2.45151e+06
Loaded 10051 NGC records
Loading NGC name data ...
Loaded 222 / 222 NGC name records successfully
Segmentation fault
host-name@host-name:~$
[/quote]

I can run it from a secondary system I have w/ Ubuntu 10.04 on it but...

Revision history for this message
uhu (w2q) wrote :

With Lubuntu, I added the file /usr/share/X11/xorg.conf.d/10-intel.conf

with the following content:

Section "Device"
 Identifier "card0"
 Driver "intel"
 Option "DRI" "false"
EndSection

The idea came from https://bugs.archlinux.org/task/21927
The comment by Norbert (Pusi85) - Friday, 10 December 2010, 00:27 GMT-5
suggests to add this file into /etc/X11/xorg.conf.d/
that might be the path for ubuntu (i am using Lubuntu, as stated above)

Now stellarium works, but damn slow. But its an old notebook anyway.

Revision history for this message
Felix (signor-rossi) wrote :

With
Option "DRI" "false"
stellarium is really slow.

I found out a strange behaviour:
When I start stellarium while Adobe Flash Player (e.g. youtube video) is playing, stellarium is starting without segmentation fault. It crashes after some moving or zooming with

stellarium: ../../intel/intel_bufmgr_gem.c:1471: do_bo_emit_reloc: Assertion `offset <= bo->size - 4' failed.

or

stellarium: intel_tris.c:128: intel_extend_inline: Assertion `intel->prim.flush == intel_flush_inline_primitive' failed.
Aborted

Revision history for this message
Felix (signor-rossi) wrote :

Seems that it starts, when system load is high... not only when Flash Player is running

Revision history for this message
Götz Christ (g-christ) wrote :

I have also the same crash but with an Intel 865G. It was working fine until I removed the ~/.stellarium/ folder.
I have tried some graphics backends: native, opengl and raster. When started with "stellarium -graphicssystem native", it starts and I can change some settings, but when I zoom or move the map, it crashes. QT_GRAPHICSSYSTEM is raster.
Sometimes I get the "intel_extend_inline: Assertion `intel->prim.flush == intel_flush_inline_primitive' failed" error, but sometimes it isn't displayed, only "segmentation fault". Some times I get this error to (for example when removing the atmosphere): "stellarium: ../../intel/intel_bufmgr_gem.c:1473: do_bo_emit_reloc: Assertion `offset <= bo->size - 4' failed". I also get "[16794.924268] [drm:intel_prepare_page_flip] *ERROR* Prepared flip multiple times" in dmesg.

I also tried with Stellarium 0.11.2~bzr5158-0ubuntu0~oneiric1 from the daily PPA.

There is a similar (?) bug in Fedora https://bugzilla.redhat.com/show_bug.cgi?id=760394
Maybe it is a bug in the graphic drivers.

Kubuntu 11.10. I have also updated some video drivers packages:
xserver-xorg-video-intel 2.17.0+git1201260953
libdrm-intel1 2.4.30+git1201251314
libgl1-mesa-{dri,glx} 8.0~git1202051720
linux 3.2.4

00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
Kernel driver in use: i915
Kernel modules: intelfb, i915

Revision history for this message
TBerk (bayareaberk-yahoo) wrote :

stellarium in ubuntu 11.10 crashes at start

https://bugs.launchpad.net/stellarium/+bug/917011?comments=all

Revision history for this message
Ray T (raymond-thomson76) wrote :

Hi i run a Dell Lat D505 with a Intel Corporation 82852/855GM Integrated Graphics Device (rev 02).
Same "Segmentation fault (core dumped)",
Also had "[drm:intel_prepare_page_flip] *ERROR* Prepared flip multiple times"

The page flip error i have "suppressed" by installing driconf and setting Sync with Vert refresh = Never.

This seems to b a intel driver problem, i found a patch "0001-drm-i915-i8xx-interrupt-handler.patch" but as i'm new to Linux, i dont know what to do with it.. or know if this will fix this problem or just the Flip error.

Any clues

Revision history for this message
Ray T (raymond-thomson76) wrote :

by the by i'm running xubuntu 12.04.1
Kern = 3.2.0-29-generic
Clean install

Revision history for this message
Ray T (raymond-thomson76) wrote :

By the By
Xubuntu 12.04.1 3.2.0-29-generic
Clean install

Revision history for this message
Ray T (raymond-thomson76) wrote :

Fixed.. by running

sudo add-apt-repository ppa:glasen/intel-driver
sudo apt-get update
sudo apt-get install xserver-xorg-video-intel

updated driver seems to be doing the job!

Revision history for this message
angus73 (angus73) wrote :

I can confirm that following steps in comment #11 also fixed it for me in Ubuntu 12.04

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.