PY5 and RISC-V #760
Replies: 2 comments 2 replies
-
|
Thank you @claudefalbriard for bringing this up! I'm so glad you have been testing py5 on RISC platforms. Your report about reducing import py5
def settings():
py5.size(600, 600, py5.P3D)
def setup():
# other stuff
py5.background(200)
py5.run_sketch()Can you tell us more about the Open JDK Java install you have? Maybe running |
Beta Was this translation helpful? Give feedback.
-
|
Hi @claudefalbriard ! I am not familiar with the RISC-V boards but suspect you might be running into some graphics limitations of what those boards can do. Can you try installing the Processing IDE to see if you can run a Java Sketch that is larger than 600x600. If you can't run a Sketch through the PDE that is larger than 600x600, then py5 won't be able to either. Can you run a Sketch with the default renderer that is larger than 600x600? Also, can you provide a link to the technical details of the specific board you are using? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I did a machine upgrade moving to the RISC-V board under Ubuntu 24 OS. I've also installed and configured the Open JDK 26 for this architecture, together with standard Python 12, virtual environment, and also the latest Py5 package. For IDE I've chosen the Thonny package. When testing some showcases under Py5 I get an error when defining a screen size above 600x600 (P3D mode). Below that, it runs fine, also with some rather long loading time. The Orange RV2 RISC-V is an 8 core cpu. Above that limit, the screen does not open, but also getting no error or debug message.
Yet another error shows up at the Thonny log space telling that the sketch is throwing a Java InInizialiationError. Sometimes able to run it by cleaning the setup() section defining solely the size parameter, moving other parameters into global space. Please give me some hints of what could be adjusted to load the sketches in the new environment.
Beta Was this translation helpful? Give feedback.
All reactions