chromiumembedded / java-cef

Java Chromium Embedded Framework (JCEF). A simple framework for embedding Chromium-based browsers in other applications using the Java programming language.
https://bitbucket.org/chromiumembedded/java-cef
Other
655 stars 147 forks source link

GPU Error on Linux Aarch64 #456

Closed gam3rboy7 closed 10 months ago

gam3rboy7 commented 1 year ago

Even though Aarch64 is supported, getting the issue:

[1027/124259.438169:WARNING:chrome_browser_cloud_management_controller.cc(88)] Could not create policy manager as CBCM is not enabled. [1027/124259.522159:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002 [1027/124259.522604:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 1 time(s) [1027/124259.611851:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002 [1027/124259.612350:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 2 time(s) [1027/124259.658012:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002 [1027/124259.658478:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 3 time(s) [1027/124259.667582:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002 [1027/124259.668045:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 4 time(s) [1027/124259.712144:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002 [1027/124259.712571:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 5 time(s) [1027/124259.755077:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002 [1027/124259.755493:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 6 time(s) [1027/124259.762050:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002 [1027/124259.762432:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 7 time(s) [1027/124259.804996:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002 [1027/124259.805501:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 8 time(s) [1027/124259.812978:ERROR:gpu_process_host.cc(950)] GPU process launch failed: error_code=1002 [1027/124259.813449:WARNING:gpu_process_host.cc(1326)] The GPU process has crashed 9 time(s) [1027/124259.813948:FATAL:gpu_data_manager_impl_private.cc(431)] GPU process isn't usable. Goodbye.


OS: Ubuntu 23.10 aarch64 Host: Raspberry Pi 3 Model B Rev 1.2 Kernel: 6.5.0-1005-raspi Uptime: 39 mins Packages: 1037 (dpkg), 4 (snap) Shell: bash 5.2.15 Theme: Adwaita [GTK3] Icons: Adwaita [GTK3] CPU: BCM2835 (4) @ 1.200GHz Memory: 203MiB / 841MiB Additional context

Issue not present on Windows.

Tried with and without --disable-gpu --disable-software-rasterizer

Here's how I'm starting the jar: /usr/lib/jvm/java-17-openjdk-arm64/bin/java -Xms128m -Xmx512m -Djava.library.path="/usr/lib/jvm/java-17-openjdk-arm64/lib:/usr/lib/jvm/java-17-openjdk-arm64/lib/server:$JPATH" -jar $JPATH/JCEF-Test1.jar --disable-gpu --disable-software-rasterizer

magreenblatt commented 10 months ago

How does it behave with the CEF Sample Application?

gam3rboy7 commented 10 months ago

I can confirm it works with the sample application. This must be an issue on my end.