-
-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Orange Pi 5+; high power consumption and thermals; load average >= 1 #606
Comments
Have similar experience with v1.29 and current v1.33 Desktop on Opi5-Plus. The load avg is >1 even at idle for significant time (>20min( not sure it will go down <1 if let the system idle longer. Installed joshua's kernel 5.10.160-28 or 5.10.160-30 on Archlinux the same high load avg >1 exist. at idle Use vendor's kernel 5.10.110-2 or 5.10.160 the load avg is much lower at idle. |
Kind a funny to see the very same bug over the years across various SoC (not only Rockchip). And yes, I experience this as well. However I did not test against vendor images but against mainline 6.8-rc which seems fine. Anyway, just a guess. Does the load disappear when the NVMe is removed and booted from SD or eMMC? |
Boot up from NVMe and SD card same high load avg with Joshua's Kernel. In boot case NVMe and EMMC (256GB but empty) is already installed and not remove when boot with SD Card. Joshua image is stable and so far very good experience on Opi5-Plus. |
Did some tests myself. I doesn't seem to be related to the used type of storage. Tried NVMe, eMMC and SDcard in all combinations either as rootfs or just plain installed. Load always raises to >=1. Bummer... |
@EvilOlaf how was your experience with the 6.8-rc kernels, and where did you grab them from (looks like Armbian offers 6.8-rc1, or did you just roll your own)? My whole reason for wanting to try a new kernel was due to this issue I was experiencing. |
Was from Armbian. |
Mainline Linux 6.8 just got HDMI introduced and not all of the hardware is working, specifically the GPU and VPU. You will not be able to run Jellyfin with hardware acceleration if you plan on going down this road. Even when GPU or VPU support comes into mainline Linux I would expect there to be many issues as this bleeding edge software. This forces most users to use the crappy 5.10 Android kernel. I likely will not look into the load average issue as the kernel is a mess and it's way too much work on a kernel that will likely be dead in a year from now. |
Got it --- thanks for chiming in! |
I will keep this open but add a |
@Joshua-Riek just curious. Whats your opinion of rkr7.1 (5.10.198 I think?) or 6.1 bsp? Is noticed you played with former just a bit and abandoned it. |
I think rkr 7.1 is fine and see no breaking changes, I may bump to this kernel in the future for legacy reasons. As for 6.1 I still do not have the release tag for it. I've started to do some work on the 6.1 kernel from an old snapshot i got back in late October, but i really want a release tag before spending a lot of time inito it. |
Gotcha. |
As far as I know, JeffyCN's kernel-6.1-2024_01_02 tag is the first release of 6.1 bsp. OrangePi also updated their kernel tree not long ago, which also confirmed this. https://github.com/orangepi-xunlong/linux-orangepi/tree/orange-pi-6.1-rk35xx |
I would still like to see a release tag, but this looks good. I will likely create a fork from this point and start to rebase stuff. |
I dropped WiFi patches, LCD panel patches, and some changes for the Khadas Edge. Because I went through about 200 patches with a ton of merge conflicts, I could have made a few mistakes. But here is the current progress, should be an OK starting point. https://github.com/Joshua-Riek/linux-rockchip/commits/rockchip-6.1/ |
Some non-essential peripherals should have lower priority if they cannot be easily ported to 6.1. Btw I dropped the r8125 out-of-tree driver. The original one is a bit outdated. |
Hey @nyanmisaka, do you have gnome wayland working with the 6.1 kernel? I just finished some testing and only X11 would start 🤔 |
I haven't tried panfork on the 6.1 kernel. But I know that libmali can provide Wayland support for Gnome on Ubuntu 23.10 mantic. |
So might be worth going the noble route directly? |
The problem may be whether panfork itself is compatible with the updated panfrost kernel mode driver in 6.1 and the new mali csf firmware, rather than the distro version. |
https://github.com/tsukumijima/libmali-rockchip/releases/tag/v1.9-1-b5d7972 |
I did test panfork and wayland did not work as mentioned before, then crashed a bit later with the below logs, I've not done much debugging yet:
|
Apparently this is Mali bifrost in the kernel complaining, and panfork doesn't work well with it. You can try downgrading it from g21p0 to g18p0. https://github.com/JeffyCN/mirrors/commits/kernel-6.1-2024_01_02/drivers/gpu/arm/bifrost |
I got the same issue on Armbian (all kernels). Using the "armbian-config", I disabled the "hdmirx_ctrler" (HDMI Input) on the DTS and the load is now around 0 on idle (CPU temp: 42°C). Troubleshoot information:
|
Confirmed! Oh my god, this is awesome. Load seems now normal. Thank you! |
I did notice the Orange Pi 5+ hdmirx spams udev to no end, so this tracks. However, this does bring in the question about a proper solution. There is likely a driver problem specific to this board and hdmirx that should be addressed. |
Well the proper solution would be to dive into the driver and fix it but who should do? A workaround for example could be to provide a simple dtbo to disable hdmirx. |
I recall seeing hdmirx was disabled when I first looking at the OPI5+ device tree from Xulong's kernel tree. This could well be the reason why. I will see if I can make an overlay to disable hdmirx and send a PR. |
I would suggest this is a two stage rocket, disable the HDMI in by default, add known issue to wiki similar to the built in microphone. Second stage address driver issue separately. This way a lot of users can use this board for most cases. |
I'm worried about disabling HDMI in by default, as users who update their system will no longer be able to use HDMI in and may cause some confusion. But id imagine the number of users who use HDMI input on the OPI5+ is limited. |
I suspect users who don’t notice the issue might just don’t know what to expect and have accepted poor performance as normal |
True, I will gather some information and send a kernel PR do disable HDMI input by default. |
Since Joshua's images is about having best possible support for everything OOB I made the assumption leaving it enabled is the best solution here. Might be different for Armbian but that is a different story. |
I get that, however, I would argue this issue is severe enough to degrade the whole board and brings it to such unusable state, in my SCP example above where we have IO and encryption, performance was 5 times worse than vendor image. Therefore I think in this case better broader support is to disable this feature while it is an issue. I will try to confirm on my setup later tonight. I hope the SSD heat is also gone, and if it is, it could hint that whatever this interrupt is doing might reset / ripple to other devices too |
So finally managed to compile myself a kernel with this patch and a working jammy image. My load on my to devices atm:
Processor and SSD is slighly warm but not hot so I think this is a great success!! Thanks everyone for jumping in =) |
Hi @Joshua-Riek, Upgraded to kernel-5.10.16-36 on Ubuntu-22.04.4. The CPU Load Avg is now able go below 1, currently at 0.18. Edit: Same with kernel-6.1.0.1009.9, CPU Load Avg can now drop below 1 on Opi5-Plus. Thank you. |
@Joshua-Riek is there a prebuilt image with a 6.1.* kernel for Ubuntu Server image for OPi 3B with this fix? Thank you for your time and the amazing work here! :) |
The Orange Pi 3B does not have HDMIRX, that is another issue entirely. |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 14 days. Thank you for your contribution! |
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 14 days. Thank you for your contribution! |
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details. |
Hi,
Booted
ubuntu-22.04.3-preinstalled-server-arm64-orangepi-5-plus
on my 5 Plus. Noticed a few things (in comparison to the Orange Pi issued Debian image):sensors
) are about ~8C higher, which qualitatively makes sense given the power consumptionload average: 1.00, 1.00, 0.80
(with the 15m average slowly creeping up)I am booting from the SD card, eMMC is connected to system and has the Orange Pi Debian image. I tried running the ubuntu-rockchip kernel with the Orange Pi Debian userspace, and I get the same power/thermal/load average results, so it seems (?) like it's a kernel issue.
System has an NVME SSD installed, no wifi card.
Happy to provide any additional info. Thanks!
The text was updated successfully, but these errors were encountered: