<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]
<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...
<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