Can the OPI5 be Configured to Run LCNC?

More
21 Sep 2025 00:38 - 23 Sep 2025 23:42 #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
Last edit: 23 Sep 2025 23:42 by royka.

Please Log in or Create an account to join the conversation.

More
30 Sep 2025 00:39 #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 or Create an account to join the conversation.

More
01 Oct 2025 15:56 #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

Please Log in or Create an account to join the conversation.

More
02 Oct 2025 00:42 #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.

 
Attachments:
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
04 Oct 2025 02:12 #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
The following user(s) said Thank You: tommylight, rodw, unknown

Please Log in or Create an account to join the conversation.

More
04 Oct 2025 07:46 #335808 by unknown
Replied by unknown on topic Can the OPI5 be Configured to Run LCNC?
Good work mate.
The following user(s) said Thank You: royka

Please Log in or Create an account to join the conversation.

Time to create page: 0.116 seconds
Powered by Kunena Forum