slarm64 This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
10-08-2022, 09:40 AM
|
#31
|
Senior Member
Registered: Aug 2014
Posts: 2,123
Original Poster
Rep: 
|
|
|
1 members found this post helpful.
|
10-10-2022, 09:10 AM
|
#32
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,160
Rep: 
|
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 09:16 AM.
Reason: update
|
|
|
10-10-2022, 12:10 PM
|
#33
|
Senior Member
Registered: Aug 2014
Posts: 2,123
Original Poster
Rep: 
|
Quote:
Originally Posted by pchristy
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.
|
|
|
10-10-2022, 01:00 PM
|
#34
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,160
Rep: 
|
OK, looks like I need to wait for the next point release.
Hopefully this will warn others of the potential problem, though/
--
Pete
|
|
|
10-11-2022, 11:55 AM
|
#35
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,270
|
Maybe do the decent thing and file a bug?
|
|
|
10-11-2022, 12:13 PM
|
#36
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,160
Rep: 
|
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.
--
Pete
|
|
|
10-11-2022, 01:28 PM
|
#37
|
Senior Member
Registered: Aug 2014
Posts: 2,123
Original Poster
Rep: 
|
Quote:
Originally Posted by pchristy
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.
--
Pete
|
The kernel for raspberry pi is taken from.
This happens sometimes, even with kernels from kernel.org
Last edited by sndwvs; 10-11-2022 at 01:29 PM.
|
|
|
10-11-2022, 01:32 PM
|
#38
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,270
|
The previous post makes mine redundant. Ignore.
Last edited by business_kid; 10-11-2022 at 01:34 PM.
|
|
|
10-11-2022, 01:47 PM
|
#39
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,160
Rep: 
|
Both: Not a problem for me. Sometimes you just need to be patient for things to settle!
--
Pete
|
|
|
10-12-2022, 06:57 AM
|
#40
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,160
Rep: 
|
UPDATE: Found the problem, and it was a configuration issue -sort of! In my /boot/config.txt file, I had added the line
Code:
dtoverlay=rpivid-v4l2
This provided some speed increases for video processing in earlier kernels, but does not play nicely with kernel-6!
Commenting it out has got my system up and running again!
Running glxinfo provides a different output under 6:
Code:
glxinfo | grep render
direct rendering: Yes
GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, GLX_MESA_swap_control,
GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, GLX_MESA_swap_control,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: V3D 4.2
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
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.
But at least its working again!
--
Pete
|
|
|
10-12-2022, 09:22 AM
|
#41
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,270
|
Quote:
Originally Posted by pchristy
dtoverlay=rpivid-v4l2
|
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:
Code:
If it works, don't fix it!
|
|
|
10-12-2022, 09:34 AM
|
#42
|
Senior Member
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,160
Rep: 
|
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!
--
Pete
|
|
|
10-12-2022, 01:22 PM
|
#43
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,270
|
Quote:
Originally Posted by pchristy
Not sure why it corrupted the file systems on the SDcard, though!
Pete
|
Thatcan happen if the sun goes behind a cloud  .
|
|
|
10-19-2022, 06:41 PM
|
#44
|
Senior Member
Registered: Aug 2014
Posts: 2,123
Original Poster
Rep: 
|
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
Code:
#kernel=u-boot.bin
kernel=Image
|
|
|
10-20-2022, 04:04 PM
|
#45
|
Senior Member
Registered: Aug 2014
Posts: 2,123
Original Poster
Rep: 
|
raspberry pi 4
installation README.TXT
kernel 6.0.2
slarm64-current-aarch64-server-raspberry_pi_4-6.0.2-build-20221021.img.zst
slarm64-current-aarch64-server-raspberry_pi_4-6.0.2-build-20221021.img.zst.sha256
slarm64-current-aarch64-xfce-raspberry_pi_4-6.0.2-build-20221021.img.zst
slarm64-current-aarch64-xfce-raspberry_pi_4-6.0.2-build-20221021.img.zst.sha256
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:95 lane-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:
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:
Code:
modprobe snd_bcm2835
Last edited by sndwvs; 10-20-2022 at 05:59 PM.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 11:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|