hyprwm / hypridle

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

hyprland + hypridle oopsie if dpms enabled to quickly #24

Open Fxzzi opened 5 months ago

Fxzzi commented 5 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 5 months ago

crash report??

Fxzzi commented 5 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 5 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 5 months ago

ye nothing wrong here to me

Fxzzi commented 5 months ago

Unable to repro? I can repro really easily

Fxzzi commented 5 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 5 months ago

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

eddiezane commented 4 months ago

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

vaxerski commented 4 months ago

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

Fxzzi commented 4 months ago

Any ideas as to why swayidle would somehow circumvent this?

rougixxx commented 1 month ago

I have the same issue using hyprlock and hypridle :/