Replies: 1 comment 1 reply
-
|
To be honest, i have not tested the editor in linux myself, but i wasn't aware of any issue's. The next release (V1.1 hopefully soon) may help with some of the issues you found as there are some major code changes in that version. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🛠️ Linux Performance Fix: Map Lag / Stuttering Resolution (Wayland/CachyOS)
For anyone running the AutoDrive Course Editor on Linux and experiencing severe screen lag or stuttering—especially after loading a map image and attempting to zoom or pan—this comprehensive command line tweak resolves the issue.
This problem is commonly caused by a conflict between Java's built-in graphics engine (Java 2D) and modern Linux display compositors (like Wayland/XWayland).
The Working Command
Use the following command to launch the application. This forces Java to use a more stable, CPU-based rendering path optimized for high-speed image manipulation, which is essential for map editors.
Bash
java -Dsun.java2d.opengl=false -Dsun.java2d.noddraw=true -Dsun.java2d.xrender=false -Dsun.java2d.forceBlit=true -Dswing.defaultlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel -Dawt.useSystemAAFontSettings=lcd -Xms1024m -Xmx1024m -jar AutoDriveEditor.jarContext: Why This Works (Technical Breakdown)
The core issue is Java's failed attempt to use hardware acceleration (your GPU) on specific Linux setups. This command effectively tells the Java Virtual Machine (JVM) to fall back to a more stable, highly optimized CPU-based rendering method.
-Dsun.java2d.opengl=false-Dsun.java2d.forceBlit=true-Dswing.defaultlaf=...NimbusLookAndFeel-Dawt.useSystemAAFontSettings=lcd-Dsun.java2d.noddraw=trueand-Dsun.java2d.xrender=falseEnvironment Where This Was Tested
This solution was specifically tested and confirmed working on a system running:
If you are on another Wayland-default distro (like recent Fedora, Ubuntu, or Pop!_OS), this fix is highly likely to work for you as well.
Beta Was this translation helpful? Give feedback.
All reactions