Linux Mint 19.1 and Stellarium and GLSL1.30

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
slimbrick87
Level 1
Level 1
Posts: 19
Joined: Sun Feb 18, 2018 12:41 pm

Linux Mint 19.1 and Stellarium and GLSL1.30

Post by slimbrick87 »

I have a fresh install of Linux Mint 19.1 on admittedly an older machine and I am trying to install and run Stellarium. I've installed both from the software manager and also manually (i.e., adding the appropriate ppa). Both methods result in software that does a core dump after reporting:

Code: Select all

...
Mesa version is fine, we should not see a graphics problem.
GLSL Version Number detected:  1.2
This is not enough: we need GLSL1.30 or later.
...
Shortly thereafter, I get a segmentation fault and core dump. Now, I've used Stellarium on this machine with a previous version of Mint (forgive me, I don't recall exactly which) so I'd expect to be able to use it now. I've scratched around trying to figure out how to update the OpenGL shading language version from 1.2 but 1.3 but haven't figured that out. Anyone with advice on how to get Stellarium to work on my Linux Mint 19.1 install?

Thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
powerwagon75
Level 4
Level 4
Posts: 338
Joined: Sun Feb 28, 2016 4:05 pm
Location: USA

Re: Linux Mint 19.1 and Stellarium and GLSL1.30

Post by powerwagon75 »

Can you copy/paste the output ofinxi -Fxzfrom a terminal window, in code brackets? ( the </> button above your text entry box when responding.) We will need to see what your current graphics environment looks like.

Eric
Image
Custom Antec Outside tower w/Mint 20.2
HP lap w/Mint 20.3
Optiplex 960 "Frankenbox" w/Fedora 39/Mint 19.2/Mint 20.2
Advantech TPC-1551T w/LinuxLite
Acer C720 Chromebook w/GalliumOS
Mac PPC G4 w/Lubuntu
slimbrick87
Level 1
Level 1
Posts: 19
Joined: Sun Feb 18, 2018 12:41 pm

Re: Linux Mint 19.1 and Stellarium and GLSL1.30

Post by slimbrick87 »

Eric,

Sure, here it is:

Code: Select all

eric@austin:~/Documents$ inxi -Fxz
System:    Host: austin Kernel: 4.15.0-43-generic x86_64 bits: 64 compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.0.8 
           Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: TOSHIBA product: Satellite L455 v: PSLY0U-00V001 serial: <filter> 
           Mobo: TOSHIBA model: NBWAA v: 1.00 serial: <filter> BIOS: TOSHIBA v: 1.30 date: 11/13/2009 
Battery:   ID-1: BAT1 charge: 46.6 Wh condition: 47.4/47.5 Wh (100%) model: TOSHIBA ���C status: Discharging 
CPU:       Topology: Single Core model: Intel Celeron 900 bits: 64 type: MCP arch: Penryn rev: A L2 cache: 1024 KiB 
           flags: lm nx pae sse sse2 sse3 ssse3 bogomips: 4388 
           Speed: 2194 MHz min/max: N/A Core speed (MHz): 1: 2194 
Graphics:  Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Toshiba America Info Systems driver: i915 
           v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Mobile Intel GM45 Express v: 2.1 Mesa 18.0.5 direct render: Yes 
Audio:     Device-1: Intel 82801I HD Audio vendor: Toshiba America Info Systems driver: snd_hda_intel v: kernel 
           bus ID: 00:1b.0 
           Sound Server: ALSA v: k4.15.0-43-generic 
Network:   Device-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet 
           vendor: Toshiba America Info Systems RTL810xE driver: r8169 v: 2.3LK-NAPI port: 3000 bus ID: 0e:00.0 
           IF: enp14s0 state: down mac: <filter> 
           Device-2: Realtek RTL8187B Wireless Adapter type: USB driver: rtl8187 bus ID: 1-2:2 
           IF: wlx701a041f4f07 state: up mac: <filter> 
