Comments (3)
@clopez Just want to report similar issue when building from: Igalia/meta-webkit@83b5700
wpebackend-fdo
was used in my case
cog https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html
(cog:528): Cog-CRITICAL **: cog_platform_get_view_backend: assertion 'platform != NULL' failed
**
Cog:ERROR:/usr/src/debug/cog/20180514-r0/git/cog.c:301:on_create_web_view: 'error' should not be NULL
In my case also libWPEBackend-default.so
was missing, but that's another (or mine) issue:
cog -P fdo https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html
xkbcommon: ERROR: couldn't find a Compose file for locale "C"
wpe: could not load the impl library. Is there any backend installed?: libWPEBackend-default.so: cannot open shared object file: No such file or directory
Wayland: Got a wl_compositor interface
Wayland: Got a wl_seat interface
Wayland: Got an xdg_shell interface
Wayland: Got a wl_shell interface
EGL initialized with version 1.4
After adding a symlink to wpebackend-fdo
:
xkbcommon: ERROR: couldn't find a Compose file for locale "C"
Cog-Message: <https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html> Load started.
Cog-Message: <https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html> Loading...
Cog-Message: <https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html> Loaded successfully.
https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html:38:14: CONSOLE LOG Measured 18.07802093244529 FPS in 1051 milliseconds.
https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html:38:14: CONSOLE LOG Measured 19.083969465648856 FPS in 1048 milliseconds.
https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html:38:14: CONSOLE LOG Measured 19.10219675262655 FPS in 1047 milliseconds.
https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html:38:14: CONSOLE LOG Measured 18.98101898101898 FPS in 1001 milliseconds.
https://people.igalia.com/clopez/wkbug/fps-counter/raf_onload.html:38:14: CONSOLE LOG Measured 17.24137931034483 FPS in 1044 milliseconds.
from cog.
@macpijan: About the missing libWPEBackend-default.so
symlink, I have experienced that myself. We are not yet at the point where loading a platform plug-in makes the symlink unnecessary, but ideally when using a Cog platform plug-in the symlink should not be needed... I have filed #11 to track that separately.
from cog.
This has been fixed in
4408909 for me
from cog.
Related Issues (20)
- Error [destroyed object]: error 7: failed to import supplied dmabufs HOT 3
- issue in starting cog 0.18.0 wpewebkit 2.40.3 HOT 1
- TLS support requirements HOT 1
- Help with cog in DRM mode on Orange Pi5+ HOT 3
- Cog + DRM Lease HOT 1
- REGRESSION(47dee03): Broke DRM plugin on RPi4 HOT 5
- Support ignoring files in the style checker
- x11: cog on VirtualBox Ubuntu 20.04 seg fault core dumped HOT 1
- VPU not used with cog HOT 12
- Disentangle CogShell from CogPlatform
- When drawing a pixel, also the pixel above is impacted HOT 2
- Difference handling needed on Visibility vs Focus for the Views
- Meson configure error when Cog is build only for wayland
- Missing cog-export.h header in the cogcore_headers
- gtk4: Pointer coordinates wrongly reported when the window is on a monitor with fractional scaling HOT 1
- [Clean-up] Remove redundant platform safe-guards in core
- Remove cog_platform_init_web_view() from the API
- MouseEvent buttons property not set in wayland backend
- Crash calling wl_pointer_set_cursor() in cog-utils.c HOT 2
- /snap/wpe-webkit-mir-kiosk/101/usr/bin/cog memory increases until it crashes.
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 cog.