-
-
Notifications
You must be signed in to change notification settings - Fork 769
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
ugsplatform GUI redrawing is completely random on arch linux #1607
Comments
Found another thread: processing/processing#6160 -- I think you're using jogl 2.3? Another way to work around the issue is to do:
prior to running the ugsplatform. |
Thanks for the research into this! I did not know about those parameters/env-variables. Yes we are still using jogl 2.3.2 and are waiting for a release of 2.4. There are ways of including the latest library by using a local version of it, but that is kind of an hack so I'm a bit skeptical of taking that path. Others have reported similar problems, as a short term solution we should provide a separate start script that disables opengl using the environment variables you found. |
No problem! Thanks for such awesome software! |
Thank you, this also works for me :) (#1725) |
Same here for UGS 2.0.9 (2021-11-24) with bundled Java on an HP ProBook 640 G2 with Intel graphics. Using LIBGL_ALWAYS_SOFTWARE makes UGS use 250% CPU when Visualizer is active. It drops to 2% when I close Visualizer. So, software OpenGL is not an option for me. |
worked for me too! |
This will start to appear more and more for anyone running up to date versions of Linux with newer versions of Mesa. Software GL is probably fine for most, but longer term, JOGL appears pretty dead, does something like this make sense? |
I tried switching to LWJGL (for anyone interested here is the branch https://github.com/breiler/Universal-G-Code-Sender/tree/bugfix/lwjgl) and got better performance and it looked really nice at first. However, lwjgl doesn't play nice with the Netbeans Platform. As soon as you move tabs around it starts to bug out, and will not render the scene or not clear the canvas. So it seems that it is a dead end as well at the moment... =( |
Thank you for the response, that's a bummer! |
Update: Done |
I can't reproduce the error anymore using the latest nightly build, please give it a try: |
Can confirm, the issue seems to have been fixed.
The issue can "only" be reproduced with the release version (v2.0.12): Thanks for the update! Hopefully there is no regression. 🙂 |
Describe the bug
After the first startup, subsequent starts don't draw most of the screen. If I move the cursor over it sometimes bits are redrawn, but its very inconsistent.
To reproduce
Steps to reproduce the behavior:
Run ugsplatform.
Quit
Run it again.
Get annoyed? :)
Expected behavior
Screenshots
Version
UGS Platform 2.0.7 linux the using bundled JDK from your download page.
Hardware
N/A - I'm not even connected to the controller
Operating system (please complete the following information):
Arch linux
Additional context
The logs are full of stuff like this:
If I run ugsplatform with
./bin/ugsplatform -J-Djogl.disable.openglcore=true
then it works fine! I've no real idea what that's doing (disabling something in jogl?), I just found it among many other people complaining about the above errors and "jogl".The text was updated successfully, but these errors were encountered: