libera/#devuan/ Sunday, 2022-12-11

pungentweaselinstalling a daedalus or ceres package on chimaera ... yay or nay?  I need libavcodec59 to compile something and it's not available on chimaera.04:21
pungentweaselnevermind, thats a nay04:27
gnarfacecheck for it in chimaera-backports04:28
pungentweaseli did :\04:28
gnarfaceother option is try backporting it yourself04:28
gnarfacebasically you'd get the daedalus or ceres source package then try to build it against the chimaera build deps04:29
pungentweaselit requires a massive cascade of upgrades, not sure I trust myself that much04:29
gnarfaceoh04:29
gnarfacewell if it's not also dependent on a newer kernel you could always just install daedalus or chimaera in a chroot and just run whatever it is from inside the chroot04:30
gnarfaceusually recursively backporting a massive cascade of build deps is not worth it04:31
gnarfaceit'll work if you do it right, but by the time you're done you've basically just upgraded the hard way04:31
gnarfaceat that point you might as well have just upgraded04:32
pungentweaselhah yeah04:32
pungentweaselultimately what I'm trying to do is compile mpv media player.. apparently the one provided wasn't compiled with support for framebuffer output04:33
gnarfacehmm04:33
pungentweaselbut mpv requires libavcodec59 which basically requires the entirety of ffmpeg........04:33
gnarfacemaybe mplayer will work instead?04:33
gnarfaceinstall it and check the output of "mplayer -vo help" for fbdev or fbdev204:35
pungentweaselit does work, but the software I'm trying to use (invidtui) is only built to work with mpv, sadly.  I guess I could maybe try modifying that one but I don't know a lick about golang ...04:35
gnarfacehmm04:36
gnarfaceeh, hang out someone might have another idea04:36
pungentweaselinvidtui is an awesome tool btw. it works fine on my arch machine, just can't get it working here04:36
pungentweaselwill do04:37
hardyIs it possible to install devuan in KVM VPS? recently i've purchased VPS on https://www.hn.cl/ and want to know if is it possible to install by myself or ask to support to bring it installed.04:39
debdogpungentweasel: maybe that works: prefix for custom built software is /usr/local. inside there you can have other versions of libs installed than the repo provides, even conflicting ones.04:42
debdogpungentweasel: so get the lib's source and compile/install it inside /usr/local/lib. then do the same for mpv. sometimes one has to tell the compiler to look for libs in /usr/local sometimes it finds it there automatically04:45
pungentweaseldebdog, I might give that a try, thanks.  I have a feeling this is going to turn into a much bigger ordeal than just libavcodec, that was just the 2nd dependency meson complained about when I tried to build mpv.. libav starts with letter A ... I fear there are many more conflicts to come :P04:47
pungentweaselI could possibly try an older version of mpv too.. that's another option I might try, if I can figure out how it's supposed to be built with framebuffer support.  couldn't find a lot of info04:49
gnarfacehardy: theoretically, it all depends on how they have it set up05:01
hardygnarface: sending a message like: hey! could you install this ISO image on my VPS? https://mirror.leaseweb.com/devuan/devuan_daedalus/installer-iso/devuan_daedalus_5.0.preview-20221205_amd64_pool1.iso05:29
pungentweaselwho is your VPS provider?  most of them let you install your own ISOs05:39
hardyalready mentioned it, it's a chilean .CL company https://www.hn.cl05:41
hardywill try locally, then go production environment05:42
pungentweaselah yes sorry, forgot that you did06:05
unclouded_hardy: It ought to be possible.  I run a lot of beowulf and chimaera systems under libvirt/qemu06:36
hardyunclouded_: Thank you!07:24
systemdletetrouble downloading starlinux uhuru.  It stalls and finally fails.  Maybe problem with sourceforge, idk19:42
systemdleteI was able to download the openbox image of star earlier on, but the others won't let me download.19:51
systemdlete(I wish that starlinux had its own website for ONLY issues with downloading and installation.)19:52
eyalrozI have a trivia question to ask you all.20:01
eyalrozSomeone has suggested to me, that on Linux (and other operating systems), if I have N fonts recognized by fontconfig or whatever - these fonts are all loaded into memory.20:01
eyalroz(as opposed to only fonts in use being loaded.)20:02
eyalrozIs this true? True for some desktop environments/GUI toolkits? Once-true but no longer?20:03
gnarfaceeyalroz: i don't know for sure but i believe just an index of all the names of the fonts are loaded into memory, not the fonts themselves... and even if they were it's not like the unused ones wouldn't be pushed to swap in favor of stuff you need20:11
eyalrozgnarface: Hmm. So, urban myth then.20:24
gnarfaceeyalroz: a quick google search suggests they may have been experiencing a bug in some other library20:28
gnarfacepossibly this one: https://github.com/libass/libass/issues/54820:28
systemdletehmmm.  Using wget from command line on same link seems to work.  So, maybe... firefox?20:48
systemdletea cursory web search of "download with firefox failure" gives a number of hits with regard to this topic.  One gives a canned response, which wins the contest for best answer.  One respondent points out that such canned responses are useless and annoying.  I would up their response.20:53
eyalrozgnarface: Well, he seems rather adamant about it.21:15
eyalrozAnyway, another question: If I have two versions of the same font (family + variant), in paths which fc-cache looks at. What will it do? Is it guaranteed to choose the newer version?21:15
gnarfaceeyalroz: sorry, don't know about that, i dunno if it'll keep the first or last copy it sees22:01
eyalroznp, thanks.22:02
gnarfacei do know the memory footprint thing should be fairly easy to verify as well as control22:02
gnarfaceif you do a clean boot with one font installed then compare the memory footprint to a clean boot with 160MB of fonts installed you'll know22:03
gnarfacei'm not completely clear on how many different mechanisms fonts can be loaded with but at least for fontconfig and xorg you have independent means of telling it which fonts to pay attention to in the first place22:05
gnarfaceit's not a kernel thing for those and doesn't happen at boot... the ones for the system virtual terminal might be, but there's far less of them and you can remove them or make them modules with a custom kernel build22:06
gnarfacei do know the truetype fonts which are the bulk of them don't load outside of X because my system cold boots to 170MB memory footprint and i have 157MB of them installed22:07
gnarfaceso if i'm wrong about that we'd be presuming the entire rest of linux is 13MB22:09
gnarfacei'm pretty sure i have more than 13MB of driver modules loaded alone22:10
gnarfacebut don't take my word for it, check yourself22:10
gnarfaceand note that cached memory isn't the same as actually used memory22:11
gnarfaceLFSveteran: i'll help you try the chroot thing but the more i think about this i'm starting to doubt myself, i realize now i've only done this for headless steam stuff (dedicated game servers) so there's a possibility it won't work if you can't get 32-bit graphics drivers loaded outside the chroot, at least if xorg isn't also launched from within the chroot... not sure now but it's an experiment i'd like to see the22:24
gnarfaceresults of22:24
gnarfaceLFSveteran: first step is to just get debootstrap running though then we can try it, the overhead should just be about 500MB of disk space22:25
systemdleteNow, this is strange also:  md5sum on an ISO is taking FOREVER.  These problems only started today, or at least I had not noticed them until now.22:27
systemdleteI started md5sum on a 710MB file about an hour ago.22:27
systemdleteI rebooted this VM yesterday, btw.22:27
systemdletewth is going on all of a sudden?22:28
gnarfaceless than 710MB of ram allocated to the VM?22:29
systemdlete4g ram, lots of disk space too22:31
gnarfaceodd22:31
systemdleteI don't know.  the vm crashed sometime before yesterday morning.  I cold rebooted the vm.22:31
systemdleteI have fsck set to clean all fs every boot (tune2fs -c 1 )22:32
systemdleteI've looked through the system logs in the VM.  Nothing weird I can see.  I also checked on the host.22:32
systemdleteNone of the other VMs are behaving unusually.22:32
gnarfacemaybe a bug, hard to say, or something else chewing up the ram/cpu ?22:33
gnarfacetaking me about 10s to md5sum a 953M live iso here22:33
systemdletewell, I am running OMD (which is a front-end for a nagios-like system).  But I have been running OMD for over a year now without any problems, other than occasionally seeing it having a problem if I leave tbird or ff running22:34
gnarfacewhat to top and iotop say about cpu and disk bandwidth usage?22:34
fifihyperbolahello friends22:34
systemdletexorg is at the top22:34
gnarfaceof both?22:34
systemdletebut even that isn't using more than 2 or 3% most of the time.22:34
systemdleteyes, both!22:34
systemdleteI know they are evil, no need to remind me.22:35
systemdlete2 vCPUs allocated to the VM.22:35
gnarfacememory leak in something else could have crowded up the memory space perhaps?22:35
systemdletewell, htop shows only 1.63G of the 4G in use...22:35
gnarfacehmm22:36
systemdlete(and thanks for the help.  This is driving me nuts, and most likely, it is my own fault.  I just don't know what I might have done to cause this.)22:36
gnarfacedoes htop show caches? i had similar behavior when a memory leak in the nvidia drivers wouldn't free its caches22:36
systemdleteI haven't applied any updates in the past couple days that I can recall.22:36
gnarfacetry running this: free -h && echo '##### freeing memory leaked by wow #####' && echo 3 > /proc/sys/vm/drop_caches && sync && sync && free -h22:37
systemdletewell, it's hard to pick out22:37
gnarfacewe're looking for a big change in the before/after "free -h" output22:38
systemdleteso it went from like 1.9G to 2.0G free22:38
gnarfacenah, not big enough22:38
systemdletewell, cache did go down22:38
systemdletefrom 2.1 to 417M22:38
gnarfacetry the md5sum again?22:39
systemdlete2.1G to 417M22:39
systemdleteI said I gave the VM 2 vCPUs.  Keep in mind this is an FX8350 and I know that is OLLLLLLLD22:40
gnarfacethat's the same exact cpu i just got a 10s readout from here22:40
systemdleteon a 700mb ISO image?22:40
gnarfacea 953MB iso image22:40
systemdleteok, it has not finished up yet.  Killing...22:40
gnarfacethat was not pre-cached22:40
systemdleteshite22:41
gnarfacesomething's definitely wrong but i can't tell you what22:41
systemdletegnarface, I am running md5sum on the host now22:41
gnarfacealso see if sha256sum is faster, which it shouldn't be, but it also shouldn't take nearly an hour22:41
systemdletebtw, that download I tried before in the VM using wget or ff... on the host it is done!22:41
systemdletehost took about 3 secs22:42
systemdlete(if that)22:42
systemdleteso.  I am thinking maybe I should cold boot the vm again22:42
systemdleteGive me a few minutes and I'll report back.22:43
gnarfaceyea must be something weird in there22:43
systemdletecold boot seems to have cleared the VM's mind.22:49
systemdleteI forgot to check a couple other things, though.  I just didn't think of them.22:49
systemdlete1.  shut down omd22:50
systemdlete2. ff has a task display22:50
systemdleteactually...22:50
systemdlete3.  shut down ff and tbird22:50
systemdleteI wish I had thought of those--they might have revealed the culprit, whatever it was22:50
systemdletethanks for the assist, gnarface22:51
gnarfaceseems highly likely one of them was leaking memory, since they're known for it22:51
systemdleteff and tbird.  Oh, yeah.22:52
systemdleteI know, I know.22:52
gnarfaceafter the iso was cached here i was getting < 6s for sha256sum and just above 2s for md5sum22:52
systemdleteAnd I even have a script that can detect leaks.  I'll try to remember to run my script if this occurs again.22:52
systemdleteabout the same here... now, after cold reboot22:53
gnarfaceactually sha512sum is faster than sha256sum, not sure why that would be22:53
systemdleteThe star linux ISO I tried originally was the openbox version.  The instructions for booting with the expert installer do not appear to be on that one.  But it IS on the i3 version.22:54
systemdleteoops, I meant:  Following the instructions, I could not get the boot prompt to work for me.  On the i3 version, there is a menu option (advanced) for the various install varieties22:55
systemdleteno such advanced option in the menu on the openbox version22:55
systemdleteso I tried downloading another version, picking the i3 image, and that was taking forever, and why I came here crying...22:56
systemdleteI haven't looked at the xfce image yet.22:56
systemdletedownloading the xfce image now, this time in ff again, and it seems to be behaving itself nicely this time.22:59
systemdleteI am actually suspicious about omd, frankly.  I've noticed that sometimes it stops working, partially.  But if I stop ff/tbird occasionally, omd continues to work ok.23:00
systemdleteI could try adding another vCPU or two, but I don't want to rob my other VMs of power either.23:00
systemdlete(the others get 4)23:00
systemdleteomd is not supposed to be a memory or cpu hog, according to what I am told.23:00
gnarfacenothing is immune to memory leaks if there's a bug in the code somewhere23:01
FatPhilOrchestral Manoeuvres in the Dark?23:01
systemdletehow true that is!23:02
systemdleteFatPhil, that's pretty good.23:02
systemdleteOMD is a frontend to tools like nagios23:02
FatPhilI'm showing my age23:02
gnarfacei think i've even seen a memory leak caused by mismatched 32-bit and 64-bit memory freeing on multiarch23:02
systemdleteIn fact, it can actually be used with those.23:02
gnarface(which wasn't really a bug in the code itself but rather a bug in the package dependencies)23:03
systemdletegnarface, I just got finished writing a fairly simple C program.  Took me a month to get past all my own memory tramplings.  Of course, I hadn't written C in decades really.23:03
systemdleteOne thing I discovered is that strings are the main culprit, followed by arrays.  And even arrays don't cause nearly as much commotion.23:03
systemdleteI ended up writing a string concatenator program which I used not only for merging strings, but just for initialization because it auto mallocs memory.  Once I replaced all my string manip with that routine, 95% of my headaches went away.23:04
systemdleteanyway, getting a little off-topic23:05
systemdletewe should retire to the OT channel...23:05

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!