PINE64
Kernel 5.2 and OpenSource Mali Driver - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook (https://forum.pine64.org/forumdisplay.php?fid=76)
+--- Forum: Linux on Pinebook (https://forum.pine64.org/forumdisplay.php?fid=79)
+--- Thread: Kernel 5.2 and OpenSource Mali Driver (/showthread.php?tid=7810)

Pages: 1 2


Kernel 5.2 and OpenSource Mali Driver - matze79 - 08-08-2019

Hi,

is anyone here using Linux Kernel 5.2 with Lima Driver on the Pinebook ?

i want to give it a shot, but have not net informed howto install a custom kernel on the pinebook. 
Maybe soon i will find the time to check it out Smile

Is there already some experimental package around ? Smile

Thanks

Matthias!


RE: Kernel 5.2 and OpenSource Mali Driver - tophneal - 08-08-2019

(08-08-2019, 09:04 AM)matze79 Wrote: Hi,

is anyone here using Linux Kernel 5.2 with Lima Driver on the Pinebook ?

i want to give it a shot, but have not net informed howto install a custom kernel on the pinebook. 
Maybe soon i will find the time to check it out Smile

Is there already some experimental package around ? Smile

Thanks

Matthias!

The Manjaro for Pinebook images now use kernel 5.2 if you want to try it out without compiling the kernel yourself.


RE: Kernel 5.2 and OpenSource Mali Driver - Luke - 08-09-2019

(08-08-2019, 09:38 AM)tophneal Wrote:
(08-08-2019, 09:04 AM)matze79 Wrote: Hi,

is anyone here using Linux Kernel 5.2 with Lima Driver on the Pinebook ?

i want to give it a shot, but have not net informed howto install a custom kernel on the pinebook. 
Maybe soon i will find the time to check it out Smile

Is there already some experimental package around ? Smile

Thanks

Matthias!

The Manjaro for Pinebook images now use kernel 5.2 if you want to try it out without compiling the kernel yourself.

Is Lima functional on those?


RE: Kernel 5.2 and OpenSource Mali Driver - matze79 - 08-11-2019

Hm got latest image from Manjaro Page has only Kernel 5.0.x 

so i don`t think it will work out of the box.

But hey, there is now a driver.. and no one has it working yet ?


RE: Kernel 5.2 and OpenSource Mali Driver - e-minguez - 08-12-2019

(08-11-2019, 08:09 AM)matze79 Wrote: Hm got latest image from Manjaro Page has only Kernel 5.0.x 

so i don`t think it will work out of the box.

But hey, there is now a driver.. and no one has it working yet ?

Actually if you run:
Code:
sudo pacman -Syu


you will get linux 5.2


RE: Kernel 5.2 and OpenSource Mali Driver - tophneal - 08-12-2019

(08-09-2019, 09:22 AM)Luke Wrote:
(08-08-2019, 09:38 AM)tophneal Wrote:
(08-08-2019, 09:04 AM)matze79 Wrote: Hi,

is anyone here using Linux Kernel 5.2 with Lima Driver on the Pinebook ?

i want to give it a shot, but have not net informed howto install a custom kernel on the pinebook. 
Maybe soon i will find the time to check it out Smile

Is there already some experimental package around ? Smile

Thanks

Matthias!

The Manjaro for Pinebook images now use kernel 5.2 if you want to try it out without compiling the kernel yourself.

Is Lima functional on those?

To be honest, nothing appears outwardly different and I never thought to check it out thoroughly after the update. I'll run lspci -v when I get home to it, unless someone else wants to beat me to it.

Code:
inxi -G

shows

Code:
Graphics:  Device-1: sun50i-a64-mali driver: lima v: kernel

I'm going to dig out my hdmi adapter and try that out. Maybe there's been a positive change.


RE: Kernel 5.2 and OpenSource Mali Driver - matze79 - 08-13-2019

Got 5.2 up and running Smile 

Lets check for MESA Driver and DRI Smile

lima drm driver is loaded.


Still waiting for finishing Distribution Upgrade.. to check for mesa drivers.

EDIT: mesa defaults to llvmpipe.

EDIT#2:
Lima Driver is avaible in /usr/lib/dri/lima_dri.so

EDIT#3
Xorg tells:
FBTURBO(0): no 3d accelration because the driver has compiled without libUMP

EDIT#4:
Forget about FBTURBO - modesetting Driver is required.


RE: Kernel 5.2 and OpenSource Mali Driver - matze79 - 08-13-2019

Got it working.

Still issues, can`t get glxgears to work properly.
Maybe its misconfigured.

2D Rendering Errors also occur.


sdm login -> black bars and no text.


RE: Kernel 5.2 and OpenSource Mali Driver - sdgathman - 08-17-2019

(08-13-2019, 05:38 AM)matze79 Wrote: Got 5.2 up and running Smile 

Lets check for MESA Driver and DRI Smile

Running Fedora 30 with kernel-5.2.8, here is what inxi -G shows:

Graphics:
  Device-1: sun50i-a64-mali driver: lima v: kernel
  Device-2: sun8i-a83t-dw-hdmi driver: N/A
  Display: x11 server: Fedora Project X.org 1.20.5
  driver: fbdev,modesetting resolution: 1920x1080~N/A
  OpenGL: renderer: llvmpipe (LLVM 8.0 128 bits) v: 3.3 Mesa 19.1.3


I have no trouble playing videos, and glxgears gets 130FPS.  I have no plans to play even tux racer...

What I most want to see working is CPU scaling.  Second most is internal wifi.


RE: Kernel 5.2 and OpenSource Mali Driver - matze79 - 08-18-2019

(08-17-2019, 01:35 PM)sdgathman Wrote:
(08-13-2019, 05:38 AM)matze79 Wrote: Got 5.2 up and running Smile 

Lets check for MESA Driver and DRI Smile

Running Fedora 30 with kernel-5.2.8, here is what inxi -G shows:

Graphics:
  Device-1: sun50i-a64-mali driver: lima v: kernel
  Device-2: sun8i-a83t-dw-hdmi driver: N/A
  Display: x11 server: Fedora Project X.org 1.20.5
  driver: fbdev,modesetting resolution: 1920x1080~N/A
  OpenGL: renderer: llvmpipe (LLVM 8.0 128 bits) v: 3.3 Mesa 19.1.3


I have no trouble playing videos, and glxgears gets 130FPS.  I have no plans to play even tux racer...

What I most want to see working is CPU scaling.  Second most is internal wifi.


You run Software Rendering not HW.

i`m talking about enabling Mali 400 HW Rendering on Linux.

Several programs using OpenGL, not only Games.

At least GLES is working on 3.10.
So i can use OpenHantek.