Closed khapin closed 1 year ago
Could this be because the firmware is hitting some kind of virtual memory limit and is allocating 2 new framebuffers instead of the ones that are shown on screen? In which case the Linux dual display driver would have to be aware of this and reinitialise with the new framebuffer sizes and locations. It's not like some traditional systems where the framebuffer is in a fixed location, this one moves around every time you ask for it (or every time the closed-source part of the firmware sees fit).
I have seen this happen very briefly in the lead up to initialising the Windows dual display driver and it happened that time because of unreliable mailbox calls, but this seems to be an intermittent issue that happens in Linux far after initialisation.
Is this still an issue on RPiOS bullseye and 5.15 kernel? There's been many kms fixes since this issue was posted.
Sorry for not updating this ticket earlier, I got rid of my second monitor a few months ago so didn't check whether the issue was still present. I've just tried to reproduce the issue now with kernel 5.15.84-v8+, and it seems to be working fine now.
Hi @popcornmix,
I havent used my Pi for a while due to this issue. Ive tested last days and could not reproduce the issue...
Thank you.
Confirming it, freezings aren’t an issue on my Pi any longer.
Describe the bug
After a seemingly random amount of time (minutes to ~2 hours) the display freezes on both screens. I can't CTRL+Alt+Fx to see a virtual terminal, but can still log on via ssh, where all services are still running. Stopping lightdm doesn't restore the display, and even after issuing a reboot, the display was still showing the same as when it froze. The only way was to unplug the power for a couple of seconds. This never happens with a single monitor connected. It happens whether the monitors are identical or not (tried with 2 inputs of the same screen).
Steps to reproduce the behaviour
Connect 2 monitors via HDMI. Use the system normally. Dragging screen elements (e.g. windows) seem to make the freeze happen more quickly, but even moving the mouse around can trigger it. I haven't noticed it while not interacting with mouse/keyboard.
Device (s)
Raspberry Pi 4 Mod. B
System
cat /etc/rpi-issue
vcgencmd version
uname -a
Linux hostname-redacted 5.10.92-v8+ #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 aarch64 GNU/Linux
Logs
Additional context
At least one other user is experiencing the same issue, as reported here: https://forums.raspberrypi.com/viewtopic.php?p=1973506#p1973506