Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Firefly New DualBoot Firmware Release(Beta)

690

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
690
Posted at 6/23/2016 13:13:27      1#
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      2#
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

690

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
690
Posted at 6/24/2016 18:14:56      3#
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

690

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
690
Posted at 6/30/2016 15:31:09      4#
Last edited by mac-l1 In 6/30/2016 15:34 Editor
ujerry Posted at 6/30/2016 12:48
Hi mac-11
I got a libmali.gbm.so from rockchip, but I am not sure if it is available.  in wayland ...

Hi ujerry,

Tnx for your effort! I checked the .so binary file and it needs mali midgard r7p0. As ARM released this for ODROID XU3 I checked these user space libs and that might give a clue how to realize this for weston. I would assume that you need to make a lot of symbolic links: so for libEGL*.so, libGLES*.so and also for libgbm.so  all pointing to this libmali.gbm.so. The libgbm.so is missing for weston to get dri access the gbm way. I would also suggest lubuntu 16.04 as that has latest weston/xwayland libs.



So its a bit of effort here, getting mali r7p0, lubuntu 16.04 and then fixing weston; my guess is that it should work.

Cheers -- mac-l1
Reply

Use props Report

690

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
690
Posted at 6/30/2016 16:48:55      5#
Last edited by mac-l1 In 6/30/2016 16:58 Editor
ujerry Posted at 6/30/2016 16:35
Hi mac-l1
yes , I did that on lubuntu 16.04 .  but chromium broswer has a bug, so we did not rele ...

Hi ujerry,

great that you are working on it!

and then just hope that performance will be better... memeka from the odroid community who helped me before with  libhybris has experience with mali gbm/weston r7p0 on odroid xu3: https://community.arm.com/message/35971#35971. just hope rockchip's lib has better results...

i also asked him about odroid xu3 solutions and performance, see http://forum.odroid.com/viewtopic.php?f=95&t=18905#p149077.  it seems that although our current firefly gpu is working at least, its performance is too low for what should be expected. related to glmark2-es scores he concludes:
your offscreen scores are very low. they should be 5-10 times faster. is there any DVFS on mali? can you disable it?
so wonder what the bottleneck is here. maybe you have some suggestion or can experiment a bit? so off-screen glmark2-es scores should be around 1000 instead of around 200. maybe something wrong with syncronization, memory access, frequencies/power, ... right now no clue...

cheers -- mac-l1



Reply

Use props Report

690

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
690
Posted at 6/30/2016 17:04:11      6#
hi ujerry,

also, i have an original firefly (no reloaded) and two things are really missing with this release or at least they don't work:

1) hdmi audio: i only have audio through the jack and not though hdmi. Asuuga states above that hdmi audio works for him, so i assume he has an firefly reload? and what would be the difference? do you know how to fix hdmi audio for original firefly (not reloaded)?

2) sd card: my mmc/sd card is not detected and i cannot access this external ext4 sd card. that makes it quite hard to develop for me. do you know a way to fix access to sd card for the kernel?

hope you can help me out here. tnx!

cheers -- mac-l1
Reply

Use props Report

690

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
690
Posted at 7/2/2016 00:04:52      7#
Last edited by mac-l1 In 7/2/2016 04:59 Editor
ujerry Posted at 7/1/2016 18:44
Hi mac-l1 & Asuuga:
SD card support has fixed , the code has relepse to github.  
and the dts file ...
hi ujerry, asuuga,

great that you are working on this! tnx!
now sd card is detected but my ext4 partition is not recognized:
  1. [    4.317503] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
  2. [    4.317540] mmc1: new high speed SDHC card at address 0007
  3. [    4.317809] mmcblk1: mmc1:0007 SL32G 28.9 GiB
  4. [    4.318077]  mmcblk1: unknown partition table
Copy the code
@asuuga: regarding vpu:
1) a libhybris vpu solution cannot work because it needs a shared android/linux kernel (3.10) while this is an chromeos kernel (3.14) that isn't compatible with android system. therefore only two solutions are left for this kernel:
2) vcodec vpu_service solution (as used in android) and is already included in this kernel and activated, might also support hevc/h265 decoding; the vpu_service needs proprietary vpu user space libs for linux from rockchip
3) v4l2 vpu support as used in chromeos (basically a decent solution for linux) however haven't seen any hevc decoding  yet with these v4l2 drivers

right now i have experimented a bit with solution 2 and got my first h264 movie decoded with my own test_vpu software so in principle it works. however it is still a long way to zero-copy hw accelerated kodi...

cheers -- mac-l1
Reply

Use props Report

690

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
690
Posted at 7/5/2016 13:14:41      8#
ujerry Posted at 7/4/2016 17:54
Hi mac-l1:
sd card support's bug had fix, kernel code had push to github today. a new verison.
n ...

hi ujerry,
great that you fixed sd card! tnx!
and for mali r9p0: do i also need a different libmali.so file?
can you share it? that would be great, tnx!
cheers -- mac-l1
Reply

Use props Report

690

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
690
Posted at 7/5/2016 13:26:24      9#
Last edited by mac-l1 In 7/5/2016 13:33 Editor
mo123 Posted at 6/24/2016 14:04
Hi Mac_L1

Here is Rockchip's Android Kodi.

hi mo123,

forgot to reply: i am afraid i cannot use this for linux kodi with this kernel because it is a lot of android specific code using android specific libraries. the only way would be the use libhybris but that would require the same android kernel also for linux, i.e. v3.10. right now linux uses a different kernel, i.e. the chromeos kernel (3.14).
it might also be possible if somebody got android running on kernel 3.14. i noticed several kernel 3.14 android releases for rk3288 on rockchips githubs and even kernel 4.4, that are probably used to get android apps running on chromeos like on rk3288 chomebook flip http://www.bitkistl.com/2016/06/working-android-apps-on-chromebook-flip.html (android M) i actually would expect that these chromeos images could run on firefly with the right 3.14 kernel, similar like the current firefly linux one.

cheers -- mac-l1
Reply

Use props Report

690

Credits

0

Prestige

0

Contribution

advanced

Rank: 4

Credits
690
Posted at 7/6/2016 04:25:27      10#
isle Posted at 6/27/2016 09:24
Hi guys,
the kernel source code is here : https://github.com/T-Firefly/firefly-3.14-kernel
and th ...

Hi isle,
Can you also share your armsoc driver sources on github and also libdrm sources that you used?
Would be great! Tnx!
Cheers -- mac-l1
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