[Nov 13] Slackware Aarch64 Miniroot & XFCE (20181101) / NextCloudPi (11-04-18) / Armbian Debian Stretch Desktop & Armbian Ubuntu Bionic (5.65) - Rock64 |[Nov 12] Q4OS ( 2.4-r5) - 1080P Pinebook / Pinebook |[Nov 09] KDE Neon ( 20181104-1500) - 1080P Pinebook / Pinebook /Arch Linux (20181104) - Pinebook |[Nov 09]Arch Linux (20181104) /Armbian - Xenial (5.56) - PineA64-LTS / SOPINE |[Nov 09]Armbian (5.65) /Arch Linux (20181104) /motionEyeOS (20180627) - PINE A64(+) |[Nov 02] Volumio ( 2.462-2018-09-29) - Rock64 |[Oct 23] AOSC with Mate Desktop [20181016] - Pinebook / Q4OS (2.6-r3) - Pinebook

Project Inspiration | Get Started | IRC Logs | Forum Rules/Policy


Fedora 27 on Pine64
#11
(08-09-2018, 11:11 AM)heatfanjohn Wrote: Ugh, I just found out that there currently isn't any MALI GPU support in Fedora for the A64 chip ...

It's confusing to me on how to add that support to Fedora.  Too many new names for me: UMP, SimpleFB, LIMA Driver, MESA, LIMA-MESA ...

I'm not sure what's the best way to go.

Sad

This looks promising ...

https://developer.arm.com/products/softw...li-drivers

Cool
Reply
#12
(08-09-2018, 12:16 PM)heatfanjohn Wrote:
(08-09-2018, 11:11 AM)heatfanjohn Wrote: Ugh, I just found out that there currently isn't any MALI GPU support in Fedora for the A64 chip ...

It's confusing to me on how to add that support to Fedora.  Too many new names for me: UMP, SimpleFB, LIMA Driver, MESA, LIMA-MESA ...

I'm not sure what's the best way to go.

Sad

This looks promising ...

https://developer.arm.com/products/softw...li-drivers

Cool

This looks even more promising:
https://www.kickstarter.com/projects/boo...escription

The Bootlin guys are making Linux mainline drivers for the Allwinner VPUs. Expect magic to happen on the 64 bit cores in the next few months.
Reply
#13
Hi guys! Thanks for the information about fedora support for Pine64+. I'm trying to use it, but I can see some kernel messages on boot process, I can't get any video output for console. There's any way to change it and output things to hdmi instead of serial?
Reply
#14
(09-23-2018, 03:01 AM)decko Wrote: Hi guys! Thanks for the information about fedora support for Pine64+. I'm trying to use it, but I can see some kernel messages on boot process, I can't get any video output for console. There's any way to change it and output things to hdmi instead of serial?

As I understand it right now there isn't any Open Source support for the VPU (Mali) used in the A64 SoC.  Bootlin is working on getting Open Source support for the Mali VPU into the Linux kernel.  Support for the Allwinner A64 was a stretch goal for a Kickstarter campaign to add support for the Mali VPU to the Linux kernel.

That being said, I just reread Bootlin's 9/14 posting on their work and I appear to have been confused between VPU support and GPU support.  Their Kickstarter work was for VPU support which is for video processing.  For getting a Desktop to work we appear to need only GPU support which may already be possible.  See below from their posting:  https://bootlin.com/blog/allwinner-vpu-s...e-week-37/

Quote:Thomas Petazzonisays:
September 19, 2018 at 3:08 pm
Your Qt QML application is using OpenGL, which requires the GPU. Our project is about supporting the VPU, that helps with video decoding. Hence, unless your Qt QML application does video decoding+rendering, the VPU is totally useless for you.
However, your Qt QML application can already work with the mainline Linux kernel. We have done some integration of the Mali kernel drivers and we provide Mali userspace blobs that work with the upstream Linux kernel. See https://bootlin.com/blog/mali-opengl-support-on-allwinner-platforms-with-mainline-linux/ and https://bootlin.com/blog/more-opengl-binaries-for-the-mali-support-on-allwinner-platforms-with-mainline-linux/ for more details.
Reply
#15
Do I really need GPU acceleration to use basic video support on AllWinner SoC? I just wanted to see a basic console. But no problem. I just got my serial adapter to plug the Pine64+ and see whats happening on boot process.

(09-23-2018, 10:02 AM)heatfanjohn Wrote:
(09-23-2018, 03:01 AM)decko Wrote: Hi guys! Thanks for the information about fedora support for Pine64+. I'm trying to use it, but I can see some kernel messages on boot process, I can't get any video output for console. There's any way to change it and output things to hdmi instead of serial?

As I understand it right now there isn't any Open Source support for the VPU (Mali) used in the A64 SoC.  Bootlin is working on getting Open Source support for the Mali VPU into the Linux kernel.  Support for the Allwinner A64 was a stretch goal for a Kickstarter campaign to add support for the Mali VPU to the Linux kernel.

That being said, I just reread Bootlin's 9/14 posting on their work and I appear to have been confused between VPU support and GPU support.  Their Kickstarter work was for VPU support which is for video processing.  For getting a Desktop to work we appear to need only GPU support which may already be possible.  See below from their posting:  https://bootlin.com/blog/allwinner-vpu-s...e-week-37/

Quote:Thomas Petazzonisays:
September 19, 2018 at 3:08 pm
Your Qt QML application is using OpenGL, which requires the GPU. Our project is about supporting the VPU, that helps with video decoding. Hence, unless your Qt QML application does video decoding+rendering, the VPU is totally useless for you.
However, your Qt QML application can already work with the mainline Linux kernel. We have done some integration of the Mali kernel drivers and we provide Mali userspace blobs that work with the upstream Linux kernel. See https://bootlin.com/blog/mali-opengl-support-on-allwinner-platforms-with-mainline-linux/ and https://bootlin.com/blog/more-opengl-binaries-for-the-mali-support-on-allwinner-platforms-with-mainline-linux/ for more details.
Reply
#16
(09-25-2018, 07:42 AM)decko Wrote: Do I really need GPU acceleration to use basic video support on AllWinner SoC? I just wanted to see a basic console. But no problem. I just got my serial adapter to plug the Pine64+ and see whats happening on boot process.

The serial adapter to the UART is the way to go to see the console.  As it stands now there is no video driver for the Pine64+ Mali GPU in the standard Linux kernel.  There is no `/dev/fb0` frame buffer device.

I've been able to build the Mali kernel module for Fedora 28, but the module won't load because the GPU isn't in the Linux DTB for the Pine64+.
I'm now trying to figure out how to add that to DTB for the A64 chip.

Although, now I'm reading that this driver just produces the `/dev/mali` device.  All I'm trying to do is to get the HDMI port and X11 to work.
Reply
#17
Sad 
I feel like I've been on a fool's errand trying to get the GPU to work on my Pine A64+, however, it is true that you learn more when things don't work than when they do.  I've successfully built and loaded a kernel module on Fedora.  I've also successfully modified and built a custom Device Tree Blob from the Linux source.  However, getting a desktop (Wayland) to run on my Pine A64+ has been more challenging and more involved.  My stumbling block now is getting a DRM (Direct Rending Manager) driver to load and work on my device.  The "standard" sun4i-drm driver requires much more than just a GPU node in the DTB.

I've gotten close, but still no "cigar".  

The good news is that support for the GPU and HDMI on the A64 chip appears to be on the horizon and specifically in Linux Kernel 4.20 which should be actively being worked on since 4.19 just got released.

Hopefully I can get my hands on a stable 4.20 release to play with soon.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Official build procedure of ayufan pine64 r.tanaka 0 177 08-21-2018, 10:54 PM
Last Post: r.tanaka
  Pine64: Minimal SDL config Max11 2 238 08-08-2018, 12:19 AM
Last Post: tllim
  DKMS on kernel 3.10.107-pine64 obrienmd 5 263 06-21-2018, 05:45 PM
Last Post: evilbunny
  Programming languages support under PINE64 baryluk 5 2,164 03-09-2018, 01:52 AM
Last Post: kaokaobang
  Volumio for PINE64 Released mikelangeloz 9 4,500 12-11-2017, 04:52 AM
Last Post: pineadmin
  Gentoo for pine64 - longsleep kernel incoherent 0 527 12-09-2017, 08:14 AM
Last Post: incoherent
  Fedora Running On Pine64! cztian 26 3,478 10-26-2017, 05:51 PM
Last Post: gregjo
  pine64 problem reboot ludo77 1 483 10-23-2017, 04:47 PM
Last Post: tllim
  problem pine64 when reboot ludo77 2 402 10-23-2017, 02:37 AM
Last Post: Luke
  Pine64 mainlining CallMeFoxie 3 749 10-15-2017, 10:00 PM
Last Post: ak_hepcat

Forum Jump:


Users browsing this thread: 1 Guest(s)