Drives:    Local Storage: total: 177.98 GiB used: 16.47 GiB (9.3%) 
           ID-1: /dev/sda vendor: A-Data model: SU800 size: 119.24 GiB 
           ID-2: /dev/sdb type: USB vendor: SanDisk model: Cruzer Fit size: 58.73 GiB 
Partition: ID-1: / size: 116.87 GiB used: 8.91 GiB (7.6%) fs: ext4 dev: /dev/sda1 
Sensors:   System Temperatures: cpu: 38.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 213 Uptime: 1d 7h 16m Memory: 3.70 GiB used: 1.43 GiB (38.7%) Init: systemd runlevel: 5 
           Compilers: gcc: 7.3.0 Shell: bash v: 4.4.19 inxi: 3.0.27 
eric@austin:~/Documents$ 
Any help?
(Also) Eric
rene
Level 20
Level 20
Posts: 12240
Joined: Sun Mar 27, 2016 6:58 pm

Re: Linux Mint 19.1 and Stellarium and GLSL1.30

Post by rene »

The GM45 is too old to be supported by the current version of Stellarium; GLSL 1.3 came with OpenGL 3.0 and seems to be a minimum requirement since version 0.13 (of July 2014). You won't be getting GLSL 1.3 up and running but you can try if stellarium --mesa-mode runs okay-ish for you (even though I'd rather doubt it on that hardware). Installing a Stellarium 0.12.x version would be the other option.

Also see https://github.com/Stellarium/stellariu ... ersion-013
User avatar
powerwagon75
Level 4
Level 4
Posts: 338
Joined: Sun Feb 28, 2016 4:05 pm
Location: USA

Re: Linux Mint 19.1 and Stellarium and GLSL1.30

Post by powerwagon75 »

slimbrick87,

Just tried this--started stellarium from terminal on Mint 18, and on 18.3 (got to get 19 up and running on my experimental system this week).

On 18, the read out in terminal text was just fine as I expected, given the system hardware.

On the old Optiplex with 18.3, I got the similar error you did, but it ran initially, although some red-text error did show briefly in the corner of the Stellarium screen. (I tried it on the Optiplex, due to older/basic hardware, running i915 graphics driver, and about same-speed processing.)

Looking through the terminal output, it suggested to put the --mesa-mode tag on it when starting.

Code: Select all

~ $ stellarium --mesa-mode
 -------------------------------------------------------
[ This is Stellarium 0.14.3 - http://www.stellarium.org ]
[ Copyright (C) 2000-2016 Fabien Chereau et al.         ]
 -------------------------------------------------------
Writing log file to: "/home/hmlx3/.stellarium/log.txt"
File search paths:
  0 .  "/home/hmlx3/.stellarium"
  1 .  "/usr/share/stellarium"
Config file is:  "/home/hmlx3/.stellarium/config.ini"
Detected: OpenGL "2.1"
Driver version string: "2.1 Mesa 18.0.5"
GL vendor is "Intel Open Source Technology Center"
GL renderer is "Mesa DRI Intel(R) Q45/Q43 "
GL Shading Language version is "1.20"
MESA Version Number detected:  18
Mesa version is fine, we should not see a graphics problem.
GLSL Version Number detected:  1.2
This is not enough: we need GLSL1.30 or later.
You should update graphics drivers, graphics hardware, or use the --mesa-mode option.
Else, please try to use an older version like 0.12.5, and try there with --safe-mode
Config option main/ignore_opengl_warning found, continuing. Expect problems.
Cache directory is:  "/home/hmlx3/.cache/stellarium/stellarium"
Sky language is  "en_US"
It started and ran fine, as far as I could tell, even though the terminal text suggests to expect problems.

Try starting it from terminal with: stellarium --mesa-mode and see if it don't start without crashing.
Image
Custom Antec Outside tower w/Mint 20.2
HP lap w/Mint 20.3
Optiplex 960 "Frankenbox" w/Fedora 39/Mint 19.2/Mint 20.2
Advantech TPC-1551T w/LinuxLite
Acer C720 Chromebook w/GalliumOS
Mac PPC G4 w/Lubuntu
slimbrick87
Level 1
Level 1
Posts: 19
Joined: Sun Feb 18, 2018 12:41 pm

Re: Linux Mint 19.1 and Stellarium and GLSL1.30

Post by slimbrick87 »

I appreciate the suggestion to try stellarium --mesa-mode but unfortunately I have the same segmentation fault and core dump. It's a little surprising because I recall using stellarium with linux mint on the machine perhaps a year ago with no problems. I gather my next best option is to use an older version of stellarium (0.12 was suggested), although this is surprising because if I understand properly, 0.12 dates back to 2014 and I'm confident I was running stellarium far more recently on this hardware than 2014.

I do appreciate the help, however. It's nice to re-purpose old hardware with Linux (I'm using a Toshiba laptop that once ran Windows) and breathe new life into it.
rene
Level 20
Level 20
Posts: 12240
Joined: Sun Mar 27, 2016 6:58 pm

