libera/#devuan/ Wednesday, 2021-11-10

Afdal40 minutes -____-00:00
gnarfaceit won't be as slow as the first time unless you ran "make clean"00:00
fluffywolfit should only take a few seconds if you run it again, unless you changed things.00:00
Afdaloh rite <.<00:00
gnarfacethese warnings are consistent with a version mismatch or missing -dev package00:01
gnarfacethey'd be consistent with sloppy code too, but when you see this many in a row it's usually something missing00:02
Afdallet's see here, what's an easy way to cat a log into a web paste again00:02
gnarfaceyou can configure pastebinit to use paste.debian.net i think00:02
gnarfacebut if you used the "> ~/... 2>&1 &" trick i mentioned before then it's already in a file and paste.debian.net will accept text file upload00:03
gnarfaceor you could open it in emacs00:03
gnarfaceif you used that trick verbatim it might be still running in the background though, make sure it's done before you grab the file00:04
fluffywolfif you try solving a problem with emacs, you then have two problems.00:04
gnarface:-p00:04
Afdalthat 2>&1 & gobbledegook didn't work for me00:04
Afdalpastebinit it is...00:04
gnarfacewell wait00:04
gnarfaceit had to work00:04
gnarfaceit has to work00:04
gnarfaceit won't show anything on the terminal though00:05
Afdaloh00:05
fluffywolfI usually 2>&1 | tee foo.log00:05
gnarfaceit'll redirect to the file you tell it00:05
Afdalwell it also ends instananeously so I presumed it didn't even try to compile00:05
gnarfaceno it's cached00:05
gnarfacealso it backgrounds so, like i said, it might still be running in the background00:05
gnarfaceyou can check with "ps aux --forest"00:05
fluffywolfthe extra & at the end of the suggestion above makes it run in the background, and with the output redirected, you won't see it.  this is, imho, a really bad way of doing that.  lol00:06
fluffywolftee exists for things like this.00:06
gnarfaceprobably so00:06
fluffywolfjobs will tell you if you still have something running in the background.  fg will re-attach you to it.00:07
Afdalhttps://termbin.com/4xhu00:08
Afdalthere we go00:08
gnarfacecan't make it go to paste.debian.net?00:09
fluffywolfthe first two errors about missing packages are probably a good place to start.00:09
fluffywolfthere's also a few errors about c++ standards and such, but I'd see if they go away when fixing the package issues first.00:10
gnarfacefluffywolf: this is an attempt to build a really old mame version on chimaera, we've already had to disable -Werror and force python2 in the make file00:11
fluffywolfI'd wonder if a ./configure or such didn't complete properly.00:11
gnarfaceit doesn't have ./configure00:11
gnarfacewait00:12
Jjp137Afdal, do you use the MAME debugger at all? if not, go to src/osd/sdl/sdl.mak, and remove the # in front of line 6800:12
Jjp137otherwise working around this Qt problem seems like a huge pain00:12
fluffywolfwell, then edit your makefile and add the c++11 options it tells you to add to the cc flags...00:12
gnarfaceAfdal: in the source directory, there isn't by chance an automake or autogen script or something like that in place of ./configure, is there?00:12
* gnarface just assumed it predates mame using that but didn't check00:12
fluffywolfit's not that old if it wants c++11.  lol00:14
fluffywolfI mean, the c++11 spec is only ten years old, as you might guess from the 11...00:15
gnarfaceyea i guess not, and actually it wanted a newer libjpeg than was in chimaera00:15
gnarfacebut the point is it's old enough to default to python200:15
fluffywolfand no real software started using the new spec the day it came out.00:15
fluffywolffigure out how to properly configure it.00:16
gnarfaceAfdal: we might have missed an early step if there's a ./autosomething script in the src directory you're supposed to run first to generate the ./configure script... that's not common but i've seen it before in places, not sure if i remember it being a mame thing or not00:18
gnarfaceAfdal: try running "ls -l auto*" in the directory the makefile is in00:19
Jjp137nah I have the source downloaded, and the readme says "If you're on a *nix system, it could be as easy as typing `make`"00:19
gnarfacealright, noted Jjp13700:20
fluffywolflink to source?00:20
gnarfaceAfdal: nevermind that last one00:20
fluffywolfI don't even know what we're working on.  lol00:20
Jjp137https://www.mamedev.org/oldrel.html (version 0.160)00:21
fluffywolfwhy do you need the old version?00:21
fluffywolfholy fuck that's a big file.00:22
* fluffywolf downloads it to a linode instead of at home, since it's too big00:22
Jjp137reasoning: http://reisenweber.net/irclogs/libera/_devuan/_devuan.2021-11-09.log.html#t2021-11-09T22:04:5900:23
gnarfacefluffywolf: replay files00:23
gnarfacefluffywolf: incompatible with the new version, apparently00:23
gnarfacefluffywolf: (overarching goal is to screencap them with ffmpeg so this old version can be ditched once and for all)00:24
fluffywolf...  the zip file seriously contains nothing but another zip file.00:24
fluffywolflol00:24
fluffywolfdid you go through the makefile?00:25
fluffywolf# uncomment to compile c++ code as C++1100:25
fluffywolf# CPP11 = 100:25
* gnarface didn't look00:25
Jjp137well we'll wait for Afdal I guess ^00:26
fluffywolfI don't know why they'd have files that only compile as c++11, then make it a configuration option, but that'd be a good place to start.00:27
fluffywolfI don't have enough of a build environment to actually try doing anything with it on my linode.00:27
adhocwhat are you building ?00:27
gnarfacei would have to assume it has something to do with the test compiler being the windows one00:27
Jjp137maybe a past Qt version tolerated it idk00:28
adhocmorning all00:28
gnarfaceadhoc: mame 0.160 on chimaera00:28
adhocmame ... the archade machine emulator ?00:28
gnarfaceyea00:28
adhocneat =)00:28
fluffywolf"To compile MAME, you need a C++17 compiler and runtime library. We support building with GCC version 7.2 or later "  wow, they really like using new c++ features.00:29
adhocis/was there a debian build script for that ?00:29
adhocfluffywolf: that they do. c++ folk in my old work were always pushing the versions up...00:30
adhocwe have gcc 10 on chimaera, right?00:30
Jjp137yeah00:30
fluffywolfI learned c++ more than two decades ago, before they had any of this stuff.  heh.00:31
gnarfaceadhoc: the problem is it's an old version, there's already a package for it in chimaera, but it's not compatible with Afdal's replay files00:31
adhocah00:31
adhocare there tools to port the replay files forward to the new version ?00:32
gnarfaceno idea00:32
fluffywolfusing the debian build scripts from an older packaged version with the exact version might deal with some of the dependency issues and compiler flags and cra.00:33
fluffywolfcrap00:33
gnarfacehmm, an interesting idea00:34
gnarfacei think we didn't expect to be this far down the rabbit hole00:34
gnarfaceif it has a ./debian directory at the top level there's a chance you could do it easily i think00:35
adhocthere are always other options00:35
fluffywolfinstall windows in a vm and use the binary.  :)00:35
adhocif the older version of the tool for older replay files is still available, why not spin that up on a vm or container of an old version of devuan ?00:35
fluffywolfI still use glib and gtk+ 1.2.10 here, which I have to tweak to make compile on a modern system, but they still do.00:36
fluffywolfwith tweaking, that is.00:36
gnarfaceadhoc: this was supposed to be faster, maybe now we should have00:39
gnarfaceadhoc: user wanted to specifically avoid having to set up and manage containers00:39
adhoccontainers are work00:40
adhocthey are also a neat way to package up versions of software that don't fit nicely on your ideal platform00:40
adhoci run chimaera containers on beowulf, and vice-versa00:41
adhocalso a bunch of other things i don't want to spray depencencies on local machines, or machines with limited storage00:41
adhocVMs or physical00:42
adhoclocal kubernetes infrastructure or things in the cloud00:42
adhocit has taken me a loooong time to get comfortable with using containers, really finding the corner cases where they are actually appropriate00:44
adhocnow getting into the bowels of it, grokking how to build them from scratch00:45
Afdal<Jjp137> nah I have the source downloaded, and the readme says "If you're on a *nix system, it could be as easy as typing `make`"01:30
Afdalthat's the best part XD01:30
adhoc*could*01:32
Afdalremoved that bit about qt debugging and compiling again now01:33
Afdalwe'll see what happens...01:33
Jjp137you removed just the #, right?01:34
Afdalyeah01:34
AfdalWhile we're on the subject of compiling emulators01:36
AfdalI've always wanted to compiled ZSNES01:36
Afdalbut it's written in x86 assembly01:36
Afdaland last I checked it's rather difficult to get the right build environment in x64 systems01:37
AfdalMaybe after compiling MAME makes me a pro compiling athlete I'll finally give that a go01:41
adhoca x86-64 machine can run 8086 assembly, but not in protected mode ;)01:41
adhochow much x86 assembly is in ZSNES ?01:42
Afdalquite a bit I think01:42
Afdalit's why it's so fast01:42
adhocthere are machine code to assembly dissasemblers01:42
adhocand also assembly to C translators01:42
fluffywolfdoes a snes emulator need to be fast in the last 20 years?01:43
adhocjust emulate an x86 machine =P01:43
AfdalActually ZSNES has a special niche still01:44
Afdalit's not the speed that's so useful01:44
adhocdoes ZSNES run on DOS? mayebe FreeDOS ?01:44
Afdalit's its impressive netplay system01:44
AfdalIt works fine in Wine01:44
AfdalI'd just like a native build01:44
adhocoh, so its a win32 app ?01:45
* fluffywolf doesn't know much about games01:45
AfdalNo there are Linux builds01:45
Afdalit's just01:45
Afdalnobody compiles the older versions01:45
Afdalwhich had the netplay01:45
Afdalthere's a very specific old version that has extremely robust desync-free network play01:45
AfdalThis seems to be doing over the entire compile after removing that debugging support flag, so this'll probably take another 40 minutes to see results again01:49
AfdalOoh actually I hope "debugging support" doesn't include the cheat engine for things like freezing variables or watching memory addresses in games01:49
AfdalThat actually is important to me01:49
fluffywolfI wouldn't think so.01:51
AfdalI've heard that stuff referred to as a debugging tool before01:51
Afdalah there, it failed again01:54
Afdalwhaddya think https://paste.debian.net/hidden/1a6b9fb1/01:56
Afdalsomething about LD this time01:57
fluffywolfI usually think of, when it comes to compiling things, debugging support meaning some combination of compiling with debugging symbols and -O0, and including code to log internal things based on some command line or environment flags.01:57
AfdalA lotta undefined reference errors01:58
Afdalthat's a gcc version probably rite01:58
Afdalversion problem probably*02:00
fluffywolfI would think it's going to be a library or such, not gcc02:01
gnarfacelooks like glibc02:03
gnarfacei think glibc version02:03
gnarfacemaybe looking for 2.2.5 and finding something incompatible?02:03
Afdalwait... what's the difference?02:03
fluffywolfthat object member is provided by the mame source.  it's very unlikely a gcc issue.02:03
fluffywolfis that the entire compile output?02:03
gnarfacehmmm02:04
fluffywolfsomething that includes drivenum.h didn't get compiled and linked in.02:04
Jjp137does obj/sdl64/mame/mame/drivlist.o exist, and if so, how big is it?02:04
fluffywolfprobably an earlier error02:04
gnarfacei wonder if we've changed enough that a "make clean" would have been in order?02:04
Afdalno that's not the whole thing02:04
Afdalshould I pipe it to an error log again02:05
gnarfacemaybe02:05
fluffywolfyes.  2>&1 | tee foo.log is my favorite way of doing that.02:05
fluffywolfbut, a make clean might indeed be in order...  but you'll have to wait 40 minutes again.02:05
fluffywolfhrmm, we could do the cable internet provider thing, and tell people to make clean and call back instead of reboot the modem and call back?  :)02:06
Afdalh-here I go...02:06
gnarfacebut... the thing i see is it fails during linking though, not building, and the first thing in the linking warnings is a warning about the native libc6 overwriting the definition of what appears to be the same class that then gets complained about having missing/undefined symbols, leading to the fail...02:06
gnarfacei admit i don't really understand what's going on here but it looks suspicious02:06
Afdalwhat does that 2>&1 gibberish do again02:07
fluffywolfare you making with -j <number of cores + 1>?  (i.e. make -j5)02:07
Afdalnope02:07
Afdalnothing fancy02:07
Afdalshould I multithread the compile?02:07
fluffywolf2>&1 redirects your standard error stream to your standard output stream, so you can pipe both to another program at once.02:08
gnarfaceAfdal: rough translation "send errors to the same place output was already going" (so they don't get left behind by the | )02:08
AfdalCan you explain it to me in parts...02:08
Afdalwhat's the 2 signify02:08
fluffywolfif you have more than one physical core, you can substantially improve compile time.02:08
fluffywolf2 is standard error02:08
fluffywolfthe fd02:08
gnarfaceAfdal: the text coming to the terminal is actually a combination of errors and regular text output, coming from TWO separate streams, rather than one02:08
gnarfaceAfdal: by default there's no visual distinction done by the terminal, but if you redirect one of them you want to keep them together usually, that's what the "2>&1" makes sure happens02:09
AfdalI've seen output with lots of errors before and a simple &| tee was enough to grab them02:09
gnarfacei've never seen that syntax before02:10
gnarfacedoesn't mean it won't work02:10
gnarfacebut... it might have been a specialized build system too that only uses stdout instead of stderr and stdout02:10
gnarfacewouldn't that background it though first?02:11
AfdalWait does does an ampersand signify in bash?02:11
Afdalwhat*02:11
gnarfaceit does different things in different contexts i guess02:11
Afdal-_-02:11
gnarfaceat the end of the command-line it backgrounds the command02:11
gnarfaceif you write it as &1 that means "where 1 is going also"02:12
gnarfacethe > is the literal text readirect02:12
gnarface*redirect02:12
Afdaloof, so esoteric02:12
gnarfaceso stdout is #1 and and stderr is #2 as fluffywolf waid02:12
Afdaldoes FISH have less byzantine syntax02:12
gnarface*said02:12
gnarfaceso 2>&1 sends 2 to where you send 102:13
gnarfacewhich is only necessary if you're redirecting 1 somewhere, like with another > or |02:13
AfdalI think I understand now02:13
gnarfacetee is nice because you can use it to copy the output to two places at once02:13
Afdalall right so I have eight cores02:14
Afdallet's try -j4...02:14
critrwow, even i understood that. thanks, gnarface02:14
gnarfacenp02:14
fluffywolf-j902:14
AfdalDoes that do something :o02:14
fluffywolfuses the other four too.  :P02:15
Afdalbeyond j802:15
gnarfacei mean, it probably won't help extra02:15
fluffywolfand having one extra can make it a little faster since it can run while one of the others is waiting for i/o.02:15
AfdalI had a bad experiencing compiling something with all my cores once so I'm afraid to use them all02:15
fluffywolfi/o is usually a fairly small part of compiling, so it won't make a huge speedup, but will make a little.02:15
AfdalThat was when my last CPU melted ~_~02:15
gnarfaceyou could overheat easily like this if your cooling solution is inadquete... -j4 is plenty02:16
fluffywolfthat's not the compiler's fault.  that's the cooling's fault. heh.02:16
gnarfaceinadequate*02:16
fluffywolfalso, any modern cpu will throttle before melting.02:16
Afdalit already had problems but that was the final straw02:16
fluffywolfthe days of exploding dies are past...02:16
AfdalActually, I had to -disable- throttling on that particular CPU to get a stable system02:17
fluffywolfoh, so it was user error too.  :P02:17
gnarfaceAfdal: i don't blame you for being wary - i don't trust hardware overheat protect defaults much either.  these people are in the business of selling hardware and just because the cpu isn't critical yet doesn't mean they've thought to protect the video ram02:18
Afdalnah either the CPU or the motherboard was broken from the beginning02:18
Afdalmight have been both actually02:18
fluffywolfan ampersand just means file descriptor.  it can have some automagic defaults and special values other than just a number.02:19
AfdalI'm still using that motherboard02:20
Afdaland in fact it was an obstacle for ages to me installing other distros02:20
fluffywolfI think in that context is means to duplicate it rather than replace it, or something.02:20
Afdaland why I felt the need to install Devuan over ssh02:20
* fluffywolf is not a bash expert. also, is not sure anyone can be a bash expert, since bash is friggin' huge these days...02:20
AfdalBut surprisingly, amazingly, it seems some sort of software or kernel fix on Devuan has finally resolved my issue and I can actually allow my screensaver to power off my monitor without it causing my whole system to freeze up02:21
gnarfacehehe02:21
adhocfluffywolf: you can learn enough useful bits of bash =)02:22
fluffywolfupgrading to chimaera has caused this box to become slightly unstable somewhere in the power management stuff, which I need to track down at some point.02:22
adhocdebian has always been flakey on laptops02:23
adhocdebian/devuan has always been good on servers ;)02:23
fluffywolfif it switches from a/c to battery while the screen is blanked, it doesn't always wake up.02:23
adhocfluffywolf: so it is probably more to do with the hardware and kernel support02:23
adhocfluffywolf: yup, this is why i don't bother with linux on laptops any more02:24
Afdallol02:24
AfdalLinux is the only thing that makes laptops bearable for me02:24
adhocmakes ones backpack lighter ;)02:24
fluffywolfgoogling that error suggests that you might need to add -no-pie to your cflags, but I haven't read up enough on it to say that with any confidence.02:24
adhocAfdal: desktops FTW!02:24
Afdalstill sucks tho02:25
fluffywolfadhoc:  I've had good luck.  I pretty much only use laptops now.02:25
* adhoc grew up in the era of "you can't trust a computer you can lift"02:25
Afdalgoing from my custom built desktop mechanical keyboard with uber tactility to a trashbin tier chiclet keyboard on a laptop02:25
adhocew02:25
fluffywolfI mostly use toughbooks; they have pretty good keyboards.02:26
* adhoc has been enjoying a number of very noisey mechanical keyboards recently02:26
Afdaland those absolutely horrible touchpads they make these days...02:26
adhocfluffywolf: we used to use them at work (previous job) and we supported freebsd on them, they were solid.02:26
fluffywolfthey're not as good as my unicomp, which is in turn not as good as the old model Ms that I wish I still had, but they're rather good for laptop keyboards.02:26
fluffywolfthe worst laptop keyboard I have ever used is my hp stream 11.  it is utterly awful in every possible way.  even the controller is awful - if you type fast, it only gets every other keystroke!02:27
fluffywolfI have no idea how they managed to fuck that up so badly.02:27
fluffywolfif you type "password", it always comes out as "pasword".  I think they're doing some kind of debounce to make up for utterly horrid switches.02:27
AfdalI got myself a nice System76 machine but even they, who deal with enthusiasts, couldn't resist a lame chiclet board02:27
Afdalit's probably one of the better chiclet boards out there02:28
Afdalbut it's still a chiclet board02:28
fluffywolfalso, whomever decided that rather than having buttons, you should click the entire touchpad down, needs to be beaten repeatedly.02:28
Afdalindeed02:28
Afdalthe buttons on mine are completely garbage with barely any tactility02:29
AfdalI'm thinking I may have to mod them somehow02:29
Afdaltap clicking is the worst idea ever invented and it blows my mind whenever I try a desktop environment that has it on by default02:29
fluffywolfmore googling still makes me think the relocation error is a result of a missing object, not the root cause.02:30
AfdalWhoa...  I think this compile actually finished this time02:30
fluffywolfyay!02:30
Afdalso the make clean was necessary02:30
fluffywolfand it didn't take 40 minutes, either.  :P02:30
Afdallet's see if it werks...02:30
fluffywolfusing half your cpu instead of an eighth of the cpu.  :)02:30
Afdalit works \:O/02:31
Afdala little ugly on the text side but whatever02:31
AfdalI can't habeeb it, I actually compiled MAME02:31
fluffywolfI've been compiling with -j since my dual p3-866, the first real multi-cpu box I owned....02:31
Afdalwait lemme make sure it runs replay files now02:31
* fluffywolf waits until it turns out 0.161 is the one for the files, not 0.160. :P02:31
adhocfluffywolf: make -j ...02:32
* adhoc remembers the first dual p-pro box02:32
Afdaluh02:32
Afdalcrap02:33
Afdalmy replays are desyncing02:33
Afdalnooooooo02:33
adhocmight have been back in the HUMBUG days02:33
gnarfacecan't you turn up the clockspeed or is that dosbox?02:33
fluffywolfdo the replays use wall time instead of some internal cycle time, and thus never work on anything but the original box and compile, or something?02:33
adhocAfdal: are they in avi format ? =P02:33
Afdalthey're input files, not videos02:34
AfdalI need to dump them to video later02:34
gnarfaceAfdal: i have some ffmpeg ideas and notes for that02:34
gnarfaceAfdal: check to make sure mame is configured right, defaults might not be optimal02:34
AfdalI'm a pro ffmpeg encoder ;y02:34
fluffywolfadhoc:  my dual p3-866 was really nice, and easily beat the first generation of p4s.02:34
fluffywolfI had a whopping 2GB of ram in it, too.02:34
gnarfaceAfdal: oh, you might want to check your old config from the old distro for settings02:35
AfdalWell...  I have no idea how to figure out how the v0.160 version on Canonical repos was configured :'(02:35
gnarfaceAfdal: just try getting that config and fixing the paths02:35
AfdalI'm using that same config now02:35
fluffywolfcan you still download it from some archive somewhere?02:35
gnarfaceoh hmm02:35
Afdalugh I have no idea what to do here ;_;02:37
gnarfaceAfdal: we even sure you got the right video drivers?02:37
Afdalbeats me02:37
gnarfacewhat video card is it?02:37
AfdalRX56002:37
Afdalthat's almost certainly not the issue though02:37
Afdalthis is a compiling consistency issue02:38
gnarfacemaybe we have been over this, you have the firmware-amd-graphics package from non-free?02:38
Afdalhow do I check that02:38
gnarfacedpkg -l |grep firmware02:38
gnarfacethis lists packages: dpkg -l02:38
AfdalError: attempt to free untracked memory 0x55f790ed7260 in (null)(0)!02:38
AfdalIgnoring MAME exception: Error: attempt to free untracked memory02:38
gnarfacethis cuts out all but the lines that have "firmware" in them: |grep firmware02:38
Afdalgetting a lot of these errors while running, I don't remember getting them from terminal usage on buntu02:38
gnarfaceyea, well ubuntu had the right versions of everything02:39
Afdalmaybe I really need to use the right gcc after all02:40
gnarfacebut really02:40
gnarfaceif it's expecting to use opengl02:40
fluffywolferrors like that are almost always bugs.02:40
gnarfaceand you don't have firmware-amd-graphics installed,02:40
gnarfaceit will drag performance02:40
gnarfacenot sure how much02:40
gnarfacebut typically lots02:40
AfdalYeah but that's not how input replays work02:40
gnarfacedoesn't it still render the game?02:41
Afdalthey don't care about your own speed02:41
Afdalyeah02:41
fluffywolfdo the inputs replays use some internel counter, like cpu cycles, or wall clock time, which will never synchronize right except on the original box?02:41
Afdalyou can speed the game up to 1600% or whatever and input replays will stay in sync02:41
Afdalwhen they're working properly02:41
gnarfacehmmm02:41
AfdalI dunno which of those is which, fluffywolf02:41
gnarfacemaybe i don't understand the problem then02:41
fluffywolfstupid question, but are you sure you're running the binary you compiled, not your system one?02:42
fluffywolf(assuming you already tried installing it from a package)02:42
gnarfaceyea best double check that...02:43
Afdaloh definitely, it won't even let you attempt to play .inp replays from older versions02:43
fluffywolfjust checking.  I've done it too many times.  :P02:43
Afdalhmm, interesting, this .inp file isn't desynching02:44
Afdalmaybe it's just one of them that's busted02:44
gnarfacecould they be from multiple versions?02:44
Afdalnope02:44
gnarfacethat's a really nice video card fyi, if you don't have firmware-amd-graphics and a bunch of mesa files you're really missing out02:45
Afdalmame let's you know which version an input file was recorded in when you try to load it up02:45
fluffywolfwhat game are you playing, for curiosity's sake?02:45
Afdalvarious games02:45
Afdalbut I mostly try to clogger tough arcade scrolling shooters02:45
Afdalso I have things like one-life clears or extreme score plays02:45
Afdalin input replay format02:45
Afdalthat I need to dump to video02:45
* fluffywolf has never been a gamer02:46
fluffywolf"need"  :)02:46
AfdalDarius Gaiden, Dimahoo, Raiden, etc.02:46
fluffywolfnever even heard of those.  lol02:46
gnarfaceAfdal: i'm in no way questioning the value of posterity for this stuff.  ignore these haters02:46
Afdal:302:46
Afdalwhat I do find interesting02:47
Afdalis that this binary is only 114MB02:47
Afdaloh wait I have nothing to compare that too anymore02:47
* adhoc used to have a Raiden ][ in a stand up arcade cabinet02:47
Afdalsince I don't even have the old binary02:47
adhocand a 194202:47
* fluffywolf has never owned a video game device02:47
AfdalI'm gonna single-credit clear Raiden II, one of these days...02:47
Afdalworkin on the first Raiden first though02:47
AfdalI've conquered a lotta scrolling shooters but for some reason I have always found the original Raiden games to be incredibly brutal02:48
fluffywolfis the brutality decreased by having a bucket of quarters to put in the machine?02:49
Afdallol02:49
AfdalI remember people in my old arcade would actually like02:49
Afdalstick a stack of quarters right next to the monitor while they were playing02:49
fluffywolfthat is, if you have to put in money to continue, they might _want_ you to die a lot.  :P02:49
Afdalno one knew that you were only supposed to use one...02:49
Afdaluh so firmware-amd-graphics02:51
Afdaldpkg -l | grep firmware gives me a lot of entires02:51
gnarfaceoh?02:51
gnarfacei usually only have a couple02:51
Afdalfirmware-amd-graphics                 20190114-2                             all          Binary firmware for AMD/ATI graphics chips02:51
Afdaloh there it is02:51
gnarfaceyou got it02:52
Afdalmost of them are wireless card drivers02:52
AfdalCan never be too careful02:52
gnarfacechances are you got everything then, but for opengl and video encoding/decoding acceleration stuff you'll probably also need a bunch of the mesa packages02:53
gnarfaceyou should see a bunch of packages come up if you run: dpkg -l |grep mesa02:53
Afdalyeah I've got all those02:53
Afdalbut again, if games ran like turds or something due to poor drivers02:53
AfdalMAME would just run the game real bad, but the input replay still stays in sync02:54
Afdalthat's generally how it works02:54
gnarfaceyea like i said, i hadn't understood the actual problem02:54
fluffywolftroubleshooting that might need the help of people familiar with mame, then.02:55
Afdalyeah I'll try not to pollute the chat in here anymore02:55
Afdalalthough they'll probably just say something like "just get the latest version bro"02:56
AfdalOh that's interesting, I'm running these exact same input replay again now and it's not desyncing like it did earlier02:56
Afdalwell if it only happens sometimes I can live with that02:56
gnarfaceyou might want to try it with the cpu governor set to "performance"02:57
gnarfacejust as a control test to eliminate powersaving features as a possible issue02:57
AfdalCPU governor?02:57
fluffywolfthat sounds suspiciously like they use wall time not frames or some other design sillyness.02:57
Afdalyisss I think this is gonna work after all \:O/02:59
fluffywolfyay!02:59
AfdalNow how do I package something up nicely with checkinstall so its library dependencies are self-contained02:59
Afdalso I can future-proof this02:59
Afdalsince according to gnarface you don't actually need appimages or snaps or flatpaks to do that...03:00
gnarfacewell what i said you should do is just leave the dependencies field blank03:00
gnarfaceso the package doens't require anything03:00
Afdaloh that's the default behavior of checkinstall?03:00
AfdalI had no idea03:00
fluffywolfI can't help with this...  I know a lot more about compiling than about installation tools.03:01
gnarfaceyea, it's pretty self-explanatory, just run "checkinstall make install" and follow the on-screen instructions03:01
gnarfaceAfdal: if you have the native mame packages you might want to uninstall them first03:03
AfdalOh?03:04
gnarfacewell it might not matter but it might confuse you even if it doesn't break things03:04
gnarfaceto have two mame instances installed03:04
gnarfaceon presumably different path prefixes03:04
Afdaloh maybe I don't even want it installed actually03:05
Afdalthis binary file is working fine for me03:05
Afdalbut I was thinking I might like to package it up anyway03:05
gnarfaceif you're just gonna make a batch of videos then migrate to the stock stable version in the repos after that, i don't see any reason to install it03:05
Afdalugh, getting some segmentation faults on certain games with this build03:09
Afdalguess the compile isn't perfect yet after all03:09
Afdalwow, quite a lot of games03:10
Afdalokay, guess I still got some compiling tunage to do03:10
fluffywolfold versions might have bugs...03:11
Afdalyeah but not these sorts of bugs03:11
Afdalwhich I never experienced before03:11
AfdalSo uh, how do I compile with a different version of gcc or glibc?03:11
fluffywolfthat can be pretty difficult.03:12
Afdal-_-03:12
fluffywolfa different glibc probably means a vm or at least a chroot.03:12
Afdaloof03:12
Afdalmaybe I should come back to this another time03:12
fluffywolftrying to downgrade the system one would break installed software, and trying to get two versions at once I don't think is something debian will do with packages.03:13
AfdalI've definitely managed multiple versions of gcc on *buntu before03:13
Afdalnot that I remember how03:13
fluffywolfyes, but multiple glibc too?03:14
Afdalwhat's glibc @_@03:14
fluffywolfgcc is usually easier, apt-get install gcc-whateverversion03:14
Afdalno really03:14
Afdalwhat is it03:14
AfdalI get it confused with gcc03:14
fluffywolfdo you do any programming?03:14
Afdaly-yes03:14
Afdalbut not in C03:14
Afdaloh wait gcc is a set of compilers03:15
Afdalwhile glibc is a set of C libraries03:15
Afdalokay03:15
fluffywolflibc, and glibc, are the system libraries that provide all the standard functions.03:15
fluffywolfbasic things like printf() all the way through advanced linking and crap.03:15
fluffywolfhowever, I doubt either of these are the cause of your problems.  both gcc and glibc are very stable and tend not to cause things to break.03:16
fluffywolfit's far more likely to be some other library.03:16
Afdalmaybe I should peruse the output log pertaining to the driver used by some of these games that are segfaulting03:17
fluffywolfthe reason to have multiple gccs is when something needs to link with a third-party binary that only works with a specific gcc version.03:17
fluffywolf(at intermediate steps of the compiling process, you can't mix files from different gcc versions)03:17
fluffywolfearlier you pasted a memory usage error; memory usage errors like that are very common causes of segfaults.03:19
Afdalhmm03:21
Afdalwhat else could cause those but incorrect glibc stuff03:21
fluffywolfany library the program uses.  lol03:21
Afdalo-oh03:22
fluffywolfvideo output libraries (sdl, opengl, etc, whatever it uses), math libraries, optomized standard routine libraries, image libraries, file formats libraries, gui widget libraries, sound libraries,...03:23
fluffywolfglibc is _very_ stable.03:23
fluffywolfstable both in that it doesn't have bugs, and stable in that they don't change anything in it without a really damn good reason.03:23
fluffywolfunlike, say, python, where they entirely break everything with every single minor version bump.03:24
Afdallol03:25
fluffywolfcompile with debugging support, attach gdb, see where it crashes...  but you're going to be good with C by the time you fix if, if you take that route.03:25
Afdal;_;03:26
fluffywolfalso, since this is an old version, it may well be a bug in mame itself that you just weren't triggering before, than has since been fixed...03:26
fluffywolf"mame crashes when running on systems with X hardware" is a perfectly reasonable bug type that gets fixed.03:26
AfdalI used this same hardware on these same games with the same mame version in the past03:28
Afdalthat's why I have input replays for them...03:28
fluffywolfthen "mame crashes when foo library is installed", too.  heh.03:28
fluffywolfthe type of memory usage errors you were showing before very strongly suggest a bug in mame.03:28
fluffywolfthat bug may be worked around with some combination of library versions, I have no idea...03:29
fluffywolfif you don't want a vm, you could do a fresh install of whatever distribution you were running back then onto a spare hard drive or a usb key, so you have exactly what you had back then.03:30
fluffywolfmemory management issues are very common in C code.  it's one of the main reasons that while I love C, I think it's time we use it for fewer things...  because so many of those memory management bugs don't just cause crashes, but also cause security holes.03:31
Afdalugh #mame is a registered voice only channel on Libera03:32
AfdalI HATE those -_-03:32
fluffywolflol03:33
fluffywolfregistering is pretty easy...03:36
* fluffywolf pets the now-registered Afdal 03:42
Afdal:'}03:43
fluffywolfsigh, why is php's array_merge so horribly broken?  oh, yeah, php...03:50
AfdalPeople still use that garbo?03:51
AfdalI understand if people feel stuck with Javascript since it's the only clientside game in town03:51
Afdalbut your options for server side could be literally anything...03:51
fluffywolf"According to W3Techs' data, PHP is used by 78.9% of all websites with a known server-side programming language. "03:55
Afdal78.9% of everything is trash...03:55
fluffywolflol03:55
Hydragyrum>with a known server-side programming language04:03
Hydragyrumbecause most other things won't be easily determined from just looking at the website from the client perspective04:04
Hydragyrumpython, c, ruby, etc. cgi won't really show as being in that language for instance04:05
fluffywolfwhy do library functions that take a reference as an argument need to be called with &$foo, but this is a syntax error if you call your own functions that take a reference as an argument, and instead want just $foo?04:27
fluffywolfoh, yeah, php....04:27
Afdaloh hay I found a *buntu .deb file after all04:48
AfdalWoo, and it works \:o/04:50
Afdalall I had to do was symlink that old libjpeg8 library04:50
gnarfaceheh04:52
adhocfluffywolf &$foo, in which language ?04:52
AfdalAll that effort compiling04:53
Afdaland I'm denied the satisfaction -_-704:53
gnarfacethere might be ubuntu-specific patches on that one04:53
AfdalMaybe, someday... I'll compile something really complicated and tricky and work through all the problems successfully04:53
gnarfacemaybe they fixed some stuff04:53
AfdalSomeday ;_;704:53
AfdalAlthough I did find and get some bugs fixed in GRUB recently04:54
AfdalGRUB ain't no MAME tho04:54
fluffywolf<fluffywolf> oh, yeah, php....04:59
Afdalthanks for the tips everyone04:59
Afdalwas a good learning experience04:59
fluffywolfso it was libjpeg making it crash, not glibc?  :)05:02
fluffywolfoh, you mean you used a ubuntu package.05:04
fluffywolfok, enough php for one night.  got the section I was working on working.05:08
YonleHello world!08:11
YonleBy the way is that ok to flash devuan to usb with `bs=4M`?10:08
YonleIn the wiki, it says "bs=1M"10:09
YonleHow can i change init system?10:46
debdogI can't imagine 4M vs. 1M matters10:53
Yonledebdog, Well, using 4M leads me having a lot of corrupted squashfs error. Fixed after reflashing10:55
humpelstilzchen[probably has nothing to do with the 4M10:58
user_____I have a stumper question: I have an older USB stick with a bootable Devuan on it, nowhere in grub or isolinux menu could I find the VERSION. I am loathe to dig in the live image for a splash screen. Can someone help id it?15:43
user_____live/vmlinuz: 1693d18c97650fc02ed3f8cd0c116a7565c13c22  vmlinuz15:44
user_____Date is 2020-05-30 -- I assume this is the date in the iso, since it is ro, not when I dd'd it to the stick.15:44
user_____I'll be waiting for an answer. Also, thanks if you point me to a way to do this on my own. Repo with used kernels and SHA1 sums?15:45
djphuser_____: why not just boot it and look at /etc/os-release ?15:49
user_____No free machine to boot on and no free kvm for a decent speed vm boot16:12
user_____<aside> when making ISOs for release: please copy /etc/os-release into /live or such on the iso.16:12
user_____fdisk -l /dev/sdc -> /dev/sdc1  * 1.1G id0 Empty ;; /dev/sdc2 1.4M id0xef EFI (FAT-12/16/32)16:14
user_____filesystem.squashfs is 1.1GB in the iso16:15
user_____I am going to overwrite this media soon, just curious if there is a way to id it without booting.16:16
user_____I notice Thunar in xfce4 on Beowulf does not show the EFI partition in the partition list side pane.16:23
user_____Is there a way to turn it on, so it shows?16:23
rwpuser_____, Looking in the media's /etc/os-version should say something. If not check /etc/apt/sources.list file.16:27
user_____That would mean unpacking the 1.1G squashfs, which I what I am avoiding now. Is there a way without unpacking?16:27
rwpHmm...  I don't know.  Seems like there is always a README file in a live boot area somewhere.16:28
YonlecoderWell, Have you reflash the ISO before?16:29
user_____Say again?16:30
YonleWell16:31
Yonle*shrug*16:31
rwpuser_____, I just checked the refracta live for Devuan and it has a top level README.txt file.  So if yours is missing it then I deduce it is not a Devuan live image but some other system.16:32
user_____There is no README anywhere, the splash pngs are all Devuan branded, no version16:32
user_____Sorry ;)16:32
user_____I must have gotten a "special edition" somewhere.16:33
user_____May 2020 vintage16:33
rwpuser_____, Hmm...  I pulled the refracta minimal-live for beowulf just now and it has nothing in the top level.  So maybe one of those?  I don't know.16:38
user_____"one of those" is highly informative ;-) Thanks! ;-)17:01
peterrooneyis it hard to mount iso images?17:06
debdogmount -o loop file.iso /mnt17:07
debdogas root, I think17:08
rwpIt's an ISO, so read-only, so to avoid the read-only warning add "ro" to that option list.  As root. mount -o ro,loop file.iso /mnt17:08
rwpuser_____, That "maybe" was pretty definite too. :-)17:09
user_____The question was, how to find out w/o decompressing. The iso is in a USB stick which is mounted.17:21
peterrooneyuser_____:  what's in /dists ?17:33
user_____ /dists is not present unless decompressing ...17:36
rwpuser_____, I had forgotten but one can mount a squashfs without decompressing it.  Simply mount it -o ro,loop just like the iso.17:38
rwpNeed two mount points.  I'l assume /mnt/iso and /mnt/squashfs for the two.  Then:17:39
rwpmount -o ro,loop devuan_beowulf_3.1.1_amd64_minimal-live.iso /mnt/iso17:39
rwpmount -o ro,loop /mnt/iso/live/filesystem.squashfs /mnt/squashfs17:39
rwpAt that point /mnt/squashfs is available for browsing.17:39
rwpcat /mnt/squashfs/etc/os-release17:40
user_____https://termbin.com/c4rs -- this is what I see, squashfs not extracted.17:42
user_____rwp: I know how to do that, the question was, how to do it without...17:42
user_____Just say it can't be done ;)17:43
rwpBut I did not decompress it all at once.  I think being mounted as a squashfs is incremental.17:43
user_____I think you may be wrong.17:43
user_____https://www.kernel.org/doc/html/latest/filesystems/squashfs.html17:44
rwpWhat can I say?  It worked for me.  It was fast, immediately responding.  I didn't see any system memory stress through the process.  (shrug)17:45
user_____ok17:46
user_____PRETTY_NAME="Devuan GNU/Linux 3 (beowulf)"17:48
rwpThere you go! :-)17:48
amaHello.  Is it possible to run another distribution with SystemD on a container (LXC) on Devuan?   I have a server that someone wants to replace the nice current setup (Devuan with Devuan containers) with Ubuntu.  The alternative I would like to provide would be to keep it like it is now and set up an Ubuntu conainer (they ar purchasing a software which is only supported if they run it on Ubuntu, alas).19:10
UsLfunny license.. "Only run on Ubuntu." Check.19:11
amaYes, it badly sucks.  But they need that comercial program and that's the condition the company has.  :-(19:13
UsLI can't help you with containers much, but I'm sure someone will chip in. Hang around.19:14
amaI will, thank you!  :-)19:16
bb|hcbama: I am also not too well aware with containers, but they should provide enough isolation to be able to run any Linux that is compatible with the host kernel19:17
amaEven with SystemD you think, bb|hcb?  That'd be so great...19:20
rwpI hate to post an "I don't know" but I don't but I do think that the entire point of containers is to isolate what's in the container from what is outside of it.19:23
amaI guess it's possible if a container has its own proccess 0 on top of its kernel....19:23
rwpTherefore I would simply proceed pushing forward with the blind idea that it should work.19:24
amaI see, rwp, it sounds reasonable.   I should probably try on a test box and see what I end up with...  :-)19:24
bb|hcbsystemd is just another program (no matter how 'good' is it) ;)19:25
rwpUsL, It's probably the support contract rather than the license. Unfortunately support contracts often are like that. Lots of software only supported on RHEL for example.19:25
amaYes, rwp, it's the support what they don't get if they run it on anything other thaw Windows or Ubuntu.19:26
rwpama, Testing on a victim system is always a good idea.  Don't break a system you depend upon.  Break a system that you can throw away and start again with.19:26
amaHahaha, rwp, I love that "victim system" idea.  I'll do that, yes, haha.19:26
amaI always keep a couple of the last decomissioned servers for "victimising" them purposes.  LOL19:28
rwpGood plan!  I'll note that it is possible to run KVM nested.  Which means can set up a VM that itself hosts VMs, such as LXC containers. https://docs.fedoraproject.org/en-US/quick-docs/using-nested-virtualization-in-kvm/19:29
rwpNot a performance option.  But good for testing purposes.19:29
amaVintimising a container!   Cool idea!  Haha19:30
bb|hcbama: you have two options - run a container on main host, or run a kvm on the main host; while nested works, i see no point in doing that19:30
amas/Vintimising/Victimising/19:30
rwpbb|hcb, The point is useful when testing out container hosting infrastructure.  Can do that in a VM and not break a host system.19:31
amaI think rwp was suggesting nesting for testing purposes only, bb|hcb.  Or, at leasr, I have interpreted that way.19:31
amaExactly, rwp, that's what I understood from what you said.19:32

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