Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't find matching GLX visual #3

Open
carlomilanesi opened this issue Jan 25, 2024 · 2 comments
Open

Couldn't find matching GLX visual #3

carlomilanesi opened this issue Jan 25, 2024 · 2 comments

Comments

@carlomilanesi
Copy link

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
Copy link
Owner

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants