There is no libreelec working yet for rk3128.
But basically it's similar to rk3228a (just no 4k and no vp9 hw decoding).
I'll try to do something for sure but I need some time.
There is no libreelec working yet for rk3128.
But basically it's similar to rk3228a (just no 4k and no vp9 hw decoding).
I'll try to do something for sure but I need some time.
Display More
As is the way with eBay - I got sent a device with a RK3128 - with only 2GB of flash...
So tried just to get Android Kodi and snapclient to work, using shared database and was going to run some cron jobs on a vm utilising adb to keep kodi alive AND periodically clean the cache..
I even blocked it from reaching out to internet and internet reaching it (unless one of my other devices get owned)
BUT The audio output was screwed.. terrible ground noise coming out it.. I've ordered one of those silly 3.5mm to RCA spdif cables.. but I don't trust it and am processing the return.. I'm hoping they can send a 3128a or 3129 and will see how it goes.So the solution was messy but may have been okay just to play audio..
I have a backup plan if it takes a while to get one, or it is not supported again.
Hi AllanK,
sadly sometimes sellers are unreliable.
So did you get an rk3128 or an rk3228?! Because they are two different socs (my builds are for rk322x boards). I have in my hands an rk3128 box which is similar to the rk3229 but I haven't started doing anything yet. Technically libreelec should go decent on that platform.
Yeah, same configs I tried. I do not feel the need to go over 720p. But it’s all very, very slow. Slow to the point where the subtitles are more advanced than the video. It’s unwatchable.
hmm that's weird. Have you configured the inputstream.adaptive addon to limit it to 720 for secure (drm protected) streaming?!
Can you send me some kodi logs please!?
For emulation, it's been a while since I used it (although fbneo and snes seemed to work). I'll do some tests and let you know
ilmich ,
thanks for your reply!
I'm not in a hurry, as tinkering with my mxqpro is just a once-in-a-while hobby, so I can wait until you have time and energy to merge the required driver into the next build. Also, the driver being merged into the official kernel will solve my problem for good.
I'm patiently waiting for the next build.
Best regards!
a little more patience. I have received other boxes and have noticed some problems that I'm trying to resolve. The driver will be there in the next build but I can't test it. In the meantime, can you check that your USB stick is not also seen as an optical support to install the drivers?!?! Because in that case the mode switch must be done, like here https://github.com/ilmich/LibreEL…odeswitch.rules, but I would need the vendorid and deviceid
Hi ykaj,
first of all, thanks for all the amazing work you've been doing to keep our old rk322x boxes alive!
thank you, your words are very appreciated.
When I ran armbian with mainline kernel (the same version your LE build is using), I could use my external adapter normally to connect to wifi. What am I missing? Is there anything I could do to activate my external wifi dongle and make it permanently usable? Perhaps try to compile myself the proper module? Or could you try to include this (I've read elsewhere that rtl8188ftv works with rtl8188fu module) in a future build?
I've noticed that this driver should be soon merged in the official kernel (https://patchwork.kernel.org/project/linux-…[email protected]/).
Anyway, for me there is no problem in including this driver, but at this moment I can't build & test newer builds. So you should wait until next week.
If you want to try to build yourself libreelec(feel free to ask how), this is the commit that you can keep as an example
and if works you can send me a pull request.
Cheers
Michele
Hi chaigon,
Display MoreKodi 18.9:
Iso - LibreELEC-RK322x.arm-9.2-devel-20220112104139-32e9f1d-rk3229-d88.img
Despite the programs (addons) working fine when installed, streaming such as Netflix and Amazon started to experience the following problems:
. Lists of series and episodes stopped updating.
. The series still listed, for the most part, stopped working and would not start playing, regardless of internet connection, or resolution/quality.
. Disney does not use Brazilian Portuguese subtitles at all. In fact, most of the time, it simply does not support subtitles.
kodi 18.9 and libreelec 9.2 are out of support by me and netflix kodi addon maintainer. So basically the addon version for kodi 18.x simply does not work anymore.
Display MoreIAGL:
After installing all emulators and configuring just like in Kodi 18, Playstation games do not work and show the error that BIOS files cannot be found. Then, obviously, I tried installing the BIOS files, either manually or using the BIOS Tool, but when trying to run a game I have new problems:
. It is informed that there is an internal error in the emulator (Regardless of the Playstation emulator used);
. The game opens but restarts kodi soon after (Kodi log is not generated);
. Game won't open and Kodi freezes (Kodi log is not generated);
. Kodi just restarts (Kodi log is not generated);
. Sometimes the message that BIOS files were not found is displayed, before freezing/restarting the system (Kodi log is not generated);
. After any of these errors Kodi freezes at random times (Kodi log is not generated);
In order to address these issues, I have:. Reinstalled Kodi, installing Retroarch, configuring, then configuring IAGL. (Didn't solve any of the problems for emulating PlayStation games);
. Tried to add the Bios files manually and through the Bios Tool (It only solved the problem of not finding the Bios files temporarily, but it didn't solve the other problems for PlayStation);
. Installed just the IAGL, install the PlayStation emulators, add the Bios files (it just solved the problem of not finding the Bios files temporarily, but it didn't solve the other problems for PlayStation);
. Installed the emulators from other sources (It didn't solve any of the problems to emulate PlayStation games);
I'm a sporadic retrogamer (and I love 8-bit platforms), so never tried a playstation emulator. Which emulator are you using(pcsx, duckstation.. etc etc)?!?!?! I can try to update binary addon and if works send patch upstream.
Streaming Apps:
The Netflix and Amazon apps keep their lists updated, which did not happen on Kodi 18, but some problems began to appear such as:
. Applications run videos very slowly, even at resolutions like 720p, which was not the case with Kodi 18;
. There are small or large crashes in the videos, after that, the video, the subtitles and the audio, lose sync;
With my builds, netflix works decent if you set video resolution == streaming resolution. The box can reproduce a <=720p netflix stream only with 720p display resolution.
Other combinations may not works (specially on ddr2 box). This is because kodi supports hardware video decoding (for drm protected streaming)only on Android. So with libreelec is all software decoded, and the cpu/gpu has no power to decode and render at the same time. Keep in mind also that in my builds I'm using the open-source GPU driver. Which is a bit slower, but better because it's open.
Please find attached photos of my board!
never seen before . Is a board with ddr2 or ddr3!??!(I've recognized the wifi ssv6051p chip and maybe the NAND)
Cheers
Michele
Hi all,
unfortunately yesterday my board r29 (rk3229 nand and ddr3) smoked and died. This slightly reduces my chances of future development on that type of card (rk3229 + ddr3).
so I kindly ask for help from those who have rk3229 boxes/boards that can donate to me.
Who is interested please contact me privately
Thanks
Michele
Hi all,
new build available with:
- linux 5.10.152
- mesa 22.2.2
- fix for ssv6051p broadcast ARP request (aka ssh connections not working).. thanks to an armbian user
- switch to ondemand governor
- various small fixes
- updated libreelec to the latest upstream changes
Cheers
Michele
Hi Harleythetech,
thanks for your feedback. I currently use 'conservative' as a governor. This governor is less responsive but keeps the clock low during playback for the benefit of the system temperature.
I'm doing some tests with the default governor (ondemand), but surely keeping the cpu at maximum is not optimal.
However, the trick I explained to you I could put it as an indication "at your own risk" (like overclocking).
Can you bring back the Passthrough option in Audio settings of LibreElec?
I think I gave you an experimental build in its time. I have never been able to get passthrough for hdmi to work (although I have found some patches for allwinner that should also go on rockchip). If you confirm that it works, I could mark this feature as experimental.
Hi MIKMXIII,
thanks for the logs.
I discovered 2 things. The first is that you are Italian like me (or you like to see Italian TV) .
The second is that you use third-party addons for questionable streaming. I've read around that python has some bugs currently, or some incompatibility with kodi. But in any case, I don't think I can do much and the box works as expected (aka you would probably have problems even using kodi on your PC with that addons).
cheers
Michele
hi markosc,
thanks for the invaluable support. So from what I understand
rk3229-box-v88mars works, slow but works
rk3229-box-mxq4kpro works but crash
rk3229-box-v88mars-ovclk / rk3229-box-v884k-ovclk works but crash.
I ask you for the latest test, to rule out application bugs.
Inside the extlinux.conf file add the parameter cma = 128M. Here is an example
APPEND boot=UUID=3003-4337 disk=UUID=7e1f7cb6-2d57-45d8-bc99-ac316c2f31f6 quiet console=uart8250,mmio32,0x11030000 console=tty0 cma=128M
If even so, you have problems, I try to generate a dts starting from libreelec legacy.
I changed some voltage values to reduce the heat generated (libreelec legacy is a furnace)
Welcome AllanK
my goal is to have a stable build. I have 3 boxes, one of which is used regularly as a media center without any problem.
Clearly supporting all existing variants is complex, and user support is key to solving problems that I can't test.
But libreelec mainline is the future.
So in the best case, your board will run smoothly and you will be satisfied. Otherwise, you have to be patient and help me figure out how to solve problems.
edit: Take a look here too, Tanix TX2 RK3229 MPD DAC Hi Res Audio Bitperfect. A user has turned his rk3229 box into an audio system.
Cheers
Michele
markosc can you please try with a device tree with ddr3 disabled?!(like v88mars dtb)?!
i guess the limitation is really on linux compatibility with the box
I'm curious is there anyway to make the cpu run at full 1.5GHz all the time? I found that when you run the CPU at 1.5Ghz all the time on armbian it makes the system a bit more smoother than having it jump around frequencies.
I'm still using the last test build you sent me.
It is a collection of things in reality.
More complex software, opensource driver based on reverse engineering (longer development times, especially because the mali400 is rather old and therefore less interesting to evolve), etc etc
For example, I have a lakka build somewhere, and the ui is very smooth because it is less complex than the kodi one.
But supporting mainline development has enormous benefits.
Because you can reuse your box indefinitely (or almost) and for anything (mediacenter, nas, home automation, music)
However, to get the cpu up to speed, launch this command from a terminal
put in
if you want to be automatically launched at boot
hi markosc,
try with this build
Unofficial RK322x Libreelec testing builds — ilmich6502
I tried a fix for graphics kernel driver. I have also restored the clocks/voltage of July.
please let me know.
hi MIKMXIII,
for both problems check your network. If the system has no problems with local video, and without being able to see any logs, I can tell you that the problem is in the network connection. Try the ethernet cable if you are using wifi.
hi markosc,
thanks for the logs. For the boot problem, I think it needs to go back to the initial voltages because they don't work for everyone.
For the other problem, I saw an error in the kernel graphics driver. I'm trying to figure out what it might be about
[ 767.033159] 8<--- cut here ---
[ 767.033192] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[ 767.033208] pgd = f3e566c2
[ 767.033218] [00000000] *pgd=9c974835
[ 767.033245] Internal error: Oops: 817 [#1] SMP ARM
[ 767.038858] Modules linked in: 8021q garp stp llc tun joydev snd_usb_audio snd_hwdep snd_usbmidi_lib snd_rawmidi snd_seq_device ccm snd_soc_hdmi_c
odec snd_soc_spdif_tx ssv6051 mac80211 snd_soc_simple_card snd_soc_simple_card_utils rockchip_vdec(C) libarc4 hantro_vpu(C) rockchip_iep rockchip_rga
videobuf2_vmalloc videobuf2_dma_sg videobuf2_dma_contig videobuf2_memops v4l2_h264 v4l2_mem2mem videobuf2_v4l2 videobuf2_common cfg80211 videodev dw
_hdmi_i2s_audio snd_soc_rockchip_spdif snd_soc_rockchip_i2s snd_soc_rk3228 snd_soc_rockchip_pcm snd_soc_core mc snd_pcm_dmaengine snd_pcm snd_timer s
nd sch_fq_codel fuse
[ 767.101218] CPU: 2 PID: 961 Comm: kodi.bin Tainted: G C 5.10.148 #1
[ 767.109879] Hardware name: Generic DT based system
[ 767.115373] PC is at _raw_spin_lock+0x0/0x40
[ 767.120242] LR is at objects_lookup+0x1c/0xd8
[ 767.125204] pc : [<c0995b28>] lr : [<c058a740>] psr: 280f0013
[ 767.132337] sp : c3857d50 ip : 00000000 fp : cd1b4d84
[ 767.138275] r10: c34e0600 r9 : c34e0600 r8 : 00000001
[ 767.144210] r7 : c3857d78 r6 : c3857d74 r5 : c3857df4 r4 : c3857e74
[ 767.151627] r3 : c3857d78 r2 : 00000001 r1 : c3857d74 r0 : c34e0638
[ 767.159038] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 767.167141] Control: 10c5387d Table: 6396006a DAC: 00000051
[ 767.173655] Process kodi.bin (pid: 961, stack limit = 0x417e00f3)
[ 767.180570] Stack: (0xc3857d50 to 0xc3858000)
[ 767.185512] 7d40: c3857e74 c3857df4 c4f36200 c30d8800
[ 767.194794] 7d60: c3864640 c34e0600 00000010 c058a980 c30d8800 00000071 00000000 c1004f88
[ 767.204074] 7d80: c3857e74 c05ce334 c9230280 c1ab8600 00000dc0 c10051c4 00000000 cd1b4d48
[ 767.213363] 7da0: c4e58180 c3864598 00000000 00000000 00000000 00000000 00000000 c1004f88
[ 767.222652] 7dc0: c3864584 c3857e74 c19c42e0 cd1b4d48 c34e0600 c34e0800 cd1b4800 c4e58240
[ 767.231937] 7de0: 00000000 c05cb224 00000018 00000051 c34e0600 c34e0800 00000000 00000000
[ 767.241222] 7e00: cd1b4800 cd1b4d48 000000a9 00000000 00000000 00000002 c4e58240 c1004f88
[ 767.250505] 7e20: 00000000 40306443 00000000 c0a62248 bec24928 c3857e74 00000043 c34e0600
[ 767.259772] 7e40: 00000030 c058ce20 0000e280 00000001 c0b8898c c0159af8 00000000 c3857e74
[ 767.269056] 7e60: 00000030 c2466840 c05cafcc 00000051 00000000 00000000 00000000 000000a9
[ 767.278342] 7e80: 00000018 025af488 00000000 bec249e0 00000000 00000000 00000002 00000000
[ 767.287627] 7ea0: 00000000 ef6c86c0 885d6200 00000000 000000b2 ef6c284c ef6c28c8 ef6c28f0
[ 767.296911] 7ec0: ef6c2918 c01ae7fc c1cbee00 4858ec2c 885d6200 ef6c86c0 000000b2 885d6200
[ 767.306193] 7ee0: ef6c284c c01b0b7c 00000000 7fffffff ffffffff c1004f88 ef6c28c8 40306443
[ 767.315474] 7f00: c2466841 40306443 bec24928 c2466840 0000001d c1b5a038 00b6a014 c02bdfa4
[ 767.324752] 7f20: 00000000 00000000 88207add 000000b2 01064f50 c9231100 c10054ac 0000001b
[ 767.334029] 7f40: c9230280 c920c000 c3857f90 c3857fb0 00b6a014 c078c88c c9231100 c0187340
[ 767.343311] 7f60: c0f94474 00000000 c0f94474 00000000 00000000 c01812b4 c10054ac c1004f88
[ 767.352594] 7f80: f0802000 0257f810 bec24928 40306443 00000036 c01002c4 c3856000 00000036
[ 767.361879] 7fa0: 00b6a014 c0100060 0257f810 bec24928 0000001d 40306443 bec24928 00000000
[ 767.371164] 7fc0: 0257f810 bec24928 40306443 00000036 01056ac0 00000002 00dd607c 00b6a014
[ 767.380447] 7fe0: b49c1114 bec2490c b49b7568 b482411c a80f0010 0000001d 00000000 00000000
[ 767.389756] [<c0995b28>] (_raw_spin_lock) from [<c058a740>] (objects_lookup+0x1c/0xd8)
[ 767.398756] [<c058a740>] (objects_lookup) from [<c058a980>] (drm_gem_object_lookup+0x38/0x60)
[ 767.408437] [<c058a980>] (drm_gem_object_lookup) from [<c05ce334>] (lima_gem_submit+0x98/0x59c)
[ 767.418316] [<c05ce334>] (lima_gem_submit) from [<c05cb224>] (lima_ioctl_gem_submit+0x258/0x344)
[ 767.428295] [<c05cb224>] (lima_ioctl_gem_submit) from [<c058ce20>] (drm_ioctl+0x1fc/0x3d4)
[ 767.437680] [<c058ce20>] (drm_ioctl) from [<c02bdfa4>] (sys_ioctl+0x3b4/0xa5c)
[ 767.445888] [<c02bdfa4>] (sys_ioctl) from [<c0100060>] (ret_fast_syscall+0x0/0x54)
Display More
same as before,but I can't say if there is some margin on mesa development that can make mali 400 works better, or we have reached the best possibile driver. but keep in mind that estuary skin is not the fastest one, confluence for example is much smoother.
I repeat myself too, show me the error. It could be a voltage not compatible with your card (I have 3 boards and it seems strange to me)
. But you understand that it's hard for me when someone says .. it doesn't work, but then it disappears or doesn't give helpful information.
If, on the other hand, it's a voltage problem, use the dts of the version that works. In other words copy the dts from july version (you can find them in the .tar version of my builds)
But again, without the system logs, you can write anything, but I can't help you / improve my builds.
You always do it, you say nothing works but then you don't help me understand.
thank you