-
Posts
1416 -
Joined
-
Last visited
Reputation Activity
-
NicoD got a reaction from aaditya in Is anyone Using a RK3399 SBC like the Nanopi M4 as a Desktop System
Hi. I use the NanoPi M4V2 as main desktop. Works great with the default kernel and the media script from jmcc.
Video playback for youtube is 1080p 30fps or 720p60fps. While video files up to 4k can be watched.
In mainline we're working on getting good video playback. Now that only works in default kernel, but GPU drivers now work in mainline.
I've got many other sbc's. None that is this powerful, has such good software, and great I/O with the PCIe gpio's.
Greetings.
-
NicoD got a reaction from denni_isl in Khadas vim board
That's supported too. You need to change the files extlinux.conf and uenv.ini to make them point to the correct .dtb file(look into dtb folder) for the vim3 with a311d. Works great. I'm running it on an ssd. Greetings.
-
NicoD reacted to aaditya in Build Armbian with Panfrost (outdated)
Thanks for the instructions @NicoD!
I modified the mesa build options to enable egl:
meson -D egl=true -D gles1=true -D gles2=true -D shared-glapi=true -Ddri-drivers= -Dvulkan-drivers= -Dgallium-drivers=panfrost,kmsro -Dlibunwind=false -Dprefix=/usr build/
With egl one can compile and run git version of supertuxkart.
-
NicoD got a reaction from mar0ni in Build Armbian with Panfrost (outdated)
Panfrost instructions Armbian
!!!! I made a script that does all this, check a few posts later for the script !!!!!
This tutorial explains how to build an Armbian image with panfrost. And what else you need to make it work.
These are early drivers. Many things don't work yet. Only OpenGL 2.1 works now.
You need to build an image with kernel 5.2 or later.
For this you need an x86 pc with Ubuntu 18.04 or a virtual Ubuntu 18.04 x86 image.
First install git, then clone the build folder from Armbian, and enter the build directory.
apt-get -y -qq install git git clone --depth 1 https://github.com/armbian/build cd build Now run the script with EXPERT=yes so you can choose to build a dev image.
sudo ./compile EXPERT=yes Choose "Full OS image for flashing" Then "Show a kernel configuration menu before compilation" Choose your board. If it's not in the regular list, look in "Show SCS/WIP/EOS/TVB". Choose Development version kernel configuration -> device drivers -> graphic drivers -> panfrost
Let it run until it's finished. The image will be in the /build/output/images
Burn it to an SD-card/eMMC/...
Now we need to install all the needed software
sudo apt install flex bison python3-mako libwayland-egl-backend-dev libxcb-dri3-dev libxcb-dri2-0-dev libxcb-glx0-dev libx11-xcb-dev libxcb-present-dev libxcb-sync-dev libxxf86vm-dev libxshmfence-dev libxrandr-dev libwayland-dev libxdamage-dev libxext-dev libxfixes-dev x11proto-dri2-dev x11proto-dri3-dev x11proto-present-dev x11proto-gl-dev x11proto-xf86vidmode-dev libexpat1-dev libudev-dev gettext glmark2 glmark2-es2 mesa-utils xutils-dev libpthread-stubs0-dev ninja-build bc python-pip flex bison cmake git valgrind llvm llvm-8-dev python3-pip pkg-config zlib1g-dev wayland-protocols Download and install meson
wget http://ftp.de.debian.org/debian/pool/main/m/meson/meson_0.55.3-1_all.deb sudo dpkg -i meson_0.55.3-1_all.deb Download and install mesa DRM
git clone git://anongit.freedesktop.org/mesa/drm cd drm meson build --prefix=/usr ninja -C build sudo -E ninja -C build install cd .. Download and install mesa graphics
git clone git://anongit.freedesktop.org/mesa/mesa cd mesa meson -Ddri-drivers= -Dvulkan-drivers= -Dgallium-drivers=panfrost,kmsro -Dlibunwind=false -Dprefix=/usr build/ ninja -C build/ sudo ninja -C build/ install REBOOT
Optionally, update sdl (recommended)
git clone https://github.com/SDL-mirror/SDL.git cd SDL mkdir build cd build cmake ../ make -j6 sudo make install REBOOT
Only thing that works ok with it is supertuxkart, to install it.
sudo apt install supertuxkart
Panfrost - Linux games working from repo
SuperTuxKart - Works well
ExtremeTuxRacer - lots of glitches
AssaultCube - lots of glitches
Instructions by Salvador Liébana & NicoD
-
NicoD got a reaction from manuti in Is anyone Using a RK3399 SBC like the Nanopi M4 as a Desktop System
Hi. I use the NanoPi M4V2 as main desktop. Works great with the default kernel and the media script from jmcc.
Video playback for youtube is 1080p 30fps or 720p60fps. While video files up to 4k can be watched.
In mainline we're working on getting good video playback. Now that only works in default kernel, but GPU drivers now work in mainline.
I've got many other sbc's. None that is this powerful, has such good software, and great I/O with the PCIe gpio's.
Greetings.
-
NicoD reacted to martinayotte in NanoPi M4 Mainline wifi not working
Most probably NetworkManager issue again and again ... Try to disable it and do "old school" /etc/network/interface config, I bet it will work ...
-
NicoD reacted to amirul in Build Armbian with Panfrost (outdated)
Magicsee N6 Max rk3399
Armbian_19.11.4_Arm-64_bionic_dev_5.5.0-rc2_desktop_20191228 with rk3399-rock-pi-4.dtb tweaked to cpuspeed 1.70 & 2.01 GHz
Boots to desktop , usable with some artifacts - will test again upon kernel update
Thanks balbes & NicoD
-
NicoD reacted to balbes150 in The list of models that are running Armbian (Amlogic, Rockchip, Allwinner etc)
Starting from version 19.11.4, armbian TV supports Tanix TX6 with Allwinner H6 processor, 3Gb RAM, USB 3.0, LAN 100Mb, mali T720.
Given that Panfrost has added support for the mali T720 (which is used in this model), it is a promising enough model to use.
There are already Libreelec and Armbian for this TV box model.
+ Eachlink H6 (Allwinner H6) Hurry up to buy these models before the sellers learned about this possibility and raised the price ....
-
NicoD reacted to aaditya in [Rock Pi 4] USB storage is flaky on USB 3 OTG port
A workaround/fix for this is to edit the dts and set USB3_0 to 'host' instead of 'otg'.
Found here.
-
-
NicoD reacted to balbes150 in Single Armbian image for RK + AML + AW (aarch64 ARMv8)
The answer to @NicoD question. The latest universal images include all the necessary files to enable color correction on g12. Additionally, I downloaded the patch files to run from the SD card and from USB media.
https://yadi.sk/d/34zrTk5iEsfqhg
-
NicoD got a reaction from balbes150 in Armbian for Amlogic S905X3
I've included the files to make the color look correct as attachment to this message. Just unpack and copy to the boot partition.
@balbes150 I couldn't find them in your downloads either. I still had them on an SBC.
------------------------------------
Here my review video about the X96Air. Not my best work. I rushed it a bit too much and forgot to mention many things. Like the boot.ini files to adjust the wrong color. I also couldn't make my PS3 controller to work in Android. I forgot to mention the transfer speeds....
X96Air ------ | Clock S/C | B/C | Blender | 7z S/C | 7Z B/C | glxgears | CPUMiner | SBCBench Armbian Buster 1.91Ghz 37m36s 1775 7.1 http://ix.io/2481 Armbian Bionic 1.91Ghz 42m07 1739 6.5 http://ix.io/2490 Temperatures ------------ Idle 55C 86C maxed out after +30 minutes. No throttling. Transfer speeds --------------- Armbian Buster 5.4.1 On-Board sd-card reader read : 20MB/s write : 17MB/s SSD over USB3 read : 378.7MB/s write : 290.7MB/s Armbian Bionic 5.4.1 On-Board sd-card reader read : 23MB/s SSD over USB3 read : 402.8MB/s write : 365.8MB/s
boot.S905X3.7z
-
NicoD got a reaction from 0jay in My most useful Linux terminal commands for Ubuntu/Debian
Hi all. For a new video I've made a list with my most used/useful terminal commands.
Please let me know what I've missed, or which commands you use most.
Useful Linux commands for Ubuntu/Debian --------------------------------------- Update/Install -------------- sudo apt update Update repolists sudo apt upgrade Upgrade system/programs sudo apt autoremove Remove obsolete programs sudo apt install programName Install program sudo apt remove programName Remove program sudo aptitude install When having issue's with apt, aptitude can help to solve this sudo apt update && sudo apt upgrade Update and upgrade together/You can run multiple commands with && sudo dpkg -i packageName.deb Install .deb file Root user --------- sudo passwd Change root password su Super User/Enter root user Debug/Monitor ------------- dmesg Shows debug messages uname -a Shows basic system information env Shows the environment information htop Hardware monitor Switch terminal --------------- ctrl + ALT + F4 (F1 - F6) Open new terminal 4 ctrl + ALT + F1 Go back to terminal 1 ctrl + ALT + F7 Go back to desktop Reboot/Shutdown --------------- sudo reboot Reboot sudo shutdown now Shutdown CPU Tools --------- cpufreq-set -g performance Set governor to performance cpufreq-set -u 2Ghz Set max frequency for all cores cpufreq-set -c 0-1 -u 1.8Ghz Set max frequency for specific cores lscpu | grep MHz Show cpu frequency taskset -c 3 programName Use a specific core for an application Files/Directories ----------------- nano /home/fileToRemove.txt Create a txt file with Nano. You could use any other texteditor. touch filename Create an empty file, no matter what kind cat /home/fileToRemove.txt Shows the content of a file cp /home/fileToRemove.txt /home/copy.txt Copy file find /home/ -iname "*.txt" Search files that end with .txt comm /home/fileToRemove.txt /home/copy.txt Compare files rm /home/fileToRemove.txt Remove file mv /home/copy.txt ~/Documents/ Move file mkdir /home/directoryToGoTo/ Create directory cd /home/directoryToGoTo/ Go to directory ls List directory ls -l Gives more information about every file/directory ls -l filename.txt Gives file information pwd Show current working directory cd .. Go to the above directory rmdir /home/directoryToGoTo/ Remove directory wget http://www.website.com/file.txt Download file Zip/Tar/GunZip -------------- zip myzip file1 file2 file3 Create zip file unzip myzip.zip Unzip file tar xvf filename.tar gunzip filename_tar.gz Mount drives/USB Devices ------------ lsusb List USB devices lsblb List attached drives mount /mount/mountedDisk /dev/sda2 Mount drive sudo chmod -R 777 /mount/mountedDisk Give user read/write permissions df -a List all filesystems Swap file/ZRam -------------- sudo apt install zram-config Install zram script sudo fallocate -l 8G /swapfile Allocate 8GB for swapfile sudo chmod 600 /swapfile Give the correct rights for the swapfile sudo mkswap /swapfile Make it a swapfile sudo swapon /swapfile Turn on the swapfile sudo nano /etc/fstab Open fstab and add the line ... |_ /swapfile swap swap defaults 0 0 Wifi ---- sudo nano /etc/network/interfaces and write: auto wlan0 iface wlan0 inet dhcp wpa-ssid {ssid} wpa-psk {password} OR nmcli device wifi rescan Scan for available wifi networks nmcli device wifi list Show available wifi networks nmcli device wifi connect SSID-Name password wireless-password Connect wifi ip a Show ip ifconfig iwconfig Change Keyboard Layout ---------------------- sudo dpkg-reconfigure keyboard-configuration Set keyboard layout Add display resolution ---------------------- cvt 2560 1440 60 Select the display resolution you want # 2560x1440 59.96 Hz (CVT 3.69M9) hsync: 89.52 kHz; pclk: 312.25 MHz Modeline "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync xrandr --newmode "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync Add resolution, everything after Modeline from cvt is copied after newmode xrandr --addmode HDMI-1 2560x1440_60.00 Add the new resolution to your display xrandr --newmode "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync && xrandr --addmode HDMI-1 2560x1440_60.00 Others ------ reset Clear terminal shift + page up Scroll up shift + page down Scroll down tab Autocomplete ctrl + c Quit for many programs date Show date/time cal Show calender Funny commands -------------- sl First need to install "sudo apt install sl", then try it out. It's great :) sl -alF cmatrix fortune/fortune-mod cowsay figlet toilet ponysay inxi cat /dev/urandom :(){ :|:& };: Endless loop (useful to test CPU maximized temperatures) Armbian ------- sudo armbianmonitor -m sudo armbian-config change cpu settings sudo nano /etc/default/cpufrequtils Made by NicoD
-
NicoD reacted to Igor in My most useful Linux terminal commands for Ubuntu/Debian
This website might be useful in this context: https://linuxjourney.com/
-
NicoD got a reaction from Werner in Build Armbian with Panfrost (outdated)
Here my video where I show how to download and install everything. And some gameplay.
Again thank you to @balbes150 for the images.
-
NicoD got a reaction from rino in Build Armbian with Panfrost (outdated)
It has gotten a lot easier to use Panfrost now.
Download one of @balbes150 5.x Bionic images for your device.
The panfrost module is already added, all that needs to be done is installing the mesa drivers. For that I made a script.
Download the file here in attachment and unpack it.
Go into the folder Panfrost
cd Panfrost sudo ./installPanfrost.sh Install all for best results.
Panfrost has improved a lot on 5.4. Many games now work normally, some still have some smaller problems. It has become usable.
Greetings, NicoD
Edit : Script update. You now can upgrade the mesa and drm drivers after installation
Update 2 : Also Lima support now.
installPanfrost.sh
-
NicoD reacted to gounthar in Big sale on Odroid MC1
I don't know where to write it, but if there is someone looking for MC1 at discount price, there is a big sale going on.
I took 5 of them to build a h.264 encoding farm.
-
NicoD got a reaction from aaditya in Build Armbian with Panfrost (outdated)
It has gotten a lot easier to use Panfrost now.
Download one of @balbes150 5.x Bionic images for your device.
The panfrost module is already added, all that needs to be done is installing the mesa drivers. For that I made a script.
Download the file here in attachment and unpack it.
Go into the folder Panfrost
cd Panfrost sudo ./installPanfrost.sh Install all for best results.
Panfrost has improved a lot on 5.4. Many games now work normally, some still have some smaller problems. It has become usable.
Greetings, NicoD
Edit : Script update. You now can upgrade the mesa and drm drivers after installation
Update 2 : Also Lima support now.
installPanfrost.sh
-
NicoD got a reaction from rino in Build Armbian with Panfrost (outdated)
Here my video where I show how to download and install everything. And some gameplay.
Again thank you to @balbes150 for the images.
-
NicoD reacted to balbes150 in Single Armbian image for RK + AML + AW (aarch64 ARMv8)
It remains to add the ffmpeg build script with HW, and build MPV and KODI with full-screen video (source code with patches can be taken in LE).
-
NicoD got a reaction from balbes150 in Build Armbian with Panfrost (outdated)
It has gotten a lot easier to use Panfrost now.
Download one of @balbes150 5.x Bionic images for your device.
The panfrost module is already added, all that needs to be done is installing the mesa drivers. For that I made a script.
Download the file here in attachment and unpack it.
Go into the folder Panfrost
cd Panfrost sudo ./installPanfrost.sh Install all for best results.
Panfrost has improved a lot on 5.4. Many games now work normally, some still have some smaller problems. It has become usable.
Greetings, NicoD
Edit : Script update. You now can upgrade the mesa and drm drivers after installation
Update 2 : Also Lima support now.
installPanfrost.sh
-
NicoD got a reaction from sabirovrinat85 in Single Armbian image for RK + AML + AW (aarch64 ARMv8)
Here the script for it. Should work on a clean Bionic build with panfrost module.
I've included meson since there were issues with newer versions, but we needed a newer one than default in the repo.
I haven't tried it myself. I just build everything and wrote the script in between. So please let me know if anyone finds a problem somewhere.
Unpack on clean Bionic 5.x
cd Panfrost sudo ./installPanfrost.sh
Edit : Script has been tested. There was a mistake that I repaired and reuploaded the file. This should work now.
Panfrost.tar.gz
-
NicoD reacted to balbes150 in Single Armbian image for RK + AML + AW (aarch64 ARMv8)
LIMA and Panfrost are included as modules in all kernel 5 images.
If you're going to experiment, you need a mesa-20 , there's a lot of add-ons out there
-
NicoD got a reaction from Werner in Video : How to build your own Armbian image
Hi all.
I've made a new video about how to build your own Armbian image with the Armbian build script.
I also show how to set up virtualbox with a Ubuntu 18.04 image.
Here's the video.
Greetings, NicoD
-
NicoD reacted to balbes150 in Single Armbian image for RK + AML + AW (aarch64 ARMv8)
Good news. Managed to find a way to work around the color issue on G12 platform + kernel =>5.4 with corrupted AML u-boot. You need to download and copy all the files from this directory to the media. New versions 20191208 already have some of the necessary files, you only need to add one file u-boot.ext
Additional file download and copying (u-boot.ext) only need if your device screen color is not correct.
https://yadi.sk/d/MC2brPBu5bmW2Q