fraz0815
-
Posts
41 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by fraz0815
-
-
Basic tool to change screen orientation and its touch input on gnome wayland desktops.
Built for Gnome Wayland and displays without automatic touch input rotation after orientation change.
Sadly xrandr and xinput are things of the past in times of wayland. And since I mounted a FHD touchscreen to my rock-5b which can be rotated, this caused some trouble for me.
Mabye useful fur other people mounting displays with touch support on their SBC's in crazy spots 😛
Basically it's just a combination of gnome-randr.py and creating a udev rule with calibration matrix.
Fun project to test out chatGPT 😀
https://github.com/fraz0815/gptouch -
Just stumbled over another chromium fork:
https://github.com/Alex313031/Thorium
Forum search did not show any entries, so I thought I might share.
The arm64 builds (for raspberry though) works great, it even has googly sync, widevine etc, check describtion for more info.
It works out-of-the-box on legacy rock-5b jammy gnome images with liujianfeng1994 ppa enabled.
For installation/updates one could also use:
wget https://dl.thorium.rocks/debian/dists/stable/thorium.list sudo mv thorium.list /etc/apt/sources.list.d/ sudo apt update sudo apt install thorium-browser
I usually like to test https://paveldogreat.github.io/WebGL-Fluid-Simulation/ which also runs smooth with webgl on the rock-5b.
This might be a good choice, till upstream support makes it easier to find a up2date browser with gpu support.
-
Are AI generated (stable-diff) pictures allowed? Copyright is quite unclear afaik.
This post can be deleted and the answer maybe put in first post for better overview. -
imho android gpu drivers are often more mature for gaming/emulation.
-
Rock Pi-4B - Armbian_23.05.1_Rockpi-4b_jammy_current_6.1.30_gnome_desktop.img
installed to emmc: logs
wlan, hdmi, nvme working
Rock-5B - Armbian_23.05.1_Rock-5b_jammy_legacy_5.10.160_gnome_desktop.img
Took me a while to boot from SD, was using an older 23.05-trunk version.
Even 'sudo dd if=zero.img of=/dev/mtdblock0' with radxa zero.img would continue to boot happily from nvme instead of sd, changed armbianEnv.txt to sd root, updated bootloaderon mtd -> worked.
besides mtd being a mystical thing for me, almost anything worked:
installed to mtd+nvme: logs
using btrfs on nvme + mtd did not work (don't know if supported, but installer lets you pick it).
performance with panfrost ppa's enabled is absolutely stunning.
Btw, this time for testing I used my 45W PD PSU (+ PD C<->C Cable 60W) instead of fixed 5V@4A w/o errors and activated the max 12V PD option in armbian-config just for fun.
Sensors report edin0: 12.00 V (min = +12.00 V, max = +12.00 V) curr1: 1.50 A (max = +1.50 A)
and had no reboots or whatsoever.
-
Okay, somehow i got lost between the repos, next-gen and 150balbes (.
Thanks, let's find out out where I went wrong and what else I might pulled 🙂
-
Currently we get 'sduuid' in form of
[[ -z $sdblkid ]] && sdblkid=$(blkid -o full /dev/mmcblk*p1) # 3 - Extract the UUID from $sdblkid via regex: sduuid=$(echo "$sdblkid" | sed -nE 's/^.*[[:space:]]UUID="([0-9a-zA-Z-]*)".*/\1/p')
which outputs only UUID
78cdc7b8-0f2e-4444-ba7c-38aa26198de1
This is fine, as long as we use it correctly afterwards, but everytime we modifify fstab,
echo "${sduuid} /media/mmcboot ext4 ${mountopts[ext4]}" >> "${TempDir}"/rootfs/etc/fstab echo "/media/mmcboot/boot /boot none bind 0 0" >> "${TempDir}"/rootfs/etc/fstab
which results in
# <file system> <mount point> <type> <options> <dump> <pass> tmpfs /tmp tmpfs defaults,nosuid 0 0 78cdc7b8-0f2e-4444-ba7c-38aa26198de1 /media/mmcboot ext4 defaults,noatime,commit=600,errors=remount-ro,x-gvfs-hide 0 1 /media/mmcboot/boot /boot none bind 0 0 UUID=52f9b8a6-b6ab-4e81-a362-5c4ca041d539 / ext4 defaults,noatime,commit=600,errors=remount-ro,x-gvfs-hide 0 1
Missing "UUID=" and prevents booting correctly.
But we cannot simply change sduuid, because on other steps it is used correctly. Maybe make clear which variable has the form of "UUID=XXXXX-XXX-XXXX" in their name, for better understanding, like
sduuid for only UUID ("blabla-bla") and sdwuuid für "UUID=blabla-bla".
Or use the lazy mode with a check before we modify fstab and add "UUID" as simple string.
Example log
Spoilercat /var/log/nand-sata-install.log
Sun May 14 11:31:23 PM CEST 2023: Start armbian-install.
Old UUID: UUID=78cdc7b8-0f2e-4444-ba7c-38aa26198de1
SD UUID: 78cdc7b8-0f2e-4444-ba7c-38aa26198de1
SATA UUID: UUID=52f9b8a6-b6ab-4e81-a362-5c4ca041d539
eMMC UUID:
Boot: $1
Root: $2 /dev/nvme0n1p1 ext4
Usage: 4895
Dest: 44227/etc/fstab:
UUID=78cdc7b8-0f2e-4444-ba7c-38aa26198de1 / ext4 defaults,noatime,commit=600,errors=remount-ro 0 1
tmpfs /tmp tmpfs defaults,nosuid 0 0/etc/mtab:
/dev/mmcblk1p1 / ext4 rw,noatime,errors=remount-ro,commit=600 0 0
/dev/mmcblk1p1 /var/log.hdd ext4 rw,noatime,errors=remount-ro,commit=600 0 0
/dev/nvme0n1p1 /mnt/armbian-install.CyDgPN/rootfs ext4 rw,relatime,stripe=32 0 0
/dev/zram1 /var/log ext4 rw,relatime,discard 0 0Files currently open for writing:
packageki 2313 root 10u REG 179,1 32768 135722 /var/lib/PackageKit/transactions.db
colord 2634 colord 5u REG 179,1 16384 135743 /var/lib/colord/mapping.db
colord 2634 colord 6u REG 179,1 28672 135744 /var/lib/colord/storage.db
colord 2634 colord 7u REG 179,1 28672 135744 /var/lib/colord/storage.db
pulseaudi 3063 rock 10u REG 179,1 12288 259682 /home/rock/.config/pulse/9e37a4772d8740b5bb96b8e39212a59e-device-volumes.tdb
pulseaudi 3063 rock 11u REG 179,1 16384 259683 /home/rock/.config/pulse/9e37a4772d8740b5bb96b8e39212a59e-stream-volumes.tdb
pulseaudi 3063 rock 12u REG 179,1 12288 259684 /home/rock/.config/pulse/9e37a4772d8740b5bb96b8e39212a59e-card-database.tdb
evolution 3600 rock 12u REG 179,1 86016 259771 /home/rock/.local/share/evolution/addressbook/system/contacts.db
tracker-m 3937 rock 9ur REG 179,1 2809856 259696 /home/rock/.cache/tracker3/files/meta.db
tracker-m 3937 rock 10u REG 179,1 41112 266876 /home/rock/.cache/tracker3/files/meta.db-wal
tracker-m 3937 rock 11ur REG 179,1 32768 266877 /home/rock/.cache/tracker3/files/meta.db-shm
tracker-m 3937 rock 13ur REG 179,1 1294336 259709 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Documents.db
tracker-m 3937 rock 14u REG 179,1 98912 259981 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Documents.db-wal
tracker-m 3937 rock 15ur REG 179,1 32768 266879 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Documents.db-shm
tracker-m 3937 rock 16ur REG 179,1 1425408 259706 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Software.db
tracker-m 3937 rock 17u REG 179,1 280192 266880 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Software.db-wal
tracker-m 3937 rock 18ur REG 179,1 32768 266881 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Software.db-shm
tracker-m 3937 rock 19ur REG 179,1 1294336 259712 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Pictures.db
tracker-m 3937 rock 20u REG 179,1 98912 266882 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Pictures.db-wal
tracker-m 3937 rock 21ur REG 179,1 32768 266883 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Pictures.db-shm
tracker-m 3937 rock 22ur REG 179,1 1294336 259715 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Audio.db
tracker-m 3937 rock 23u REG 179,1 98912 266885 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Audio.db-wal
tracker-m 3937 rock 24ur REG 179,1 32768 266886 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Audio.db-shm
tracker-m 3937 rock 25ur REG 179,1 1372160 259701 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23FileSystem.db
tracker-m 3937 rock 26u REG 179,1 189552 266887 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23FileSystem.db-wal
tracker-m 3937 rock 27ur REG 179,1 32768 266888 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23FileSystem.db-shm
tracker-m 3937 rock 28ur REG 179,1 1294336 259718 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Video.db
tracker-m 3937 rock 29u REG 179,1 98912 266889 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Video.db-wal
tracker-m 3937 rock 30ur REG 179,1 32768 266890 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Video.db-shm
gvfsd-met 3984 rock 9u REG 179,1 32768 259692 /home/rock/.local/share/gvfs-metadata/root-ee3d16b7.logTrying to stop running services to minimize open files:
Stopping cron.serviceChecking again for open files:
packageki 2313 root 10u REG 179,1 32768 135722 /var/lib/PackageKit/transactions.db
colord 2634 colord 5u REG 179,1 16384 135743 /var/lib/colord/mapping.db
colord 2634 colord 6u REG 179,1 28672 135744 /var/lib/colord/storage.db
colord 2634 colord 7u REG 179,1 28672 135744 /var/lib/colord/storage.db
pulseaudi 3063 rock 10u REG 179,1 12288 259682 /home/rock/.config/pulse/9e37a4772d8740b5bb96b8e39212a59e-device-volumes.tdb
pulseaudi 3063 rock 11u REG 179,1 16384 259683 /home/rock/.config/pulse/9e37a4772d8740b5bb96b8e39212a59e-stream-volumes.tdb
pulseaudi 3063 rock 12u REG 179,1 12288 259684 /home/rock/.config/pulse/9e37a4772d8740b5bb96b8e39212a59e-card-database.tdb
evolution 3600 rock 12u REG 179,1 86016 259771 /home/rock/.local/share/evolution/addressbook/system/contacts.db
tracker-m 3937 rock 9ur REG 179,1 2809856 259696 /home/rock/.cache/tracker3/files/meta.db
tracker-m 3937 rock 10u REG 179,1 41112 266876 /home/rock/.cache/tracker3/files/meta.db-wal
tracker-m 3937 rock 11ur REG 179,1 32768 266877 /home/rock/.cache/tracker3/files/meta.db-shm
tracker-m 3937 rock 13ur REG 179,1 1294336 259709 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Documents.db
tracker-m 3937 rock 14u REG 179,1 98912 259981 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Documents.db-wal
tracker-m 3937 rock 15ur REG 179,1 32768 266879 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Documents.db-shm
tracker-m 3937 rock 16ur REG 179,1 1425408 259706 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Software.db
tracker-m 3937 rock 17u REG 179,1 280192 266880 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Software.db-wal
tracker-m 3937 rock 18ur REG 179,1 32768 266881 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Software.db-shm
tracker-m 3937 rock 19ur REG 179,1 1294336 259712 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Pictures.db
tracker-m 3937 rock 20u REG 179,1 98912 266882 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Pictures.db-wal
tracker-m 3937 rock 21ur REG 179,1 32768 266883 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Pictures.db-shm
tracker-m 3937 rock 22ur REG 179,1 1294336 259715 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Audio.db
tracker-m 3937 rock 23u REG 179,1 98912 266885 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Audio.db-wal
tracker-m 3937 rock 24ur REG 179,1 32768 266886 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Audio.db-shm
tracker-m 3937 rock 25ur REG 179,1 1372160 259701 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23FileSystem.db
tracker-m 3937 rock 26u REG 179,1 189552 266887 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23FileSystem.db-wal
tracker-m 3937 rock 27ur REG 179,1 32768 266888 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23FileSystem.db-shm
tracker-m 3937 rock 28ur REG 179,1 1294336 259718 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Video.db
tracker-m 3937 rock 29u REG 179,1 98912 266889 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Video.db-wal
tracker-m 3937 rock 30ur REG 179,1 32768 266890 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Video.db-shm
gvfsd-met 3984 rock 9u REG 179,1 32768 259692 /home/rock/.local/share/gvfs-metadata/root-ee3d16b7.logCopying 149044 files to /dev/nvme0n1p1. Finishing transfer to disk, boot from SD/eMMC
Checking again for open files:
packageki 2313 root 10u REG 179,1 32768 135722 /var/lib/PackageKit/transactions.db
colord 2634 colord 5u REG 179,1 16384 135743 /var/lib/colord/mapping.db
colord 2634 colord 6u REG 179,1 28672 135744 /var/lib/colord/storage.db
colord 2634 colord 7u REG 179,1 28672 135744 /var/lib/colord/storage.db
pulseaudi 3063 rock 10u REG 179,1 12288 259682 /home/rock/.config/pulse/9e37a4772d8740b5bb96b8e39212a59e-device-volumes.tdb
pulseaudi 3063 rock 11u REG 179,1 16384 259683 /home/rock/.config/pulse/9e37a4772d8740b5bb96b8e39212a59e-stream-volumes.tdb
pulseaudi 3063 rock 12u REG 179,1 12288 259684 /home/rock/.config/pulse/9e37a4772d8740b5bb96b8e39212a59e-card-database.tdb
evolution 3600 rock 12u REG 179,1 86016 259771 /home/rock/.local/share/evolution/addressbook/system/contacts.db
tracker-m 3937 rock 9ur REG 179,1 2809856 259696 /home/rock/.cache/tracker3/files/meta.db
tracker-m 3937 rock 10u REG 179,1 41112 266876 /home/rock/.cache/tracker3/files/meta.db-wal
tracker-m 3937 rock 11ur REG 179,1 32768 266877 /home/rock/.cache/tracker3/files/meta.db-shm
tracker-m 3937 rock 13ur REG 179,1 1294336 259709 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Documents.db
tracker-m 3937 rock 14u REG 179,1 98912 259981 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Documents.db-wal
tracker-m 3937 rock 15ur REG 179,1 32768 266879 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Documents.db-shm
tracker-m 3937 rock 16ur REG 179,1 1425408 259706 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Software.db
tracker-m 3937 rock 17u REG 179,1 280192 266880 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Software.db-wal
tracker-m 3937 rock 18ur REG 179,1 32768 266881 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Software.db-shm
tracker-m 3937 rock 19ur REG 179,1 1294336 259712 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Pictures.db
tracker-m 3937 rock 20u REG 179,1 98912 266882 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Pictures.db-wal
tracker-m 3937 rock 21ur REG 179,1 32768 266883 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Pictures.db-shm
tracker-m 3937 rock 22ur REG 179,1 1294336 259715 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Audio.db
tracker-m 3937 rock 23u REG 179,1 98912 266885 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Audio.db-wal
tracker-m 3937 rock 24ur REG 179,1 32768 266886 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Audio.db-shm
tracker-m 3937 rock 25ur REG 179,1 1372160 259701 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23FileSystem.db
tracker-m 3937 rock 26u REG 179,1 189552 266887 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23FileSystem.db-wal
tracker-m 3937 rock 27ur REG 179,1 32768 266888 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23FileSystem.db-shm
tracker-m 3937 rock 28ur REG 179,1 1294336 259718 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Video.db
tracker-m 3937 rock 29u REG 179,1 98912 266889 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Video.db-wal
tracker-m 3937 rock 30ur REG 179,1 32768 266890 /home/rock/.cache/tracker3/files/http%3A%2F%2Ftracker.api.gnome.org%2Fontology%2Fv3%2Ftracker%23Video.db-shm
gvfsd-met 3984 rock 9u REG 179,1 32768 259692 /home/rock/.local/share/gvfs-metadata/root-ee3d16b7.logSun May 14 11:34:21 PM CEST 2023: Finished
-
Well, this isn't quite the recommendation (afaik, did something change from the 5V / 4A Type C?).
Power Supply is absolutely critical during boot times, and even 5V/3A was not enough when running a desktop, mentioned many many times.I also had to learn this the hard lesson 😉 Try to get 5V/4A Type C to be sure.
What happened to me one time after installation was a faulty line in
/etc/fstab was XXXX_EXAMPLE_UUID / ext4 defaults,noatime,commit=600,errors=remount-ro,x-gvfs-hide 0 1 instead of UUID=XXXX_EXAMPLE_UUID / ext4 defaults,noatime,commit=600,errors=remount-ro,x-gvfs-hide 0 1
which you could check.
@balbes150Did you compile mesa from here for kernel 6.2 builds: https://gitlab.freedesktop.org/panfrost/mesa/-/tree/panfrost/v10-wip ,
I guess this was https://gitlab.com/panfork/mesa (branch csf) used for legacy kernel?
-
-
Some news about the rock5b + usb2 + uboot.
https://www.collabora.com/news-and-blog/blog/2023/04/27/radxa-rock-5b-usb20-host-in-u-boot/
One of the patches seems nice:
ZitatSome devices share a regulator supply, when the first one will request regulator disable, the second device will have it's supply cut off before graciously shutting down. Hence there will be timeouts and other failed operations. Implement a reference counter mechanism similar with what is done in Linux, to keep track of enable and disable requests, and only disable the regulator when the last of the consumers has requested shutdown.
-
Thanks for your long and detailed answer, I suspected something devastating like that 😀
glmark output was just for comparison, dmesg has a lot of errors, so never thougt it would win a price (even thoug Gnome runs smooth).
I am willing to write a FAQ/wiki regarding Rock5B + PSU + MTD + NVME after switch to armbian-next/main is done.
-
@balbes150
Have you seen the rebornOS (arch based) image for rock5b? It's using radxa's SPI (and erasing MTD before with zero.img) detailed here,
and then simply flashing the OS img file to nvme. This gets even grub installed, no clue if grub is really usable.Maybe there is something useful for your work to explore there.
gl2mark2-es2-wayland on gnome:
Spoilerrock@rock5b ~> glmark2-es2-wayland
=======================================================
glmark2 2023.01
=======================================================
OpenGL Information
GL_VENDOR: Panfrost
GL_RENDERER: Mali-G610 (Panfrost)
GL_VERSION: OpenGL ES 3.1 Mesa 23.0.0-devel (git-120202c675)
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
Surface Size: 800x600 windowed
=======================================================
[build] use-vbo=false: FPS: 2992 FrameTime: 0.334 ms
[build] use-vbo=true: FPS: 4263 FrameTime: 0.235 ms
[texture] texture-filter=nearest: FPS: 5130 FrameTime: 0.195 ms
[texture] texture-filter=linear: FPS: 5087 FrameTime: 0.197 ms
[texture] texture-filter=mipmap: FPS: 5095 FrameTime: 0.196 ms
[shading] shading=gouraud: FPS: 4111 FrameTime: 0.243 ms
[shading] shading=blinn-phong-inf: FPS: 3684 FrameTime: 0.271 ms
[shading] shading=phong: FPS: 3225 FrameTime: 0.310 ms
[shading] shading=cel: FPS: 3276 FrameTime: 0.305 ms
[bump] bump-render=high-poly: FPS: 1697 FrameTime: 0.589 ms
[bump] bump-render=normals: FPS: 4908 FrameTime: 0.204 ms
[bump] bump-render=height: FPS: 4877 FrameTime: 0.205 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 4120 FrameTime: 0.243 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 1877 FrameTime: 0.533 ms
[pulsar] light=false:quads=5:texture=false: FPS: 4736 FrameTime: 0.211 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 596 FrameTime: 1.680 ms
[desktop] effect=shadow:windows=4: FPS: 1305 FrameTime: 0.766 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 277 FrameTime: 3.612 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 276 FrameTime: 3.634 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 329 FrameTime: 3.043 ms
[ideas] speed=duration: FPS: 764 FrameTime: 1.310 ms
[jellyfish] <default>: FPS: 2616 FrameTime: 0.382 ms
[terrain] <default>: FPS: 127 FrameTime: 7.922 ms
[shadow] <default>: FPS: 1688 FrameTime: 0.593 ms
[refract] <default>: FPS: 279 FrameTime: 3.589 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 3871 FrameTime: 0.258 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 4282 FrameTime: 0.234 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 4815 FrameTime: 0.208 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 4749 FrameTime: 0.211 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 4390 FrameTime: 0.228 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 4830 FrameTime: 0.207 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 4843 FrameTime: 0.207 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 4282 FrameTime: 0.234 ms
=======================================================
glmark2 Score: 3132
=======================================================
Just wondering, can your new version "20230219 with direct support for launching from USB" launch theoretically totally different images, like rebornos?
What requirements would those other images have to include? -
" extlinux.conf"
Thats the only thing missing now for official armbian builds (with SPI support) for the rock-5b I think:
https://github.com/armbian/build/blob/master/config/boards/rock-5b.wip -
At the moment, SPI boot is only working with builds from here:
Butt will sure be ported to armbian in future.
-
Of course it's far from perfect, but can be used. I remember the start of rk3399 boards, that was pretty bad in comparison to today.
ARM64 and panfrost really made some serious progress.
JFYI, wayland progress on gnome was always more advanced than KDE's (and only choice if you wanted working wayland DE besides sway etc)
-
When adding the ppa's for 3D accleration, there a more steps involved, which are printed out once and can be missed.
So far desktop and chromium are running great, even wayland.SpoilerYou have to create the following udev rules to enable mpp and rga hardware acceleration:
KERNEL=="mpp_service", MODE="0660", GROUP="video"
KERNEL=="rga", MODE="0660", GROUP="video"
KERNEL=="system-dma32", MODE="0666", GROUP="video"
KERNEL=="system-uncached-dma32", MODE="0666", GROUP="video" RUN+="/usr/bin/chmod a+rw /dev/dma_heap"To enable libv4l-rkmpp for chromium, you have to install libv4l-rkmpp, v4l-utils and chromium-browser in this ppa:
sudo apt install chromium-browser=$(apt-cache show chromium-browser|grep Version|grep rkmpp|cut -d " " -f2) chromium-codecs-ffmpeg-extra=$(apt-cache show chromium-browser|grep Version|grep rkmpp|cut -d " " -f2) libv4l-rkmpp, v4l-utils
Then run the following commands:
sudo ln -s /lib /usr/lib64
cd /usr/lib64/ && sudo ln -s aarch64-linux-gnu/libv4l2.so.0.0.0 libv4l2.soAnd add the following lines to /etc/rc.local:
echo dec > /dev/video-dec0
chown root:video /dev/video-dec0
chmod 0660 /dev/video-dec0
echo enc > /dev/video-enc0
chown root:video /dev/video-enc0
chmod 0660 /dev/video-enc0Add chrome flags "--use-gl=egl" to /etc/chromium-browser/default:
CHROMIUM_FLAGS="--use-gl=egl"
-
Zitat
I'm just wondering which power supply do you use (with or without PD function)?
Power Supply with PD:
"ALLNET USB Ladegerät Quick Charge® PD Power Supply 45 Watt 1x Typ C**EU PLUG**"
with these outputs USB-C 5V/3A, 9V/3A, 12V/3A, 15V/3A, 20V/2,25A (45W) bought here.
Description is wrong in the shop.
Didn't work with old random Type C <-> Type C Cable, ordered this cable which should support up to 60W and worked.
lars@rock-5b:~$ sensors tcpm_source_psy_4_0022-i2c-4-22 Adapter: rk3x-i2c in0: 20.00 V (min = +20.00 V, max = +20.00 V) curr1: 2.25 A (max = +2.25 A)
ZitatWhat size of RAM do you have , is it correctly determined ?
I have the 8GB Ram Board, tools like free oder htop show 7.5 GB.ZitatHow does starting the system from an SD card work after installing the system on NVMe ?
I haven't done very much testing yet, but seems to work:
Installed Armbian_23.02.0-trunk_Rock-5b_jammy_legacy_5.10.110_xfce_desktop from SD to SPI and nvme partition 1 (2 partitions in total on drive). Removed SD -> everything good.Just used Armbian_23.02.0-trunk_Rock-5b_sid_legacy_5.10.110 for testing on SD, and it booted 🙂
Took a while and led was flashing and turning on/off wildly, thought it bootloops (running my boards mostly headless). but after a while it was ready and ssh'ing worked as usual.Minor issues:
Kernel reports Linux 5.10.110-station-m4
motd-news.service and speech-dispatcherd.service are failing on jammy xfce.
:edit
In total i tested about 5 power supplys which I had laying around, only one booted (5V/3A) but had lots of stability issues. -
Installed with armbian-install to SPI+NVME and works perfectly. Thanks!
-
Sounds great! Am I missing the download link for 20221210?
I can build myself, branch media-20221210 correct? -
@whitefox
I ran into same problems. When 'sensors' reports only
in0: 5.00 V (min = +5.00 V, max = +5.00 V) curr1: 0.00 A (max = +0.00 A)
emmc + nvme stopped working reliable together.
I solved most of my problems with buying an new PSU AND a certified 60W USB Type C to Type C Cable.
Random old Type C to Type C cable was unreliable. Some old non-Type C 5V/2A PSU did work, but only as long as i did not use emmc, sd + nvme at the same time, sensors reported same values
Here is a incomplete list about PSU's and their possible boot options: https://wiki.radxa.com/Rock5/5b/power_supply
I bought a PSU from ALLNET with: USB-C 5V/3A, 9V/3A, 12V/3A, 15V/3A, 20V/2,25A (45W)
+ 60W cable
in0: 20.00 V (min = +20.00 V, max = +20.00 V) curr1: 2.25 A (max = +2.25 A)
So far I am very impressed about performance vs rk3399, this is a beast 🙂
And would also consider the legacy kernel in a better state than expected.
-
Maybe next time something is wrong i should be able to provide UART (and learn some new stuff anyway to keep the T4 up and running) 😉
-
Version 20220926 works!
Tested Armbian_22.11.0-trunk_Nanopct4_jammy_edge_6.0.0.img and Armbian_22.11.0-trunk_Nanopct4_jammy_current_5.19.11:
Both boot, show no dmesg errors and emmc install (boot+system) is fine.
I will receive my UART device tomorrow for future debugging.
-
Okay, thank you so far.
I will report back when i have UART access
-
GPU driver installation problem on Rock5B (Armbian Bookworm Minimal)
in Rockchip
Posted
JFYI, collabora started building mesa packages - see https://gitlab.collabora.com/hardware-enablement/rockchip-3588/pkg/mesa
That should be very convenient and easy to install in the near future.