ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/riverwm/river || channel logs: https://libera.irclog.whitequark.org/river/
groknull has joined #river
groknull has quit [Remote host closed the connection]
alexherbo2 has joined #river
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #river
alexherbo2 has quit [Ping timeout: 260 seconds]
waleee has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #river
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #river
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #river
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #river
alexherbo2 has quit [Ping timeout: 260 seconds]
waleee has joined #river
alexherbo2 has joined #river
alexherbo2 has quit [Ping timeout: 260 seconds]
waleee has quit [Ping timeout: 246 seconds]
waleee has joined #river
waleee has quit [Ping timeout: 255 seconds]
jao has quit [Ping timeout: 268 seconds]
eShaev9z has joined #river
eShaev9z_ has quit [Ping timeout: 260 seconds]
notzmv has quit [Ping timeout: 255 seconds]
notzmv has joined #river
talismanick has joined #river
<fleischie> scorpion2185[m]: https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting it says to "add the `nvidia_drm.modeset=1` kernel parameter" which depends a bit on your boot manager.
fitrh has joined #river
talismanick has quit [Ping timeout: 255 seconds]
fitrh has quit [Remote host closed the connection]
<novakane> hmm #771 is weird, I tried and indeed river doesn't send focused_view event anymore when changing Firefox tab
<novakane> but that doesn't really makes sense that the update to zig 0.10 broke that
<ifreund> novakane: did you try before and after that commit to make sure it was that one that caused the regression?
<ifreund> I was meaning to but haven't yet. Definitely weird
<novakane> yeah I tried with both
<ifreund> very strange, hope that's not a miscompilation somewhere
<ifreund> My next step would be adding alot of print statements along the code path that's supposed to trigger that
Ichika_Zou has joined #river
<ifreund> I'm currently still looking into that Xwayland PR I've been wanting to land for a while
<novakane> yeah I'll try to find more info, I quickly wrote something to get Wayland debug message sent by river status protocol
<novakane> well without using Wayland debug when launching river I mean, that's too noisy
<ifreund> yeah for sure
Ichika_Zou has quit [Remote host closed the connection]
Ichika_Zou has joined #river
Ichika_Zou has quit [Remote host closed the connection]
<novakane> so clearly SeatStatus.sendFocusedView() is no more called when switching tab
<novakane> now I need to find where that stop working exactly
jao has joined #river
<novakane> it seems to never enter this loop for some reasons https://github.com/riverwm/river/blob/master/river/View.zig#L563-L565
<leon-p> ifreund: btw, what do you think of additionally dumping warn and err messages to syslog? makes it possible to get at least some info on what went wrong when river weirds out and you are not logging it actively
<leon-p> I used that recently to find out that river was OOMing on me, for example
<ifreund> leon-p: I'd be happy for river to log warn and higher to syslog as well by default. Let's also add a -no-syslog option though
<leon-p> sure!
<ifreund> also, river was OOMing on you? did you disable overcommit or something?
<novakane> hmm that the if condition just above that is never true instead it seems
<novakane> Why dos this stop to be true after the zig update though, I have no idea
<novakane> s/dos/did
<ifreund> novakane: it's likely a compiler bug, I'd try restructuring the code to put as much as possible on separate lines and see if that changes anything
<ifreund> if it does, submit an upstream zig bug report
<novakane> ifreund: it is `seat_node.data.focused.view == &self` that is false now
<ifreund> novakane: oh I see the problem
<tleydxdy[m]> hmm have anyone set up zig 0.10 on arch?
<ifreund> I bet this fixes it https://0x0.st/o7VM.diff
<tleydxdy[m]> I'm hitting lots of compile errors
<ifreund> if you confirm please do open a PR
<ifreund> tleydxdy[m]: I'd recommend just using a statically linked zig tarball from https://ziglang.org/download
<ifreund> at least until someone gets around to packaging it.
<tleydxdy[m]> it is in staging apparently
<tleydxdy[m]> I got the pkgbuild from their repo
<tleydxdy[m]> but src/zig_clang.cpp all the asserts fail in here
<tleydxdy[m]> I need to use llvm 15 correct?
<ifreund> novakane: sorry, should be https://0x0.st/o7Vu.diff
<ifreund> tleydxdy[m]: yeah, llvm 15 is required to build zig 0.10.0
<tleydxdy[m]> aha, my clang is still on 14
<novakane> ifreund: yeah I already fixed the diff, no worries, and it seems to fix it \o/
<ifreund> sweet!
<ifreund> not a miscompilation then, a latent bug in river
<novakane> luckily you found that fix quickly because I would probably have looked at that &self all day :P
<novakane> I don't have waybar though so if someone want to test it
<scorpion2185[m]> novakane test what?
<leon-p> ifreund: it was OOMing because my workstation shares memory between CPU and GPU. So when I was doing something graphically intensive (some python image processing library), something went wrong
waleee has joined #river
smach has joined #river
<fleischie> /quit
<fleischie> Whoops. :O
talismanick has joined #river
talismanick has quit [Ping timeout: 252 seconds]
talismanick has joined #river
<talismanick> I haven't used Zig before, but I have used C and C++. Not at all familiar with the details of wlroots or Wayland itself. If I wanted to help along the tablet-v2 bindings (so I could use my pen), where should I begin?
Szadek has quit [Ping timeout: 272 seconds]
Szadek has joined #river
talismanick has quit [Ping timeout: 252 seconds]