Re: Linux Mint 19.1 and Stellarium and GLSL1.30

Post by rene »

slimbrick87 wrote: Sun Jan 06, 2019 11:58 pm I gather my next best option is to use an older version of stellarium (0.12 was suggested), although this is surprising because if I understand properly, 0.12 dates back to 2014 and I'm confident I was running stellarium far more recently on this hardware than 2014.
Mint 17 was/is based on Ubuntu 14.04 which has Stellarium 0.12.4 in the repo. I expect you'll have run Stellarium on Mint 17.3 or thereabouts...

And in fact, the Ubuntu 14.04 packages still work fine even on Mint 19.1. Finer than expected even: it's currently running well here on similar hardware (Core 2 Duo with 4G RAM and Q45 graphics). What you do is: grab (in that order),

1. https://packages.ubuntu.com/trusty/all/ ... a/download
2. https://packages.ubuntu.com/trusty/amd6 ... m/download

That is, on those pages, click on any of the mirror links and chose to open in "GDebi Package Installer", ignore the advise about a newer version being available, and install the package (be sure to use the above order lest stellarium 0.12.4 pulls in the new stellarium-data package).

Yes, you'll need a 0.12.x release; the newest 0.12.x is 0.12.9, but no binaries are provided anywhere and compiling from source runs into some since that time introduced compiler changes. I'd advise to not bother: the 0.12.4 Ubuntu 14.04/Mint 17.x version runs nicely.

[EDIT] Upon refreshing Update Manager you will be presented the Mint 19.x Stellarium 18 update which you clearly do not want to install; if you want to hide the update, rightclick the package in Update Manager and choose to "Ignore updates for this package".
slimbrick87
Level 1
Level 1
Posts: 19
Joined: Sun Feb 18, 2018 12:41 pm

Re: Linux Mint 19.1 and Stellarium and GLSL1.30

Post by slimbrick87 »

rene,

Thanks for the advice. I'll give this a try.
User avatar
zamlet
Level 1
Level 1
Posts: 14
Joined: Thu Aug 01, 2019 1:44 am

Re: Linux Mint 19.1 and Stellarium and GLSL1.30

Post by zamlet »

Hi - I realize this is an old thread but it so perfectly describes my problem that I hope nobody will mind if I bump it to save us all time.

I have almost the exact same problem as the OP, but the links to the Trusty repositories on Launchpad that rene so helpfully provided several months ago no longer seem to work. I have no idea how else to install the 12.x version of Stellarium.

I am not a total newbie but the thought of building the package from source is a bit daunting to me. Aside from that, does anyone know how else I can get the 12.x version of Stellarium installed and running on my computer?
Last edited by zamlet on Thu Aug 01, 2019 3:08 pm, edited 1 time in total.
"If fifty million people say a foolish thing, it is still a foolish thing." - Anatole France
User avatar
zamlet
Level 1
Level 1
Posts: 14
Joined: Thu Aug 01, 2019 1:44 am

Re: Linux Mint 19.1 and Stellarium and GLSL1.30

Post by zamlet »

Lucky me. I just found a workaround that actually works.

I reinstalled the Stellarium that is available in the repositories for Mint 19.1 (as luck would have it, that's Stellarium 0.19.1) after finding this discussion:

https://sourceforge.net/p/stellarium/di ... e895d2817/

In case that page goes away, here's the important part:
I have Stellarium 0.18 working in MESA mode right now under Mint 19.
The key was adding next line under [main] inside ~/.stellarium/config.ini
check_requirements = false

So no need to compile older versions any more.
After making that change to config.ini, I don't even have to specify --mesa-mode on the command line. It just works.

Hope this helps someone else out there...
"If fifty million people say a foolish thing, it is still a foolish thing." - Anatole France
User avatar
ElStellino
Level 3
Level 3
Posts: 163
Joined: Thu Nov 08, 2012 9:54 am
Location: 192.168.1.136

Re: Linux Mint 19.1 and Stellarium and GLSL1.30

Post by ElStellino »

zamlet wrote: Thu Aug 01, 2019 3:28 am Lucky me. I just found a workaround that actually works.

I reinstalled the Stellarium that is available in the repositories for Mint 19.1 (as luck would have it, that's Stellarium 0.19.1) after finding this discussion:

https://sourceforge.net/p/stellarium/di ... e895d2817/

In case that page goes away, here's the important part:
I have Stellarium 0.18 working in MESA mode right now under Mint 19.
The key was adding next line under [main] inside ~/.stellarium/config.ini
check_requirements = false

So no need to compile older versions any more.
After making that change to config.ini, I don't even have to specify --mesa-mode on the command line. It just works.

Hope this helps someone else out there...
It helped me, thank you!
Linux Mint 21.1 – Cinnamon-64

Hardware, since 2009 – still rocking:
MB - ASRock H55DE3
Core i3 530 2.93Ghz 
4Gb DDR3 Ram Dual Channel
And there’s a new entry!
Acer laptop
Intel© Core™ i5-4200U CPU @ 1.60GHz × 2
6GB RAM
PalomarJack
Level 1
Level 1
Posts: 4
Joined: Tue Dec 07, 2021 2:21 am

Re: Linux Mint 19.1 and Stellarium and GLSL1.30

Post by PalomarJack »

Same here after applying the "check_requirements = false" statement to the config.ini file. Slight, random flicker in the display during zoom in/out seems to be the only problem, so far.

Linux Mint 20.3
Asus K52F
Upgraded to i7 M620
8GB RAM
ouzel
Level 1
Level 1
Posts: 23
Joined: Thu Nov 19, 2020 12:52 pm
Location: Idir na sléibhte agus an trá

Re: Linux Mint 19.1 and Stellarium and GLSL1.30

Post by ouzel »

This solution also worked for me.

The system details are Linux Mint 20.1 Ulyssa, on a Toshiba Satellite Pro with 4GB of RAM.
User avatar
Joe2Shoe
Level 5
Level 5
Posts: 846
Joined: Wed Oct 18, 2017 8:12 pm
Location: Ozone

Re: Linux Mint 19.1 and Stellarium and GLSL1.30

Post by Joe2Shoe »

I used to use Stellarium, but now I use KStars, no more problems for me.
"Tolerance is the refuge of men without conviction."
"Common sense is not so common" - Voltaire
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Linux Mint 19.1 and Stellarium and GLSL1.30

Post by Cosmo. »

If the questioner from 3 years ago might still be interested in this? :o
Locked

Return to “Software & Applications”