Amlogic S905X2

Thanks for the clarification. As I said, I am mostly used to x86 and MIPS devices, sorry for that.

Are the changes merged ?

Yes, it was pushed yesterday.

Thank you for your efforts but the WiFi is so much slow compared to android. I think it must be from the driver implementation itself.

Can you use iperf to compare the performance between Android and CE?
Can you also test the build I posted and see if it’s also slow.

I will do that

I think that the problem is related to the driver it self.
I did an “iw phy” and only the HT20 mode showed up. No HT40 in the driver whilst the datasheet says that the BCM43430 chip supports 150mbps speeds

Edit: my bad, the real AMPAK datasheets says only 20 Mhz, what a crappy WiFi module. I am sure that it only costs 0.1 USD !!!

Thanks for your suggestion. iperf helped me actually to pinpoint the problem and now CoreELEC speeds are better than Android ones. The problem was the WiFi channel that my router was using for the 2.4 Ghz AP. I set it now to channel 6 and the results are below

ANDROID____

Accepted connection from 192.168.1.119, port 50412
[ 5] local 192.168.1.130 port 5201 connected to 192.168.1.119 port 50414
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.00 sec 3.15 MBytes 26.4 Mbits/sec
[ 5] 1.00-2.00 sec 4.43 MBytes 37.2 Mbits/sec
[ 5] 2.00-3.00 sec 4.47 MBytes 37.5 Mbits/sec
[ 5] 3.00-4.00 sec 4.25 MBytes 35.7 Mbits/sec
[ 5] 4.00-5.00 sec 4.15 MBytes 34.8 Mbits/sec
[ 5] 5.00-6.00 sec 4.39 MBytes 36.9 Mbits/sec
[ 5] 6.00-7.00 sec 4.70 MBytes 39.4 Mbits/sec
[ 5] 7.00-8.00 sec 4.29 MBytes 36.0 Mbits/sec
[ 5] 8.00-9.00 sec 4.42 MBytes 37.1 Mbits/sec
[ 5] 9.00-10.00 sec 4.48 MBytes 37.6 Mbits/sec
[ 5] 10.00-10.09 sec 242 KBytes 22.0 Mbits/sec


[ ID] Interval Transfer Bandwidth
[ 5] 0.00-10.09 sec 0.00 Bytes 0.00 bits/sec sender
[ 5] 0.00-10.09 sec 43.0 MBytes 35.7 Mbits/sec receiver

Server listening on 5201

CoreELEC____

CoreELEC:~ # iperf -c 192.168.1.130
Connecting to host 192.168.1.130, port 5201
[ 5] local 192.168.1.119 port 41118 connected to 192.168.1.130 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 5.31 MBytes 44.6 Mbits/sec 0 154 KBytes
[ 5] 1.00-2.00 sec 5.26 MBytes 44.2 Mbits/sec 0 170 KBytes
[ 5] 2.00-3.00 sec 5.41 MBytes 45.4 Mbits/sec 0 170 KBytes
[ 5] 3.00-4.00 sec 5.32 MBytes 44.6 Mbits/sec 0 170 KBytes
[ 5] 4.00-5.00 sec 5.47 MBytes 45.9 Mbits/sec 0 184 KBytes
[ 5] 5.00-6.00 sec 5.37 MBytes 45.1 Mbits/sec 0 184 KBytes
[ 5] 6.00-7.00 sec 5.51 MBytes 46.2 Mbits/sec 0 184 KBytes
[ 5] 7.00-8.00 sec 5.45 MBytes 45.7 Mbits/sec 0 184 KBytes
[ 5] 8.00-9.00 sec 5.42 MBytes 45.4 Mbits/sec 0 184 KBytes
[ 5] 9.00-10.00 sec 5.48 MBytes 46.0 Mbits/sec 0 184 KBytes


[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 54.0 MBytes 45.3 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 53.7 MBytes 45.0 Mbits/sec receiver

Poor speeds are definitely down to the chip that is used as the KVIM3 is more than double that speed with 3 walls between the router and the device and it uses the exact same driver.

image

Yes, the built-in wifi in most of the cheap boxes is pretty bad. But I’m glad that CE performs better than Android after fixing the AP channel. :slight_smile:

For sure the WiFi module AP6398S is way better than those WiFi chips used on those cheap TV boxes. May I ask whether driver for AP6255 is included in the 0810 build? My X96S TV stick still couldn’t find any WiFi adapter.

So Im about to buy a T95Q S905x2, is it still recommended to install on sdcard or can one install directly on emmc?

There is no installtointernal support on kernel 4.9, and it’s not planned.

Alright, thank you for the quick response, sd is it then.
How is the ethernet on those cheap boxes? gigabit all good or real slow?

Depends on box.

Its luck of the draw I’m afraid with these devices, if you want guaranteed gbit then your best to go with VIM3 or N2.

Some are also only 100M.

Yeah you really need to check the specification, some exact same models listed on ebay have diffrent network ports…

The one I checked (T95Q) says it has 1000M and almost 1/3 price of N2 :frowning:

There’s a reason all these boxes are dirt cheap.

I tried to hookup a USB 3.0 Gigabit ethernet dongle (RT8153), CE recognizes it with lsusb but either the driver is not included or CE is not installing the associated interface. Is there any step to perform or a driver to include ?

RT8153 USB3.0-Gbit LAN adapter works fine with CE here.