1 1
m][sko

playing with lima(mesa mali drivers)

Recommended Posts

I started to play with lima(mesa mali drivers) on Odroid C2

with ubuntu 19.04 with kernel 5.3. rc6 with lima enabled

 

I add latest mesa drivers from 

https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers

there are only arm64 packages

 

But there is problem on amlogic platform with order of dri/card* 

as dri/card0 point to lima

and dri/card1 point to mesa drm driver :(

but most software don't have options to set it up and they expect drm driver on card0 

 

so there is problem in weston 5 for example 

https://lists.freedesktop.org/archives/wayland-devel/2018-September/039446.html

 

but weston 4 and 6(https://packages.debian.org/sid/weston) is working fine

 

so what is working in my case :)

I was able to start weston4 like weston --drm-device=card1

then weston-simple-egl

then glmark2-wayland

 

so good luck with lima and panfrost

it will be nice to test panfrost on odroid xu4 :)

 

It will be nice to have simple options to enable lima/panfrost on armbian what do you think?

It should be metter of enabling LIMA in kernel configs

and add install mesa from oibaf ppa

I asked him about armhf build be he talk about small amount of users :)

 

lima gitlab issues

https://gitlab.freedesktop.org/lima/mesa/issues

Share this post


Link to post
Share on other sites

So I was able to start mutter

as usual there is problem with dri  cards

Share this post


Link to post
Share on other sites

@m][skodo you have any personal feelings about the performence of lima?

 

what I feel is lima just works, far worse than fbdev.

 

It's about 10°C higher, UI lags with multiwindow or window drag, and some bugs: UI freeze with GPU pagefault, suddenly display power standby.

 

Share this post


Link to post
Share on other sites
18 hours ago, ning said:

@m][skodo you have any personal feelings about the performence of lima?

 

what I feel is lima just works, far worse than fbdev.

 

It's about 10°C higher, UI lags with multiwindow or window drag, and some bugs: UI freeze with GPU pagefault, suddenly display power standby.

 

Same here :)

it is still in dev. they are aware of all unfinished stuff

 

Share this post


Link to post
Share on other sites

I feel that lima developer team is much smaller than panfrost, each day I `git pull`, lots of panfrost changes.

 

still thanks to them.

Share this post


Link to post
Share on other sites

another thing is cursor plane, meson drm driver still not support cursor plane, same as sunxi4-drm, while rockchip drm driver supports.

if support would have better performence.

Share this post


Link to post
Share on other sites
7 hours ago, ning said:

another thing is cursor plane, meson drm driver still not support cursor plane, same as sunxi4-drm, while rockchip drm driver supports.

if support would have better performence.

so it is rendered in window manager 

don't see that as any problem

Share this post


Link to post
Share on other sites

related to below?

 

I don't understand detail meaning of this part.

but missing bit(2) discription and the name in code, i feel there is only 1 scaler, so only OSD1 can be used.

 

right? @Neil Armstrong

2019-09-09 17-01-19 创建的截图.png

2019-09-09 17-01-49 创建的截图.png

Share this post


Link to post
Share on other sites

but I find something different in A311D's datasheet, is it possible for A311D to have a cursor plane?

Share this post


Link to post
Share on other sites

@ning exact, the OSD scaler is shared between the OSD1 & OSD1, but we use the scaler to update automatically the field when in interlace mode, if we wanted to enable OSD2 we should switch the field manually in the vsync irq. It's doable but I don't plan on doing it

 

For A311D, Amlogic did a brand new blender module for OSD and VD planes, but I don't have the exact capabilities of the blender and the number of available scalers, when I'll have the info, I may expose more OSD planes and eventually a Cursor plane.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1