dvdhrm / kmscon

Linux KMS/DRM based virtual Console Emulator
http://www.freedesktop.org/wiki/Software/kmscon
Other
431 stars 81 forks source link

GPU: Device is busy → When starting sway from KMSCON #143

Open Zeioth opened 2 years ago

Zeioth commented 2 years ago

If I try to start sway from KMSCON I get this output https://i.imgur.com/WSXtIbf.jpg

I assume KMSCON is using GPU acceleration by default which is preventing sway from starting.

I'm reading the man. What parameters should I use to avoid this behavior? https://man.archlinux.org/man/kmscon.1

dcompoze commented 2 years ago

I ran into this problem recently. I managed to set the no-drm option in the kmscon.conf config file so that the console doesn't take control of the video card and then the wayland compositor can launch freely.

But I don't know if there's any other way to retain the drm and hwaccel settings but not have it conflict with the wayland compositor.

Zeioth commented 2 years ago

Thank you so much for sharing @dcompoze it actually works yay!!!