libera/#devuan/ Wednesday, 2024-09-18

Guest6809i'm getting this error when doing sudo apt upgrade:00:35
Guest6809Err:1 http://deb.devuan.org/merged daedalus-security/main amd64 fonts-opensymbol all 4:102.12+LibO7.4.7-1+deb12u500:35
Guest6809  404  Not Found [IP: 106.178.112.231 80]00:35
gnarfaceGuest6809: how many times did you try? deb.devuan.org is a dns round-robin, so sometimes if one mirror fails you just have to retry and it'll work00:37
Guest6809ok, i will try again00:39
Guest6809i tried it just now three times00:39
Guest6809same error00:39
gnarfacehmm, odd...00:41
gnarfacedid you remember to run "apt update" once first?00:42
gnarfacethe download link here worked for me https://pkginfo.devuan.org/cgi-bin/package-query.html?c=package&q=fonts-opensymbol=4:102.12+LibO7.4.7-1+deb12u500:42
gnarfacetry "apt update" if you haven't yet, then try it again00:42
gnarfacemaybe your package cache is just stale00:43
Guest6809yes i run apt update first00:43
Guest6809ok will try again00:43
gnarfacedoes this link work for you? http://deb.devuan.org/merged/pool/DEBIAN-SECURITY/updates/main/libr/libreoffice/fonts-opensymbol_102.12+LibO7.4.7-1+deb12u5_all.deb00:43
gnarfacethat one worked for me00:43
gnarfaceand it should be the same...00:44
Guest6809yep still the same00:44
Guest6809same error00:44
gnarfaceyou still get an error on that too?00:44
gnarfacehuh00:44
Guest6809exactly00:44
Guest6809ok will try that link now00:44
gnarfacewhen you retried with apt, did the error come up from the same ip address (106.178.112.231) every time, or was it a different one on each try?00:47
Guest6809 404  Not Found [IP: 106.178.112.231 80]00:50
gnarfaceso, same IP every time00:50
Guest6809yes00:51
Guest6809honestly i don't know what file to put the link you gave me00:51
Guest6809i tried to put it in sources.list00:51
gnarfacethis link? i meant to just try to download that with your web browser http://deb.devuan.org/merged/pool/DEBIAN-SECURITY/updates/main/libr/libreoffice/fonts-opensymbol_102.12+LibO7.4.7-1+deb12u5_all.deb00:51
Guest6809and then the apt update didn't work00:52
Guest6809oh00:52
Guest6809let me try00:52
Guest6809@gnarface thanks man the apt upgrade after i downloaded that file00:57
Guest6809it worked00:57
gnarfacealright, well i'm glad it worked anyway00:58
gnarfacethat doesn't really tell us what was going wrong, but sometimes there are temporary failures during mirror replication00:58
Guest6809alright. thanks. bye for now.00:59
systemdletegnarface, just got my c920s logitech webcam.  what did you say I need to load for that?02:27
systemdleteI've plugged it in, and made sure uvcvideo was loaded, but so far, nothing02:28
gnarfacesystemdlete: install uvcdynctl and issue uh... "uvcdynctl -c" i think? make sure it's /dev/video002:29
gnarfacemaybe just to disambiguate, and make sure your kernel is seeing it, issue a "v4l2-ctl --list-devices" first02:30
gnarfaceoh, and sorry it's uvcdynctrl that you want to nistall02:30
gnarface*install02:30
gnarfaceit should also be able to list cameras with "uvcdynctrl -l" but afaik maybe only the uvcvideo ones, which aiui is a subset of the v4l2 ones02:31
systemdleteoh, I saw a mint article which said uvcvideo... not your fault I got confused02:32
gnarfaceoh, uvcvideo is the kernel module, you'll need that too but i don't think you'll have to do anything special for it to autoload02:32
systemdleteok...02:32
systemdleteso I am running cheese, but see no image.  However, the blue leds on the sides are on02:32
gnarfacewhat did "uvcdynctrl -l" say? maybe you've just got something else showing up as /dev/video0, which would be the typical default02:33
gnarfacecheese may be trying to read from your tv capture card by default or something like that02:33
systemdleteoh02:33
systemdletewait I did not install uvcdynctl yet...02:34
systemdlete(doing now)02:34
gnarfaceuvcdynctrl02:34
systemdlete^ what you said02:34
systemdleteI see it also wants to install libwebcam002:34
systemdleteI can see where that might be useful...02:34
systemdlete:D02:34
gnarfacehmm, yea did that on mine too, i think02:35
gnarfacemostly i just use it with ffmpeg, but basically anything should work as long as you have the right path and permissions02:35
gnarfaceuvcdynctrl just adds access to LED and autofocus controls02:36
gnarfacesorry, not even auto-focus, just auto exposure02:36
gnarfacebut that can be helpful02:36
Guest574i'm trying to do automated repository configuration as per the posgresql website: sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh02:40
gnarfacesystemdlete: here, the setup script i'm using for timelapse... not sure if this helps or not: https://paste.debian.net/1329666/02:40
Guest574Here's the error message i got: https://paste.debian.net/1329667/02:42
systemdletegnarface, is there a simple video and audio program I can use for testing?  Including audio input?  (I'm assuming this device has input?)02:42
gnarfacesystemdlete: (probably could use adjustments, but my lighting situation isn't ideal and i don't really know what i'm doing so...)02:42
systemdlete(understood)02:42
systemdlete(still trying to make this baby burp a bit)02:42
systemdletee.g., does ffmpeg have a front end UI?02:43
gnarfacesystemdlete: yea, it's got a mic, you should be able to read from it just fine with arecord. any v4l2 supporting program should be able to get images out of it... ffmpeg does not but vlc is probably a good simple place to start02:43
systemdlete(all gui hate aside)02:43
systemdletedoes vlc have audio and video input?  I never noticed that02:43
gnarfacei think it should have them both, yea, i just find arecord easier to use02:43
systemdleteI only use vlc for video out02:43
gnarfaceit has tv card support, and the v4l2 interface should make webcams and tv cards basically the same thing02:44
gnarfaceVLC -> Media -> Open Capture Device02:44
systemdleteok, switching back over to the PC with the software...02:44
systemdlete(and thanks)02:45
gnarfaceno problem02:45
Guest574hey gnarface02:45
Guest574i'm trying to do automated repository configuration as per the posgresql website: sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh02:45
Guest574Here's the error message i got: https://paste.debian.net/1329667/02:45
gnarfaceGuest574: i'm not familiar with that process, but from this error this seems to be an issue with their repository not recognizing Devuan as a valid distro. you could try the Debian equivalent to daedalus, which would be bookworm, but do so at your own risk; this could hose your install02:46
Guest574yeah i'm not doing it. thanks anyway.02:47
gnarfaceGuest574: it might be a simple thing for them to fix, you could ask them about it...02:47
Guest574i see. thanks.02:47
gnarfaceGuest574: (it might not be, and either way they might cop an attitude about it too, so also do that at your own risk...)02:48
Guest574yes, thanks for the heads up02:49
gnarfaceno problem02:49
Guest574bye for now.02:49
systemdletegnarface, when I open the dialog, I get a dropdown for the device type, which is pre-selected as video camera, but there are no devices listed for the sound and video .  Also, any thoughts on choice of video standard for my testing?02:59
systemdlete(I've only recorded video once before, about 20 years ago, with an AIPTEC camera (worked, but only B&W)03:00
systemdleteand I should mention, I'm working on chimaera, not daedalus.03:02
gnarfacesystemdlete: the system i'm using mine on is a raspberry pi running ascii. what did you get for the output of "uvcdynctrl -l" ?03:05
gnarfacemaybe you need to load the uvcvideo kernel module manually after all? maybe you forgot to add yourself to the video group? ... maybe you just forgot to hit the arrow to open the pulldown? (it should be a freeform text field you can just type /dev/video0 into manually too, but there's clearly something simple missing here)03:07
gnarfacedamnit03:08
rrqsystemdlete: you have v4l-utils installed?03:13
gnarfacehe already disconnected03:14
gnarfaceping timeout 248 seconds at 18:08:0503:14
gnarfacehopefully the camera didn't explode...03:16
rrqright... I also have guvcview installed which is a bit helpful03:16
gnarfacewell, it shouldn't be difficult, and i still think it's probably a pretty simple permissions or path issue, but i haven't actually tested this camera since ascii, and it's busy right now doing timelapses so i can't yet03:18
gnarfacewell, if he comes back, someone get him to verify that it's creating a /dev/video# device when it is plugged in, first, then we can go from there03:28
systemdleteIt's starting to work, a bit, here and there.03:50
systemdleteI'm getting a very sketchy video, if it works.  The sound is awful, feedback keeps getting louder and louder.03:51
systemdleteI'm guessing this unit has a powerful input.03:51
systemdlete(is that "high gain?" idk)03:51
systemdleteThat's in a VM.  But on hardware/host, it does not play video.  Tailing kern.log, I see that there are zillionsof radeon error messages.03:52
systemdlete*zillions of03:52
gnarfacesystemdlete: you disconnected before i could answer your last questions, but i guess you must have found the right /dev/video* device?03:58
systemdletewell, nvm.  It works perfectly for zoom, which is sufficient for now.03:58
systemdleteyes, I did, and thanks for your patience.03:58
gnarfaceit should have its own volume control in alsamixer03:58
gnarfaceit might help if you turn it down a bit03:58
systemdleteNot sure why, but Comcast does weird stuff to my connection intermittently.03:59
systemdleteoh, sure, for vlc.03:59
systemdleteMy immediate need is for several zoom classes I am taking this semester as part of an adult CE program03:59
gnarfacewell, the alsamixer controls should work on anything, but zoom might have it s own conflicting volume controls, i'm not familiar with it03:59
systemdleteBut I will definitely fool around with the controls a bit and see if I can get vlc working full-fledged.04:00
gnarfaceimproving the video quality is mostly an issue in my experience of just dropping the resolution until you can attain a suitable framerate, then changing the auto-exposure setting to something appropriate for your lighting environment04:00
systemdletegnarface, oddly, zoom seems to have the magical ability to get everything working automatically.04:01
gnarfacehowever the camera can take both mjpeg and yuyv (raw) recordings, so if you're having trouble with performance in zoom make sure you're set to mjpeg (i only know how to do that with v4l2-ctl)04:01
systemdleteBut I think you are right; zoom probably does things differently.04:01
gnarfaceoh, well zoom might be programmed by someone competent with the v4l2 interface so it might just have sane defaults04:02
gnarfacei use that setup script i linked just because it was easier than figuring out how to make ffmpeg configure the camera right04:02
systemdletecompetent?  When so many millions depend on zoom every minute of the day?04:02
systemdletewhy, that would be downright... appropriate.04:02
gnarfaceafaik vlc doesn't really have any defaults, so you'd have to dial them in in the "advanced" pulldown, in some cases manually typing them in as a text string in some vlc specific format04:03
systemdleteI chose mp3/mp404:04
systemdleteI found that not choosing something caused vlc to hiccup04:04
systemdletevlc is very buggy, I find04:04
gnarfaceyea, vlc can be picky, and it doesn't really error check settings, so you have to know which codecs/containers work on your hardware and are compatible with each other too, because vlc will happily let you set nonsensical combinations that just crash04:05
systemdleteIf I add videos to the ones I've already chosen, it doesn't always work.  It is ignorant of webp files (but not webm or others)04:05
gnarfaceor that its requisite libraries are missing transcoding support for, or whatever04:05
systemdletevery linux/open source04:06
systemdleteheheheh04:06
systemdletea dig on linux, not dig on devuan04:06
gnarfacewhile you were gone, rrq mentioned that guvcview might be useful04:06
systemdleteooh, thanks rrq!04:06
systemdletethe file chooser dialog in vlc is a horror.  It doesn't handle embedded spaces in file and directory names correctly.04:08
systemdleteas well as some other characters04:08
systemdleteinstalling guvcview now04:08
gnarfacethe important tip i have is just to work on a simple setup script that will work with anything's generic defaults, partially because not everything has the ability to control all the camera's features like uvcdynctrl does, partially just so you can remember what settings you like and are best for the camera, and partially because it's gonna lose all those settings as soon as you unplug it...04:09
gnarfaceif zoom is smart enough to keep its own settings though, then good for it04:10
systemdletegreat idea, thanks for that tip04:11
systemdleteguvcview is great, but I can't find a way to listen or record.04:11
gnarfaceit might only do picture04:11
systemdleteno, it actually does have audio controls04:11
gnarfaceoh, huh04:12
systemdletethere is a filter called "echo" but I think that might be for the input side only04:12
systemdletespecial effect, or the like04:12
systemdletenot sure04:12
systemdletefirst time working with it04:12
gnarface"arecord -D hw:1,0 test_output.wav" should work04:12
gnarfaceif you just want to get a wav file from the mic04:13
gnarfaceor hw:#,0 whichever is the right one for the camera04:13
gnarface"arecord -l" should list them all04:13
systemdletearecord is only for audio though, right?04:13
gnarfaceyea04:13
gnarfacebut the mic in there just shows up as a generic alsa mic, nothing special about it being in a camera04:14
gnarfaceany alsa recording tools should work04:14
gnarfaceagain, like the video device though you gotta make sure you actually pick the right one (because it almost certainly won't be the default) and you need to make sure you have permissions too04:15
gnarfacein my experience it does default to max volume, unmuted though, so i don't think you should have to open alsamixer to set a volume first just to get sound04:15
gnarfaceyou might need to turn it down to get rid of feedback if you're not using headphones though04:15
systemdletenot quite to max, about 1/2 way in the white zone04:15
gnarfacehmm, that might be a change zoom made04:16
systemdletegetting the headphones working has been a chore04:16
systemdletethey are USB also04:16
gnarface(it will hold whatever volume settings you set until you unplug it)04:16
gnarfaceah, i see, so your output device is also not default04:16
systemdleteyes, looked at alsamixer after I ran zoom on same system04:16
gnarfaceyea, i can see how that would be annoying04:16
systemdleteright.  So there is this magical config file that I once had working for the headphones, but I lost it in numerous updates04:17
systemdletefor alsa I mean04:17
gnarfaceso, "aplay -l" should also list your USB headphones as their own device, and since they're a hotplug device they might be in a different order04:17
systemdleteI don't quite get the whole syntax of the files, and the ones in /etc are not the same as the ones in $HOME04:18
systemdleteI can see why a lot of people prefer to just use pulse and be done with it.  But I try to avoid such fluff if I can.04:18
systemdleteyeah, good idea.  aplay -l04:19
systemdletelet me go try that04:19
gnarfacei've been working on learning the syntax of the alsa configs a bit, i've gotten a lot of the important basics down, but i still have to often swap ~/.asoundrc files for different purposes04:19
systemdleteI think I ran into that also.04:20
systemdletebut it has been a few years since I had it working04:20
systemdleteonce again, and as always, thanks for the assistance.04:21
systemdleteYou've given me more than a few clues here04:21
gnarfaceno problem04:23
onefangJust a quick visit between todays various journeys.  I just feed ALSA to JACK if I need to swap things around for different reasons.  Makes it easy to switch inputs and outputs of everything JACK known about.  JACK is more a pro tool though.06:16
onefangAnd naturally the very first thing that happened after I said "no breaky breaky mirror mirror" is someone managed to break one somehow.06:17
rustyaxei been quite happy with pipewire/qpwgraph but i've got weird things going on (i've got multiple sound devices - speakers for notifications/whatever watching in browser, etc and a headset for talking to people. qpwgraph makes that much more pleasant to switch around on the go06:57
freemHi. Regarding coredumps (I mentioned receiving help here a while ago, and did an update on this 2 days ago), apparently oom-killer will *not* generate coredumps by default on debian (probably the kernel's silly default config, really... let's allow programs to allocate more memory than there is, kill them randomly when the memory allocated is used, and *not* generate a coredumps... linux is indeed great :'(), even if the program does not have signal12:55
freemhandlers (I made it sure to get rid of that). A quick research led me to this link https://serverfault.com/questions/662201/get-a-core-dump-of-debugging-a-process-killed-by-oom-killer, which itself hints at /proc/sys/vm/oom_dump_tasks, "Enables a system-wide task dump (excluding kernel threads) to be produced when the kernel performs an OOM-killing"12:55
freemI'm not fond of having a "system wide dump" really... it's going to freeze system and fill storage, it's a terrible behavior! I'll try to find an alternative, and use this if no other choice. I wonder how many changes I'll have to do to the system's configuration to behave sanely...12:56
freemsometimes I wonder how many programmers receive more economics lessons than electronics ones12:57
buZzwell, why would you need a coredump of a program thats shut down?12:57
buZzits not crashing, its killed12:57
freema program leaking memory enough to fill the system's ram is affected by a bug, obviously, and a coredump would help fixing the bug12:58
buZzfreem: but oom_killer isnt about 'program using too much memory'12:59
buZzits about 'computer has too little free memory'12:59
buZzimho debuggin memoryleaks is not oom_killer's job, but valgrind or similar13:00
freemconsidering the fact I had many, many system freezes which led to hours of work lost in the past because of overcommit and other shits like that, I do disagree13:00
buZzwhy not just save regularly? :P13:00
freemyou can't run a program under valgrind 100% time, it's way too slow, and to cover stricly all paths? won't happen any day soon.13:01
buZzobviously, you dont debug memoryleaks in programs 100% of the time too13:01
buZztypically you just run debian's programs on devuan , and they're nearly all well tested to not have memoryleaks13:01
freembut you do want informations about the process when it happens13:01
buZzoom_killer does log what process it killed and how much memory it was using, no?13:02
freemin a perfect world where debian have packaged all the software and where all the softwares are bug free, sure13:02
buZzbeen a short decade since i ran into it :)13:02
buZzfreem: ah ok, what programs are you running that leak often?13:02
freembut here I'm debugging a game dedicated engine which not packaged in debian :)13:02
buZzthey're from outside repo?13:02
buZzah, which engine?13:03
freemdaemon-engine, it's a quake3 successor kind of like ioquake3, with the main difference you don't write gamelogic in quakeC, but in any lang supported by LLVM, up to C++14 because gNaCl13:03
buZzcute :)13:03
buZzyou'd think a q3 descendant didnt introduce many memoryleaks :)13:04
freemgNaCl being also the reason why debian does not packages it (I'm fine with that, really, the dep is weird, old, unmaintained, etc)13:04
freemyeah, except... q3 uses their own VM system, which loads their own, historically non-standard and non-free C variant13:05
buZzright13:05
freemthe leak happens in a setup which is normally used for debugging purposes, too, not in the normal runs13:05
buZzah hehe13:05
freembut I need that debugging (and improved perfs compared to the in-VM runs) ability since I am modding myself13:05
buZzi've had such issues on arduinos (notoriously low memory mcu setup)13:05
buZzwhere my debugging introduced so much errors that i just switched to 'blink a led' as debugging ;)13:06
freemhttps://forums.unvanquished.net/viewtopic.php?t=2471 get a video about some of the upcoming changes in that engine, featuring the only game using it13:06
freemif you are interested :)13:07
buZzfreem: gigantic offtopic, but have you seen those AIs that can write 'full games' nowadays?  like on https://websim.ai/13:07
buZzheh i already had the unvanquished website open ;)13:07
freemwell... no, but then I also know how AIs are trained13:07
buZzits kinda amazing stuff13:07
freemtake everything humans produced, good or bad (more bad than good, sadly), mix it, take the average13:08
buZzsure :)13:08
freemso AI will only do sub-par quality imo :)13:08
buZztry it sometime ;)13:08
freemand this for a very huge resource waste13:08
freemthere are also quite the legal grey around this stuff13:08
buZzits not perfect, its not ideal, its just great fun13:08
freemI agree it can be fun to toy with such tools though13:09
buZzi'm not suggesting you sell whatever it produces ;)13:09
freemright13:09
buZzmost often, i use AIs outputs as inspiration to a topic13:09
buZzhere's some effect i had websim.ai write for me  ; https://space.nurdspace.nl/~buzz/trippy.html13:10
freemwell, in short, unvanquished is a fork of tremulous, which was a quake3 mod. It's graphics are more modern, at least13:10
buZzfreem: whats that XreaL ?13:10
freemI think an AI based tool was actually used by a contributor to refresh some old foss textures13:10
buZzah https://www.phoronix.com/review/xreal_engine13:11
freemI don't know the whole ancestry, but IIRC tremulous run on ioquake3, Xreal was an attempt at improving the rendering. Daemon-engine is apparently a continuation of that effort.13:11
buZzbit hard to find :)13:11
freemold stuff :)13:12
freemhttps://wiki.unvanquished.net/images/0/0d/Unvanquished_and_Daemon_history.png13:12
buZzquake3 isnt the newest either ;)13:12
freemwill be more exact than my memories13:12
freemtbh unvanquished was almost dead for a long while, but got new activity since a few years (3 or 4?) including non negligible bot improvements, and currently rendering improvements which are for next release, theoretically soon, but really when it's ready13:14
freemthe biggest problem for distro maintainers is really that google-NaCl is a quite old and complicated piece of software, and it makes boostrapping very complicated. There are plans (but plans are just that, plans) to go wasm instead, though13:16
buZzwebonly?13:16
freemno13:16
freemnothing web related13:16
buZzoh, i thought wasm was typically web oriented13:17
freemthe point is to have a way to distribute the games accross network, while keeping that foreign binary in a sandbox13:17
freemit is, but it does not means it's the only way to use it13:17
buZzright, ok13:17
buZzfancy stuff :)13:17
freemyeah, it's a bit too complicated to me :)13:17
freemmy own plans are more about getting bots smarter and funnier13:18
buZzi loved that story about the quake3 demo having bad bots when released13:19
freembut it's not really a trivial stuff neither, so being able to debug is important13:19
buZzand someone in the community made 'really good bots' and then ID software hired them to port the bots to the final version13:19
freemthere was a thesis on q3's bots13:19
buZzcute :)13:19
freempretty interesting read, if you ask me13:20
buZzi did my oral english exam on quake1 :P13:20
freemhttps://www.researchgate.net/publication/240430519_The_Quake_III_Arena_Bot13:20
freemneat13:20
buZzwe had to 'pick a article and do a oral report on it' , i picked some 10-15 page article on quake1 , it was just released13:20
freemnice13:21
freemwell, there were interesting improvements on game bots area since those times, notably this: https://web.archive.org/web/20230912145018/https://alumni.media.mit.edu/~jorkin/goap.html13:22
buZzcute13:23
freemthe big idea of that stuf is: you implement a bunch of actions, give them pre-requisites and expected effects (both are "atoms"), describe a goal (with atoms), and give the bot a model of the world (again based on those atoms). The stuff builds a graph, and runs A* on it. This gives the plan the bot will try to follow.13:24
freemthe nice thing is that it means you do not have to care about other actions implemented when you want to add one, it will find it's place automatically.13:24
freemI've spent enough hours (more like months...) on the behavior tree system implemented in unvanquished to understand the value of that idea :D13:25
buZz:)13:25
freemso I've spent some time working at reimplementing things to use this, but motivation and times varies13:26
freemand I started that right before those were a bit hard to find13:26
DFPI respect the approach, but it irks me that there isn't a way for the bots to anticipate the opponent's actions. I was thinking of a system where opponents get a turn too.13:28
freemI did other researches on the topic, ofc. There are many ways to implements AIs, but this one seems the most recent, and compared to others, the less painful to implement, when you want really complex behaviors. And a team-based game which allows building your base, and other stuff, is clearly complicated13:28
DFPSo you plan your first move, then consider the moves that the opponents might take, pick best, and plan your responses... So like a minmax.13:28
DFPStill thinking about it though, no concrete results.13:29
freemit is hard to anticipate a human's behavior, but I would say that bots usually do, on very short term (1 or 2 seconds)13:29
DFPI was thinking to use the bots' own algorithm to predict humans.13:29
DFP"If I was this character, what would I do?"13:29
freemah13:30
freemyeah, that seems very hard...13:30
DFPIf you restrict the problem to turn-based domain, seems a bit easier.13:30
freembut I have watched some F.E.A.R. videos after finding goap stuff, and it *looks* as if bots are trying to do nasty stuff13:30
buZzi'd love to see GANs or LLMs applied to 'be game AI'13:31
freemsuch as trying to catch their enemy from 2 sides13:31
freemI'm certain for on-line games, this will come13:31
buZzi saw unreal et al are deploying 'npcs can talk through a LLM'13:31
freemfor off-lines games though? Dunno. LLMs are quite resource intensive, right?13:32
buZzthe future seems fascinating :)13:32
buZzfreem: well, some are even cpuonly and not superslow13:32
buZzlike https://github.com/ggerganov/llama.cpp13:32
DFPMy latest thought was giving each 'actor' in the plan their own timeline, and have each action give a time estimate, so actions fill that timeline. So the planning essentially becomes almost turn-based, just with potentially multiple actions per turn depending on 'time points' available.13:32
buZzand 'webgpu' is a thing too13:32
freemI recently learnt (yesterday?) that modern CPUs have LLM-dedicated chips, too, they call that NPUs apparently?13:33
buZzyeah basically the modern version of hw opencv accelerators ;)13:33
buZz(like that myriad asic that intel bought)13:33
freemI don't think I know any game which is *not* turn based, technically13:33
freemthe only question is about how long the turn is. In unvanquished's case, the default is 0.1s13:34
freem"real time" in IT is not actually real time, but about running frames in a specific, well defined duraction (not too fast, not too long). Which is kind of close to turn based, except for performance constraints.13:35
freemwell, IT have many variants of "real time" anyway13:36
DFPYeah, but in this case it's more of a 'frame of mind' thing. You could look at something in different ways to find a perspective that makes it easier to solve a problem.13:37
freemindeed13:37
freemguess I'll write a "daemon" which watches my process and "kill -9" it when it goes above a threshold of memory... but that won't give me the info about which call generates the problem :'(13:39
freemoh... silly me!13:41
freemI apparently forgot to disable overcommit up there13:42
freemor did I enabled it for some reason now...13:42
buZzfreem: cant you make that NaCL stuff analyze the stuff it runs?13:42
freemif I get clean crash, then I might be able to get more data13:42
freemapparently, it's possible, but I know nobody hosting a mod who managed13:43
freemit's easy to say everything's fine, when you only host the stable release :)13:43
freemapparently you can't even gdb in that stuff13:44
freemwhich is why mod hosters run in one of the 2 native modes, one being "executable" and the other "dll", the dll one is the only one which allows to gdb in there and thus get intel about the problems, easily13:44
freemwhy is it impossible to ask the kernel to send a -9 seriously13:45
freemand is it really impossible?13:45
freemoh, perhaps I could use earlyoom13:51
freemno, it's silly13:51
freemI just need to disable overcommit and I'll see what happens. It's a toy server anyway, ain't a problem if something bad happens13:52
freemyay! it worked!14:04
buZzyay!14:04
freemso the solution to debug a damn memory leak without keeping gdb-server 24/7 is: disabled overcommit_memory (set to 2), and make sure the buggy process does not have crash handlers14:05
freemdisabling overcommit_memory means: asking the system to *not* lie to processes14:05
freemabout remaining resources...14:05
buZzhehe14:05
buZzseems important yeah ;)14:05
freemwhich I was persuaded to have done on my vps, but turns out I didn't... despite I do this on all my systems14:06
freemso that's the story... overcommit_memory not only makes your system thrashing to death if you dared to have swap (I disable it as well), but also prevents you to debug buggy memory code14:07
freemI wonder if freebsd have similar feature... if not, then I regret Debian/kFreeBsd was dropped (or better, a kOpenBSD or kNetBSD?)14:08
Guest3374Warning: Failed to open the file /home/devuan/.local/bin/yt-dlp: No such file14:28
Guest3374Warning: or directory14:28
Guest3374does Devuan doesn't have .local directory?14:28
freemdevuan is likely your username14:31
freemyou can create your .local directory if missing. System packages will not touch the home directories of users14:32
freemI more suspect the missing directory is  /home/devuan/.local/bin though14:32
Guest3374that's correct i guess14:33
freemand this, because many, many programs (all those following freedesktop's only sane recommendation) will create it14:33
Guest3374i'm trying to install yt-dlp14:33
freemjust "apt-get install yt-dlp" should do it?14:34
Guest3374and the command is this: curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ~/.local/bin/yt-dlp14:34
freemwhy do you not use the one provided by devuan or debian?14:34
Guest3374i though the one from github is the official14:34
Guest3374thought*14:35
freemthis command was probably given to you by someone who made their custom setup, adding ~/.local/bin to their $PATH. I personnally use ~/.bin for this14:35
Guest3374let me try14:35
freemoh, it possibly is, but it might have requirements which are not yet in devuan/debian14:35
freemI would advise you to use devuan/debian packages as much as possible, you will have less troubles. Using upstream binaries can be useful, though, when debian/devuan ones are lagging too far behind14:36
Guest3374same error14:36
freemwhat is the command you run, exactly?14:36
Guest3374ok i'll try the apt install yt-dlp14:37
freem% yt-dlp 2>&1 | upl14:37
freemhttps://p.mort.coffee/dKs14:37
freemthis is what I get when I try to run yt-dlp without URI, from debian's repo14:38
Guest3374yes, done installing using apt install14:39
Guest3374Oh no. It looks like Youtube is disallowing downloading now14:41
Guest3374it's being THROTTLED14:41
freemah, that is very possible. You could try to go through some invidiuos instance, though14:41
freemalso, I believe I only have yt-dlp installed because it's an mpv recommended dep, so perhaps mpv will know how to magically work around this kind of stuff14:42
freemI really don't know, though, I'm not exactly a youtube user14:42
Guest3374mpv14:44
Guest3374is it a player?14:44
sixwheeledbeastyt-dlp is often out of date from the repos14:46
freemyes, mpv is a player, that is launched from command-line14:46
freemakin to mplayer214:47
Guest3374i just want to download Youtube vids14:48
Guest3374let me try to update yt-dlp14:49
freemwell, sorry, I do not know enough to help more. Maybe someone knows how to install the upstream binaries14:49
freemoh!14:49
freemyou could also try with the backports14:49
freem  --\ Versions de yt-dlp (3)14:49
freemp A  2023.03.04-1~bpo11+114:49
freemi A  2023.03.04-114:49
freemp A  2024.08.06-1~bpo12+114:49
freemthis ^  is what I have in aptitude14:49
freemthe backported version seems very fresh, here is a link about debian's backports (which works for devuan as well, pretty sure): https://backports.debian.org14:50
freemhttps://backports.debian.org/Instructions/14:50
Guest3374thanks. let me check on this14:51
Guest3374Here's the output: https://paste.debian.net/1329707/14:54
freemthose to really thank are the maintainers who handle that burden :)14:54
freemhm... can you upload the result of `cat /etc/apt/sources.list /etc/apt/sources.list.d/*`?14:55
freemso that we can check you have the backports enabled14:55
Guest3374sure14:55
freemand after adding them, did you ran `apt-get update`?14:56
Guest3374a moment please14:56
freem(if you added it)14:56
freemno hurry, I'm trying to debug something on the side anyway :D14:56
Guest3374Here's the output of cat: https://paste.debian.net/1329708/14:58
sixwheeledbeastWhile I wouldn't generally recommend it, you would have been fine following the instructions from the git wiki.14:59
sixwheeledbeastthe current version is 2024.08.0614:59
Guest3374yes but it throws an error regarding a directory missing15:00
Guest3374Warning: Failed to open the file /home/devuan/.local/bin/yt-dlp: No such file or directory15:01
Guest3374sixwheeledbeast15:01
sixwheeledbeastonly unstable has that version.15:02
sixwheeledbeastin the repos15:02
sixwheeledbeastsid/ceres15:02
freemno, it's also in backports15:02
freemhttps://p.mort.coffee/bAU this is my own sources.list, and I do have the 2024.08.06 version available15:03
Guest3374check this @sixwheeledbeast https://paste.debian.net/1329709/15:03
freemGuest3374: you have not added the backport repos15:03
sixwheeledbeastI mean if the repo has the latest versions great you would be best to use that but i always find it was out of date and throws an error when I needed it.15:03
freemyou need a line looking like: "deb http://deb.devuan.org/merged/ daedalus-backports main" I think15:04
Guest3374ok let try to add it on my sources.list15:04
freemnot using devuan, I can't tell the exact line, though15:04
freem(the main difference between my system and a devuan is likely the name of the release though, I don't have systemd stuff installed neither :D)15:05
freem(so I'm in the same boat)15:05
Guest3374yep same error even after adding it in the sources.list15:07
sixwheeledbeastdon't try and solve it two ways, get it from backports if it's available.15:08
Guest3374yes i already tried to add the backports in the sources.list15:08
Guest3374and same error15:08
freemhow does one install a backport thing from CLI already?15:08
freemI always install stuff from aptitude's ncurses interface, it makes picking a specific version and seeing problems trivial... but it makes it harder for me to give commands to people :/15:09
freemsince basically, to install something from backports, you need to 1) enable backports 2) update the repos and 3) install the backported version, considering apt will default on the stable one15:10
sixwheeledbeastnot if the version number is higher15:10
rrqGuest3374: it's in daedalus-backports/main ... maybe you forgot "apt-get update"?15:11
freemI'm pretty certain backports won't be installed even if version is higher15:11
freemexcept if you worked your way with apt-pinning, but I would not recommend that to a beginner15:12
sixwheeledbeast apt policy yt-dlp15:13
Guest3374does ~/.local/bin/   directory exist in devuan?15:15
freemonly if user creates it15:16
Guest3374i see15:16
sixwheeledbeastNo, I wouldn't expect it to be in PATH either15:16
freemdebian or devuan will *never* touch anything in your home directory15:16
freemprograms will, ofc, but not debian nor devuan themselves15:16
Guest3374then why is the installation instruction in git points to that directory?15:17
freemthe installation instructions probably are "it works for me, on my system" stuff15:17
sixwheeledbeastI did spot that, you can put it anywhere but would need to be PATH15:17
freema classic.15:17
Guest3374what does PATH mean15:17
sixwheeledbeast/usr/local/bin is usual15:17
freemand this classic is the reason why distros are so useful, they avoid trying to guess what the dev's system looks like15:18
Guest3374so should i just put the yt-dlp in  /usr/local/bin then?15:18
sixwheeledbeastPATH is where the system looks for binaries when you call for them15:18
Guest3374i see15:18
sixwheeledbeastif you echo $PATH you will see15:19
freemyou can add folders to the $PATH variable, as well15:19
sixwheeledbeastI add personally add $HOME/.bin to PATH15:20
freem/home/USERLOGIN/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/USERLOGIN/.bin:/home/USERLOGIN/.bin15:20
Guest3374here's the output for the echo of PATH15:20
freemthis is the PATH I use, with USERLOGIN replaced by my real login, obviously15:20
sixwheeledbeastso put it in /home/USERLOGIN/.bin15:20
freemsixwheeledbeast: you misread :)15:20
sixwheeledbeastoh15:20
sixwheeledbeastyou do the same15:21
freemI was giving an example of what it looks on my system, I'm not the one who's asking15:21
sixwheeledbeast:nod:15:21
freemyeah, it's handy to put some scripts in there, and I do have a few. I also have a workaround for the fact some clang versions can't be debugged with ASAN/gdb because of binary format changed :/15:21
freem(the last one only, that is)15:22
Guest3374i got it15:28
Guest3374i just removed the ~ after the -o15:28
freemnice15:31
Guest3374thanks guys15:32
Guest3374i learn some things tonight15:32
freemthank us by helping someone when you have the occasion :)15:33
fsmithredFYI: Here a line from my ~/.profile that I did not add:15:37
fsmithredPATH="$HOME/.local/bin:$PATH"15:37
fsmithredit also adds $HOME/bin15:37
Guest3374thanks fsmithred. good to know.15:38
fsmithredThat's in daedalus. I don't think it was like that in chimaera or earlier.15:38
Guest3374@freem      i will if can15:38
freem:)15:39
Guest3374if i can* :))15:39
freemit's how things can be built15:39
* freem also can remember learning stuff *while* trying to help15:39
Guest3374yes, i agree that's the best way to learn15:42
marcfphi16:31
marcfpi'm MarcFP, finally with my "new computer" installed with Devuan16:31
marcfpthank's to all people, whose help me, and whose not helped too :) you are always welcome :)16:32
XenguyMarcFP, Enjoy : -)17:14
MarcFPthank's :)17:16
freemis there is a way to use apt-file to search for a *source code* file, when the deb-src repo is enabled?18:13
fsmithredfreem, what file are you looking for?18:40
freemI was searching for ./nptl/futex-internal.c18:41
freemwhich is the name given by gdb. Basically I was trying to find out why the memleak kills the program I'm debugging when either __futex_abstimed_wait_common64, __libc_accept, __GI___clock_nanosleep or __recvmsg_syscall were called18:42
freemI don't see why the 3 last syscalls would allocate, so was searching for the 1st ones code18:43
fsmithredI have src enabled for daedalus, and that file isn't showing up with apt-file18:43
freemyeah, me neither... a feature request perhaps :D18:43
fsmithreddownload the source and use find18:44
freemwell, I moved to another way to find my problem, since anyway this would not help18:44
freemthe app crashed when there was 1gig free according to free -h, so I smelled something like a fork() call18:44
fsmithredfwiw, you're talking way over my head18:45
freemsince I'm curious and this surprised me, I wanted to peek18:45
freemadd some procrastination since I'm a bit tired of the hunt...18:46
fsmithredsource code would be at salsa.debian.net18:46
freemah, thx18:46
fsmithredsorry, salsa.debian.org18:46
freemor could simply apt-get source glibc, it seems likely related18:46
freemglibc, libphread and kernel18:47
fsmithredsearching just futex gives me texlive_publishers as a package18:47
freemstill weird for a "wait" instruction to allocate though18:47
freemanyway, I *need* some beer now18:47
freemso I'll afk :)18:47
freembrb in ~30min I guess18:48
paculinoI think I accidentally made a fork bomb (by a mismatch in brackets around the conditional which would cause a fork). As a result I cannot use my shell... I'll have to reboot, won't I?20:07
paculinoI didn't have a system monitor open and only had one terminal open, so cannot end the process.20:08
paculinoTaskbar just vanished, so I'm going with yes20:11
freemcan you use the TTYs?20:15
freemctrl+alt+f[1-6] on traditional systems20:15
freemI don't remember if I had to work around stuff to keep that or not20:16
paculinoThe actual answer is rebooting is not possible, but a crash will be imminent anyway, so it doesn't matter much20:24
fsmithredalt-sysrq keys20:25
fsmithredalt-sysrq with R S U B to reboot20:26
fsmithredor alt-sys-K to kill X session20:26
paculinoI remapped alt to altgr since I lack altgr20:26
paculinowould mod4 work?20:26
fsmithredI don't know what that is20:26
paculinohyper I think?20:27
fsmithredor, can you ssh in from another machine?20:27
paculinoI crashed, started again, crashed again, then realized that I had to use awesome-wm so that the program would not start within a minute of booting thanks to me putting it in the startup programs list that mate has20:28
fsmithredouch20:29
paculinoI am now recompiling what I did20:29
paculinoI thought that the fork would only regenerate the precalculated points if the old list was too short, so removed the line that ended the program (returning a segfault) after regenerating it (so it would start the loop over)20:30
paculinoI am glad that I sed an alias to change the screen brightness; otherwise I would be blinded by the light right now20:31
paculinoI am, however, extremely impressed by the ram useage now. This is less than half my prior record (651 MiB)20:33
onefangWell done.20:33
paculinoI forget; what is the method to stop the starting of X when booting? I have the delay so that I can just barely login before it starts if I try five times.20:34
freemone can't ssh from another system when under fork bomb, since ssh would need to fork20:36
freem(to fsmithred)20:36
freemthis -> https://p.mort.coffee/2Cb <- is the "alt gr" key20:38
freem(according to xev)20:38
freemffs.. ok, I need a dev tool which requires kde20:40
paculinoWould a chroot work in a system with a fork bomb program as autostart (fortunately I only had it start from mate and be delayed)20:40
freemwhich means systemd20:40
freemwhich means time to say fuck you debian20:40
freemcan someone point me at a sources.list to move to devuan?20:41
freemI happen to *need* kcachegrind, and this stuff is tied to KDE, which some smartass decided must require systemd bullshit20:41
paculinokde requires systemd now?20:41
freemon debian, yes20:41
paculinoDo you just need the default debian sources.list?20:42
freemain't systemd a pretty lovely worm?20:42
freemno, the devuan ones. I'll migrate today (again, technically, since I was an early adopter :p) and be happier20:42
freemI don't feel in mood to fight the maintainer's stupid ideas today20:43
paculinoSo you temporarily migrated to debian?20:43
freemplus, they never even answer when you ask a question on  #debian, so... I guess time to embrace20:43
freema long while ago, I moved to devuan out of curiosity. Aptitude was broken, though, so I moved back after a while20:44
paculinoHere's my sources.list, freem:20:44
freemthx in advance :)20:45
paculinoWait, I now remember that the pastebin is preferred20:45
freem:)20:45
freem% upl .bin/upl -k20:45
freemhttps://p.mort.coffee/Ihf20:45
freemis what I use ;)20:45
freemI do need to improve it to put the URI in both stdout and xclip though20:46
freemjust | tee | xclip or something I suppose20:46
freemor maybe socat, since tee only prints to standard output and *files*20:47
freemoh, silly me20:47
freem% echo foo | tee /dev/stdout20:47
freemfoo20:47
freemfoo20:47
freemsolution's so obvious20:47
freem(the point to print in both is to allow both selection for some reason *and* to avoid grabbing mouse to copy it)20:48
paculinohttps://www.devuan.org/os/documentation/install-guides/daedalus/bookworm-to-daedalus is better than just showign my sources.ist20:50
paculinosources.list *20:50
paculinoWell, I'll log out so I can return to mate; hopefully it works this time20:51
freemthx20:52
paculinoOh, it appears I never set up a log out widget when trying the bare minimum setup in case I needed this as backup20:54
freemwhat is the devuan equivalent of bullseye?21:22
freemI still have programs from then, because they'd segfault if I take the stable ones21:22
freemdespite the code source of the author was *not* changed, the version nubmer being exactly the same (so it's a debian patch which fucks everything... what changed, I wonder... hm... might start with a s, and end with a d?)21:23
freemwxHexEditor being the name, and I do like this tool, a graphical hexeditor comes in handy at some times21:23
freemI have bullseye, bookworm, and buster sources21:24
yetiwhy graphical?21:24
freembecause I'm not masochist21:24
yetisome editors do it well21:24
freemI do use a lot of CLI/TUI tools, but it is always when no graphical alternative can be used by a keyboard lover21:25
freemwhen a GUI tool *can* though, it outclasses TUI, which itself always outclasses CLI when it comes to interactively manipulate large amounts of data21:25
yetiBS21:26
freemif you say so21:26
yeti_o/"   bye.21:26
freembut I will have you know that the reason I stay with debian/devuan is because aptitude is far better than any CLI package tool, for example21:26
freemotherwise I'd probably be a void-linux user21:27
freema *resilient* rolling release distro, unlike arch21:27
yetiaptitude is good for some things, apt-get is much faster for others21:27
freembut I felt like I had hardly any ability to gain control on my system21:27
freemyes, ofc21:27
freemfor scripting, I'd pick apt-get anyday21:27
freem(well, technically false, I would then pick dpkg...)21:28
freem(did that, already, in the past, for a job)21:28
freemin any case, I'm perfectly happy mixing 3 or more debians, it's much easier than what I used to do21:31
freemwhich is apt-pinning. I even remember moving from stable to testing to unstable+experimental, then back to stable. Without reinstall.21:31
freemthis was only possible because of aptitude's TUI, the same way I only really master my system and learnt that much because of that same TUI, despite it's defaults (if only I could get rid of the solver!)21:32
EarlGreyAre the Devuan repositories down?? ive been trying to update my system but its not working. stuck on dev.devuan.org.21:33
freemnow that I think about it,  I could just do a frankenvbuan21:36
freem(no typo there)21:36
freemjust need to replace one of the sources this way21:36
freemhttps://www.devuan.org/os/documentation/install-guides/daedalus/bookworm-to-daedalus this page is missing an important element for me though21:37
freemwhere does devuan mirrors the dbgsyms?21:37
freemalso daedalus is a great name, it kinds of evoques to me the troubles one have to suffer to *not* be annoyed by systemd21:38
fsmithredEarlGrey, first, make sure you're using deb.devuan.org and not dev.devuan.org21:39
freemwhich makes me think, are there devuan people trying to take over the effort for a kFreeBSD?21:39
fsmithredsecond, sometimes you catch it when a mirror is updating and it'll work again a few minutes later.21:39
freemno, apparently, it's the DNS resolution which is failing, fsmithred, EarlGrey21:43
freemit says to be a temporary, so yeah, let's retry in a few moment... even if DNS errors are usually not clear21:44
fsmithredI just did an upgrade in the last five minutes21:45
freem% LANG=C ping deb.devuan.org21:46
freemping: deb.devuan.org: Temporary failure in name resolution21:46
fsmithredok, but why would that affect EarlGrey?21:47
freemI'm not a network expert though. I know there are ways to get more data but...21:47
freemI used *ping* not apt-get21:48
freemso we probably have common DNS somewhere in the pyramid21:48
fsmithredmaybe. ping works here.21:49
fsmithredUS East coast21:49
freemwestern europe here21:49
fsmithredI hit a .de mirror21:49
fsmithred64 bytes from mirror.checkdomain.de (46.4.50.2): icmp_seq=1 ttl=40 time=106 ms21:50
freemI know there are some stuff about dnsmask and the likes to help on this, but I ain't network admin21:50
fsmithredme neither21:50
freemI have some basics of system admins, and relatively decent C++ coding skills, but is all21:50
freemI'm much more skilled at drinking beers, but that's likely offtopic :)21:51
freemyou can't train in everything after all21:51
EarlGreyim trying to do a netinstall21:51
EarlGreyof peppermint os devuan, which is based on devuan's main repos21:52
freemwhat's that, out of curiosity?21:53
fsmithredit's a debian-based distro. I'm familiar with it.21:53
fsmithredEarlGrey, maybe try selecting a specific mirror from the list.21:53
EarlGreyits like linux mint, but with debian and devuan21:53
EarlGreyfsmithred i did21:54
freemlinux mint?21:54
freemI know mint, not peppermint21:54
freemIIRC they have 2 variants, one on ubuntu and other on debian21:54
freembut this is about mint...21:55
freemoh, thx, EarlGrey21:55
EarlGreythis isnt mint, its peppermint21:55
* freem brain lags a bit after all that leak hunt21:55
EarlGreyit has 2 variants, debian and devuan.21:55
freeminteresting21:55
freemdo you have a link? I'm curious21:55
freemnvm, I'll get one myself21:55
fsmithredEarlGrey, which mirror are you using?21:56
fsmithredEarlGrey, which mirror are you using?21:57
EarlGreyi tried deb.devuan.org and us.deb.devuan.org21:58
fsmithredapt-panopticon shows deb.devuan.org had errors21:59
fsmithredon http21:59
fsmithredThat is a round-robin. If you look at the list I linked, there are all the specific mirrors listed. Pick one close to you and try that.22:00
EarlGreydid somebody trip on the server plug? -_-22:00
fsmithredNo, I think what happened is our mirror herd said he would be offline for a bit and there better not be any problems.22:00
EarlGreyand yet there are problems22:01
fsmithredMurphy strikes again.22:01
EarlGreyim guessing this isnt the first time something like this happened?22:02
fsmithredNo, mirrors go down and up all the time. But as a said before, deb.devuan.org worked for me just a few minutes after you first posted. Is it still failing for you?22:03
EarlGreyi cant tell right now. im tryna reinstall it on my laptop and i failed like 5 times22:04
EarlGreyill keep u guys updated i guess22:04
fsmithredwait22:04
EarlGreyhm?22:04
fsmithredif you can't easily select another mirror in the installer, choose Expert install22:04
fsmithredand you will get more choices. But I thought mirror selection was available in regular install.22:05
fsmithredok, that's all22:05
EarlGreyi can do that if i install pure devuan, but i was trying to install peppermint os22:05
fsmithredoh22:06
EarlGreyit doesnt have expert install sadly22:06
fsmithredI'm not sure what installer they use or how you would hack their sources.list in the installer.22:06
yetiit'd add --download-only if it were a manual update via CLI, but apps sure do rock... :-Þ22:08
yetirepeating with that until everything was dl'ed22:08
golinuxEarlGrey:  Peppermint uses the Calamares installer.22:11
EarlGreythey added a mini installer based on the net installer recently. gives you more choices22:11
golinuxAnd here is the announcement for it. https://dev1galaxy.org/viewtopic.php?pid=44698#p4469822:14
* golinux wipes egg from face for the second time today . . .22:15
EarlGreyi would use mx linux but it broke on me like 3 times22:19

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