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/
<NickH> ifreund: thanks for the hint. I'm actually happy with my waybar setup, was just checking for boombim
talismanick has joined #river
<plumeus> I'm in a weird situation. I can't seem to build NixOS's River or Waylock package even though I can download the substitutes (pre-built packages) from their repo
<plumeus> I see (core dumped) zig build -Drelease-safe -Dcpu=baseline -Dman-pages --prefix $out install with Zig 0.10.x and not 0.9.x
<plumeus> Seems like a NixOS issue but it still feels bizarre.
talismanick has quit [Ping timeout: 260 seconds]
<tleydxdy[m]> I dig into the river crash I was seeing, in XwaylandView.handleMap the view is seemingly invalid
<plumeus> /nix/store/3yfs41f4b60jya2gk6xikx4s97zsxjr0-stdenv-linux/setup: line 1574: 22 Illegal instruction (core dumped) zig build -Drelease-safe -Dcpu=baseline -Dman-pages --prefix $out install
<tleydxdy[m]> the view have wlr_output = 0x1
<tleydxdy[m]> I added some debug prints, see where the bad output came from
<tleydxdy[m]> https://github.com/riverwm/river/blob/master/river/Server.zig#L260 hmm here is it legit? the compiler seems to think const output is a Output rather than a *Output
<tleydxdy[m]> ah nvm
jao has quit [Ping timeout: 260 seconds]
jao has joined #river
eShaev9z_ has quit [Ping timeout: 252 seconds]
eShaev9z has joined #river
jao has quit [Ping timeout: 252 seconds]
elshize has quit [Ping timeout: 260 seconds]
angry_vincent has joined #river
talismanick has joined #river
<ifreund> plumeus: guessing that the real problem there is nix not setting -DZIG_TARGET_MCPU=baseline when building zig
<plumeus> Yeah, seems like it.
<ifreund> tleydxdy[m]: you might try to reproduce it under valgrind. How reliably can you reproduce it?
kdk_away is now known as kdk
waleee has joined #river
<angry_vincent> looking into waylock. can be it be also used from river's init ?
uncomfy has joined #river
talismanick has quit [Ping timeout: 255 seconds]
<p00f1> ? you just use the waylock command, nothing in init
<angry_vincent> i understan it can be run as is
<tleydxdy[m]> ifreund: once a day :(
<tleydxdy[m]> right now I'm trying to access the bad pointers early to hopefully get a fault that's useful
Szadek has quit [Ping timeout: 248 seconds]
linkert has joined #river
uncomfy has quit [Remote host closed the connection]
taupiqueur2 has quit [Quit: WeeChat 3.8]
linkert1 has joined #river
linkert has quit [Ping timeout: 260 seconds]
linkert1 is now known as linkert
Szadek has joined #river
Szadek has quit [Ping timeout: 260 seconds]
elshize has joined #river
Szadek has joined #river
elshize has quit [Ping timeout: 248 seconds]
smach has joined #river
elshize has joined #river
smach has quit [Remote host closed the connection]
jao has joined #river
<angry_vincent> ok, so i trying waylock, and it gives black screen with cursor. nothing happens. i tried typing my regular user password but nothing happens at all
<waleee> pretty sure you might have missed to configurate the necessary pam-stuff
<angry_vincent> it is on FreeBSD, i tried port, by my request, provided here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269320
<waleee> angry_vincent: freebsd also uses pam afaik
<angry_vincent> yes
<waleee> it's only the location of pam.d that's different
<waleee> did you chuck https://github.com/ifreund/waylock/blob/master/pam.d/waylock into /usr/local/etc/pam.d ?
<angry_vincent> it is there
<angry_vincent> i may try newer patch, provided in bug report
<waleee> the patch had a note on why it fails
<angry_vincent> i tried the very first patch. i will try newest one
itshog has joined #river
<waleee> the 2nd and 3rd patch has the freebsd specific pam-stuff
<angry_vincent> yes
Szadek has quit [Ping timeout: 268 seconds]
elshize has quit [Ping timeout: 252 seconds]
elshize has joined #river
itshog has quit [Ping timeout: 256 seconds]
Szadek5 has quit [Remote host closed the connection]
Szadek5 has joined #river
Szadek5 has quit [Remote host closed the connection]
Szadek5 has joined #river
Szadek5 has quit [Remote host closed the connection]
Szadek5 has joined #river
Szadek5 has quit [Remote host closed the connection]
Szadek5 has joined #river
Szadek5 has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 248 seconds]
taupiqueur has joined #river
linkert has quit [Ping timeout: 268 seconds]
itshog has joined #river
talismanick has joined #river
<angry_vincent> ifreund: i still getting just black screen with waylock. nothing happens if i type password. it is on FreeBSD. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269320
<angry_vincent> ifreund: it gives segfault, actually. i suspect that that baseline cpu argument is not correctly set in port
<angry_vincent> -Dcpu=${CPUTYPE:Ubaseline} this one
elshize has quit [Ping timeout: 252 seconds]
elshize has joined #river
<angry_vincent> ifreund: https://bpa.st/LXXNY
angry_vincent has quit [Remote host closed the connection]
kdk is now known as kdk_away
<ifreund> SIGSYS is not a segfault, does freebsd have some strace equivalent that you could use to get more info? or perhaps a stack trace from gdb?
itshog has quit [Ping timeout: 260 seconds]