Kernel 5.2 and OpenSource Mali Driver
#1
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!
  Reply
#2
(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.
  Reply
#3
(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?
You can find me on IRC, Discord and Twitter


  Reply
#4
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 ?
  Reply
#5
(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
  Reply
#6
(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.
  Reply
#7
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.
  Reply
#8
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.


Attached Files
.jpg   lima.jpg (Size: 131.75 KB / Downloads: 22)
.jpg   lima1.jpg (Size: 59.68 KB / Downloads: 22)
  Reply
#9
(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.
  Reply
#10
(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.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  KDE Neon Image - Where can i find the Kernel Source ? matze79 4 121 08-14-2019, 04:27 AM
Last Post: matze79
  kernel 4.x erchache2000 6 652 11-21-2018, 12:10 PM
Last Post: boballen55
  PPP support & kernel update eblot 0 112 11-13-2018, 04:58 AM
Last Post: eblot
  4.X Kernel? Corkonian 1 361 09-14-2018, 06:21 AM
Last Post: Luke
  How to test the emmc(usdhc2) diver and pwm backlight driver? vinothkumar 0 196 12-29-2017, 11:40 PM
Last Post: vinothkumar
  Q4os upgraded from Jessie to Stretch - how to upgrade kernel tillea 4 1,311 11-02-2017, 12:24 AM
Last Post: q4osteam
  Looking for the Mali support... rondoor 1 707 10-06-2017, 03:47 AM
Last Post: leszek
  Understanding Kernel Choice fordiebianco 3 550 07-02-2017, 07:33 AM
Last Post: fordiebianco

Forum Jump:


Users browsing this thread: 1 Guest(s)