ChanServ changed the topic of #river to: river - a dynamic tiling Wayland compositor || https://codeberg.org/river/river || channel logs: https://libera.irclog.whitequark.org/river/
mtm has quit [Ping timeout: 244 seconds]
mtm has joined #river
palanix has quit [Ping timeout: 252 seconds]
palanix has joined #river
elshize has quit [Ping timeout: 245 seconds]
<sewn> xwayland reaches over 4096 fds
<sewn> when trying to run steam of course
<sewn> my concern is why isnt river retrieving the fd limit properly, its configured and reflected in ulimit for my user
<dnkl> processes don't "retrieve" limits. They're either inherited, or set explicitly
<LarstiQ> I think that might mean here that river explicitly sets a lower limit than it would inherit, which apparently is not enough to run Steam?
Keeto has joined #river
Keeto has quit [Ping timeout: 252 seconds]
<lordmzte> I have a cool idea on how I'd like my tag selection keys to work: I hold down the super key, and then I also hold down number keys for all tags I'd like to be active (works on nkro keyboards), then I let go of super while still holding the number keys, locking the selection. Is there even remotely any chance of implementing this?
<leon-p> lordmzte: check !1100, it will also change how keybinds work
<lordmzte> oh yea I know of that PR, but I didn't know it changed keybinds. I'm really excited for that! Thanks!
Keeto has joined #river
ccha has quit [Remote host closed the connection]
ccha has joined #river
kraem has quit [Remote host closed the connection]
kraem has joined #river
mtm has quit [Ping timeout: 244 seconds]
mtm has joined #river
Keeto has quit [Ping timeout: 252 seconds]
Keeto has joined #river
ramblurr has quit [Ping timeout: 252 seconds]
ramblurr has joined #river
<sewn> even zig std reports the right value
<sewn> wait
<sewn> why is it going for the minimum value
<sewn> the river comment notes that river shouldnt use a value supposedly higher than 4096, which is problematic for my usecase
<LarstiQ> sewn: "can be raised further if anyone reaches it in practice."
<sewn> doesnt seem to be raised further, its a limit of 4096
<LarstiQ> sewn: so try it out with a value that suits you and if that reproduces working/not working I'd guess ifreund would consider it
<sewn> is it common for river to leak file descriptors?
<LarstiQ> sewn: yeah no you need to recompile zig with changing that 4096 to something higher
<sewn> yeah makes sense
notzmv has quit [Ping timeout: 265 seconds]
<sewn> i currently have the limit completely removed because otherwise i wouldnt be able to run steam
<LarstiQ> so how high does it actually go?
<sewn> unsure, i have to go lower and lower
<sewn> steam games running on proton use esync, and they reccomend a hard limit of 1048576.
<sewn> yep
<sewn> this is a pretty old fork of esync but in the wine-staging patchset that is also there
<ifreund> river doesn't modify the hard limit, it only sets its own limit to 4096
<sewn> thats if the limit is higher than 4096, it caps it there
<ifreund> sure, we could do soft = @max(soft, @min(4096, hard))
<ifreund> isn't esync internal to wine though?
<ifreund> I wouldn't be surpised if the real problem you are having is that xwayland or steam have an fd leak...
<sewn> one way to find out i guess?
<ifreund> also river's soft fd limit applies only to the river process, not children...
<sewn> oh. well thats concerning, since removing the limit makes xwayland work i guess
<sewn> maybe since xwayland is spawned from the river process ig
<ifreund> hmm, it might affect xwayland specifically since wlroots spawns that and river doesn't have the chance to reset the rlimt post-fork-pre-execve
<ifreund> iirc something about new wlroots API to allow that though...
<sewn> yay
<ifreund> sewn: could you test this? https://codeberg.org/river/river/pulls/1179
<sewn> sir yes sir
<lordmzte> I've been getting various wayland programs printing strange warnings since the latest river update, here's something that mpv prints on exit, for example, but I've observed this in other programs, too: https://gist.github.com/LordMZTE/21f8e7284ab3d3d62e9f02ebc21477b9
<lordmzte> Is this a bug in river?
<ifreund> lordmzte: no, that's a minor mpv issue that newer versions of libwayland now warn about
<lordmzte> Ah, I see. Interesting that it's apparently discouraged to destroy an event queue while there are still proxies bound.
olie has joined #river
Keeto has quit [Ping timeout: 252 seconds]
<gbrlsnchs> sewn: `ulimit -n` shows 1024 for me and I use Steam + river daily. Is the higher number a requirement of a specific game you play? Asking mostly out of curiosity.
<gbrlsnchs> Although I do have `@users hard nofile 524288` set in /etc/security/limits.conf 🤔
<sewn> gbrlsnchs: any proton game
<sewn> ifreund: seems to be working so far
<sewn> I cant tesr much because my amdgpu is overheating
<gbrlsnchs> sewn: interesting that I never faced any issues regarding that before
<sewn> I am on a high refresh rate
<gbrlsnchs> sewn: does that affect fd limits? and out of curiosity, how high of a refresh rate?
<sewn> maybe? I'm on 144hz but games run at triple that
<sewn> the constant rendering could cause esync to get hungry
catman has quit [Ping timeout: 265 seconds]
<gbrlsnchs> sewn: gotcha... mine is 75hz, for reference
<gbrlsnchs> but I usually run games at 144hz
Jimmy has joined #river
catman has joined #river
Jimmy has quit [Client Quit]
<olie> is there a way to get the tags of windows programatically?
<olie> theres zriver_output_status_v1::view_tags to get the tags of outputs
catman has quit [Quit: WeeChat 4.5.1]
catman has joined #river
<ifreund> olie: nope, interfacing with river programmatically is very limited currently
<ifreund> this is changing though, see: https://codeberg.org/river/river/pulls/1100
<ifreund> (tldr, tags and all other window management policy will be moved out of river to a separate window manager process)
olie has quit [Quit: Client closed]
olie has joined #river
<olie> so basically river is turning into xorg
<ifreund> there are some superficial similarities, all the details are different
olie has quit [Client Quit]
user21 has joined #river
user21_ has joined #river
user21 has quit [Read error: Connection reset by peer]
user21_ has quit [Ping timeout: 246 seconds]
user21 has joined #river
user21 has quit [Remote host closed the connection]
user21 has joined #river