mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #867] Flashing/Blanking on raspberrypi #689
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#689
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @joshuacox on GitHub (Sep 7, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/867
Describe the bug
As I move the cursor back and forth from my desktop to the pi the pi's screen will flash a blank (black) screen for a second. Eventually it will fail to recover from this and sit blankly forever. The odd thing is that if I ssh into the pi everything appears to be running normally, I can even restart gdm (systemctl restart gdm) but the screen stays blank. Eventually I will give up and reboot the pi, at this point it will eject me from the ssh session, but it will freeze for several minutes (enough that early on I would pull the power from the pi and plug it back in), but eventually it will reboot. Uncertain as to what it's doing at this point as I can't ssh in and the screen is still blank.
To Reproduce
Steps to reproduce the behavior:
This one is inconsisten so replicating is not guaranteed, move your mouse back and forth between desktops, doing a circle between the desktops and just continuously jumping back and forth does not seem to trigger this, there needs to be a delay between jumps.
Expected behavior
Normal no-flashes barrier usage.
Screenshots
Blank screenshot.
Desktop (please complete the following information):
@shymega commented on GitHub (Sep 7, 2020):
Can you check memory usage before the reboot? Wondering if its related to the oom killer.
@joshuacox commented on GitHub (Sep 7, 2020):
Of note this is an rpi4 with 4GB of ram, and at time of reboot over 2GB of ram available:
EDIT: adding in
/boot/config.txtin which I changed gpu_mem to 256 in my attempts to give the video driver some more memory:barrier is being automatically started like so:
Of note the log file is not ever created in
/tmp, maybe this is because barrier has nothing to log? (adding the --debug flag to see if that helps)@joshuacox commented on GitHub (Sep 7, 2020):
@shymega after not getting any results in my logs I changed the debug level to DEBUG2
Here are what those files look like after triggering a frozen blank screen state:
still plenty of RAM available (and this was taken during one of the frozen to blank screen states)
gdm appears to be fine:
And restarting gdm has no effect.
Looking around in htop gnome-shell is using 10.6% of ram which seems about right, and nothing else is taking up much CPU or memory. I have also tried this with other window managers, including i3 which is quite minimal, to the same results.
@tsanyqudsi commented on GitHub (Aug 4, 2021):
@joshuacox i don't know if you still having this problem. But I have this problem too.
I "fixed" it with overclocking my Raspberry Pi 4 8GB. You might want to read https://qengineering.eu/overclocking-the-raspberry-pi-4.html for the explanation.
I use
arm_freq = 1750andover_voltage = 2for my Raspi but 1650 / 1700 seems tolerable.Please keep in mind that the temperature would be increasing due to overclocking. My Raspi temp rose from
37-38 Cto42-43 Con idle using Argon case.@pascal-fb-martin commented on GitHub (Dec 26, 2021):
I have a similar issue on Debian bookworm/sid (and AMD Ryzen 5 5600): when the cursor moves from a Windows 10 (acting as client) to a Linux screen (acting as server) then the Linux screen goes entirely black for 1-2 seconds.