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!
#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.
#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


#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 ?
#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
#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.
#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.
#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: 565)
.jpg   lima1.jpg (Size: 59.68 KB / Downloads: 548)
#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.
#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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinebook Wlan Driver does not work properly matze79 2 4,926 12-15-2019, 02:50 AM
Last Post: matze79
  KDE Neon Image - Where can i find the Kernel Source ? matze79 4 6,735 08-14-2019, 04:27 AM
Last Post: matze79
  kernel 4.x erchache2000 6 8,854 11-21-2018, 12:10 PM
Last Post: boballen55
  PPP support & kernel update eblot 0 2,311 11-13-2018, 04:58 AM
Last Post: eblot
  4.X Kernel? Corkonian 1 3,752 09-14-2018, 06:21 AM
Last Post: Luke
  How to test the emmc(usdhc2) diver and pwm backlight driver? vinothkumar 0 2,162 12-29-2017, 11:40 PM
Last Post: vinothkumar
  Q4os upgraded from Jessie to Stretch - how to upgrade kernel tillea 4 6,105 11-02-2017, 12:24 AM
Last Post: q4osteam
  Looking for the Mali support... rondoor 1 3,737 10-06-2017, 03:47 AM
Last Post: leszek
  Understanding Kernel Choice fordiebianco 3 5,385 07-02-2017, 07:33 AM
Last Post: fordiebianco

Forum Jump:


Users browsing this thread: 4 Guest(s)