Open credmond opened 1 day ago
Since this is at runtime, is it possible that on the other systems HW rendering is used, and on this one the fallback to SW is done? In that case, there are probably classes missing in the reflection-config that are only needed with SW rendering (and even then in some some specific styles/shaders only). A solution would then be to manually add those missing files to the reflection-config -- either manually or having the agent doing it for you.
It's important though to run with prism-sw. Only enabling it is not going to pick it by default (iirc), so you must set it explicitly like e.g. System.setProperty("prism.order", "sw");
Also, add `System.setProperty("prism.verbose", "true") to get log info about whether the HW pipeline or the SW pipeline is selected.
Even in this case, it's not a real good solution, but we have conflicting boundary conditions here:
Adding all sw-specific code in the image will violate the first condition, but ignoring it violates the second condition. A more hybrid model that allows to run dynamic code in case something is not in the image would help here. That is far from trivial, but I keep thinking about this in the openjdk/mobile project.
Getting this error when running a native image on Linux.
Assume it has to be related to using one of these classes:
Note, I have
<enableSWRendering>true</enableSWRendering>
set for other reasons (issues with Linux GPU combos) -- it could be related, but I've had that setting for 2 years and the app is otherwise okay -- used Images and Reflections in other places before.The native image outputs these errors over and over (works ok on Windows and Mac and other Linux's):
Environment: Ubuntu 22.04.3 LTS (WSL), substrate 1.0.23. Jfx: 21.0.4...
Any ideas?