I need to unbind kernel driver from graphics card to pass to VM.
First, I tried to remove output but it still keeps DRI device open.
Added destroy backend, but it destroys all backends (including other card's) and still keeps device open.
What am I missing?
Modified sample from stipc plugin
auto output = wf::get_core().output_layout->find_output(data["output"]);
auto backend=output->handle->backend;
wlr_output_destroy(output->handle);
wlr_multi_backend_remove(wf::get_core().backend,backend);
wlr_backend_destroy(backend);
These things are mostly managed by wlroots, you should ask in the wlroots development channels what needs to happen on their side and then we can see what we can do on the Wayfire side to achieve it.
Hi,
I need to unbind kernel driver from graphics card to pass to VM. First, I tried to remove output but it still keeps DRI device open. Added destroy backend, but it destroys all backends (including other card's) and still keeps device open. What am I missing?
Modified sample from stipc plugin
lsof
Thanks