Spationaute / FullEarth

A 3D globe display for the latest earthquakes
MIT License
8 stars 4 forks source link

Precompiled version has black screen... no earth (Linux Mint) #4

Open sam1ee opened 5 years ago

sam1ee commented 5 years ago

Screenshot from 2019-08-12 14-51-59

Spationaute commented 5 years ago

This is strange...

Spationaute commented 5 years ago

The number also apear has unprintable caracteres!

Spationaute commented 5 years ago

Its used the shared library, I see that Curl works, OpenSSL works, FLTK works. So the problem is ether GLU or GLEW.

Spationaute commented 5 years ago

Try : sudo apt install libfltk-gl1.3 libfltk-images1.3 Then launch again. I thinks you need those aren't install in a reagular fltk installation. I will update the deps.

sam1ee commented 5 years ago

Screenshot from 2019-08-12 15-26-18

Spationaute commented 5 years ago

Can you execute the application in the console. Its quite verbose, it might show the error.

sam1ee commented 5 years ago

z@150IAI:~/Downloads$ cd FullEarth-0.1.1-Linux/ z@150IAI:~/Downloads/FullEarth-0.1.1-Linux$ ls FullEarth res z@150IAI:~/Downloads/FullEarth-0.1.1-Linux$ clear

z@150IAI:~/Downloads/FullEarth-0.1.1-Linux$ ./FullEarth Loading Option File Delta T: 744 Flag: FF World Map File: ./res/small.png
Background File: ./res/sky.jpg ./res/small.png Loading "res/coastline50.geojson" Loading "res/ne_50m_rivers_lake_centerlines.geojson" Loading "res/gem_active_faults.geojson" Loading "res/volcano.json" Loading Features... Loading Features... Loading Features... Loading Features... Loading from "https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/1.0_hour.geojson" 8829/8829

success!
Loading Features...

Init glew. ./res/small.png Loading Texture: ./res/small.png Loading Texture: ./res/sky.jpg Updating context Setting up Shapes Context Ok!

Spationaute commented 5 years ago

Ho wow... this one is hard. Everything is loadeding has expected. I might do something strange when I load opengl I should not do. Windows bug at the same point.

sam1ee commented 5 years ago

I am working on the dependencies, specifically mesa-19.0.8. It has a dependency that is taking a long time to compile... (LLVM-config)

sam1ee commented 5 years ago

Oh btw... I am on Linux Mint... I kick myself for not using debian or ubuntu....

sam1ee commented 5 years ago

Things always seem to be a little more difficult on mint

Spationaute commented 5 years ago

Haha should not be your concern, but mine ;). Still it's a path of solutions. Mint is quite popular!

sam1ee commented 5 years ago

I am making this personal! lol

Spationaute commented 5 years ago

The program should catch it. But still, I will ask. Does your graphic card support OpenGL 3.0 operations? I didn't program older alternative. It's might be why everything goes well, except the display. I also forgot to add back a flag for fltk compatibilty before compilling the "precompilled" version. I'll upload a fixed version.

sam1ee commented 5 years ago

I am using NVIDIA Quadro 2000. It is a few years old. It should support OpenGL 4.6

sam1ee commented 5 years ago

With google earth I had to do some work around for getting the Earth to display I don't fully recall what the exact problem was and the solution.

sam1ee commented 5 years ago

I am tapping out for the night but I will be back at this tomorrow

Spationaute commented 5 years ago

Thx alot for the help, its the kind of thing you don't see on your setup! I updated the precompiled version.

sam1ee commented 5 years ago

I installed OpenGL 19.0.8, and reinstalled all the other dependencies. After that I fatal error crash and had to reinstall NVidia 340 drivers. I am getting a black screen now with both versions (0.1.1-Linux and 0.1.2-Linux). What OS are you using? I think I will try that with all the dependencies installed in a virtual machine to see what happens.

Spationaute commented 5 years ago

OpenGL 19!? Here my conf:

5.0.0-23-generic #24~18.04.1-Ubuntu SMP Mon Jul 29 16:12:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Graphic card: GeForce GTX 1060 with Max-Q Design

NVIDIA driver 390.116 -> GLX 4 OpenGL version string: 4.6.0 NVIDIA 390.116

sam1ee commented 5 years ago

That's what she said! lol Screenshot from 2019-08-14 10-27-48

Spationaute commented 5 years ago

I wounder if its just slow... The fault line are really large. In res, change the name of gem_active_faults.geojson for gem_active_faults.geojson.bck. It will lower the work on the graphic card. I think I will deactivate this option by default.

Spationaute commented 5 years ago

Hahah Indeed. I think I mixed thing up!

That's what she said! lol Screenshot from 2019-08-14 10-27-48

sam1ee commented 5 years ago

lol... everything works perfectly in Virtual machine -- Ubuntu 18.04.3... just doesn't work on Mint yet

Spationaute commented 5 years ago

Strange :/. must be a library which is a bit old.