hyprwm / hypridle

Hyprland's idle daemon
BSD 3-Clause "New" or "Revised" License
404 stars 25 forks source link

hyprland + hypridle oopsie if dpms enabled to quickly #24

Open Fxzzi opened 9 months ago

Fxzzi commented 9 months ago

If dpms is enabled too quickly after it disabling, muh Hyprland locks up :( not just muh hyprland, muh entire pc :( I have to reboot, I can't change tty :(

basic config:

general {
    ignore_dbus_inhibit = false
}

listener {
    timeout = 5
    on-timeout = hyprctl dispatch dpms off
    on-resume = hyprctl dispatch dpms on
}

Ok so wait 5 seconds until dpms off, as soon as screen goes off u move ur mouse to wake screen and boom Hyprland and pc will be exploded!!

Big issue for me as sometimes I am copying something down from laptop, screen goes blank, I move mouse very fast, and now unresponsive :(

edit: it no happen on swayidle with this config

timeout 5 'hyprctl dispatch dpms off'

after-resume 'hyprctl dispatch dpms on'

maybe sway is better after all...

jk vax i luv ur stuff

vaxerski commented 9 months ago

crash report??

Fxzzi commented 9 months ago

No crash report because hypr doesn't crash and idk bout hypridle cuz I have to force shut down muh laptop

Does hypridle store it's logs anywhere

Fxzzi commented 9 months ago

I attempted to get the logs by passing all stdout and stderr of hypridle to file. Here u go log.txt

vaxerski commented 9 months ago

ye nothing wrong here to me

Fxzzi commented 9 months ago

Unable to repro? I can repro really easily

Fxzzi commented 8 months ago

Hey vax, I decided to just let it sit there for a bit when it froze, and a few minutes later I was sent to tty1. It seems hyprland created a 13.9mb crash log. Here it is: hyprlandCrashReport662.txt

Seems to just be a ton of [backend/drm/atomic.c:250] Failed to acquire FB for plane 82

Any ideas? As I said before, I can't repro this issue with swayidle.

vaxerski commented 8 months ago

I'll ask on IRC what the hell I am supposed to do in these cases.

eddiezane commented 8 months ago

I just switched to hypridle and hyprlock and have been running into this as well.

vaxerski commented 8 months ago

No clue why this is. Looks like a driver bug tbh

Fxzzi commented 8 months ago

Any ideas as to why swayidle would somehow circumvent this?

rougixxx commented 4 months ago

I have the same issue using hyprlock and hypridle :/

nonetrix commented 2 months ago

I kinda had similar issue like this on AMD... A lot actually, compute and firmware on AMD cards is buggy mess, but besides the point. Have you checked dmesg? Might get something like driver telling you it had a GPU reset or the like, I have had cases where my system completely reboots ssh works too

n1flh31mur commented 5 days ago

Sam on Arch Linux with nvidia. Hyplrand build from git.