Display MoreHi all
I've discovered that the WiFi driver we've been using for these builds (lwfinger/rtl8188eu) is causing serious instability with this media box. When streaming over WiFi, the media player is prone to lock-up / freeze. Further inspection of the kernel crash logs revealed that it was this wifi module causing the crashes...
So I switched to another driver instead (aircrack-ng/rtl8188eus), and now the WiFi seems not only more stable, but also faster (my speeds more than doubled)! But most importantly, the system no longer freezes up.
To swap the driver, simply change PKG_VERSION, PKG_SHA256, PKG_SITE and PKG_URL in packages/linux-drivers/RTL8188EU/package.mk as follows:
CodePKG_VERSION="00b0e77e705decd2d0b633dfff7a23ce1fb9399c" PKG_SHA256="2de882d5bda036d0b0aaf68bbefe9b42c776921bbfe2af0c8fab94e9abe9f195" PKG_SITE="https://github.com/fragtion/rtl8188eus" PKG_URL="https://github.com/fragtion/rtl8188eus/archive/$PKG_VERSION.tar.gz"
I've built LibreELEC-Amlogic_MX2.arm-9.2.8.16 with the aircrack-ng driver, as well as dtech's ADDON_SERVER_URL for binary repository support. You can download it here: https://drive.google.com/drive/folders/…8V6bxBFeQe41lDk
If your MX2's remote isn't working, download remote.conf to /storage/.config/remote.conf, and then execute the following command via ssh: remotecfg /storage/.config/remote.conf
Weirdly I'm working on something unrelated to librelec which uses the RTL8188F, and I can confirm the official realtek driver is terrible, afaics it's a precarious stack of old driver code and patches. There has been some effort to reverse what the driver does, tidy it and implement it in to the linux kernel, but since the only developers with documentation are realtek it seems there hasn't been much attempt to figure out why everything is set the way it is, probably because lack of people around who know and possible compatibility breakage.
I use my STB wired, mainly because 2.4G routers tend to war (because about only 3 channels are used) and you'll have degraded performance from that happening.