Jump to content

Recommended Posts

Posted

I have a plan to enable lima on H3, S905X.

 

the facts:

1, due to mesa master branch has the patches for lima desktop, and mesa master build depends on libdrm 2.4.99, this package is in debian sid.

2, running mesa master may require xserver 1.20.  buster/cosmic/disco, that means lima may only available on this releases.

3, upstream debian still focuses on mesa 19.1.X, and build rule for 19.1.X cannot be applied to mesa master.

 

the plan:

1, install libdrm 2.4.99 from debian sid.

2, build/install dummy mesa packages to meet system package dependents.

3, use meson/ninja build/install mesa to /usr prefix.

 

do you agree this plan?

Posted
On 8/26/2019 at 7:51 PM, ning said:

I have a plan to enable lima on H3, S905X.

 

the facts:

1, due to mesa master branch has the patches for lima desktop, and mesa master build depends on libdrm 2.4.99, this package is in debian sid.

2, running mesa master may require xserver 1.20.  buster/cosmic/disco, that means lima may only available on this releases.

3, upstream debian still focuses on mesa 19.1.X, and build rule for 19.1.X cannot be applied to mesa master.

 

the plan:

1, install libdrm 2.4.99 from debian sid.

2, build/install dummy mesa packages to meet system package dependents.

3, use meson/ninja build/install mesa to /usr prefix.

 

do you agree this plan?

 

after a day's work I feel this is completely wrong. right way is armbian package repo maintainer to upgrade mesa related package to master.

and update board package to enable lima by Xorg.conf. them users can use apt upgrade to get lima enabled.

Posted
On 8/26/2019 at 1:51 PM, ning said:

buster/cosmic/disco, that means lima may only available on this releases.

 

buster is good enough, disco optional.

 

8 hours ago, ning said:

right way is armbian package repo maintainer to upgrade mesa related package to master.


Just to make sure I am following this right ... building all packages which will be made via this (once matured/tested) and upload them to repository? Then update xorg.conf file as a part of board BSP?

Posted
1 minute ago, Igor said:

 

buster is good enough, disco optional.

 


Just to make sure I am following this right ... building all packages which will be made via this (once matured/tested) and upload them to repository? Then update xorg.conf file as a part of board BSP?

have you tested this PR? I don't think you can follow it.  if you insist, it also fine. currently I'm thinking about update upstream's mesa packaging rules, to repack all mesa debs.

Posted
9 minutes ago, ning said:

have you tested this PR? I don't think you can follow it.  if you insist, it also fine. currently I'm thinking about update upstream's mesa packaging rules, to repack all mesa debs.


No, too busy. Just trying to keep up.

Posted

everything works fine, except chrome browser and slightly UI lag.

Posted

just check the PPA build log for AArch64, missing ksmro Gallium driver, so it can't be used directly.

 

my git is build from mesa master.

Posted
7 minutes ago, ning said:

just check the PPA build log for AArch64, missing ksmro Gallium driver, so it can't be used directly.

 

my git is build from mesa master.

I know about this so I emailed to him so lets hope he will add it :)

it should be easy

I also asked for armhf builds

he has this ppa since 2011 :)

 

 

but I just want to say that git master mesa will be best for armbian/lima/panfrost

Posted

could you ask him to build for debian buster?

2 hours ago, m][sko said:

arm64 packages are working fine on my Odroid C2

 

Posted (edited)
On 8/28/2019 at 9:28 PM, ning said:

could you ask him to build for debian buster?

 

his email

 

Edited by TRS-80
removed personal information (email address)
Posted

no, I don;t need his email. because I can build it myself, but if Armbian doesn't want to add mesa packages to its software repository, for debian users, only way is to use my build, but I can't update them so frequently.

Posted

lima & panfrost driver (mesa) has been pushed to beta.armbian.com, if you already use beta image or use beta armbian software repo, please just update.

if not please add armbian beta software repo, and update.

 

newer version (19.3-develop) mesa will be installed.

 

you need to follow https://gitlab.freedesktop.org/lima/web#xorgconf

to configure your Xserver.

 

then enjor your mali GPU.

Posted

notice this is only for debian 10 (buster), if you are using old version debian, it's not supported, if you using ubuntu, please go:  https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers

 

any issues about my build, please comment here. if not configure Xserver, then no impacket to your system. if you are using wayland, I don't have the knowledge.

 

I will update these packages bi-weekly.

 

if there are someonr use it, and lima goes more stable, I will try to submit it to stable.

 

@Igor is it OK? BTW, I only enable mali GPU driver (lima/panfrost) any other GPU is used by supported SOCs?

Posted
1 hour ago, ning said:

is it OK?

 

Yes. After this gets stable it can go to the desktop builds by default. I am preparing build script that this will be as simple as possible.

 

1 hour ago, ning said:

any other GPU is used by supported SOCs?


vivante / imx6 ? Probably just works, but needs to be checked.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines