Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi Image | ASUS Tinker Board #806

Closed
Fourdee opened this issue Mar 12, 2017 · 32 comments
Closed

DietPi Image | ASUS Tinker Board #806

Fourdee opened this issue Mar 12, 2017 · 32 comments
Assignees
Milestone

Comments

@Fourdee
Copy link
Collaborator

Fourdee commented Mar 12, 2017

http://dietpi.com/phpbb/viewtopic.php?f=9&t=1218&p=5846&hilit=ASUS+tinker#p5175

Funding required for board purchase:
image

@Fourdee
Copy link
Collaborator Author

Fourdee commented Mar 16, 2017

Funded by donation (Thanks Ioan!):
On order, awaiting arrival.

@Fourdee Fourdee added this to the v147 milestone Mar 16, 2017
@Fourdee
Copy link
Collaborator Author

Fourdee commented Mar 20, 2017

Arrived, time to crack on 😃

@Fourdee
Copy link
Collaborator Author

Fourdee commented Mar 20, 2017

Notes:

  • WifI 8723bs
  • Xorg: /etc/X11/xorg.conf.d/20-modesetting.conf
Section "Device"
    Identifier  "Rockchip Graphics"
    Driver      "modesetting"
    Option      "AccelMethod"    "glamor"
    Option      "DRI"            "2"
