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

Steam Deck Compatibility #205

Open
aamedina opened this issue Jan 12, 2023 · 1 comment
Open

Steam Deck Compatibility #205

aamedina opened this issue Jan 12, 2023 · 1 comment

Comments

@aamedina
Copy link

I thought it would be interesting to try and get this running on the Steam Deck. It's a read only file system outside of the home directory so you can't install GLFW3 as a dependency and have it get picked up automatically. I tested the LWJGL3 demo suite which uses GLFW3 and it worked, so it is possible to run GLFW3 applications on the Steam Deck as long as the binaries are packaged for the x64 linux platform. So I copied the GLFW3 libs from LWJGL3's natives jar and another for libGLU.so into another directory in the deck's home directory.

I told CFFI about these libraries using:

(setf cffi:*foreign-library-directories* (list "/home/deck/.local/lib/" "/usr/lib/" "/usr/lib64/"))

And then using SBCL I was able to run kons-9 on the Steam Deck! It seems to work well, performance is very good when interacting with 3d objects.

Very cool! Posting this as an issue in case you want to track something about dealing with those native libraries.

@kaveh808
Copy link
Owner

Very cool indeed.

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