-
Notifications
You must be signed in to change notification settings - Fork 8
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
Help with led cube on Rpi #14
Comments
Hi,
Looking at my notes. I got that error when I didn't have
MESA_GL_VERSION_OVERRIDE=3.3
set in the env. My command I use is
MESA_GL_VERSION_OVERRIDE=3.3 EGL_PLATFORM=surfaceless shady -i
example.glsl -g 64x64 -f 60 -n $((20*60)) -ofmt rgb24 -o ./my-animation.bin
Bill
…On Tue, 27 Jul 2021 at 23:08, mph070770 ***@***.***> wrote:
Hi. I'm new to the world of shaders etc and I'm trying to get shady
working on my Rpi 4. I have installed Go on the pi:
***@***.***:~/rpi-rgb-led-matrix/examples-api-use $ go version
go version go1.16.6 linux/arm
and I'm now trying to work out how to use shady. I've tried this:
../../go/bin/shady -i example2.glsl -ofmt rgb24 -f 20
which complains as follows:
Could initialize engine: failed to call eglCreateContext
I'm not sure if I need OpenGL, and/or what to try next? Sorry, can you
help?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#14>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABEONYWCPQKFYIXY2KDHI3LTZ4U7JANCNFSM5BDD4UFA>
.
|
Thanks @billtraill that solved the issue. I've made some good progress. I have used this shader: https://www.shadertoy.com/view/4sjXRG with the following command:
having first set this:
and I get this: Very pleased :-). The only thing I need to look at now is a bit of flicker. Thanks again @billtraill. |
My hardware is the same one as built here: https://learn.adafruit.com/rgb-led-matrix-cube-for-pi/overview. So it is a chain of 6 panels. I've tried using the command: ../../go/bin/shady -i src-3d.glsl -g 64x64 -f 20 -ofmt rgb24 | ./ledcat --led-rows=64 --led-cols=64 --led-slowdown-gpio=4 --led-chain=6 and using: MESA_GL_VERSION_OVERRIDE=3.3 set in the env. My results are not so happy: Any advice welcome |
Hi. I'm new to the world of shaders etc and I'm trying to get shady working on my Rpi 4. I have installed Go on the pi:
and I'm now trying to work out how to use shady. I've tried this:
../../go/bin/shady -i example2.glsl -ofmt rgb24 -f 20
which complains as follows:
Could initialize engine: failed to call eglCreateContext
I'm not sure if I need OpenGL, and/or what to try next? Sorry, can you help?
The text was updated successfully, but these errors were encountered: