Firefly Open Source Community

   Login   |   Register   |
New_Topic

Firefly New DualBoot Firmware Release(Beta)

87

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
87
Posted at 6/20/2016 18:50:21     
So you replaced the userspace DRM library (libdrm) ? Or is it the kernel DRM driver?
Happy that you will open the source code !

I suppose you already tested the ARM driver. Did it work ?

For the HDMI, it is as if the signal was broke for a very small period of time. It is however enough for my screen to lose the signal, and it takes a couple of seconds for the image to get back on the screen. Nothing seems to appear in the kernel logs.

Concerning the VPU, you said that it was not working at full power and that kodi can't work smoothly. Do you know what is the cause of the problem ? If I can help you, I would be very pleased to do so !

Again, thanks for still sworking on this chip !
Reply

Use props Report

58

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
58
Posted at 6/21/2016 11:32:33     
Last edited by ujerry In 6/21/2016 11:44 Editor

Userspace DRM library  and kernel DRM driver are both needed , notice that userspace DRM library need to add KMS support.
As you say the ARM driver , ARM's driver new only support to mali4xx, so we used opensource armsoc.
For HDMI , maybe you can change another resolution to have a test . or "udevadm monitor" to see if the hdmi connect status changed.  it is may caused by clock jitter.
Reply

Use props Report

127

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
127
Posted at 6/22/2016 04:55:26     
Last edited by andrewsmithty In 6/23/2016 20:10 Editor

some feedback (i have a reload board):
For me the single linux image, has issues with:
- the mouse: at some intervalls (couple tens of seconds) the mouse moving freezes for about 1-2 seconds. after the freeze, it works again. it must be some interrupt problem...
- it doesn't recognise my micro SD card, not even, if it is formatted to ext4 on a host machine.

Thanks,
Endre
Reply

Use props Report

690

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
690
Posted at 6/23/2016 13:13:27     
hi firefly team! just noticed your post. really great!
i had already the gpu running myself with similar performance, and just yesterday started on the vpu service. and i also saw you have audio support built in kernel. great, all ingredient for kodi to work great.
hope you share soon and i will focus on a kodi version.
really great!
cheers -- mac-l1
Reply

Use props Report

690

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
690
Posted at 6/24/2016 07:11:44     
Last edited by mac-l1 In 6/24/2016 07:26 Editor
isle Posted at 6/17/2016 17:45
Hi zeno:
the kodi can't work smoothly with this version.the GPU havn't worked on it's  full-pow,a ...

Hi guys,

Just made a prelimary kodi release for this ubuntu image. This has GPU working at 60 fps in X11, however no VPU support yet. Audio depends on pulseaudio or alsa settings and support of the image, right now I have only heard sound through audio jack.

Install by typing the following in a terminal/shell:
  1. sudo apt-get install curl
  2. curl -O http://mac-l1.com/v1.0.1/install_mackodi.sh
  3. bash install_mackodi.sh
  4. sudo reboot
Copy the code

If you like my work, please donate..

Cheers -- mac-l1
Reply

Use props Report

254

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
254
Posted at 6/24/2016 14:04:22     
Hi Mac_L1

Here is Rockchip's Android Kodi.
https://github.com/JamesLinEngineer/RKMC/commits/Jarvis

I don't know if it will help with Linux Kodi perhaps?
Reply

Use props Report

87

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
87
Posted at 6/24/2016 17:44:59     
ujerry Posted at 6/21/2016 11:32
Userspace DRM library  and kernel DRM driver are both needed , notice that userspace DRM library nee ...

Hi uJerry,

I don't understand why you say that ARM's driver only support mali4xx. ARM's x11 driver can support the mali76X according this page : http://malideveloper.arm.com/res ... user-space-drivers/ (release r6p0-02rel0 for Firefly). Or I misunderstood ?

I wiil try to monitor udevadm for the HDMI problem and tell you the results.

Also, I experience the same problem than andrewsmithty with the mouse (and also keyboard).

Thanks !
Reply

Use props Report

690

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
690
Posted at 6/24/2016 18:14:56     
Last edited by mac-l1 In 6/24/2016 20:01 Editor

Hi all,

FYI: chromium-browser can now also run with GPU acceleration, see: http://forum.odroid.com/viewtopic.php?f=112&t=8267

Steps:
1. Run chromium.
2. Enter about:flags as URL.
3. Disable Override software rendering list (1st one).
4. Close the browser.
5. Run the chromium with "chromium-browser --use-gl=egl" in a terminal/shell
6. Enter about:gpu as URL

You can see it is fully hardware accelerated

Youtube.com plays video. Too bad netflix does not play, because widevine is not supported for armhf.

In order to get a feeling of current GPU performance in X11, see: http://seemore.playcanvas.com/. It takes some time loading, bar progresses slowly. Then click on the menu-icon and select render mode "Albedo" and you should see some GPU rendering. Then click on the statistics-icon to show the performance. I get about 30 fps and that seems a bit slow regarding the GPU processor. Wonder what the fps would be in chrome on Android as a reference.

Also strange that on odroid xu3 they reach twice the fps in X11 with similar hardware (t62x). I feel it has to do with the complete graphics stack, and especially the armsoc ddx being the bottleneck. That is why I asked ARM if they plan to release a mali t76x weston/wayland GBM user space driver for firefly / rk3288 like they did for odroid xu3, see https://community.arm.com/message/37177. That way we would not need armsoc anymore, just weston/xwayland that does more effective and efficient compositing.

Cheers -- mac-l1
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 6/27/2016 09:24:36     
Hi guys,
the kernel source code is here : https://github.com/T-Firefly/firefly-3.14-kernel
and the armsoc will come up later.
Reply

Use props Report

58

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
58
Posted at 6/27/2016 10:00:04     
Asuuga Posted at 6/24/2016 17:44
Hi uJerry,

I don't understand why you say that ARM's driver only support mali4xx. ARM's x11 dri ...

Hi Asuuga,
Yes , the mali's user space driver can support mali76x, and we certainly used it, It contains a number of dynamic library files,but it is not the x11 display driver.
mali's x11 display driver in this page
http://malideveloper.arm.com/res ... 11-display-drivers/
and it is not support  mali76x, only support mali4xx,  so , x11 display driver we use armsoc.
They are two different parts.
there are a few parts for opengl-es support:
in kernel:
1. kernel Mali GPU driver
2. kernel DRM driver
in userspace
3. x11 display driver(armsoc , for x11 display via drm)
4. mali's userspace driver(libmali.so)
5.drm library

for the problem for mouse and keyboard , Can you provide some kernel log? as we can not reproduce the problem.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list