00:55 eruditehermit: whot: do you prefer to resolve issues or do you want me to resolve them after I fix them?
00:55 eruditehermit: thanks for the code reviews btw
01:16 whot: eruditehermit: just resolve them when you think they're resolved :)
01:17 whot: whether that's with a comment or a code fix, whichever one applies
01:17 whot: eruditehermit: also, I don't know how to export multiple entry points short of rebuilding the flatpak three times, so I'll leave that for someone else to answer
01:20 eruditehermit: whot: I resolved all your requests apart from 1. Were you able to test this at all on your setup?
01:21 whot: not yet, won't be ablet to for a few weeks (prepping for travel, then travel)
01:21 eruditehermit: ok
01:21 eruditehermit: whot: any ideas where to look at to try to make the GUI start input-leapc and input-leaps with --use-ei
01:22 whot: best approach would be to fix inputleap to try ei first and fall back to x11 if it doesn't work
01:23 whot: XDG_SESSION_TYPE is the env var to look at
01:24 eruditehermit: libei should work for both X11 and wayland right?
01:25 whot: no, the input-leap libei code will only work on wayland because the way it hooks into won't work on X11 until the X server itself becomes an EIS implementation which will never happen
01:26 eruditehermit: whot: do you know if KDE 5.27 will work with portal?
01:28 whot: pretty sure it needs 6
01:29 eruditehermit: whot: can you clarify your statement about XDG_SESSION_TYPE. Are you saying it currently looks at that or that I should modify the code to do that?
01:32 eruditehermit: darn I have to try a different distro then =P
01:33 eruditehermit: ubuntu is stuck on 5.27 still
01:33 whot: eruditehermit: input-leap should check for XDG_SESSION_TYPE and if it's set to "wayland" imply --use-ei
01:34 whot: iow nothing with your flatpaking, just better behaviour to make this just work without passing args
01:36 eruditehermit: whot: sorry to ask again, but are you saying it currently does this?
01:37 eruditehermit: that is the current behaviour?
01:37 whot: no, it will need to do this
01:37 whot: someone(tm) needs to implement the code for that
01:38 eruditehermit: okok
01:38 eruditehermit: I can take a look
01:39 eruditehermit: probably a different PR
01:42 whot: hmm, ArgParser::use_x11 should return false if WAYLAND_DISPLAY is set so you should default to wayland anyway, not sure why this doesn't work
01:44 eruditehermit: whot: could be I was using kde 5.27 which is the issue. Though ofourdan was the one that mentioned this wasn't working. I didn't know of this flag.
01:45 eruditehermit: it'd be great if he could comment
01:46 whot: eruditehermit: iirc you had issues wiht the flatpak not finding the portal, right? that means it's trying to use libei, it just can't because you don't have support for it. so the whole --use-ei may be a red herring
01:47 whot: what input-leap doesn't have is a proper fallback to x11 - if ei fails it'll just do nothing, it won't then try to connect via x11
01:47 eruditehermit: for me I agree, but ofourdan was testing on KDE 6 and latest Gnome on Fedora 40
01:47 eruditehermit: he got it to work by manually running the server and client binaries with --use-ei
01:48 eruditehermit: I will test this on two gnome machines tonight when I go home
01:50 whot: GNOME46 or later btw
01:57 eruditehermit: whot: yes I think 24.04 is gnome 46
01:57 eruditehermit: I'll try to find a kde 6 ppa for 24.04
02:24 eruditehermit: is there a logger for this channel to get history
02:24 eruditehermit: sorry, I went home so might have missed anything after my last comment
02:25 whot: eruditehermit: you didn't miss anything, no messages since
02:40 eruditehermit: whot: are my finish args OK? The env=QT_QPA_PLATFORM=wayland and the socket=X11 and socket=wayland?
02:40 eruditehermit: will the wayland stuff make it not work on X11
02:40 eruditehermit: is wayland to Xorg even supported?
02:40 whot: I don't know what the QT thing does but the other ones are required, they merely allow the app to connect to x/wayland
02:41 eruditehermit: the GUI wouldn't start without that, googling told me to add that env var
02:41 eruditehermit: but I fear that it might stop it working on X11
02:41 whot: ok. i have near-zero knowledge of qt and kde
02:46 whot: that env var looks like it overrides XDG_SESSION_TYPE?
02:59 eruditehermit: ok so I have 2 machines on gnome 46 and the client keeps saying disconnected from server
03:00 eruditehermit: crash loop it seems
03:00 eruditehermit: this is an annoying thing about InputLeap/barrier. They always crash loop
03:01 eruditehermit: oh the server rejects the client saying uncrecognized client
03:02 eruditehermit: uncrecognized client name iroh, please check your server config
03:04 eruditehermit: whoah it works
03:05 eruditehermit: apart from the clipboard
03:06 eruditehermit: magical
03:06 whot: the clipboard needs actual wayland support, i.e. out of scope of libei
03:07 eruditehermit: so it's currently unsupported?
03:07 whot: correct
03:07 eruditehermit: well I'd say it's worth making a release =P
03:08 eruditehermit: it kinda works on gnome46 to gnome46
03:08 eruditehermit: UX is a bit janky but hey, it can be worked on
03:08 eruditehermit: this is amazing
03:10 eruditehermit: thanks so much whot
03:11 whot: no worries, you're welcome
03:12 eruditehermit: time to break my machine by installing KDE6
03:19 eruditehermit: next to build the macOS package =P
03:23 eruditehermit: I might also take a stab at the docs
03:38 eruditehermit: whot: is it supposed to work with qt6?
03:38 whot: no idea
08:17 eruditehermit: is it OK to put a readme for development to remind yourself how you debugged something or how to develop something?
08:42 ofourdan: you mean in input-leap upstream? fwiw there's a few similar notes in https://github.com/input-leap/input-leap/tree/master/doc so I guess it should be possible, but it's up to input-leap devs to decide eventually. Assuming you have those notes already, you could post a PR and see how that gets received.
09:29 eruditehermit: ofourdan: I got it to work with the GUI on 2xGnome46 wayland and with qt6.
09:30 ofourdan: I saw :)
09:32 eruditehermit: seems like you don't need the --use-ei
09:32 eruditehermit: it should do that automatically
09:32 ofourdan: it wasn't here
09:33 eruditehermit: echo $XDG_SESSION_TYPE is wayland?
09:34 ofourdan: looking at teh code it should use ei if WAYLAND_DISPLAY is set indeed
09:35 ofourdan: I can retry, I always specified --use-ei to make it work
09:36 eruditehermit: latest build here: https://github.com/rohitpid/input-leap/actions/runs/10827964806
09:36 eruditehermit: this one is qt6
09:36 ofourdan: note that, on the client side, it might even work using X11 since Xwayland emulates xtest with EI as well
09:37 eruditehermit: I hit a bug sometimes where the mouse cursor gets stuck on the left edge of my left screen which is the server.
09:37 eruditehermit: actually I can reproduce it reliably
09:38 eruditehermit: but that's not relataed to this work
10:10 eruditehermit: ofourdan: do you know the answer to Kolja's question?
10:24 ofourdan: I do not understand their question, yes, they'd need to install the kde runtime in flatpak as a dependency, not on the host, unless they plan to use kde...
10:24 ofourdan: (more or less what you said already)
10:33 eruditehermit: I forgot how nice gnome was until I tried it again today
12:25 nerdopolis: I opened https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/210 which might not be the correct place, but it seems like no compositor I tested handles when the kernel replaces simpledrm with the real driver
19:53 jake2: I am trying to use DaVinci Resolve 19 in Wayland on Arch Linux. Everything works except for 2 things
19:53 jake2: 1. The text is blurry.
19:54 jake2: 2. The video playback looks glitchy. (Audio is fine)
19:54 jake2: I do not remember having this issue on any X installation, but I do not want to got hrough the trouble of having to install X. I asked on the Blackmagic forum, but I haven't gotten much luck there.
19:54 Ermine: 1) You should ask first developers of your compositor/desktop environment
19:55 jake2: Alright, good idea.
19:55 jake2: Thank you!
19:55 Ermine: 2) you can try gamescope
19:57 Ermine: Also
19:58 Ermine: ... X isn't that hard to install nowadays
19:59 jake2: Trying gamescope didn't work. I will try installing X.