- Posts: 383
- Thank you received: 0
Can the OPI5 be Configured to Run LCNC?
1 year 1 month ago #335232
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
No problem and thank you. I've also found that the issue already have been resolved, but I don't think it's already included in the image. So I'll post a new package soon.
github.com/JeffyCN/libv4l-rkmpp/commit/c...7508dcd75e05247eb83a
Package is on the Google Drive
github.com/JeffyCN/libv4l-rkmpp/commit/c...7508dcd75e05247eb83a
Package is on the Google Drive
Please Log in to join the conversation.
1 year 1 month ago #335591
by Ilysha
Replied by Ilysha on topic Can the OPI5 be Configured to Run LCNC?
Hi everyone! I’m new to Linux and Orange Pi, but I’m really eager to learn and figure things out. I would be incredibly grateful for your help. Could someone write a simple, step-by-step guide—from a fresh Armbian installation to a fully working setup, including using files from a disk? I’m really trying to understand everything and I’ve already exhausted ChatGPT! Please, I would deeply appreciate any guidance you can give
Please Log in to join the conversation.
1 year 4 weeks ago #335668
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
Hi, Here you can find a few rt-kernels:
drive.google.com/drive/folders/1JglCIPKv...roZcjOvr?usp=sharing
With the 6.1.115 kernel I'm still experimenting a bit to get full gpu acceleration, I think the 6.1.75 is a more safe choice. Then find/create an image from Armbian for example, install the kernel and the dtb of the same kernel version. Check /boot if the symlinks are correct, sometimes when it creates a new initramfs creates a link to the older version, so better to delete or move the other kernel versions to a another place.
With Armbian: when you choose for an image with Debian it's more easy to install LinuxCNC but you probably won't have VPU acceleration (1080p/1440p still works fine though)
With Ubuntu it's more easy to have VPU acceleration, but you'll have to compile LinuxCNC yourself (there's a manual).
With the mainline kernel you should expect that not everything works yet.
So make your choice, find download an image that fits to the kernel you want (Vendor 5.x or 6.x) or mainline. Install the kernel and dtb if it's not exact the same version.
For better latency values isolate the last core (isolcpus=7). With Armbian edit the extraargs line to add the kernel parameter:
sudo nano /boot/armbianEnv.txt
extraargs=cma=256M isolcpus=7
ctrl+x and press y following an enter to save.
In Debian to install linuxcnc:
sudo apt update; sudo apt install linuxcnc-uspace
drive.google.com/drive/folders/1JglCIPKv...roZcjOvr?usp=sharing
With the 6.1.115 kernel I'm still experimenting a bit to get full gpu acceleration, I think the 6.1.75 is a more safe choice. Then find/create an image from Armbian for example, install the kernel and the dtb of the same kernel version. Check /boot if the symlinks are correct, sometimes when it creates a new initramfs creates a link to the older version, so better to delete or move the other kernel versions to a another place.
With Armbian: when you choose for an image with Debian it's more easy to install LinuxCNC but you probably won't have VPU acceleration (1080p/1440p still works fine though)
With Ubuntu it's more easy to have VPU acceleration, but you'll have to compile LinuxCNC yourself (there's a manual).
With the mainline kernel you should expect that not everything works yet.
So make your choice, find download an image that fits to the kernel you want (Vendor 5.x or 6.x) or mainline. Install the kernel and dtb if it's not exact the same version.
For better latency values isolate the last core (isolcpus=7). With Armbian edit the extraargs line to add the kernel parameter:
sudo nano /boot/armbianEnv.txt
extraargs=cma=256M isolcpus=7
ctrl+x and press y following an enter to save.
In Debian to install linuxcnc:
sudo apt update; sudo apt install linuxcnc-uspace
Please Log in to join the conversation.
1 year 4 weeks ago #335683
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
This mainline build also works pretty well, but will first do some more testing. In chromium/firefox the acceleration doesn't work, but 1080p works fine though. I'll upload an image/kernel if someone is interested.
Attachment not found
Please Log in to join the conversation.
1 year 3 weeks ago #335806
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
For those who like it, I've got an Armbian image ready with Linux 6.17 Cinnamon which is ready to go.
drive.google.com/drive/folders/1_WMbZC0k...ceNNI?usp=drive_link
Last core already isolated
Included sata overlay (which had to be adjusted)
LinuxCNC installed
HDMI audio works
GPU acceleration works
VPU acceleration doesn't work in the web browsers, 1080p on YouTube works fine
IRQ of ethernet automatically pinned to core 5
drive.google.com/drive/folders/1_WMbZC0k...ceNNI?usp=drive_link
Last core already isolated
Included sata overlay (which had to be adjusted)
LinuxCNC installed
HDMI audio works
GPU acceleration works
VPU acceleration doesn't work in the web browsers, 1080p on YouTube works fine
IRQ of ethernet automatically pinned to core 5
Please Log in to join the conversation.
1 year 3 weeks ago #335808
by unknown
Replied by unknown on topic Can the OPI5 be Configured to Run LCNC?
Good work mate.
Please Log in to join the conversation.
8 months 3 weeks ago #342436
by Bansardo
Replied by Bansardo on topic Can the OPI5 be Configured to Run LCNC?
Greetings, it's great job you done! Can you suggest to run it on OrangePi 5 plus?For those who like it, I've got an Armbian image ready with Linux 6.17 Cinnamon which is ready to go.
drive.google.com/drive/folders/1_WMbZC0k...ceNNI?usp=drive_link
Last core already isolated
Included sata overlay (which had to be adjusted)
LinuxCNC installed
HDMI audio works
GPU acceleration works
VPU acceleration doesn't work in the web browsers, 1080p on YouTube works fine
IRQ of ethernet automatically pinned to core 5
Please Log in to join the conversation.
8 months 3 weeks ago #342521
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
Thanks, yes I can suggest it, it runs pretty stable.
Please Log in to join the conversation.
8 months 3 weeks ago #342523
by Bansardo
Replied by Bansardo on topic Can the OPI5 be Configured to Run LCNC?
Have you got an image for this?Thanks, yes I can suggest it, it runs pretty stable.
Please Log in to join the conversation.
8 months 3 weeks ago #342705
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
Sorry for the late reply, that image should also work for de OPI5 plus if you only edit in "armbianEnv.txt" the line:
fdtfile=rockchip/rk3588s-orangepi-5.dtb
to:
fdtfile=rockchip/rk3588-orangepi-5-plus.dtb
fdtfile=rockchip/rk3588s-orangepi-5.dtb
to:
fdtfile=rockchip/rk3588-orangepi-5-plus.dtb
Please Log in to join the conversation.
Time to create page: 0.222 seconds
