GuLinux/PlanetaryImager

Ubuntu 16.04.3 ARM Planetary Imager will not start

rossj-cargotel opened this issue · 3 comments

Hi,
I'm struggling to get Planetary Imager to run on an Odroid XU4 running Ubuntu 16.04.3 with the Mate Desktop.

I installed from the .deb file and Planetary Imager appears in the Applications -> Graphics menu. When I click it nothing happens.

I have /usr/bin/planetary_imager_daemon running under a tmux window and the logs tell me that it is running, found the ZWO_ASI_Driver for my ASI1200 and is bound to port 19232. No more entries appear in the log, even when I try launching Planetary Imager again.

Trying to run /usr/bin/planetary_image directly from a non-graphical terminal I get the following:

Starting PlanetaryImager - version 0.7.0 (armv7l)
QXcbConnection: Could not connect to display
Error: signal 6:
[0]: address: 0xb5a03260, file: /lib/arm-linux-gnueabihf/libc.so., function: +0x2526
[1]: address: 0xb59f4af6, file: /lib/arm-linux-gnueabihf/libc.so., function: +0x16af
[2]: address: 0xb5a02648, file: /lib/arm-linux-gnueabihf/libc.so., function: gsignal+0x2
[3]: address: 0xb5a0334a, file: /lib/arm-linux-gnueabihf/libc.so., function: abort+0xb

Running it from inside a Mate Terminal gives a little more information:

Starting PlanetaryImager - version 0.7.0 (armv7l)
Writing full output to logfile: /home/odroid/.cache/PlanetaryImager/PlanetaryImager.log
 WARNING -  QWidget::setLayout: Attempting to set QLayout "" on QWidget "statsWidget", which already has a layout
 WARNING -  Unable to find an X11 visual which matches EGL config 10
   FATAL -  Could not initialize OpenGL
Error: signal 6:
[0]: address: 0xb598b260, file: /lib/arm-linux-gnueabihf/libc.so., function: +0x2526
[1]: address: 0xb597caf6, file: /lib/arm-linux-gnueabihf/libc.so., function: +0x16af
[2]: address: 0xb598a648, file: /lib/arm-linux-gnueabihf/libc.so., function: gsignal+0x2
[3]: address: 0xb598b34a, file: /lib/arm-linux-gnueabihf/libc.so., function: abort+0xb
odroid@odroid:~$ cat /home/odroid/.cache/PlanetaryImager/PlanetaryImager.log
   DEBUG - void SupportedDrivers::Private::find_drivers(const QString&) Looking for drivers in  "/usr/lib/PlanetaryImager/drivers"
   DEBUG - void SupportedDrivers::Private::load_driver(const QString&) trying  "/usr/lib/PlanetaryImager/drivers/libv4l2.so" :  QJsonObject({"IID":"net.gulinux.planetaryimager.driver","MetaData":{"description":"V4L2 Devices driver (webcams, The Imaging Soure, Celestron Skyris","name":"V4L2","version":"0.7"},"className":"V4L2Driver","debug":false,"version":328961})
    INFO - void SupportedDrivers::Private::load_driver(const QString&) driver  "/usr/lib/PlanetaryImager/drivers/libv4l2.so" loaded: "V4L2Driver" "V4L2 Devices driver (webcams, The Imaging Soure, Celestron Skyris"
   DEBUG - void SupportedDrivers::Private::load_driver(const QString&) trying  "/usr/lib/PlanetaryImager/drivers/." :  QJsonObject()
   DEBUG - void SupportedDrivers::Private::load_driver(const QString&) trying  "/usr/lib/PlanetaryImager/drivers/.." :  QJsonObject()
   DEBUG - void SupportedDrivers::Private::load_driver(const QString&) trying  "/usr/lib/PlanetaryImager/drivers/libzwo_asi_imager.so" :  QJsonObject({"IID":"net.gulinux.planetaryimager.driver","MetaData":{"description":"ZWO ASI CMOS Cameras driver","name":"ASI","version":"0.7"},"className":"ZWO_ASI_Driver","debug":false,"version":328961})
    INFO - void SupportedDrivers::Private::load_driver(const QString&) driver  "/usr/lib/PlanetaryImager/drivers/libzwo_asi_imager.so" loaded: "ZWO_ASI_Driver" "ZWO ASI CMOS Cameras driver"
 WARNING -  QWidget::setLayout: Attempting to set QLayout "" on QWidget "statsWidget", which already has a layout
 WARNING -  Unable to find an X11 visual which matches EGL config 10
   FATAL -  Could not initialize OpenGL

I'd appreciate any insight you might have on how to resolve this!

Jeff Ross

Hi Jeff,

It seems OpenGL initialization failed (OpenGL is enabled by default). Try locating the config file (on Fedora I have it at ~/.config/GuLinux/PlanetaryImager.conf) and change the appropriate line (or add it, if there's no opengl setting yet):

opengl=false

You're welcome.
We should fix this case to gracefully fall back to non-OpenGL mode.