ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
<eruditehermit>
whot: do you prefer to resolve issues or do you want me to resolve them after I fix them?
<eruditehermit>
thanks for the code reviews btw
<whot>
eruditehermit: just resolve them when you think they're resolved :)
<whot>
whether that's with a comment or a code fix, whichever one applies
<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
<eruditehermit>
whot: I resolved all your requests apart from 1. Were you able to test this at all on your setup?
<whot>
not yet, won't be ablet to for a few weeks (prepping for travel, then travel)
<eruditehermit>
ok
<eruditehermit>
whot: any ideas where to look at to try to make the GUI start input-leapc and input-leaps with --use-ei
<whot>
best approach would be to fix inputleap to try ei first and fall back to x11 if it doesn't work
<whot>
XDG_SESSION_TYPE is the env var to look at
<eruditehermit>
libei should work for both X11 and wayland right?
<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
<eruditehermit>
whot: do you know if KDE 5.27 will work with portal?
<whot>
pretty sure it needs 6
<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?
<eruditehermit>
darn I have to try a different distro then =P
<eruditehermit>
ubuntu is stuck on 5.27 still
<whot>
eruditehermit: input-leap should check for XDG_SESSION_TYPE and if it's set to "wayland" imply --use-ei
<whot>
iow nothing with your flatpaking, just better behaviour to make this just work without passing args
<eruditehermit>
whot: sorry to ask again, but are you saying it currently does this?
<eruditehermit>
that is the current behaviour?
<whot>
no, it will need to do this
<whot>
someone(tm) needs to implement the code for that
<eruditehermit>
okok
<eruditehermit>
I can take a look
<eruditehermit>
probably a different PR
gryffus__ has quit [Ping timeout: 480 seconds]
<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
<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.
<eruditehermit>
it'd be great if he could comment
<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
<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
<eruditehermit>
for me I agree, but ofourdan was testing on KDE 6 and latest Gnome on Fedora 40
<eruditehermit>
he got it to work by manually running the server and client binaries with --use-ei
<eruditehermit>
I will test this on two gnome machines tonight when I go home
<whot>
GNOME46 or later btw
nerdopolis has quit [Ping timeout: 480 seconds]
<eruditehermit>
whot: yes I think 24.04 is gnome 46
<eruditehermit>
I'll try to find a kde 6 ppa for 24.04
kenny has joined #wayland
cool110 has joined #wayland
cool110 is now known as Guest3219
eruditehermit has quit [Ping timeout: 480 seconds]
Guest3118 has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
eruditehermit has joined #wayland
<eruditehermit>
is there a logger for this channel to get history
<eruditehermit>
sorry, I went home so might have missed anything after my last comment
<whot>
eruditehermit: you didn't miss anything, no messages since
<eruditehermit>
whot: are my finish args OK? The env=QT_QPA_PLATFORM=wayland and the socket=X11 and socket=wayland?
<eruditehermit>
will the wayland stuff make it not work on X11
<eruditehermit>
is wayland to Xorg even supported?
<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
<eruditehermit>
the GUI wouldn't start without that, googling told me to add that env var
<eruditehermit>
but I fear that it might stop it working on X11
<whot>
ok. i have near-zero knowledge of qt and kde
<whot>
that env var looks like it overrides XDG_SESSION_TYPE?
bnason2 has quit [Ping timeout: 480 seconds]
<eruditehermit>
ok so I have 2 machines on gnome 46 and the client keeps saying disconnected from server
<eruditehermit>
crash loop it seems
<eruditehermit>
this is an annoying thing about InputLeap/barrier. They always crash loop
<eruditehermit>
oh the server rejects the client saying uncrecognized client
<eruditehermit>
uncrecognized client name iroh, please check your server config
<eruditehermit>
whoah it works
<eruditehermit>
apart from the clipboard
<eruditehermit>
magical
<whot>
the clipboard needs actual wayland support, i.e. out of scope of libei
<eruditehermit>
so it's currently unsupported?
<whot>
correct
<eruditehermit>
well I'd say it's worth making a release =P
<eruditehermit>
it kinda works on gnome46 to gnome46
<eruditehermit>
UX is a bit janky but hey, it can be worked on
<eruditehermit>
this is amazing
<eruditehermit>
thanks so much whot
<whot>
no worries, you're welcome
<eruditehermit>
time to break my machine by installing KDE6
Guest3219 has quit [Remote host closed the connection]
nerdopolis has quit [Ping timeout: 480 seconds]
karenw has joined #wayland
cool110 has joined #wayland
cool110 is now known as Guest3230
<eruditehermit>
next to build the macOS package =P
mxz__ has joined #wayland
<eruditehermit>
I might also take a stab at the docs
mxz has quit [Ping timeout: 480 seconds]
mxz_ has quit [Ping timeout: 480 seconds]
mxz__ is now known as mxz
mxz_ has joined #wayland
<eruditehermit>
whot: is it supposed to work with qt6?
<whot>
no idea
Company has joined #wayland
karenw has quit [Ping timeout: 480 seconds]
rv1sr has joined #wayland
leon-anavi has joined #wayland
glennk has joined #wayland
sima has joined #wayland
any1 has quit [Read error: Connection reset by peer]
any1 has joined #wayland
eruditehermit has quit [Ping timeout: 480 seconds]
flokli has quit [Ping timeout: 480 seconds]
WhizzWr has joined #wayland
tzimmermann has joined #wayland
rgallaispou has quit [Read error: Connection reset by peer]
rgallaispou has joined #wayland
eruditehermit has joined #wayland
rgallaispou1 has joined #wayland
rgallaispou has quit [Read error: Connection reset by peer]
rgallaispou has joined #wayland
rgallaispou1 has quit [Read error: Connection reset by peer]
Lucretia has joined #wayland
<eruditehermit>
is it OK to put a readme for development to remind yourself how you debugged something or how to develop something?
eruditehermit has quit [Read error: Connection reset by peer]
Company has quit [Remote host closed the connection]
<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.
rasterman has joined #wayland
Company has joined #wayland
thevar1able_ has quit [Remote host closed the connection]
thevar1able_ has joined #wayland
fmuellner has joined #wayland
thevar1able_ has quit [Remote host closed the connection]
thevar1able_ has joined #wayland
eruditehermit has joined #wayland
<eruditehermit>
ofourdan: I got it to work with the GUI on 2xGnome46 wayland and with qt6.
<ofourdan>
I saw :)
<eruditehermit>
seems like you don't need the --use-ei
<eruditehermit>
it should do that automatically
<ofourdan>
it wasn't here
<eruditehermit>
echo $XDG_SESSION_TYPE is wayland?
<ofourdan>
looking at teh code it should use ei if WAYLAND_DISPLAY is set indeed
<ofourdan>
I can retry, I always specified --use-ei to make it work
<ofourdan>
note that, on the client side, it might even work using X11 since Xwayland emulates xtest with EI as well
<eruditehermit>
I hit a bug sometimes where the mouse cursor gets stuck on the left edge of my left screen which is the server.
<eruditehermit>
actually I can reproduce it reliably
dami-lu has joined #wayland
<eruditehermit>
but that's not relataed to this work
thevar1able_ has quit [Remote host closed the connection]
thevar1able_ has joined #wayland
thevar1able_ has quit [Remote host closed the connection]
thevar1able_ has joined #wayland
MrCooper has quit [Remote host closed the connection]
MrCooper has joined #wayland
thevar1able_ has quit [Remote host closed the connection]
thevar1able_ has joined #wayland
<eruditehermit>
ofourdan: do you know the answer to Kolja's question?
thevar1able_ has quit [Remote host closed the connection]
thevar1able has joined #wayland
thevar1able has quit [Remote host closed the connection]
thevar1able has joined #wayland
<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...
<ofourdan>
(more or less what you said already)
thevar1able has quit [Remote host closed the connection]
thevar1able has joined #wayland
mclasen has joined #wayland
thevar1able has quit [Remote host closed the connection]
thevar1able has joined #wayland
thevar1able has quit [Remote host closed the connection]
<eruditehermit>
I forgot how nice gnome was until I tried it again today
thevar1able has joined #wayland
coldfeet has joined #wayland
dami_ has joined #wayland
dami-lu has quit [Remote host closed the connection]
dami__ has joined #wayland
dami_ has quit [Ping timeout: 480 seconds]
coldfeet has quit [Remote host closed the connection]
eruditehermit has quit [Ping timeout: 480 seconds]
nerdopolis has joined #wayland
nysach has joined #wayland
nysach has quit [Remote host closed the connection]
mclasen is now known as mclasen_afk
mclasen_afk has quit [Ping timeout: 480 seconds]
dami__ has quit [Remote host closed the connection]
dami__ has joined #wayland
dami-lu has joined #wayland
dami__ has quit [Read error: Connection reset by peer]
eruditehermit has quit [Ping timeout: 480 seconds]
Lucretia has joined #wayland
eruditehermit has joined #wayland
rv1sr has quit [Ping timeout: 480 seconds]
rv1sr has joined #wayland
eruditehermit has quit [Ping timeout: 480 seconds]
rv1sr has quit [Ping timeout: 480 seconds]
sanxiago has joined #wayland
Moprius has joined #wayland
rv1sr has joined #wayland
rv1sr has quit []
jake2 has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
eruditehermit has joined #wayland
jmnemoniqueueanons has quit [Remote host closed the connection]
<jake2>
I am trying to use DaVinci Resolve 19 in Wayland on Arch Linux. Everything works except for 2 things
<jake2>
1. The text is blurry.
<jake2>
2. The video playback looks glitchy. (Audio is fine)
<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.
<Ermine>
1) You should ask first developers of your compositor/desktop environment
<jake2>
Alright, good idea.
<jake2>
Thank you!
<Ermine>
2) you can try gamescope
<Ermine>
Also
<Ermine>
... X isn't that hard to install nowadays
<jake2>
Trying gamescope didn't work. I will try installing X.
jmnemoniqueueanons has joined #wayland
jmnemoniqueueanons has quit [Remote host closed the connection]
jmnemoniqueueanone has joined #wayland
___nick___ has quit [Remote host closed the connection]
sima has quit [Ping timeout: 480 seconds]
jake2 has quit [Quit: WeeChat 4.4.1]
Lucretia has quit [Ping timeout: 480 seconds]
glennk has quit [Ping timeout: 480 seconds]
jmnemoniqueueanone has quit [Ping timeout: 480 seconds]
jmnemoniqueueanone has joined #wayland
Company has quit [Quit: Leaving]
kestrel has joined #wayland
Lucretia has joined #wayland
Brainium has joined #wayland
Moprius has quit [Quit: bye]
rasterman has joined #wayland
Brainium has quit [Quit: Konversation terminated!]
Brainium has joined #wayland
jmnemoniqueueanone has quit [Remote host closed the connection]
nocentyvar has joined #wayland
vincejv has joined #wayland
Lucretia has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
Brainium has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
Brainium has quit [Quit: Konversation terminated!]