ArchLinux minimal image with RPi 6.6.y kernel for uConsole with CM3/CM4/CM4S

Anyone got moonlight-qt working? I tried installing moonlight-qt from AUR.

It says that it cannot detect HEVC. I am only getting black screen when connecting to host.

Although on the latest bullseye image for uconsole, it also cannot detect HEVC, but at least it streams quite decently with some minor overclock options in config.txt.

According to the RP4 guide for moonlight-qt one is supposed to change /boot/config.txt from kms to fkms but it won’t boot up then (neither on Bullseye or Arch), unfortunately.

Remark: Even though the overlays seem to exist in the overlays directory. Tried all different variations with and without “-pi4” extension in the filename.

UPDATE: Although I could not get HEVC to work.
SDL_AUDIODRIVER=alsa H264_DECODER_HINT=h264_v4l2m2m DRM_FORCE_DIRECT=1 moonlight

Works. Albeit, it hangs and freezes quite often. So basically not usable.
Probably due to the wifi connection being poor.
Hopefully there is some mod to improve wifi connectivity.
It could be because I connected the wifi into the second slot not on the RPI CM4 card itself.
adding
dtparam=ant2
to boot/config.txt gave me big improvements on the wifi at least.

But mostly, moonlight gets black screen with logs:
“video decode unit queue overflow”

Perhaps now when the wifi speed is not as poor, it might be getting to many frames, causing black screen? Don’t know, just a guess.

Tried on both wayland and x11, when I run moonlight-qm in console it starts it with 90 degree counter-clockwise rotation, and mouse cursor doesn’t work.

I don’t know what to tell you about that, but the WiFi, do you still have the original antena? You can buy a cheap one from amazon and attach it (a lot of us did), or the original one, put some thick double sided tape betwen it and the uConsole case itself and fixes it a bit.

Courtesy of @PotatoMania, the 6.6 kernel has been updated.

Please also be advised of the following when updating:

Just dealt with WiFi problem.
What I did is create a temporary wifi without password protection which can be connected. Then just run sudo pacman -S firmware-raspberrypi and reboot. Then password protected wifi can be connected

Nice. So you’re using the latest wpa_supplicant now?

I can confirm that installing/updating firmware-raspberrypi works with the latest wpa_supplicant. But I’m not picking up 5GHz signals, as a consequence.I had to revert to the old one because I’m spoiled by the 5GHz speeds.

I tried only update wpa_supplicant but not work

Update to this one. It’s actually firmware-raspberrypi that broke my 5GHz access. And the signal gets pretty bad as well. So it appears if you need to use the latest wpa_supplicant, it can only work with the latest firmware-raspberrypi package. Looks like I’m still keeping wpa_supplicant in the blacklist.

@PotatoMania, I have assembled the Arch image for uConsole CM4 using the script you have created. I am so grateful for it - I have managed to install pretty much everything I need and now enjoy Arch experience! KDE Plasma works like a charm with a really good level of responsiveness.

I have one question - I still haven’t figured out which bootloader does this system uses. This is definitely not GRUB. I have even modified some of bootloader’s configs to install Waydroid, but still do not now the name of that bootloader. o_O

It uses raspberrypi’s proprietary bootloader. The configuration can be managed though config.txt. Find more on RPi’s website.

1 Like

@PotatoMania , thank you so much!