You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
system hang on upgrading to kernel 6.1.54-2-aarch64 #5624
when using dual head displays with
dtoverlay=vc4-fkms-v3d-pi4
dtoverlay=rpivid-v4l2
in config.txt
system will lock with solid green light
works fine on kernel 6.1.54-1-aarch64 and below
Steps to reproduce the behaviour
upgrade system to kernel version linux-rpi-6.1.54-2-aarch64
Device (s)
Raspberry Pi 4 Mod. B
System
OS - Arch Linux - 6.1.54-2-rpi-ARCH #1 SMP PREEMPT Tue Sep 19 11:55:52 MDT 2023 aarch64 GNU/Linux
I think you should report this to Arch maintainers.
We don't know what the difference is between 6.1.54-1-aarch64 and rpi-6.1.54-2-aarch64.
If Arch can confirm exactly what the change is (e.g. config options or a bump in git hash) and the regression came from this repo, we can investigate further.
If Arch can confirm exactly what the change is (e.g. config options or a bump in git hash) and the regression came from this repo, we can investigate further.
You can see the differences in the config options at the link above. ArchARM closely follows your defconfigs. Basically, we just add a few options to them. I believe @pelwell suggested this strategy a while back:
make bcm2711_defconfig
cat ../archarm.diffconfig >> .config
make oldconfig
Thanks for clarifying the diffs. Is there anything commit within there you might suspect as causing the issue the OP could revert and check functionality?
Not really - there have been many changes to the VC4 driver, but I wouldn't like to guess which one (if any) it might be - it's not my specialist subject. Step one is going to be to reproduce the problem.
Hey guys, my use case is dual head or (extended display). I use Remmina with multi-monitor via VPN for my work..etc, its just greener energy :) .. I been running Arch like this for many years for local desktop as well.
I could only get the pi4 to run extended desktop with the fkms driver. I don't know of any other way to do dual displays (extended desktop) on pi4.
I'll ask on Arch forum if anyone else is experiencing issue, or, I am happy to reproduce the issue if required.
I could only get the pi4 to run extended desktop with the fkms driver. I don't know of any other way to do dual displays (extended desktop) on pi4.
The kms driver should do everything the fkms does (including dual desktop).
Ok, nice. I would love to know how to do that. All the config.txt options i have tried with kms only give me single display. Wish i knew how to turn that on.
cant do this now
$ tvservice
tvservice is not supported when using the vc4-kms-v3d driver.
Similar features are available with standard linux tools
such as kmsprint from kms++-utils
I am not 100% sure the above is the correct way to get dual displays, but its working for me.
Anyway back to the issue, does this mean the fkms driver and it being deprecated. Does this mean it might be kaput now?
Ok, I am a bit confused. If i use the kms setting above all is well on kernel 6.1.54.-1 if i upgrade to 6.1.54-2 a cpl of things
lightdm doesn't work on both screens with mouse pointer for sign in (just primary)
I can only get mirroring to function, no extended desktop, although in settings -> display i see the screens but the id's are both 1 when i turn on identification.
the mouse movement is extended (across both displays), whilst displays are mirrored. A bit bizarre.
i also have no audio from the 3.5mm jack on the pi4 with the kms driver
Hi Guys,
This works fine. I gave it a good test with X11 etc, different WM's desktops, remmina (multi displays) etc. Works just like the previous setup i had using FKMS. I am now switched over to KMS. Note: FKMS still hangs system, if trying to use.
I genuinely appreciate this fix. Thanks heaps.
For any readers curious about the setup, here are the cmdline.txt and config.txt setting that worked for me.
Because i use the 3.5mm jack for a headset.
with FKMS driver the audio jack just worked, with KMS, add snd_bcm2835.enable_headphones=1
# See /boot/overlays/README for all available options
dtoverlay=vc4-kms-v3d-pi4
display_auto_detect=1
initramfs initramfs-linux.img followkernel
# Uncomment to enable bluetooth
dtparam=krnbt=on
# sound
dtparam=audio=on
disable_overscan=1
arm_64bit=1
hdmi_force_hotplug:1=1
hdmi_force_hotplug:0=1
hdmi_enable_4kp60=0
[pi4]
# Run as fast as firmware / board allows
#arm_boost=1
over_voltage=10
arm_freq=2300
gpu_freq=900
v3d_freq=900
# usb tweaks
otg_mode=1
Activity
GazzaC commentedon Oct 4, 2023
also hangs with upgrade system to kernel version linux-rpi-6.1.54-3-aarch64
just does not start GUI with
dtoverlay=vc4-fkms-v3d-pi4
in config.txt (dual head or extended desktop)
popcornmix commentedon Oct 4, 2023
I think you should report this to Arch maintainers.
We don't know what the difference is between 6.1.54-1-aarch64 and rpi-6.1.54-2-aarch64.
If Arch can confirm exactly what the change is (e.g. config options or a bump in git hash) and the regression came from this repo, we can investigate further.
GazzaC commentedon Oct 4, 2023
Ok, i have reported there as a first instance. Here is URL https://archlinuxarm.org/forum/viewtopic.php?f=15&t=16616&p=71639#p71639
graysky2 commentedon Oct 5, 2023
I can: see here
6.1.54-1 hash = fad5893
6.1.54-2 hash = 9730a2e
You can see the differences in the config options at the link above. ArchARM closely follows your defconfigs. Basically, we just add a few options to them. I believe @pelwell suggested this strategy a while back:
Here our archarm.diffconfig is this
pelwell commentedon Oct 5, 2023
The differences amount to the Pi5 mega-merge and:
graysky2 commentedon Oct 6, 2023
Thanks for clarifying the diffs. Is there anything commit within there you might suspect as causing the issue the OP could revert and check functionality?
pelwell commentedon Oct 6, 2023
Not really - there have been many changes to the VC4 driver, but I wouldn't like to guess which one (if any) it might be - it's not my specialist subject. Step one is going to be to reproduce the problem.
popcornmix commentedon Oct 6, 2023
I note you are running the fkms driver - any reason (it is deprecated)?
Can you switch to kms driver and report if hang still occurs?
GazzaC commentedon Oct 6, 2023
Hey guys, my use case is dual head or (extended display). I use Remmina with multi-monitor via VPN for my work..etc, its just greener energy :) .. I been running Arch like this for many years for local desktop as well.
I could only get the pi4 to run extended desktop with the fkms driver. I don't know of any other way to do dual displays (extended desktop) on pi4.
I'll ask on Arch forum if anyone else is experiencing issue, or, I am happy to reproduce the issue if required.
spockfish commentedon Oct 7, 2023
I can confirm this issue.
This occured between 6.1.52 and 6.1.54.
As I'm using a Buildroot environment I can guarantee that the only thing that has changed is the kernel.
Commenting out the driver (vc4-fkms-v3d-pi4) fixes the issue.
spockfish commentedon Oct 7, 2023
I can also confirm that with the 'vc4-kms-v3d-pi4' the system is not hanging.
popcornmix commentedon Oct 7, 2023
The kms driver should do everything the fkms does (including dual desktop).
GazzaC commentedon Oct 7, 2023
Ok, nice. I would love to know how to do that. All the config.txt options i have tried with kms only give me single display. Wish i knew how to turn that on.
GazzaC commentedon Oct 7, 2023
Ok. I managed to turn on dual displays under kms by reading thread #5178
my config.txt to do that is - just the relevant parts
dtoverlay=vc4-kms-v3d
display_auto_detect=1
dtparam=audio=on
disable_overscan=1
hdmi_force_hotplug:0=1
cant do this now
$ tvservice
tvservice is not supported when using the vc4-kms-v3d driver.
Similar features are available with standard linux tools
such as kmsprint from kms++-utils
I am not 100% sure the above is the correct way to get dual displays, but its working for me.
Anyway back to the issue, does this mean the fkms driver and it being deprecated. Does this mean it might be kaput now?
GazzaC commentedon Oct 8, 2023
Ok, I am a bit confused. If i use the kms setting above all is well on kernel 6.1.54.-1 if i upgrade to 6.1.54-2 a cpl of things
popcornmix commentedon Oct 19, 2023
@GazzaC can you test again with a kernel with #5654 merged?
That fixed an issue with extended desktop appearing mirrored.
graysky2 commentedon Oct 19, 2023
@GazzaC - you can find that in the latest kernel which should be queued for building now. See: archlinuxarm/PKGBUILDs@f508f1a
GazzaC commentedon Oct 20, 2023
GazzaC commentedon Oct 20, 2023
Hi Guys,
This works fine. I gave it a good test with X11 etc, different WM's desktops, remmina (multi displays) etc. Works just like the previous setup i had using FKMS. I am now switched over to KMS. Note: FKMS still hangs system, if trying to use.
I genuinely appreciate this fix. Thanks heaps.
For any readers curious about the setup, here are the cmdline.txt and config.txt setting that worked for me.
Because i use the 3.5mm jack for a headset.
with FKMS driver the audio jack just worked, with KMS, add snd_bcm2835.enable_headphones=1
cmdline.txt - using headset (3.5mm audio jack) & HDMI audio available
root=UUID=<your UUID> rootflags=data=writeback,commit=60,noatime,nodiratime rw rootwait snd_bcm2835.enable_headphones=1 console=serial0,115200 console=tty1 selinux=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=serial0,115200config.txt - using active cooling
Cheers,
popcornmix commentedon Oct 20, 2023
dtoverlay=vc4-kms-v3dis preferred. It will work on any model of a pi (choosing the appropriate board specific variation).GazzaC commentedon Oct 20, 2023
ok, great. thanks.
GazzaC commentedon Oct 22, 2023
no issues after testing for a few days, closing