-
Notifications
You must be signed in to change notification settings - Fork 8
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
Ideas for 3D acceleration #1
Comments
Thank you for your suggestions! However I'll try my best to answer these questions: Q: Mainline the kernel Q: Upstream the msm-4.9 DRM driver Q: libhybris? As I said, this is my attempt at explaining your ideas. |
I hope this is isn't out of place here, but that second point caught my eye, since I have a Pixel 3 XL. In terms of this project working on other devices, does that second point suggest 3D acceleration will have less in the way of implementation on kernels that have that driver? |
Probably, since @robclark is the leader of the Freedreno project, he probably knows more about the MSM DRM situation. |
By the way, I wonder if people are still reading this, if so then I have a good news: Beside that, we will soon be escaped from the hell of the EOL'd 3.18 kernel. |
Ok msm4.9 is ok on cedric. Whats next? How to get dri? Compile dri and msm dri? |
We get open source 4.9 kernel working on santoni. Also Alula booted 5.7 kernel on santoni. |
On Sun, 07 Jun 2020 15:26:42 -0700 MrArtemSid ***@***.***> wrote:
We get open source 4.9 kernel working on santoni. Also Alula booted 5.7 kernel on santoni.
https://github.com/MrArtemSid/kernel_msm-4.9
https://twitter.com/alulauwu
https://github.com/dreemurrs-embedded/linux-msm89x7
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#1 (comment)
We already know about Dreemurrs Embedded Labs works, we're them.
But at this point, I think we better focus on Linux mainline kernel.
…--
Dreemurrs Embedded Labs (or DanctNIX)
* Discord: https://discord.gg/AvtdRJ3
* Matrix: #danctnix-general:matrix.org
|
So, the msm-3.18 kernel seems to not support MSM DRM, as compiling it from android-linux-stable will give errors without patching them with the define they're supposed to be used.
Here's some idea for 3D acceleration:
Mainline the kernel: This solution seems to be the most hardest, but also the most dangerous one as set the wrong regulator values would physically blow the device up, according to @pinoaffe from postmarketOS IRC, it has happened to someone porting msm-4.9 to Mi 5 (thanks @Danct12 for bringing this up)
Upstream the msm-4.9 DRM driver: The Google Pixel 3 (and 3 XL) shipped with the msm-4.9 kernel, and uses MSM DRM instead of the ancient FB_MSM, which is a very good move. Through I wonder if you can just git checkout the MSM DRM tree and includes, and patch it to make it compile with the 3.18 kernel.
Last hope (libhybris): Even through it's best to use a open-source driver and try to not use bionic stuffs, both of the idea above might end up failing as it's impossible to do so, using libhybris can bring 3D acceleration with Android libs to GNU/Linux, and this should be the temporary solution right now.
That's what I've thought about, these aren't tested by myself so feel free to correct or try them out.
The text was updated successfully, but these errors were encountered: