Comments (7)
Hi,
I only have a Raspberry Pi 4 and I can't test CEF4Delphi in Raspberry Pi 5 at this moment.
I'm not sure if the CEF sample application works fine in Raspberry Pi 5.
https://cef-builds.spotifycdn.com/cef_binary_119.4.7%2Bg55e15c8%2Bchromium-119.0.6045.199_linuxarm64_client.tar.bz2
It would be necessary to test the sample application in Chrome runtime mode, hardware acceleration, etc. before testing the CEF4Delphi demos.
Download the sample application and execute this command :
cefsimple --enable-chrome-runtime --use-views
from cef4delphi.
RPi 5 Debian 12 testing: > cefsimple --enable-chrome-runtime --use-views
preliminary test results:
- as the google page was default I had to go to my vAmigaWeb test page via the debug console so that works..
- vAmigaWeb started ok yet not at full speed..
- Mouse Pointer integration works..
- Local Storage to save/boot vAmigaWeb harddisk works..
- Drag 'n drop worked, openfile requester works..
- Popup window works.. yet no addressbar..
- Audio works..
- FullScreenAPI F11 works..
Too bad I could not check hw-acceleration in chrome://gpu nor chrome://flags from the console ( only http:// and https:// allowed? )
Most options used by vAmigaWeb work with > cefsimple
I do not know at this moment how to enable the GPU.. and/or hw acceleration for WebGL..
note: as you can see the user agent shows (X11; X86_64)
which is odd as we are on ARM64..
What can I do more to test?
from cef4delphi.
Some early Raspberry Pi 5 testers reported that some applications needed to be adapted to the new hardware. I wouldn't be surprised if the hardware acceleration for Chromium is not available yet.
Follow these instructions to build cefclient and you'll be able to see the chrome://gpu page.
chromiumembedded/cef#3087
cefclient has hardware acceleration enabled by default.
I was waiting a few weeks before buying a Raspberry Pi 5 because I would like to have a passively cooled case with a PCIe hat that would allow me to connect an NVMe drive but I'll try to find some reseller in Spain now.
Edit : all shops are out of stock. :-/
from cef4delphi.
I was lucky the RPi5/8G arrived last week.. wanted it since October..
Too bad the limited availability spoils the fun for you..
But let me cheer you up a bit and share this with you.. as I said before "everything works" with the Chromium official build so behold this RPi5 report..
about-gpu-2023-12-11T11-39-10-477Z.txt
from cef4delphi.
I finally received my Raspberry Pi 5. :D
I installed Raspberry Pi OS 64 bit and Lazarus 2.6.2 from the repository. I tried to use fpcupdeluxe to install Lazarus 3.0 but there's a build error so I had to use the old packages from the repository.
After installing DCPcrypt and CEF4Delphi 119.4.7 I could run the GTK 3 demos normally, even the TinyBrowser and TinyBrowser2 demos that use the Chrome runtime mode.
The GTK2 demos like MiniBrowser work when you don't enable the Chrome runtime mode but if you enable it you will see an error about mixing GTK2 and GTK3 symbols. This is the issue #441 "Linux : Some GTK2 demos crash".
Lazarus 2.6.2 has some issues with the debugger but I could set the GlobalCEFApp.ChromeRuntime property. I guess some of the issues you describe might be related to using the trunk version of Lazarus because I could set ChromeRuntime and EnableGPU without problems with Lazarus 2.6.2.
from cef4delphi.
@salvadordf well I did get the "double windows bug" using Wayland and laz 2.2.6 so I switched back to X and tried the trunk version..
It is indeed great to hear it worked out for you as described.. I did put the pi on the shelf for later..
So it should work, even with GTK3.. thanks for the feedback..
I'm gonna dive into it again.. and let you know..
from cef4delphi.
@salvadordf I've got the pi5 back into the program for testing and want to share my findings.. so far..
I boldly updated the (trunk) Lazarus 3.99 GTK2 install with fpcupdeluxe and also included the latest cef4delphi module..
going from there I found why the previous attempt getting access to the MiniBrowser cef properties in the editor failed..
In the uses clause after implementation it says uCefClient which could be harmless when using windows but mandatory for linux flavours..
After I manually adapted uCefClient to uCEFCLient things "came to live" in lazarus..
All missing properties are available now..
I could Enable the GPU.. it shows enabled in chrome://gpu
But could NOT load a file into vAmigaWeb using the JS buttons or even localstorage so that's not functioning yet..
After enabling ChromeRuntime the MiniBrowser crashes silently.. returning immediately to Lazarus..
So there are some crucial hurdles left but "all works with the official defacto std chromium release" which feels a bit frustrating..
Hope to get it working some day..
from cef4delphi.
Related Issues (20)
- MacOS Js extension doesn't work in multiprocess mode HOT 4
- App crash when initializing CEF and WebView2 browsers in the same form. HOT 2
- SubMenu appears at incorrect position HOT 1
- StartMainProcess when another application instance is already running since CEF 120 HOT 2
- how to add this argument to start CHROMIUM browser --disable-blink-features=AutomationControlled HOT 1
- change cache folder path runtime HOT 1
- StartMainProcess: Error loading libcef.dll HOT 5
- Regarding the issue of extension loading, HelloWorldExt and PageColorExt HOT 1
- libcef.dll serious error HOT 3
- Questions about the Browser process ProcessMessageReceived event HOT 7
- Black screen browser in CEF 124 HOT 1
- ResponseFilterBrowser demo run error in delphi7? HOT 1
- ResponseFilterBrowser Demo run error in delphi7?
- TabbedBrowser2 leaves behind an orphan renderer process when main process is killed HOT 4
- Broken binary URL CEF 125.0.22 for Linux x86_64 HOT 2
- Multiple instances with the same binaries and incognito mode HOT 2
- Application crash navigating to web.dev with CEF 126 HOT 1
- CEF binaries missing! HOT 1
- CEF 126 proxy ERR_INVALID_AUTH_CREDENTIALS HOT 4
- Load a non-installed .pfx certificate HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cef4delphi.