#asahi · 2023-09-28 17:46
pinohi, is there way to definitively tell whether a program is running through software rendering? #asahi · 2023-09-28 17:46
ChaosPrincessuhh, maybe? idk how that subsystem works, does it wrap a drm device?#asahi · 2023-09-28 17:45
pitustis it possible to get an fbdev for it?#asahi · 2023-09-28 17:45
pitustbut also that would require figuring out drm and man fuck tht#asahi · 2023-09-28 17:45
pitustwould be cool to put swaybar there#asahi · 2023-09-28 17:45
pitustputting the taskbar there sounds reasonable tho#asahi · 2023-09-28 17:45
pitust60 pixels is not quite enough#asahi · 2023-09-28 17:45
ChaosPrincessthere is a jannau's post on fedi where he put the task bar there#asahi · 2023-09-28 17:44
dottedmagUnless you like your desktops thin and tall :-)#asahi · 2023-09-28 17:44
pitustcursed#asahi · 2023-09-28 17:44
ChaosPrincessbefore i was setting non-desktop, kwin just saw it as a second monitor, and allowed to drag windows there.#asahi · 2023-09-28 17:43
pitustdottedmag: maybe? but it also picked it as the only connector once, even though there is zero chance in hell it's the correct one to use#asahi · 2023-09-28 17:42
ChaosPrincessi run kwin, it works there#asahi · 2023-09-28 17:42
ChaosPrincessin case of sway - idk, maybe, seems like yes#asahi · 2023-09-28 17:42
dottedmagOkay, and that fails because no render node?#asahi · 2023-09-28 17:41
ChaosPrincessand if i understand non-desktop correctly, the compositor is supposed to grab it anyway, and then give it to vr game runtime via drm lease#asahi · 2023-09-28 17:41
dottedmaghttps://github.com/swaywm/wlroots/blob/master/include/wlr/types/wlr_output.h#L145#asahi · 2023-09-28 17:41
ChaosPrincesshttps://github.com/AsahiLinux/linux/blob/asahi-wip/drivers/gpu/drm/adp/adp_drv.c#L440#asahi · 2023-09-28 17:41
dottedmagI see, wlroots puts it in the struct, but the compositors are probably free to ignore it?#asahi · 2023-09-28 17:40
pitustlol#asahi · 2023-09-28 17:40
pitustincredible#asahi · 2023-09-28 17:40
ChaosPrincessnon-desktop? i set it, everything ignores it#asahi · 2023-09-28 17:40
dottedmagThere is DRM connector property "non-desktop", wlroots handles it.#asahi · 2023-09-28 17:39
dottedmagLet me look it up#asahi · 2023-09-28 17:39
dottedmagChaosPrincess: When I asked in #wayland, I was pointed to something (I don't remember what exactly), but I'm not sure all compositors obey.#asahi · 2023-09-28 17:38
pitustalas the compositor couldn't possibly read a config file to determine what to do i mean its not like it already has a config file for setting other things#asahi · 2023-09-28 17:37
pitustthat would be nice#asahi · 2023-09-28 17:37
pitustinstead of autoconfig done by systemd (sometimes broken) or seatd (sometimes broken)#asahi · 2023-09-28 17:37
pitustwhere your *configuration* decides what it does#asahi · 2023-09-28 17:37
pitustlike idk lets imagine a hypothetical display server, let's give it a placeholder letter "X"#asahi · 2023-09-28 17:36
pitustif only this was something you could configure through a configuration file#asahi · 2023-09-28 17:36
ChaosPrincessit is kinda annoying that there isnt a universal "please don't touch this display unless you specifically know how to do it" flag#asahi · 2023-09-28 17:35
pitust(if i rename it to ptiny-dfr at least)#asahi · 2023-09-28 17:34
pitust+ i can still use tiny-dfr if i want#asahi · 2023-09-28 17:34
pitustand zero flicker#asahi · 2023-09-28 17:33
pitustso#asahi · 2023-09-28 17:33
pitustworks now #asahi · 2023-09-28 17:33
pitustprobably didn't get modules or something#asahi · 2023-09-28 17:33
ChaosPrincessor more likely lack thereof#asahi · 2023-09-28 17:33
ChaosPrincessyea, the lack of a render node is imo more a gpu driver issue#asahi · 2023-09-28 17:33
pitustp for python :^)#asahi · 2023-09-28 17:33
pitusti made it return -EBUSY unless comm[0] == 'p'#asahi · 2023-09-28 17:31
pitustadd sway to the list in adp_drv.c i guess#asahi · 2023-09-28 17:31
pitustsway works#asahi · 2023-09-28 17:31
pitusteither way#asahi · 2023-09-28 17:31
pitustdunno, maybe it wasn't modprobed or something#asahi · 2023-09-28 17:31
pitustand 228200000.display-pipe.0 shows up#asahi · 2023-09-28 17:30
jannegonly the gpu driver (asahi) creates a single render node#asahi · 2023-09-28 17:30
pitustcool! works now#asahi · 2023-09-28 17:27
pitustill reboot, try the new kernel