Jump to content

Graphics on OPi PC Running Java Application?


EvelynMason

Recommended Posts

Hi all, I am building an art project, and I love the hardware specs of Orange Pi PC for it. I have a graphical Java app (built in Processing) that runs on a HDMI display, and unsurprisingly it doesn't run well without a GPU. On RPi 3B+/Diet Pi I've got it up around 24 fps using KMS, and I'm happy with that performance, but now I'm porting it to the OPi so I'm kinda starting from scratch again. I am aware of the amazing work going on with Panfrost although I've had issues installing it on my board with Buster Desktop.

 

In general Armbian on Orange Pi PC seems pretty great, amazing even. But I'm only getting about 1 frame every 5 seconds with my Java/Processing app and X11, while glxgears will pull around 150 fps.

 

I'm hoping that someone can recommend some tools (other Armbian builds? Mali drivers? different display manager?) that I might try. I 100% want to continue using Armbian, but I'm only about a week or two into using it so I'm just not super piped into the history and all available tools. Below I've pasted some OpenGL info from my current environment for context.

 

Thanks very much!

 

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 7.0, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 18.3.6
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

Link to comment
Share on other sites

1 hour ago, EvelynMason said:

llvmpipe

Means there is software rendering in place which obviously has poor performance. I do not know by heart but try searching for lima and xorg.conf to get an idea what to alter in order to get direct rendering enabled.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines