GregoireHENRY / kalast

Thermophysical Model for Binary Asteroids
Apache License 2.0
6 stars 0 forks source link

Couldn't find matching GLX visual #3

Open carlomilanesi opened 7 months ago

carlomilanesi commented 7 months ago

When running the downloaded executable program, I get this error:

kalast<0.4.3> (built on 2024-01-18T00:16:18Z with rustc<1.75.0>)
Config initialized at /home/<user>/Downloads/kalast-v0.4.3-ubuntu
thread 'main' panicked at src/win/window.rs:114:36:
called `Result::unwrap()` on an `Err` value: SdlError("Couldn't find matching GLX visual")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

When running the example from source code, I get a similar error message.

GregoireHENRY commented 7 months ago

Hi @carlomilanesi, thank for filing the issue!

I just tested on Ubuntu and here are the screenshot of the program running with glxinfo command to check version of OpenGL. Do you have the same on your side?

Screenshot from 2024-01-25 23-59-04 Screenshot from 2024-01-25 23-59-17

carlomilanesi commented 7 months ago

Yes. I have:

$ ls
assets  cfg  examples  kalast  kalast.ico  preferences.yaml  README.md
$ glxinfo | grep "OpenGL version"
OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1

Though, ./kalast does not work. I use Linux Mint with Cinnamon desktop.

$ hostnamectl
 Static hostname: carlo-minis
       Icon name: computer-desktop
         Chassis: desktop
      Machine ID: 939972095cf1459c8b22cc608eff85da
         Boot ID: 27a2dac8196a4c94b726fc9f63bd6719
Operating System: Linux Mint 21.3                 
          Kernel: Linux 5.15.0-92-generic
    Architecture: x86-64
 Hardware Vendor: BESSTAR TECH LIMITED
  Hardware Model: DMAF5