-
-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libcef.so can't be loaded in Ubuntu 23.10 for RaspberryPi #457
Comments
I use the version that @salvadordf recommended "CEF 106.1.1 which includes Chromium 106.0.5249.119" And I download the Sample application and run "cefsimple" and it works without problems inside Ubuntu Desktop arm64 and Fedora 37 aarch64 cefsimple running on Fedora aarch64: Please note that LCL widget type "gtk3" is in "alpha" stage. |
@rcla Thank you, that helps me a lot. I'll try the version 106. |
I just tested the "cefsimple" in Ubuntu AArch64, it works but blank window on any demo from CEF4Delphi without any error or any log produced. |
I also encountered the same problem on Linuxarm64. Using getconf PAGESIZE, it is 65536. Some people say that the PAGESIZE of libcef.so is 4096, and all errors occur. Is it possible? How to solve it? |
Using ldd libcef.so to display the results is not a dynamic executable. Use/lib64/ld Linux arrch64. so. 1-- list libcef. so Elf load command alignment not page aligned Readelf - l libcef.so returns a load segment size of 0x1000 (4K) Getconf PAGESIZE, which is 65536 (64K) Use file libcef.so to check if it is normal. The CEF version used is 87.0.4280.141. |
I tried to use cmem but LoadLibrary also returns 0. |
For CEF4_87. 0.4280.141 LinuxAarch64 cannot be getconf PAGESIZE system of 64 k. Since Chromium will not be compiled, the following attempts can only be made:
View pagesize with readelf -l xxx.so. After LOAD, 0x1000 is 4K, and 0x10000 is 64K. |
I'm getting the same error with a beta version of CEF4Delphi that uses CEF 119. I replaced the LoadLibrary call with this : dlopen is returning a zero and a call to dlerror gives this message : This message is the same in x86 and Raspberry when I try to load libcef.so |
Workaround CEF 118 and older versions worked correctly in Intel x64. |
When the cef program of armhf (32) is executed in arm64, after the fcitx input method is enabled, two characters will appear when the keyboard enters one character in the English input state. You cannot enter any characters in the Chinese state, including English. After fcitx is disabled, input characters are normal. Please tell me how to set up to use fcitx to input Chinese. |
There are several CEF issues related to the IME in Linux. |
The armhf version of CEF running under arm64 cannot be used in Chinese. There is no associated SO library file, armhf default input method is xim. Only add fcitx fcitx5 ibus and other input methods in the armhf library file, and set up can be used. |
Now you can use cef+flash+ Chinese input in Arm64. |
The CEF 119.4.7 update fixes the "cannot allocate memory in static TLS block" issue for x64 CPUs but Ubuntu 23.10 for Raspberry Pi is still affected. |
CEF 126.1.14 has this issue in Linux Mint again. |
CEF 127.1.9 fixes this issue in Linux Mint. |
CEF 127.1.9 works correctly in Raspi OS but in Ubuntu for Raspberry Pi it still has this issue. |
There's an initialization issue in Ubuntu 23.10 for RaspberryPi (ARM CPU).
libcef.so can't be loaded and GlobalCEFApp.StartMainProcess fails with a blank background.
Perhaps chromium has changed the default TLS model.
Workaround :
Open a terminal window and execute the following command :
export LD_PRELOAD=<FULL-PATH-TO-libcef.so>
Then run the GTK3 demos.
Original forum thread :
https://forum.lazarus.freepascal.org/index.php/topic,62987.0.html
CEF forum thread :
https://magpcss.org/ceforum/viewtopic.php?f=6&t=19622#p54408
CEF issues :
chromiumembedded/cef#3616
chromiumembedded/cef#3803
Chromium issue :
https://bugs.chromium.org/p/chromium/issues/detail?id=1508362
The text was updated successfully, but these errors were encountered: