Comments (11)
haven't try that.
but it's abnormal that it tries to import wayland buffer in drm backend. (the mali doesn't support importing wl buffer)
for egl init error, normally because it cannot communicate with display server(weston)
from meta-rockchip.
Myeah, I had to pach wpewebkit becaus symbols were in libmali and libmali_hook, but didn't work anyway.
Restarted from scratch with a mainline kernel + panfrost + mesa + drm and now everything works well.
Only thing I'm missing is video right now. Do you happen to know how I can add a gstreamer plugin for the decoder? I'm on mainline, so not sure how to continue or what to do for it
from meta-rockchip.
the gstreamer mpp plugin is only for bsp kernel(with mpp driver). so guessing you may need to port that upstream gpu driver to bsp 5.10 kernel, or there's an upstream v4l2 video driver, i'm not sure is there any gst plugin for that.
from meta-rockchip.
Yes, I'm on it now. There's the Hantro driver in the kernel, together with v4l2codecs in gstreamer-plugins bad.
Tanks for the help, this can be closed!
from meta-rockchip.
If you using wpewebkit to 2.38.6, it would works with libmali in drm mode.
[root@Nscreen64:~]# cog -P drm
arm_release_ver: g13p0-01eac0, rk_so_ver: 9
(cog:13780): Cog-DRM-WARNING **: 22:34:34.554: Renderer 'modeset' does not support rotation 0 (0 degrees).
(cog:13780): GLib-GIO-WARNING **: 22:34:34.583: Your application does not implement g_application_activate() and has no handlers connected to the 'activate' signal. It should do one of these.
arm_release_ver: g13p0-01eac0, rk_so_ver: 9
Cog-Core-Message: 22:34:34.967: <http://127.0.0.1/index.html> Load started.
Cog-Core-Message: 22:34:35.024: <http://127.0.0.1/index.html> Loading...
Cog-Core-Message: 22:34:38.713: <http://127.0.0.1/index.html#/v-main> Loaded successfully.
but not works in wayland mode:
[root@Nscreen64:~]# export WAYLAND_DISPLAY=wayland-0
[root@Nscreen64:~]# export XDG_RUNTIME_DIR=/tmp/.xdg;
[root@Nscreen64:~]# export WESTON_DRM_MIRROR=1;
[root@Nscreen64:~]# export WESTON_DISABLE_ATOMIC=1;
[root@Nscreen64:~]# export WESTON_DRM_KEEP_RATIO=1;
[root@Nscreen64:~]# export WESTON_FREEZE_DISPLAY=/tmp/.xdg/.freeze_weston;
[root@Nscreen64:~]# weston &
[root@Nscreen64:~]# cog --platform=wl
arm_release_ver: g13p0-01eac0, rk_so_ver: 9
xkbcommon: ERROR: couldn't find a Compose file for locale "C" (mapped to "C")
(cog:17083): GLib-GIO-WARNING **: 22:36:12.872: Your application does not implement g_application_activate() and has no handlers connected to the 'activate' signal. It should do one of these.
arm_release_ver: g13p0-01eac0, rk_so_ver: 9
Cog-Core-Message: 22:36:13.257: <http://127.0.0.1/index.html> Load started.
**
Cog-Wayland:ERROR:../platform/wayland/cog-platform-wl.c:1705:on_export_wl_egl_image: assertion failed: (s_eglCreateWaylandBufferFromImageWL)
Bail out! Cog-Wayland:ERROR:../platform/wayland/cog-platform-wl.c:1705:on_export_wl_egl_image: assertion failed: (s_eglCreateWaylandBufferFromImageWL)
Aborted
[root@Nscreen64:~]# warning: queue 0x7f20001290 destroyed while proxies still attached:
wpe_dmabuf_pool@11 still attached
[root@Nscreen64:~]#
Any idea for that, Jeffy ? @JeffyCN
from meta-rockchip.
hi,
the mali doesn't support
eglCreateWaylandBufferFromImageWL
from meta-rockchip.
hi, the mali doesn't support eglCreateWaylandBufferFromImageWL
Is possible to add that via libmali-hook ?
from meta-rockchip.
sorry, i don't think it's possible.
i would suggest to use panfrost in this case, or modify the wpewebkit somehow, to use dma buf fd or gbm bo to pass buffers
from meta-rockchip.
sorry, i don't think it's possible.
i would suggest to use panfrost in this case, or modify the wpewebkit somehow, to use dma buf fd or gbm bo to pass buffers
Panfrost is much slower then the rockchip libmali.
Eg: From the glmark2-es2-wayland testing for RK3326s panfrost just got 209 sources, but rockchip libmali got 402 sources.
Does RK have a plan to porting the wpewebkit ?
from meta-rockchip.
that might due to gpu clock freq? or not sure would wpewebkit support vulkan with panfrost?
there's no plan in rockchip i think(mainly use chromium for wayland browser), it's a big job, arm might trying to support more wayland related features in newer ddk, but might not for rk3326.
from meta-rockchip.
that might due to gpu clock freq? or not sure would wpewebkit support vulkan with panfrost?
there's no plan in rockchip i think(mainly use chromium for wayland browser), it's a big job, arm might trying to support more wayland related features in newer ddk, but might not for rk3326.
I have already run the fllowing scripts before glmark2 testing.
echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo userspace > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo 1514000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed
cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq
echo performance > /sys/devices/platform/ff400000.gpu/devfreq/ff400000.gpu/governor
echo performance > /sys/class/devfreq/ff400000.gpu/governor
Panfrost always have low perforcemance(then the rk-libmali). So, I think it must some ptimization in the rk-libmali.
The web looks stuck when using touching.
We tried RK3566 with panfrost + wpewebkit, the GPU of RK3566 having higher perforcemance(not stuck in the web). But the customer not accept to upgrade from RK3326s to RK3566 in their oven(although they are selling expensive https://item.jd.com/1480602775.html). That's forcing us to try wpewebkit + libmali in RK3326s.
Actually, We like to followed the RK SDK (libmali + weston + chromium-ozone-wayland ), but the last SDK having the a scaling issue since Chromium 104.
Yes, I know this is a big job if porting the wpewebkit.
If rockchip have no plan, We have to go back to libmali + weston + chromium-ozone-wayland.
I have submited a redmine issue (ID:442659) , hope RK can help us for resolving this issue.
Thanks
from meta-rockchip.
Related Issues (20)
- rknn-toolkit is not working for model transfering HOT 3
- ADBD is not fully working . HOT 6
- How to login into system? HOT 4
- fatal error: 'media/gpu/v4l2/v4l2_stubs.h' file not found HOT 5
- question: chromium v120 decode 4K HOT 14
- RAUC Integration HOT 7
- Running bitbake -c clean deletes rkbin HOT 1
- rk3588 weston cannot start HOT 5
- What is the best way to enable uart? HOT 2
- Build gnome desktop base on x11 HOT 1
- Update patches for newer version of chromium HOT 4
- Starting kernel invokes ""Synchronous Abort" - rk3328 HOT 14
- support for RV11XX SoCs HOT 1
- RK3399 & RK3568 reset/reboot every 10min HOT 5
- use local source code and change uart debug HOT 3
- RK3588
- Rock3 Model C, build settings HOT 7
- linux-libc-headers-4.19-custom-r0 do_install: oe_runmake failed
- bitbake core-image-minimal returns errors with Machine = "rockchip-rk3326-evb" 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 meta-rockchip.