EndSection
ii  libva-rockchip1:armhf                0.13-2                                    armhf        The VA-API library for the Rock-Chips RK3288.
#libmali-rk*
  • Alsa:
  • 3.5mm = hw:0,2
  • hdmi = hw:1,0
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [USB Audio], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Audio [USB Audio], device 2: USB Audio [USB Audio #2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: rockchipminiarm [rockchip,miniarm-codec], device 0: ff890000.i2s-i2s-hifi i2s-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
  • Apt:
    /etc/apt/sources.list.d/linaro-overlay-repo.list
deb http://repo.linaro.org/ubuntu/linaro-overlay jessie main

/etc/apt/sources.list.d/testing.list

deb     http://cdn.debian.net/debian/    testing main contrib non-free
deb     http://security.debian.org/         testing/updates  main contrib non-free

@Fourdee
Copy link
Collaborator Author

Fourdee commented Mar 20, 2017

Performance:

  • HDMI Limited to 1080p. Not native 4K.
  • Network throughput
Client connecting to 192.168.0.112, TCP port 5001
TCP window size: 91.9 KByte (default)
------------------------------------------------------------
[  5] local 192.168.0.25 port 42764 connected with 192.168.0.112 port 5001
[  4] local 192.168.0.25 port 5001 connected with 192.168.0.112 port 49883
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-30.0 sec  1.49 GBytes   427 Mbits/sec
[  4]  0.0-30.0 sec  3.05 GBytes   873 Mbits/sec

#2
Client connecting to 192.168.0.112, TCP port 5001
TCP window size:  127 KByte (default)
------------------------------------------------------------
[  5] local 192.168.0.25 port 42766 connected with 192.168.0.112 port 5001
[  4] local 192.168.0.25 port 5001 connected with 192.168.0.112 port 49884
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-30.0 sec  1.74 GBytes   498 Mbits/sec
[  4]  0.0-30.0 sec  3.01 GBytes   861 Mbits/sec

  • Heat eff 70'c 1 min burn
  • SD IO, Sandisk Extreme Flash Storage : Write = 37.9 MB/s | Read = 56.2 MB/s
  • Dual channel DDR3 is awesome: RAM : Write = 541 MB/s | Read = 714 MB/s
  • WiFi range/strength is poor with onboard antenna: Signal level=-76 dBm

@Fourdee
Copy link
Collaborator Author

Fourdee commented Mar 20, 2017

GPU:
Not available via optional linaro/testing repos.

root@DietPi:~# apt-cache search libva-rockchip1
root@DietPi:~# apt-cache search libmali-rk

https://github.com/rockchip-linux/libvdpau-rockchip/blob/master/debian/control

Packages available on Official image /packages

Regardless, official image v1.4 GPU is buggy for me. Desktop loads, 5 seconds later black screen and no signal reported on HDMI output. No issues in /var/log/Xorg*.

We'll disable GPU for the time being, wait for improved drivers from Asus/RK.

@Fourdee
Copy link
Collaborator Author

Fourdee commented Mar 20, 2017

GPS installed by default on official image... interesting
image

dpkg -l | grep gpsd
ii  gpsd                      3.16-1~bpo8+1               armhf        Global Positioning System - daemon

Fourdee referenced this issue Mar 21, 2017
+ DietPi-Software | MPD: Updated to 19.21. Also includes optional plugin
support for UPNP playback: https://github.com/Fourdee/DietPi/issues/821

+ Asus TB BT: https://github.com/Fourdee/DietPi/issues/806
@Fourdee
Copy link
Collaborator Author

Fourdee commented Mar 21, 2017

Completed:
http://dietpi.com/#download

@Fourdee Fourdee closed this as completed Mar 21, 2017
@Invictaz
Copy link

Invictaz commented Mar 21, 2017

Well done. Impressive how fast you did it. Was it because the official blob for the GPU and the CPU distro already available from Rockchip?

@Fourdee
Copy link
Collaborator Author

Fourdee commented Mar 21, 2017

@Invictaz

Thanks 👍 We actually used the official ASUS v1.4 image, stripped it (and then some) then optimized for DietPi.

Once we had the info on WiFi/BT modules and various other things, DietPi is coded to allow for new boards fairly quickly. Just a case of adding new code and done.

Just bear in mind, GPU features are not support yet in DietPi for this image, due to:
https://github.com/Fourdee/DietPi/issues/806#issuecomment-287760711

@mmagnetix
Copy link

@Fourdee 👍

receiving the board this week. how does the sdcard perform? the controller is UHS-I might speed things up?

Regards,
Magnetix

@Invictaz
Copy link

@Fourdee

Still too bad there is no Allwinner A10 build. I really could use it.
Some people said that the libvdpau and GPU support is now there partially.

See also my links on issue #824

@Fourdee
Copy link
Collaborator Author

Fourdee commented Mar 22, 2017

receiving the board this week. how does the sdcard perform? the controller is UHS-I might speed things up?

@mmagnetix
Oh yes it does, SDIO 3.0 is really nice, Sandisk Extreme 32GB 60MB/s write rated
image

May get better performance on higher speed card, although, I doubt it will touch Odroid's EMMC 150MB/s

@mmagnetix
Copy link

@Fourdee

Awesome. The goal of Asus is almost there (to be a Raspberry PI killer) Hopefully the GPU driver issue is corrected in the next couple of days. Then Odroid C2 has competition.

the heatsink in the package is it enough to keep the CPU <85c or is did the CPU throttle kicked in?

@Fourdee
Copy link
Collaborator Author

Fourdee commented Mar 23, 2017

@mmagnetix

Hopefully the GPU driver issue is corrected in the next couple of days.

Yep, hopefully. I will test the board on another monitor, just incase its an EDID/auto detect issue.

the heatsink in the package is it enough to keep the CPU <85c or is did the CPU throttle kicked in?

Seems fine, I did a quick 1min CPU burn (8 threads) and only reached 70'c. So in terms of real-world server usage, should never hit thermal throttling unless at full load for 10+ mins.

Then Odroid C2 has competition.

For me, the C2 is still a much better board. Especially for Kodi usage:

Asus doesn't even have an official forum for the tinkerboard (that Google can find). There is no comminuty.

Hopefully things will improve, Asus have the global resources and funds. Lets wait and see :)

@Fourdee
Copy link
Collaborator Author

Fourdee commented Mar 23, 2017

Official v1.4 Asus TB image:

  • 🈺 Interesting, on another TV, i still get the same screen blank after 5 seconds in desktop, however, it does return signal after another 5 seconds.
  • 🈺 Chromium + Youtube performance under egl is dreadful, 720p@30fps = 5-10fps
  • 🈺 Kodi Playback (Bunny 1080p@60fps) is jittery, possible vsync issue (tearing), 100% CPU usage @ 1.5GHz

Yep, think we'll have to wait for improved driver from Asus/Rk on this one. Not worth the current experience.

@mmagnetix
Copy link

mmagnetix commented Mar 23, 2017 via email

@mmagnetix
Copy link

I heard some rumors that the Tinker Board works OK (desktop/Kodi) with mainline Kernel 4.11.

@Fourdee
Copy link
Collaborator Author

Fourdee commented May 11, 2017

Recreate image with latest kernel (based on official v1.8 beta image):


Known issues

  • NTPD may fail to update in time on first run.

@Fourdee Fourdee reopened this May 11, 2017
@bpatrik
Copy link

bpatrik commented Jul 30, 2017

Is there any update on this?
v1.8 stable and v1.9 beta is out since may:
https://www.asus.com/us/Single-Board-Computer/Tinker-Board/HelpDesk_Download/

@bpatrik
Copy link

bpatrik commented Aug 7, 2017

I found a strange bug with Dietpi, Tiner os (1.8 stable, 19, beta) but not with armbian.
If I server some files over http, the tcp connection stops sometimes and the files won't get transferred.
I've also reported this error here too, with more details:
https://tinkerboarding.co.uk/forum/thread-493.html

p.s.: after trying out most of the OS for tinker board, this is my favorite so far. Great job! :)

@Fourdee
Copy link
Collaborator Author

Fourdee commented Sep 7, 2017

Image updated (based on TinkerOS 2.0.1 beta):
http://dietpi.com/downloads/images/DietPi_AsusTinkerBoard-armv7-(Stretch).7z

@Fourdee Fourdee closed this as completed Sep 7, 2017
@qu-crypt
Copy link

do you have any update on this? Is there any hope that the GPU issue is going to be fixed?

@adamotte
Copy link

Can you update the image based on lastest version v2.0.7 - Debian stretch based. 2018/06/22 ?
Thanks.

@Fourdee
Copy link
Collaborator Author

Fourdee commented Aug 18, 2018

@adamotte

Hi thanks for the request, the current DietPi image uses 2.0.5. I'll flag this for update.

@Fourdee Fourdee reopened this Aug 18, 2018
@Fourdee Fourdee modified the milestones: v147, v6.14 Aug 18, 2018
@Fourdee Fourdee self-assigned this Aug 18, 2018
@adamotte
Copy link

@Fourdee, Simple question : Does DietPi support the S version (so with the eMMC) or do we need to install it on SD card ?

@Fourdee
Copy link
Collaborator Author

Fourdee commented Aug 20, 2018

@adamotte

Yes it supports S version 👍

Marking as closed in favor of:
https://github.com/Fourdee/DietPi/issues/2026

@Fourdee
Copy link
Collaborator Author

Fourdee commented Aug 20, 2018

@adamotte

TinkerOS 2.0.7:
https://dietpi.com/downloads/testing/DietPi_ASUSTB-ARMv7-Stretch.7z

Although, this release breaks WiFi. Will leave under testing.
https://github.com/Fourdee/DietPi/issues/2026#issuecomment-414431922

@adamotte
Copy link

Hum i still need WiFi (remote work 🏖️ 🍹 🌞) so i will wait before upgrade. Anyway thanks for the update.

@ravaz
Copy link

ravaz commented Sep 13, 2018

The test link for v2.0.7 doens't work anymore. It there any update on this topic?

@Fourdee
Copy link
Collaborator Author

Fourdee commented Sep 13, 2018

@ravaz

2.0.7 image on its way, see https://github.com/Fourdee/DietPi/issues/2070 for link when its completed.

@MichaIng
Copy link
Owner

@Fourdee
Just found: https://tinkerboarding.co.uk/forum/thread-69.html

Beneath DietPi is listed with the still correct note that GPU features are disabled. But since this is not a note on the official TinkerOS, perhaps something has changed there or it does work on fresh TinkerOS and we break something with DietPi preparation, perhaps accidentally auto purge some required firmware package?

@Fourdee
Copy link
Collaborator Author

Fourdee commented Oct 21, 2018

@MichaIng

break something with DietPi preparation, perhaps accidentally auto purge some required firmware package?

Possibly. I also believe the install has a custom version of xserver packages, to support the GPU. However, I was unsuccessful in getting the provided packages to work, after PREP.

When i'am able, i'll take another look. But low priority for the moment due to other tickets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants