New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to upgrade the panfrost driver on the ARM Chromebook from 1.1 to 1.2 #25
Comments
Hello. Thanks. I will try this procedure. Can you show me how the mali driver is shown on the dmesg when it works ? thanks. |
full dmesg
|
is the panfrost driver the same as the mali driver ? |
panfrost is a driver for ARM Mali Midgard (T6xx, T7xx, T8xx) |
Which one is suitable for our ARM Chromebook ? which one is more powerful ? |
panfrost only, at least on kernels >=5.x |
Despite some gpu regulator errors (that you don't have) , it seems to work :
what Linux version and kernel are you running ? I also see that you use panfrost 2.0,I'm using 1.1....any idea about how to upgrade it to 2.0 like your ? |
@aneeshlingala : do you know how to upgrade panfrost 1.1 to 2.0 to fix my "gpu regulator" errors ? |
Devuan (4) Chimaera / Linux kernel 5.15.120 / panfrost 1.2.0 |
That's interesting. I'm stuck to kernel 5.4 (but I'm using devuan 5) because I want to run qemu + kvm,so I'm forced to use panfrost 1.1,I presume. Do you know if there are some specific packages to install that can upgrade panfrost ? OR maybe I can install it from source code : https://gitlab.freedesktop.org/panfrost/linux/tree/panfrost-5.0-rc4 |
No, I don't know. |
The very latest Linux kernel release contains version 1.2, as you can see :
It's being developed in a repository somewhere which despite some searching , I haven't been able to locate. |
The last mesa not supported mali t604 even if panfrost driver do https://docs.mesa3d.org/drivers/panfrost.html It is possible to take something like this
and investigate changes on driver source code |
I've downloaded all the files of panfrost 1.2 from here: and I tried to compile it :
maybe I can compile it in a different way ? |
You can't upgrade because of older kernel and mesa version. But, if you rebuild the kernel with changes from 5.4 lts mainline and switch to devuan ceres with newer mesa, it may work |
I'm already using the kernel 5.4 lts. So,what I can try is to upgrade devuan daedalus to devuan ceres ? I see that the new mesa libraries aren't on the backports of the devuan 5. Is this correct ? Can I compile the mesa libraries from sources ? maybe this is a faster and easier route. |
When was the kernel built?
…On Fri, Oct 13, 2023, 14:44 Mario ***@***.***> wrote:
I'm already using the kernel 5.4 lts. So,what I can try is to upgrade
devuan daedalus to devuan ceres ?
—
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUYUBPDPTXBJHBEVUWAP4UDX7GY5JANCNFSM6AAAAAA54WSJMU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
And also, there is a 5.15 kernel, why not use that? |
As you probably know, on Arm 32 , KVM does not work anymore for kernels higher than 5.4. For this reason I have installed a 5.4 kernel. I've enabled the panfrost driver on the kernel and I've seen that it is version 1.1 but I know that the latest version available is 1.2 and I would like to find a way to upgrade it. Every method is ok,but don't ask me to use a greater kernel version because I can't. What I tried to do right now has been the following :
I've downloaded all the files of panfrost 1.2 from here:
I went on this directory : /Dati/linux-5.4.257/drivers/gpu/drm and I have delete all the files stored inside the old panfrost directory and I have copied inside of it all the files listed above and I tried to compile the whole kernel :
Unfortunately the panfrost driver can't be compiled :
Can I do something to be able to compile it succesfully ? Thanks. |
You may backported it but i am not a 'c' dev so cannot help. this kernel from #18 (comment) (does not work with fresh btrfs filesystem, use ext4 instead); config there too |
Someone told me that I should upgrade devuan 5 daedalus to devuan ceres. This operation should be done because I should upgrade the mesa libraries. But it's not enough. I should also install a newer kernel (at least 5.15) that will install the panfrost ko module 1.2,but I can't do it. So,I think I will keep vers. 1.1. |
I've found these instructions that can be used to compile and build the panfrost driver from the source code : https://gist.github.com/tstellanova/6f7844379e358ee81b89cf6937ea8139 but I'm not sure if they are valid also for arm v7. |
You are confusing the panfrost kernel driver with the panfrost mesa driver. The mesa driver works in conjunction with the kernel driver, but by itself it does not replace the kernel driver. You may rebuild mesa on any debian based distro like this:
In case of succes you wil get all mesa packages (mesa-*.deb) |
Hello my friend.
I've almost completed my project : to virtualize FreeBSD on top of Linux with qemu-kvm on the ARM Chromebook. Everything works great. Even the network on the vm. One last task needs to be accomplished. To be able to use the panfrost graphic driver on the linux distro that I have chosen and where I have configured everything : Devuan 5. I would like to understand what's the fulll procedure to enable the MALI driver and to make it work. What I did right now is to enable the MALI driver inside the kernel that I'm using (vers. 5.4.257).
The only parameter that I've found on the kernel config file related to MALI is the following :
CONFIG_DRM_MALI_DISPLAY=y
and I set it to y. Until here it was easy. What I don't understand is after enabling that parameter,it will work automatically or if I should make an additional configuration and which kind of configuration it needs. Thanks.
The text was updated successfully, but these errors were encountered: