pyxel not running on Raspberry Pi
See original GitHub issueDescribe the bug
So I’ve been trying to get pyxel to work on the Raspberry Pi with pretty bad luck so far. Initially it seemed like an issue with GLFW so I ended up doing the following:
- Compile GLFW on the Raspberry Pi with the extensions
- Enable OpenGL in Raspbian (Source)
- Edit
pyxel
as suggested in #23 and installed the modified version ofpyxel
Traceback (most recent call last):
File "game.py", line 104, in <module>
App()
File "game.py", line 17, in __init__
pyxel.init(200, 200, caption='cat game')
File "/usr/local/lib/python3.5/dist-packages/pyxel-0.9.5-py3.5.egg/pyxel/__init__.py", line 181, in init
App(module, width, height, caption, scale, palette, fps, border_width, border_color)
File "/usr/local/lib/python3.5/dist-packages/pyxel-0.9.5-py3.5.egg/pyxel/app.py", line 169, in __init__
self._renderer = Renderer(width, height)
File "/usr/local/lib/python3.5/dist-packages/pyxel-0.9.5-py3.5.egg/pyxel/renderer.py", line 48, in __init__
self._draw_shader = GLShader(DRAWING_VERTEX_SHADER, DRAWING_FRAGMENT_SHADER)
File "/usr/local/lib/python3.5/dist-packages/pyxel-0.9.5-py3.5.egg/pyxel/gl_wrapper.py", line 12, in __init__
shaders.compileShader(fragment_shader, gl.GL_FRAGMENT_SHADER),validate= False
File "/home/pi/.local/lib/python3.5/site-packages/OpenGL/GL/shaders.py", line 196, in compileProgram
program.check_validate()
File "/home/pi/.local/lib/python3.5/site-packages/OpenGL/GL/shaders.py", line 108, in check_validate
glGetProgramInfoLog( self ),
RuntimeError: Validation failure (0):
O
Desktop (please complete the following information):
- OS: Raspbian
- Device: Raspberry Pi
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Raspbien w/ Pixel won't load - Raspberry Pi Forums
When I click on w/Pixel it loads up and displays the raspberry logo, but then fails to boot into the OS. I've tried...
Read more >Installing Raspberry Pi PIXEL x86 in a Virtual Machine
Most of these changes can only be done when the virtual machine is not running, so shutdown PIXEL first. Choose the virtual machine...
Read more >Web Enabled PIXEL on Raspberry Pi - Adafruit Industries
The application runs on Raspberry Pi and PC. The Pixel software used in this guide is distributed as a executable JAR file (Java....
Read more >HowHow To Boot Into Raspberry Pi OS's Standard Desktop ...
I have a remote, headless Raspberry Pi to which I always connect via SSH. Yesterday I connected via VNC for the first time...
Read more >Install Raspberry Pi OS's desktop environment over a Lite install
To do that (assuming you're running the latest Pi OS version, Bullseye as of this writing), just install Xorg and the Raspberry Pi...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yup, its the same as #149 . I was looking to see if there’s a way to detect processor architecture last night for a grand total of 2 minutes, that way you can load the correct shared library. Also, I figured that you need to kill the desktop and run from the command line to get a decent framerate:
Now I need to figure an application launcher for this. But thanks for the help !
@rkrishnasanka Great news! Is it the same way of #149 ?