What are the downside of setting -Djogl.disable.openglarbcontext=1 in Linux?
31 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Silvio Traversaro
am 23 Mär. 2023
Kommentiert: Silvio Traversaro
am 27 Mär. 2023
In my organization we always had several problems with OpenGL acceleration, Intel integrated GPU and Linux (see https://github.com/robotology/robotology-superbuild/issues/953).
After a bit of investigation, we found that a reliable workaround is to pass the ` -Djogl.disable.openglarbcontext=1` option to the MATLAB's Java instance, either by adding it to a `java.opts` file located in a directory where MATLAB is passed, or by adding it to the `JAVA_TOOL_OPTIONS` environment variable.
However we are not sure about if there are any downside to using `-Djogl.disable.openglarbcontext=1`, those anyone has any idea if this option has any downside?
Thanks a lot in advance.
0 Kommentare
Akzeptierte Antwort
Nikhilesh
am 27 Mär. 2023
Bearbeitet: Nikhilesh
am 27 Mär. 2023
If you are experiencing issues with OpenGL acceleration and Intel integrated GPUs on Linux, using this option may provide a reliable workaround for the problem. It is possible that the performance and graphics quality decrease resulting from disabling OpenGL ARB context will not be noticeable in your particular use case.
In general, it is recommended to test the performance and graphics quality of your application with and without this option to determine if it has any significant impact on your specific use case.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Graphics Performance finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!