Author Topic: Stellarium broken after update [SOLVED]  (Read 2073 times)

Offline Jonesy

  • Sr. Member
  • ****
  • Posts: 301
Stellarium broken after update [SOLVED]
« on: June 18, 2012, 05:06:47 PM »
KDE4 fully updated.

After the recent update Stellarium no longer works. The following output is created running from terminal indicating a SEG fault :(.

Even running in safe mode stellarium --safe-mode doesn't work.

Code: [Select]
Using default graphics system specified at build time:  raster
 -------------------------------------------------------
[ This is Stellarium 0.11.2 - http://www.stellarium.org ]
[ Copyright (C) 2000-2012 Fabien Chereau et al          ]
 -------------------------------------------------------
Writing log file to: "/home/dave/.stellarium/log.txt"
File search paths:
  0 .  "/home/dave/.stellarium"
  1 .  "/usr/share/stellarium"
Attempting to use an existing older config file.
Config file is:  "/home/dave/.stellarium/config.ini"
libEGL warning: DRI2: failed to find _glapi_get_proc_address
libEGL warning: unable to load st_GL.so
QEglContext::createContext(): Unable to create EGL context: "Success (0x3000)"
QGLTemporaryContext: Error creating EGL context.
QGLTemporaryContext: Error creating EGL context.
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
Cache directory is:  "/home/dave/.cache/stellarium/stellarium"
Sky language is  "en_US"
Application language is  "en_US"
Loading Solar System data ...
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
Loaded 63 / 63 planet orbits from "/home/dave/.stellarium/data/ssystem.ini"
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
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"
"Loading "/home/dave/.stellarium/stars/default/stars_4_1v0_0.cat": 4_1v0_0; 1725497"
Finished loading star catalogue data, max_geodesic_level:  4
QGLContext::makeCurrent(): Cannot make invalid context current
navigation/preset_sky_time is a double - treating as jday: 2.45151e+06
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
Loaded 10051 NGC records
Loading NGC name data ...
Loaded 223 / 223 NGC name records successfully
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
Loading star names from "/usr/share/stellarium/skycultures/western/star_names.fab"
Loaded 230 / 230 common star names
Loading star names from "/usr/share/stellarium/stars/default/name.fab"
Loaded 3215 / 4359 scientific star names
Loaded 88 / 88 constellation records successfully for culture "western"
Loaded 85 / 85 constellation art records successfully for culture "western"
Loaded 89 / 89 constellation names
Loading constellation boundary data ...
Loaded 782 constellation boundary segments
QGLContext::makeCurrent(): Cannot make invalid context current
WARNING: in StelTexture::~StelTexture() tried to delete invalid texture with ID= 4  Current GL ERROR status is  0
Creating GUI ...
QGLContext::makeCurrent(): Cannot make invalid context current
Segmentation fault
« Last Edit: June 19, 2012, 07:53:03 AM by Jonesy »
"But it was ok before.... honest"

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Jonesy

  • Sr. Member
  • ****
  • Posts: 301
Re: Stellarium broken after update
« Reply #2 on: June 19, 2012, 07:52:42 AM »
Thanks for the heads up. I'll mark this as solved..

Cheers  8)
"But it was ok before.... honest"

Offline Nok

  • Hero Member
  • *****
  • Posts: 2258
  • A Space Odyssey
Re: Stellarium broken after update [SOLVED]
« Reply #3 on: July 06, 2012, 12:40:40 PM »
Has anyone managed to get Stellarium working yet? I miss not being able to use it.
“Those people who think they know everything are a great annoyance to those of us who do.”
 ― Isaac Asimov

Offline Phil

  • Hero Member
  • *****
  • Posts: 768
Re: Stellarium broken after update [SOLVED]
« Reply #4 on: July 06, 2012, 01:40:34 PM »
Hi nok,

This might entertain you for a while:

http://www.heavens-above.com/

Offline Nok

  • Hero Member
  • *****
  • Posts: 2258
  • A Space Odyssey
Re: Stellarium broken after update [SOLVED]
« Reply #5 on: July 06, 2012, 03:14:53 PM »
Thanks Phil. I've been registered on Heavens Above for about 8 years. It's a great site.
“Those people who think they know everything are a great annoyance to those of us who do.”
 ― Isaac Asimov

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Stellarium broken after update [SOLVED]
« Reply #6 on: July 06, 2012, 08:25:07 PM »
Stellarium's still broken.

Code: [Select]
Using default graphics system specified at build time:  raster
 -------------------------------------------------------
[ This is Stellarium 0.11.2 - http://www.stellarium.org ]
[ Copyright (C) 2000-2012 Fabien Chereau et al          ]
 -------------------------------------------------------
Writing log file to: "/home/darrel/.stellarium/log.txt"
File search paths:
  0 .  "/home/darrel/.stellarium"
  1 .  "/usr/share/stellarium"
Attempting to use an existing older config file.
Config file is:  "/home/darrel/.stellarium/config.ini"
libEGL warning: DRI2: failed to find _glapi_get_proc_address
libEGL warning: GLX: failed to load GLX
libEGL warning: unable to load st_GL.so
QEglContext::createContext(): Unable to create EGL context: "Success (0x3000)"
QGLTemporaryContext: Error creating EGL context.
QGLTemporaryContext: Error creating EGL context.
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
Cache directory is:  "/home/darrel/.cache/stellarium/stellarium"
Sky language is  "en_US"
Application language is  "en_US"
Loading Solar System data ...
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
Loaded 63 / 63 planet orbits from "/home/darrel/.stellarium/data/ssystem.ini"
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
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"
"Loading "/home/darrel/.stellarium/stars/default/stars_4_1v0_0.cat": 4_1v0_0; 1725497"
"Loading "/home/darrel/.stellarium/stars/default/stars_5_2v0_0.cat": 5_2v0_0; 7669011"
"Loading "/home/darrel/.stellarium/stars/default/stars_6_2v0_0.cat": 6_2v0_0; 26615233"
"Loading "/home/darrel/.stellarium/stars/default/stars_7_2v0_0.cat": 7_2v0_0; 57826266"
"Loading "/home/darrel/.stellarium/stars/default/stars_8_2v0_0.cat": 8_2v0_0; 116923084"
Finished loading star catalogue data, max_geodesic_level:  8
QGLContext::makeCurrent(): Cannot make invalid context current
Warning: location "New Location, United States" is unknown.
navigation/preset_sky_time is a double - treating as jday: 2.456e+06
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
Loaded 10051 NGC records
Loading NGC name data ...
Loaded 223 / 223 NGC name records successfully
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
Loading star names from "/usr/share/stellarium/skycultures/western/star_names.fab"
Loaded 230 / 230 common star names
Loading star names from "/usr/share/stellarium/stars/default/name.fab"
Loaded 3215 / 4359 scientific star names
Loaded 88 / 88 constellation records successfully for culture "western"
Loaded 85 / 85 constellation art records successfully for culture "western"
Loaded 89 / 89 constellation names
Loading constellation boundary data ... 
Loaded 782 constellation boundary segments
QGLContext::makeCurrent(): Cannot make invalid context current
WARNING: in StelTexture::~StelTexture() tried to delete invalid texture with ID= 6  Current GL ERROR status is  0
Creating GUI ...
Loaded plugin  "Oculars" .
Ocular plugin - press Command-O to toggle eyepiece view mode. Press ALT-o for configuration.
Oculars::validateIniFile ocular.ini exists at:  "/home/darrel/.stellarium/modules/Oculars/ocular.ini" . Checking version...
Oculars::validateIniFile found existing ini file version  2
Loaded plugin  "Satellites" .
QGLContext::makeCurrent(): Cannot make invalid context current
QGLContext::makeCurrent(): Cannot make invalid context current
Satellites::getJsonFileVersion() version from file: "0.7.1"
Satellites::init using satellite.json file:  "/home/darrel/.stellarium/modules/Satellites/satellites.json"
Loaded plugin  "SolarSystemEditor" .
Using the ssystem.ini file that already exists in the user directory...
Loaded plugin  "TimeZoneConfiguration" .
QGLContext::makeCurrent(): Cannot make invalid context current
Segmentation fault

So is KStars.

Code: [Select]
/usr/share/themes/MurrinaBlue/gtk-2.0/gtkrc:83: Murrine configuration option "scrollbar_color" is no longer supported and will be ignored.
kstars(4321) KStarsDateTime::fromString: "Could not parse Date/Time string: " ""
kstars(4321) KStarsDateTime::fromString: "Valid date formats: "
kstars(4321) KStarsDateTime::fromString:   1950-02-25   ;  1950-02-25T05:30:00
kstars(4321) KStarsDateTime::fromString:   25 Feb 1950  ;  25 Feb 1950 05:30:00
kstars(4321) KStarsDateTime::fromString:   Sat Feb 25 1950  ;  Sat Feb 25 05:30:00 1950
kstars(4321) ConstellationLines::ConstellationLines: "Star HD61,421 not found."
kstars(4321) ConstellationLines::ConstellationLines: "Star HD10,700 not found."
kstars(4321) ConstellationLines::ConstellationLines: "Star HD20,794 not found."
kstars(4321) ConstellationLines::ConstellationLines: "Star HD2,151 not found."
kstars(4321) ConstellationLines::ConstellationLines: "Star HD190,248 not found."
kstars(4321) ConstellationLines::ConstellationLines: "Star HD142,860 not found."
kstars(4321) ConstellationLines::ConstellationLines: "Star HD1,581 not found."
kstars(4321) ConstellationLines::ConstellationLines: "Star HD1,581 not found."
kstars(4321) ConstellationLines::ConstellationLines: "Star HD98,230 not found."
Could not find texture ""
libEGL warning: DRI2: failed to find _glapi_get_proc_address
libEGL warning: GLX: failed to load GLX
libEGL warning: unable to load st_GL.so
QGLTemporaryContext: Error creating EGL context.
QGLTemporaryContext: Error creating EGL context.
QEglContext::createContext(): Unable to create EGL context: "Success (0x3000)"
KCrash: Application 'kstars' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/darrel/.kde4/socket-AMD64.johnston/kdeinit4__0

[1]+  Stopped                 kstars

Both with QGL and EGL errors.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline hal8000

  • Sr. Member
  • ****
  • Posts: 346
Re: Stellarium broken after update [SOLVED]
« Reply #7 on: July 14, 2012, 03:05:14 PM »
Same errors for me stellarium does not run.

You may like to take a look at Celestia, which does run and is available in the repos.

Regarding the error, if I try and run qwenview and use advanced slideshow with ken burns plugin,
qwenview crashes. Starting from a terminal:
--snip--
libEGL warning: DRI2: failed to find _glapi_get_proc_address
libEGL warning: GLX: failed to load GLX
libEGL warning: unable to load st_GL.so

QEglContext::createContext(): Unable to create EGL context: "Success (0x3000)"
KCrash: Application 'gwenview' crashing...
--snip--

Looks as though the same libEGL error  is affecting apps that try and load GLX extensions.
I then found this in my Xorg.0.log

cat Xorg.0.log | grep "EE"
[   958.393] Current Operating System: Linux orac 3.2.18-pclos2.pae.bfs #1 SMP PREEMPT Thu May 24 05:33:57 CEST 2012 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   958.396] (EE) Failed to load /usr/lib/xorg/modules/extensions/libdri.so: /usr/lib/xorg/modules/extensions/libdri.so: cannot open shared object file: No such file or directory
[   958.396] (EE) LoadModule: Module dri does not have a driModuleData data object.
[   958.396] (EE) Failed to load module "dri" (invalid module, 0)
--snip--

and on perusing the filesystem:

ls -l /usr/lib/xorg/modules/extensions/
total 196
--snip--
-rwxr-xr-x 1 root root  20356 Sep 23  2011 libdri2.so*
-rwxr-xr-x 1 root root    927 Sep 23  2011 libdri.la*
lrwxrwxrwx 1 root root     27 Apr  3 23:08 libdri.so -> /etc/alternatives/libdri.so
-rwxr-xr-x 1 root root    938 Sep 23  2011 libextmod.la*
-rwxr-xr-x 1 root root 105176 Sep 23  2011 libextmod.so*
-rwxr-xr-x 1 root root    925 Sep 23  2011 libglx.la*
lrwxrwxrwx 1 root root     24 Apr  3 23:08 libglx.so -> /etc/alternatives/libglx*
--snip--



When I list files in /etc/alternative they are mostly symlinks, so libdri.so does not exist !?

ls -l /etc/alternatives/libdri.so
lrwxrwxrwx 1 root root 51 Jun 16 13:22 /etc/alternatives/libdri.so -> /usr/lib/xorg/modules/extensions/standard/libdri.so
ls -l /etc/alternatives/libglx
lrwxrwxrwx 1 root root 29 Jun 16 13:22 /etc/alternatives/libglx -> /usr/lib/fglrx/xorg/libglx.so*

Is this the problem?
Does anyone else have same symlinks or a copy of libdri.so which is not a symlink.
« Last Edit: July 14, 2012, 03:07:23 PM by hal8000 »

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Stellarium broken after update [SOLVED]
« Reply #8 on: July 14, 2012, 05:08:02 PM »
Thanks, hal8000. I have Celestia installed. But, it's quite a bit different than both Stellarium and KStars, neither of which will run any more.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Jonesy

  • Sr. Member
  • ****
  • Posts: 301
Re: Stellarium broken after update [SOLVED]
« Reply #9 on: July 17, 2012, 04:02:10 PM »

When I list files in /etc/alternative they are mostly symlinks, so libdri.so does not exist !?

ls -l /etc/alternatives/libdri.so
lrwxrwxrwx 1 root root 51 Jun 16 13:22 /etc/alternatives/libdri.so -> /usr/lib/xorg/modules/extensions/standard/libdri.so
ls -l /etc/alternatives/libglx
lrwxrwxrwx 1 root root 29 Jun 16 13:22 /etc/alternatives/libglx -> /usr/lib/fglrx/xorg/libglx.so*

Is this the problem?
Does anyone else have same symlinks or a copy of libdri.so which is not a symlink.

I have the exact opposite. I have libdri.so in  /usr/lib/xorg/modules/extensions/ but no symlink in /etc/alternatives/  ???
"But it was ok before.... honest"

Offline hal8000

  • Sr. Member
  • ****
  • Posts: 346
Re: Stellarium broken after update [SOLVED]
« Reply #10 on: July 19, 2012, 11:22:40 AM »
I have the exact opposite. I have libdri.so in  /usr/lib/xorg/modules/extensions/ but no symlink in /etc/alternatives/  ???


I don't have libdri.so at all on my system:

find / -name libdri.so -exec ls -l {} \;
lrwxrwxrwx 1 root root 51 Jun 16 13:22 /etc/alternatives/libdri.so -> /usr/lib/xorg/modules/extensions/standard/libdri.so
lrwxrwxrwx 1 root root 27 Apr  3 23:08 /usr/lib/xorg/modules/extensions/libdri.so -> /etc/alternatives/libdri.so


If I change in /etc/alternatives/ and do a long list libdri.so points to a subfolder "standard" that does not exist

[root@orac alternatives]# ls -l libdri.so
lrwxrwxrwx 1 root root 51 Jun 16 13:22 libdri.so -> /usr/lib/xorg/modules/extensions/standard/libdri.so

For comparison what is your output of:

find / -name libdri.so -exec ls -l {} \;

you have to run as root.
« Last Edit: July 19, 2012, 11:25:40 AM by hal8000 »

Offline Jonesy

  • Sr. Member
  • ****
  • Posts: 301
Re: Stellarium broken after update [SOLVED]
« Reply #11 on: July 19, 2012, 02:39:40 PM »
I have the exact opposite. I have libdri.so in  /usr/lib/xorg/modules/extensions/ but no symlink in /etc/alternatives/  ???


I don't have libdri.so at all on my system:

find / -name libdri.so -exec ls -l {} \;
lrwxrwxrwx 1 root root 51 Jun 16 13:22 /etc/alternatives/libdri.so -> /usr/lib/xorg/modules/extensions/standard/libdri.so
lrwxrwxrwx 1 root root 27 Apr  3 23:08 /usr/lib/xorg/modules/extensions/libdri.so -> /etc/alternatives/libdri.so


If I change in /etc/alternatives/ and do a long list libdri.so points to a subfolder "standard" that does not exist

[root@orac alternatives]# ls -l libdri.so
lrwxrwxrwx 1 root root 51 Jun 16 13:22 libdri.so -> /usr/lib/xorg/modules/extensions/standard/libdri.so

For comparison what is your output of:

find / -name libdri.so -exec ls -l {} \;

you have to run as root.

It returns this:-

Code: [Select]
[root@dave-134e4 ~]# find / -name libdri.so -exec ls -l {} \;
-rwxr-xr-x 1 root root 40580 Sep 23  2011 /usr/lib/xorg/modules/extensions/libdri.so
find: `/home/dave/.gvfs': Permission denied
[root@dave-134e4 ~]#
"But it was ok before.... honest"

Offline hal8000

  • Sr. Member
  • ****
  • Posts: 346
Re: Stellarium broken after update [SOLVED]
« Reply #12 on: July 21, 2012, 01:02:07 PM »
I am running PCLOS on two computers, a desktop with ATI  5770 card (fglrx driver) and a laptop
with Intel 915GM graphics controller.

My desktop with the ATI card fails to run Stellarium.

However thought I'd try on my laptop and Stellarium works fine.
Here is the output when starting stellarium from the terminal:



[anc@slave ~]$ stellarium
--snip--
OpenGL supported version:  "1.4 Mesa 7.11.2"
Qt GL paint engine is:  "OpenGL"

Cache directory is:  "/home/anc/.cache/stellarium/stellarium"
Sky language is  "en_GB"


I have highlighted two lines in red. Looks like the OpenGL is being supported with the Mesa drivers. I also confirm that in Gwenview, advanced slide show, ken burns affects also works.

Does this mean that the problem with Celestia not loading and libEGL is now related to the
graphics system?
For those of you with problems, do you also have ATI cards ?

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Stellarium broken after update [SOLVED]
« Reply #13 on: July 21, 2012, 01:05:04 PM »
For those of you with problems, do you also have ATI cards ?

nVidia here. As I said, this affects both Stellarium and KStars for me.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Nok

  • Hero Member
  • *****
  • Posts: 2258
  • A Space Odyssey
Re: Stellarium broken after update [SOLVED]
« Reply #14 on: July 21, 2012, 01:36:48 PM »
nVidia here too. I do hope someone can sort this out soon.
“Those people who think they know everything are a great annoyance to those of us who do.”
 ― Isaac Asimov