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

Segmentation fault #1

Open
heenming opened this issue Oct 19, 2022 · 1 comment
Open

Segmentation fault #1

heenming opened this issue Oct 19, 2022 · 1 comment

Comments

@heenming
Copy link

Hi, I installed superpunto in WSL2 Ubuntu 20.04. But got Segmentation fault when running the example data.
By the way, it just work for using punto.

$: ~/superpunto$ bin/spunto dat/simple.dat
[MESSAGE] Welcome to Superpunto. ver. 3.0! Press h for help

[MESSAGE] OpenGL version -1579070016.21908 available
Segmentation fault

@RaulPPelaez
Copy link
Owner

Hi!, I have only managed to run it in windows using the software renderer in Mesa, but it becomes so slow that it is unusable...
If you have a recent Mesa version you could give it a try by setting:

$ export LIBGL_ALWAYS_SOFTWARE=1

before running spunto.
Superpunto requires OpenGL 4.5 and I do not know how to make that available to WSL with hardware acceleration.
Punto is different, because it runs using only calls to the X sever, which is a software rendering system and available to WSL.
The only way I can think of to get it to run would be to compile it in windows directly using something la Visual studio. However, there are probably a lot of linux specific stuff in the code that would require adaptation.
Let me know if you manage to get it working though.

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