hexdump0815 / linux-mainline-and-mali-on-odroid-u3

tools and patches to run linux mainline with mali gles and opengl on an odroid U2, U3, U3+, X and X2
16 stars 2 forks source link

modsetting vs armsoc #3

Open nijhawank opened 4 years ago

nijhawank commented 4 years ago

Hi,

Thanks for your work for preparing the Linux images with latest kernels for odroid u3. I see that you have made modsetting as the default x11 driver even though you say that it is slower than armsoc in your readme. Can you please explain the reasoning behind it?

Also, have you thought about using glamor to enable 2d acceleration of the desktop. as I understand glamor requires GL that you enabled using gl4es. Any thoughts?

hexdump0815 commented 4 years ago

hi,

the reason i'm using fbdev is that for my case (vcvrack) it does not make any real difference in performance and with the gl4es/fbdev version it is even possible to let the gpu render if the screen is virtual via xpra.

i'm not thinking about glamor on the odroid u3 - if performance is really desired then there is much more powerful hardware around nowadays. my idea with those builds was just to fill the gap that there was not real recent distribution available for the u3, which i think is still a quite capable sbc.

best wishes - hexdump

On Sat, Feb 8, 2020 at 5:06 AM nijhawank notifications@github.com wrote:

Hi,

Thanks for your work for preparing the Linux images with latest kernels for odroid u3. I see that you have made modsetting as the default x11 driver even though you say that it is slower than armsoc in your readme. Can you please explain the reasoning behind it?

Also, have you thought about using glamor to enable 2d acceleration of the desktop. as I understand glamor requires GL that you enabled using gl4es. Any thoughts?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hexdump0815/linux-mainline-and-mali-on-odroid-u3/issues/3?email_source=notifications&email_token=AHPN2QLAGJDW334N2WPJFVTRBYVTPA5CNFSM4KRYB7F2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IL65WVA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHPN2QMXFOMASW2J6HSIP33RBYVTPANCNFSM4KRYB7FQ .

nijhawank commented 4 years ago

Thanks, I understand. But for my own learning and experience, can you please provide me what would be needed to enable it. What all components would be required and what all would be needed to be rebuilt with appropriate flags.

If you provide a rough idea, I may try to do it. Thanks.

nijhawank commented 4 years ago

Hello hexdump,

I installed the gnome3 desktop in your image and setup the library paths to prioritize gl4es and Mali libraries from /opt. With this I expected the gnome3 desktop to be working with gl4es providing OpenGL acceleration. However I’m kicked back to the login screen if I select gnome3 desktop. I tried both armsoc as well as modsetting x11 drivers and remembered to switch between Mali-x11 or Mali-fbdev along with LIBGL_FB=3 when using Mali-fbdev.

Per this post https://forum.odroid.com/viewtopic.php?t=31557#p229324 gnome3 worked with gl4es on odroid-xu4 so I assume it should work on odroid-u3 as well. Do you think odroid-u3 is missing something that gnome3 cannot work even with gl4es?

Sorry to keep bothering you.

Thanks in advance.

herbsmn commented 4 years ago

Hi @nijhawank, did you ever get gnome3 working?

nijhawank commented 4 years ago

Nope.

hexdump0815 commented 4 years ago

i think lima slowly gets ito the territory where it might run gnome maybe ... the u3 mali blobs are older than the xu4 ones, so it might be impossible to get it working on the u3 even it it is possible on the xu4