Based on the discussion here: 
https://github.com/codenameone/CodenameOne/issues/3360
3d acceleration should be enabled for this to work.

On Wednesday, February 10, 2021 at 12:45:09 PM UTC+2 P5music wrote:

> IntelliJ IDEA 2020.3.2 (Community Edition)
>
> Build #IC-203.7148.57, built on January 26, 2021
>
> Runtime version: 11.0.9.1+11-b1145.77 amd64
>
> VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
>
> Linux 4.15.0-1-amd64
>
> GC: ParNew, ConcurrentMarkSweep
>
> Memory: 951M
>
> Cores: 4
>
> Non-Bundled Plugins: com.codename1.plugin.intellij
>
> Current Desktop: XFCE
>
>
> I have a fresh install of IntelliJ-IDEA and I am trying to run my 
> CodenameOne app on the simulator, and the send Android builds.
>
> I had the same problems of other times because it was missing the 
> libjawt.so file
>
> so I copied the libjawt.so file in the 
> /home/pc/.codenameone/cef/lib/linux64/ folder (as last time)
>
> and it solved. Also executed these commands:
>
> export 
> LD_LIBRARY_PATH=/usr/lib/jvm/java-1.8.0-openjdk-amd64/lib/amd64:$LD_LIBRARY_PATH
>
> export 
> LD_LIBRARY_PATH=/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/lib/amd64:$LD_LIBRARY_PATH
>
>
> When launching the app in the simulator 
>
> now
>
> I get errors about jcef_helper and GPU.
>
> Below you see the relevant lines in the log.
>
> Thanks in advance
>
>
> /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Xms128m -Xmx984m 
> -XX:ReservedCodeCacheSize=512m -XX:+UseConcMarkSweepGC 
> -XX:SoftRefLRUPolicyMSPerMB=50 -XX:CICompilerCount=2 
> -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -ea 
> -Dsun.io.useCanonCaches=false 
> -Djdk.http.auth.tunneling.disabledSchemes=\"\" 
> -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true 
> -Dkotlinx.coroutines.debug=off -Dsun.tools.attach.tmp.only=true 
> -Dsun.awt.disablegrab=true 
> -javaagent:/home/pc/sviluppo/idea-IC-203.7148.57/lib/idea_rt.jar=45589:/home/pc/sviluppo/idea-IC-203.7148.57/bin
>  
> -Dfile.encoding=UTF-8 -classpath 
> /home/pc/sviluppo/myapp/out/production/myapp:/home/pc/sviluppo/myapp/src:/home/pc/sviluppo/myapp/lib/CodenameOne.jar:/home/pc/sviluppo/myapp/JavaSE.jar:native/internal_tmp:lib/impl/cls
>  
> com.codename1.impl.javase.Simulator com.myapp.app.myapp
>
> Adding CEF to classpath
>
> Using:
>
> JCEF Version = 84.4.1.262
>
> CEF Version = 84.4.1
>
> Chromium Version = 84.0.4147.105
>
> initialize on Thread[AWT-EventQueue-1,6,main] with library path 
> /home/pc/.codenameone/cef/lib/linux64
>
>
> LaunchProcess: failed to execvp:
>
> /home/pc/.codenameone/cef/lib/linux64/jcef_helper
>
> LaunchProcess: failed to execvp:
>
> /home/pc/.codenameone/cef/lib/linux64/jcef_helper
>
> [0210/113345.299353:WARNING:gpu_process_host.cc(1233)] The GPU process has 
> crashed 1 time(s)
>
>
> DevTools listening on ws://
> 127.0.0.1:39789/devtools/browser/184c958b-e75f-47aa-875c-76de7b9f65f5
>
> [0210/113345.445338:WARNING:gpu_process_host.cc(1233)] The GPU process has 
> crashed 2 time(s)
>
> LaunchProcess: failed to execvp:
>
> /home/pc/.codenameone/cef/lib/linux64/jcef_helper
>
> AppHandler.stateHasChanged: NEW
>
> AppHandler.stateHasChanged: INITIALIZING
>
> AppHandler.stateHasChanged: INITIALIZED
>
> [0210/113345.513013:ERROR:network_service_instance_impl.cc(263)] Network 
> service crashed, restarting service.
>
> LaunchProcess: failed to execvp:
>
> /home/pc/.codenameone/cef/lib/linux64/jcef_helper
>
> [0210/113345.524877:WARNING:gpu_process_host.cc(1233)] The GPU process has 
> crashed 3 time(s)
>
> [0210/113345.524952:FATAL:gpu_data_manager_impl_private.cc(439)] GPU 
> process isn't usable. Goodbye.
>
>
> Process finished with exit code 133 (interrupted by signal 5: SIGTRAP)
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/62be333a-1ec1-453b-b161-4c6b28b11e90n%40googlegroups.com.

Reply via email to