I can only tell that apt upgrade was the first thing I did after receiving laptop. And I never managed to use patched libraries in /usr/local/lib. Only after I removed references to /usr/local sway started working. Now I’m on archlinux, I don’t have a single out-of-tree package on my laptop.
I think patched libs were for some specific corner cases like culing in minetest and some ghosting in gtk. Yes, on mineline minetest looks odd (you see both POV HUD and through your actual geometry (no culliing) but… It’s not critical for me. Minetest I mean. Cura works, prusa-slicer works, openscad works. I don’t use much other 3d thingies.
Ok, so I went and looked through ld.so.conf and then all of the conf files in the d directory. I commented out usr/local in everyting except for libc.conf, because there is no additional reference for where it is. Same thing in ld.so.conf.
Or is that not important and I can really remove every instance of usr/local?
@minute or has the new repo taken these things into consideration, and we can leave usr/local in these files?
Thanks ruff! I went ahead and mirrored your modifications. Doesn’t seem to have prevented the crashing though. BUT, I have isolated it to Chromium. If Chromium is open, sway will crash.
So I switched to Vivaldi and poof, rock solid stable again. Curious though. Vivaldi is basically Chromium with some extra bells and whistles, so I’m good.
Just by way of a continued education here, after running ldconfig is a restart required, or will the linker just automatically start using the new cache the next time a dynamic library is needed?
No system restart needed, only [respective] app restart. This is equal to restarting app with LD_LIBRARY_PATH set to the specified dirs (it just changes system default library path)
Just for the community here, if you update, Chromium will end up crashing sway. You can however use Vivaldi. If you turn off animations and disable gestures the performance is the same as what you would see from Chromium. Vivaldi appears to have much better memory management as well.
I should probably be a bit more specific as I would prefer using just Chromium (well I really would rather use Brave, but I digress). Chromium seems to run fine, but either extensions are buggy or specifically tab-suspending extensions are buggy.