Replies: 8 comments 6 replies
-
|
labwc does support DRM leasing. But as far as I understood the intended use-case it is designed so applications could take over complete control of a screen like for VR headsets. Edit: |
Beta Was this translation helpful? Give feedback.
-
|
https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3750 |
Beta Was this translation helpful? Give feedback.
-
|
Segments copied from IRC: kennylevinsen this would either be in the automotive case with the "drm lease manager" thing, or in the case of seatd handing out leases to subdivide a gpu among seats Consolatis maybe a wlroots implementation in the drm backend to accept lease fds + making that function public to compositors and the wayland backend could potentially support both use cases? It could either be used when running nested (using the wayland drm lease protocol) or run based on a lease fd acquired by unspecified means by the compositor (like inheriting the fd during an exec of the compositor or by implementing whatever that "drm lease manager" protocol one may argue that the env vars like WLR_RENDER_DRM_DEVICE serve as somewhat of a CLI arg. Although.. It could be used for the acquire-lease-fd-and-exec-compositor case by having the fd int in the env var before executing the compositor. kennylevinsen |
Beta Was this translation helpful? Give feedback.
-
|
I was going to modify the weston patch that support drm lease and insert on wlr_session_find_gpus, using an environment variable to pass the lease fd, but labwc does not have multiseat support |
Beta Was this translation helpful? Give feedback.
-
|
Labwc doesn't support multiple seats per instance running. Note that the last time I personally looked into multiseat was before systemd was even a thing so take my response with a grain of salt. |
Beta Was this translation helpful? Give feedback.
-
|
I was talking with kennylevinsen about seatd support both things, Seatd would create the leases without drm lease manager from automotive Linux, no code done. And seatd does not support seat yet, the is code is almost done; |
Beta Was this translation helpful? Give feedback.
-
|
But using logind and patching wlroots at wlr_session_find_gpus and wlr_seat_create could work? Or patch labwc at wlr_session_find_gpus where? and wlr_seat_create Patch wlroots opens more compositor options, but in my case I alredy have to compile labwc from AUR |
Beta Was this translation helpful? Give feedback.
-
|
@Consolatis this is a stub for the multiseat patch, can you give a look ? thx |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to add a command line argument that uses a CRT lease ?
This is used to enable multiple seats on the same gpu. Example
Automotive linux made "Drm Lease Manager" that splits the gpu into leases, that can be used on a patched version of weston. But weston is too much minimalist.
Or is this a feature better suited for wlroots ?
Thx
Beta Was this translation helpful? Give feedback.
All reactions