Open garlett opened 3 months ago
I am not very knowledgeable in the area, but for the seat question:
The seat name is automatic
code above on wlroots, but they have this wlr_seat_create too
Weston sets to 'seat0' when no arg --seat is passed, I tried to remove that and, hopping that env "XDG_SEAT" was used by logind, then the seat manager probably set to 'seat0' too.
the gpuscan bypass that I 'wrote', is supposed to get the leaseFD and create a udev device, then return the result of CSessionDevice::openIfKMS.
I was going to do this inside seatd, but it do not support multiseat yet.
About merge (with an #ifdef ), is it possible ? (at least until I can move to seatd)
if you want to merge some code, make a MR and we'll discuss there. I am unsure I understand what you want to do
I am considering to patch aquamarine, to use drm lease from automotive linux drm lease manager. I have a stub patch for wlroots commented on this issue. But I need help to adapt it on aquamarine.
Does hyprland pass the the current seat name to libseat? (yes: env?argument? no: where to patch?)
In my case, the udev enumeration will return no devices, because logind/elogind/seatd does not alocate it. Do you think that on the beggining of scanGPUs, something like this works?
thx