Comments (4)
Steve,
Thx for kind words!
Interesting is that with https://github.com/warpme/miniarch i can get nicely working EndeavourOS (EOS) on rk on wayland.
This means mm2 kernel (used in miniarch) seems to be working ok with wayland (i tested EOS with KDE DE; you may verify EOS bootstrapping with MiniArch)
So maybe archlinux guys added some patches in mesa/wayland for rk to get wayland working? (i doubt)
Currently i don't have idea why the same kernel works ok in EOS and fails in MiniMyth2. In mm2 i'm using:
- the same kernel
- vanilla weston
so.... :-\
from minimyth2.
from minimyth2.
Let's list out the differences that could exist:
Difference | Notes |
---|---|
Who provides libwayland-egl.so ? |
mali or wayland provided. check if links to blob |
Are the GPU drivers compiled with a "hook" ? | Check for libmali_hook* in /usr/lib |
What is the kernel DDK | Check kernel sources MALI_RELEASE_NAME ?= '"g15p0-01eac0"' |
What firmware is used? | Check SHA256 |
What I've got:
- I've tried both providers of
libwayland-egl.so
- The drivers do not work without a hook, so I am currently using the hook.
- Kernel DDK =
g15p0-01eac0
- Firmware SHA:
sha256 ad91511a77fa110af46a2a29cad9e225524d9cfa9fe35bdce96606d354e607de mali_csffw.bin
from minimyth2.
Steve,
I'm a bit lost here....
Situation i have:
- single binary having full video stack (drivers/kernel/drm/egl_provider/wayland_display_server/media_player)
- aw/aml/rk/api hw
Binary from p.1 gives me ok wayland (ui & playback) on all hw - except: rk
As binary is the same - diff is in code which is hw dependent.
So imho i have 2 candidates: drm and egl provider (mesa).
I have black screen on rk3328 (mali450), 3399 (t860) and rk3566/3568 (g52).
So it is v.low probable that issue is in mesa (i.e. mali450 on s905 plays ok with weston)
Looking on weston log - i see absolutely normal log (no errors, standard info entries).
All above hints me: most probable root cause is drm.
Now - in my case:
- kernel/weston_disp_server/media_player have absolutely normal logs
- i can remotely launch video playback and logs shows me nice playback (including hw accell), audio is playing ok, etc
with above i think issue is drm z-order related
(i.e. looks to me weston draws to drm plane which is overlaid by other plane thus screen is black)
I will consult this with dev. who write majory of patch code required to get rk drm working with drm-planes media playback...
from minimyth2.
Related Issues (20)
- quartz-64-a HOT 15
- Seems wrong md5 checksum of v4l-utils-20220616-ef8c5223b.tar.bz2 HOT 1
- X96 tv box is not booting HOT 4
- There is not rsync 3.2.6 at https://rsync.samba.org/ftp/$(GARNAME)/ HOT 1
- X96 X6 Ethernet is broken HOT 3
- Fail to compile for Orange Pi Zero2 libpython2.7.so.1.0 HOT 4
- nvidia-340.108 with linux 6.1 and linux 6.6 HOT 5
- TanixTX6s - no ap6330 wifi HOT 9
- TanixTX6 4G - u-boot discovers only 3G of RAM HOT 6
- H313 X96Q testing HOT 25
- Tanix H616 not booting HOT 12
- Latest PXE image missing HOT 2
- OrangePi Zero 2 missing firmware for UWE5622 (aw859a) HOT 5
- hint: maybe use pwm regulator for cpu on x96x6 box as well? HOT 3
- H313 board ethernet issue HOT 2
- Compile kernel only + bonding driver HOT 1
- rk3528 hdmi audio is ok? HOT 1
- Installation on X96 X6 Rk3566 HOT 2
- are you still pushing your changes to github? HOT 3
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 minimyth2.