Raspberry Pi 4 bcm2711 / Raspberry Pi 3 bcm2837 (aarch64)
slarm64This forum is for the discussion of slarm64.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Having a problem with kernel 6.0.0 on the Pi 400. I cannot start X or Wayland. If starting KDE, I get the gearwheel, then the screen goes blank. It does this in X11, Wayland and Full Wayland. If I select XFCE, the see the xfce desktop start to load (briefly) and then the screen goes blank. If I SSH into the Pi and run dmesg, I get the following:
Code:
[ 58.712402] vc4-drm gpu: swiotlb buffer is full (sz: 1114112 bytes), total 32768 (slots), used 320 (slots)
[ 62.170655] vc4-drm gpu: [drm] *ERROR* [CRTC:94:crtc-3] flip_done timed out
[ 62.583147] vc4-drm gpu: swiotlb buffer is full (sz: 524288 bytes), total 32768 (slots), used 7714 (slots)
Any ideas?
Edit: Also noticed that if I reboot from SSH I get message about linuxroot not being cleanly unmounted, and it goes through the automatic correction process. This is despite being shutdown / rebooted correctly.
Cheers,
--
Pete
Last edited by pchristy; 10-10-2022 at 08:16 AM.
Reason: update
Having a problem with kernel 6.0.0 on the Pi 400. I cannot start X or Wayland. If starting KDE, I get the gearwheel, then the screen goes blank. It does this in X11, Wayland and Full Wayland. If I select XFCE, the see the xfce desktop start to load (briefly) and then the screen goes blank. If I SSH into the Pi and run dmesg, I get the following:
Code:
[ 58.712402] vc4-drm gpu: swiotlb buffer is full (sz: 1114112 bytes), total 32768 (slots), used 320 (slots)
[ 62.170655] vc4-drm gpu: [drm] *ERROR* [CRTC:94:crtc-3] flip_done timed out
[ 62.583147] vc4-drm gpu: swiotlb buffer is full (sz: 524288 bytes), total 32768 (slots), used 7714 (slots)
Any ideas?
Edit: Also noticed that if I reboot from SSH I get message about linuxroot not being cleanly unmounted, and it goes through the automatic correction process. This is despite being shutdown / rebooted correctly.
Cheers,
--
Pete
It looks like it's a kernel problem, maybe it's been fixed already. checked for pine64 there is no such problem.
Well, it depends where sndwvs gets his kernel source from. I don't think he uses the "pure" one from kernel.org, but a patched one from Pi. But I'm not sure - no doubt he'll be along to inform me shortly! I believe someone has been playing with Pi-patched 6rc kernels over on the "official" aarch64 port, and it was reportedly looking promising on Pis, but I haven't seen anything since. The last kernel they released completely broke my system, but this is the first time I've had a real issue with slarm64 kernels. I thought 6 was supposed to have a "proper" driver for the Pi, but it looks as if something isn't right. It could also be a configuration issue. Its still very new, so I'll see how it shakes down.
Well, it depends where sndwvs gets his kernel source from. I don't think he uses the "pure" one from kernel.org, but a patched one from Pi. But I'm not sure - no doubt he'll be along to inform me shortly! I believe someone has been playing with Pi-patched 6rc kernels over on the "official" aarch64 port, and it was reportedly looking promising on Pis, but I haven't seen anything since. The last kernel they released completely broke my system, but this is the first time I've had a real issue with slarm64 kernels. I thought 6 was supposed to have a "proper" driver for the Pi, but it looks as if something isn't right. It could also be a configuration issue. Its still very new, so I'll see how it shakes down.
Although this looks significantly different from previous kernels, there is no significant improvement in video playback - I still can't play 4K videos! Again, this may need some fine tuning of the config.txt and probably the video players as well.
What's that supposed to do? I didn't think V4L was the way things were going. It sounds like you nobbled it, but then you fixed it and it's going again. I'm happy for you, but remember rule #1:
I think it enables things like the memory-to-memory transfer when doing video encoding, etc. It worked fine in the older kernels, but looks like it has been removed in kernel 6.
Not sure why it corrupted the file systems on the SDcard, though!
at the moment when using u-boot and kernel 6.0.y the system hangs when starting xfce, for correct operation it is necessary to load the kernel by changing u-boot.bin
/boot/config.txt
there is a problem when starting xorg for the first time and entering xfce the vc4 driver crashes:
Quote:
Oct 20 17:25:55 raspberry-pi-4 kernel: vc4-drm gpu: [drm] *ERROR* [CRTC:105:crtc-4] flip_done timed out
Oct 20 17:26:02 raspberry-pi-4 kernel: bcm2835_audio bcm2835_audio: vchi message timeout, msg=5
Oct 20 17:26:09 raspberry-pi-4 kernel: vc4-drm gpu: [drm] *ERROR* flip_done timed out
Oct 20 17:26:09 raspberry-pi-4 kernel: vc4-drm gpu: [drm] *ERROR* [CRTC:105:crtc-4] commit wait timed out
Oct 20 17:26:19 raspberry-pi-4 kernel: vc4-drm gpu: [drm] *ERROR* flip_done timed out
Oct 20 17:26:19 raspberry-pi-4 kernel: vc4-drm gpu: [drm] *ERROR* [PLANE:95lane-4] commit wait timed out
Oct 20 17:26:29 raspberry-pi-4 kernel: vc4-drm gpu: [drm] *ERROR* flip_done timed out
Oct 20 17:26:29 raspberry-pi-4 kernel: vc4-drm gpu: [drm] *ERROR* Timed out waiting for commit
after which the monitor and usb are turned off.
after some time ~15 seconds, usb starts working (you can check by switching num lock) after that you can go to any console and restart xorg:
Code:
init 3 && init 4
after that xfce works without problems.
found a problem in the snd_bcm2835 driver.
snd_bcm2835 driver is blacklisted, to output sound through the analog output, you must manually load it after entering the desktop:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.