cage-kiosk / cage

A Wayland kiosk
https://www.hjdskes.nl/projects/cage
MIT License
1.22k stars 78 forks source link

Cage crashes when HDMI output is requested #206

Closed enolp closed 1 year ago

enolp commented 3 years ago

Sorry for the title of this issue but I don't know how to name it.

Ok, so I 've debugged a big bug which causes cage to crash over a HDMI connection. Here are the results:

Firefox (wayland mode): Log Chromium (Xwayland mode): Log Kodi (wayland build): Log VLC (Xwayland mode): Log

I'm using Arch Linux under UEFI and the the screen resolution is set by KMS. My packages are: acpi acpi_call base cage cpupower ethtool intel-ucode kodi-wayland libva-intel-driver linux linux-firmware mesa upower vulkan-intel xf86-video-intel xorg-xwayland. Cage version is 0.1.4-646b3e8

Hjdskes commented 2 years ago

Is this not just Cage shutting down due to the last display being disconnected?

enolp commented 2 years ago

After seeing https://github.com/Hjdskes/cage/issues/208 and https://github.com/Hjdskes/cage/pull/213 I'll wait for changes on this behavior. VGA output seem to be unaffected.

Is there any way to workaround this until this behavior changes?

joggee-fr commented 1 year ago

It seems the described issue is the same than #208, now fixed. I think this issue can also be closed.

@enolp, could you give it a try with current version of Cage?

enolp commented 1 year ago

I've tested the last git revision of cage and now everything works as expected. No more crashing when I turn my TV on or off. I'll close this issue right now