Jump to content

ArkhanLK

Members
  • Posts

    36
  • Joined

  • Last visited

Reputation Activity

  1. Like
    ArkhanLK reacted to jock in CSC Armbian for RK322x TV box boards   
    @ArkhanLK
    These are the steps I did:
    Installed the Armbian focal minimal image I published in the previous post on a sdcard Booted the image, run rk322x-config to configure the system for my board, then rebooted Downloaded the media framework tgz from the linked post on first page, unpacked it and run the installer script with sudo (probably you already know, but the script produces a log file in /tmp directory) Wait for a few minutes until the script finished, then rebooted the box Started kodi with start-kodi command, it booted and everything was smooth. Tried both to stream an mp4 movie from my NAS and also copied another movie on the local system; both movies worked very well with no issues at all. Just tried a few minutes, but everything was just right. Quit kodi, then run apt install --install-recommends armbian-focal-desktop armbian-focal-desktop-xfce lightdm lightdm-autologin-greeter armbian-config Run armbian-config and enabled desktop with autologin from System menu Installed mpv via apt, then run it with the command line of the post on the same movie of above: no problems Installed game data packager with apt install game-data-packare lhasa innoextract, then run it with game-data-packager -i quake to install quake Run quake from command line with glrun quake, it booted, acceleration was active, but there just were a lot of artifacts, but this is expected because of the old Mali drivers. As you see I did nothing particularly strange, maybe the step to install the desktop environment is better handler by armbian-config, but if you need the DE it is even better to use the stable Focal Desktop image.
  2. Like
    ArkhanLK reacted to jock in CSC Armbian for RK322x TV box boards   
    @ArkhanLK I will try to take a look today if I have time
  3. Like
    ArkhanLK reacted to jock in CSC Armbian for RK322x TV box boards   
    @ArkhanLK you're too kind
    Well the media framework was compiled with a Focal of one year ago or so... maybe the packages have been updated in the meantime and now they are not compatible anymore - that's the only thing I can think about.
    Actually nothing is really tied to lightdm, armsoc is a general driver for X.org and maybe something changed in X.org with latest Focal packages that made it not work anymore.
    It is very curious rkmpp does not install though, as far as I remember it had no very important dependencies.
    Did you install the packages via apt-get install or via dpkg? The script uses apt-get install to solve automatically the dependencies and that would be the only sensible way.
     
    To be honest, the box is quite capable to run x264 and x265 1080p streams in Kodi with ffmpeg + rkmpp.
    I should try lubuntu, Armbian is historically tied to xfce but I'm not very fond of. Also it is always suggested to disable window compositing for xfce because the desktop will feel very sluggish with it on, but the media framework should disable it by itself.
  4. Like
    ArkhanLK reacted to jock in CSC Armbian for RK322x TV box boards   
    Here it is!
    It's still weird you have building issues with Focal too, in a step (write uboot) that is mostly just bash scripting...
  5. Like
    ArkhanLK reacted to jock in CSC Armbian for RK322x TV box boards   
    Hmmm... yes, it is indeed contradictory... The "native" building should be referred to building armbian on the board itself, but there is an "x64" there which adds more contradiction confusion.
    By the way, I'm using Focal to build Focal, Buster and Bullseye images and it works fine. Historically the supported distribution for x86-64 building was the latest Ubuntu LTS. There is only a bug in the build system that I don't know if it has been fixed yet, but you may need to install some packages manually (like libfdt), but then it should go on without any more issues
  6. Like
    ArkhanLK reacted to jock in CSC Armbian for RK322x TV box boards   
    Hello @ArkhanLK, be aware of this:
     
    so everything else is a moving target. The tools may work differently on other distributions, with subtle bugs or even build failures, so it is preferable to support a single distro and support it well.
    Personally, I have my 100Gb Ubuntu Focal 20.04 Server virtual machine to do such jobs.
  7. Like
    ArkhanLK reacted to jock in CSC Armbian for RK322x TV box boards   
    Yeah, you're right, the emmc-nand overlay also enables the DDR mode... I forgot I added that thing there too.
    Need to fix that in rk322x-config to be more clear about.
  8. Like
    ArkhanLK reacted to RaptorSDS in CSC Armbian for RK322x TV box boards   
    @jock also emmc-nand produce the error ,  i can boot only    without any of the 3 settings
  9. Like
    ArkhanLK reacted to jock in CSC Armbian for RK322x TV box boards   
    Thanks a lot, this makes the job worth it You're right, that's not just me behind this, so I share the greetings with all the people that helped in this thread!
     
    You can still use Focal Legacy and configure icewm desktop manager even if the image comes preinstalled with xfce, performance should be the same as debian.
    Unfortunately I didn't try on debian. Roughly it should be possible to make it run on, but the package names to resolve the library dependencies changes, so the media packages should be adapted. It was a bit hard to find and fix dependencies, I'm no .deb specialist at all.
    Also Debian Buster comes with some very old packages that should be recompiled and installed manually... it's a bit of headache
    You can extract the script and install each .deb packages manually using apt-get (apt-get install ./the-package.deb), but I don't really know if it brings you anywhere.
    The new developments on the mainline kernel brings new life to hardware decoding and acceleration, but things are still settling down, as you may notice with the release of the first beta versions of LibreELEC 19 and Kodi Matrix: actually I managed to get hardware acceleration work fine on mainline kernel, but the process still requires patching and manual compilation of ffmpeg and Kodi, so there still is some time to wait for.
    Ah, no there is not any tutorial I know about for that, but IMHO it does not really worth it.
    CPU and GPU can be overclocked easily editing the device tree, finding the opp tables (OPerating Points), and modifying frequency and voltages. I don't recommend it, the improvement is very modest at the expense of much greater heat production.
    Unfortunately the CPU is a Cortex-A7, a very old 32 bit only architecture made to do cheap tv boxes. The SoC has dedicated hardware decoding blocks, which are nice, but the hardware specs are minimal for the current standards. It is perfect for some home server things although (network router, NAS, VPN endpoint, dns cache/hole, etc...)
     
    edit: about the boot issue, follow the @RaptorSDSadvice to remove the emmc word from overlays= line in /boot/armbianEnv.txt, or just select emmc-nand in rk322x-config.
  10. Like
    ArkhanLK reacted to RaptorSDS in CSC Armbian for RK322x TV box boards   
    for 2 i do other way i underclock the cpu because of my opinion too hot cpu
    @jock i got my box to a 100% load on all 4 cores  from bug webservice its run at 85 degree stable with 1.2Ghz ( i dont know why last time ( first time with linux after switch from android) at 75 degree the box freeze and short after black screen maybe it wasnt a thermal problem .
     
    for 3.
    i have same problem with UUID , but for me its was only to delete the emmc or nand or emmc-nand part from the armbianENV, the rk3229 and the ledconfig1  parts work great.
     
     
     
     
     
     
     
     
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines