libera/#devuan/ Monday, 2020-11-02

danuanlooking at /etc/cron.daily/locate  which has OPTIONS set and then sources secondary options file if exists from /etc/updatedb.findutils.cron.local  and just does export OPTIONS , would that append to previosly set options or just overwrite them ?08:53
gnarfacedanuan: i don't have either file here to verify, but assuming i understand what you're seeing correctly, export would overwrite the previous content of the OPTIONS variable, not append09:09
danuan thanx , was wondering if i had to set everything or just new stuff if i started using secondary options file09:13
danuanand you could not append as with path PATH=$PATH,/newpath  since it is sources under same VARNAME , would have to source under a NEWVARNAME to append right ?09:19
gnarfaceif danuan comes back let him know that yes, that works in bash, and direct him to: https://www.gnu.org/software/bash/manual/bash.html11:15
gnarfaceshould work like that except i think $PATH entries have to be delimited with :11:17
nemohm... 30 minutes before my daughter's first class of the day was definitely the wrong time to do a devuan beowulf kernel update15:15
gnarfaceindeed15:18
nemognarface: happy daughter dancing around me asking questions.  me begging her to be quiet as I try to initially get the AMD properietary driver working with a kernel that no longer quite matches Ubuntu 18.04, then desperately backing it all out and throwing in FOSS one and crossing fingers15:21
nemoshe doesn't need her games working for class anyway15:22
gnarfacenemo: there's a non-free firmware package you also need that is packaged separately from the kernel (in debian and devuan anyway) and the version has to be the right15:28
gnarfacenemo: *has to be right15:28
gnarfacei dunno what ubuntu does15:28
masonI never do updates the day before I have to use my workstation to actually work.15:54
masonnemo: You shouldn't need the AMD proprietary driver, unless the hardware is bleeding-edge-new and the upstream driver won't work. It's a very different situation than what nVidia presents, where the proprietary driver is worlds better.15:55
nemomason: https://m8y.org/tmp/amdgpu.html  to avoid having this discussion again ☺15:57
nemobut I just reinstalled the FOSS one plus closed firmware this morning15:58
nemowhen she's done having her classes I'll see what got detected and what didn't15:58
masonnemo: Alright, hardware's too new. I spoke to that. :P15:58
masonOoh. At the end of that post... So, I can say for sure that the free AMD drivers are fine for gaming. My son uses an AMD GPU in his rig, using the free drivers, and he's able to play anything and everything, including pretty demanding/AAA games.15:59
masonnemo: That said, good practise there, gathering notes like that in a shareable form.16:03
masonnemo: FWIW, I posted a note to dng last night and it links to some kernel-building instructions. You could fairly easily build a very-new kernel using similar instructions.16:05
masonThat's why I used to build my own kernels. Now I'm just doing it to build in ZFS, but the theory would still work.16:06
nemomason: I've had mixed results with free driver.16:44
nemomason: it depends a LOT on the game16:44
nemomason: I try to spotcheck a few of the more demanding ones16:44
masonI can believe that.16:44
nemomason: and... keep in mind this is the main living room family machine, it's not just her playing stuff, it's me too16:44
nemoor me playing and kids spectating16:44
masonI've heard people report that, also, just haven't seen it here yet, and my son plays way more games than I do.16:44
nemomason: even old stuff16:45
nemofor example, I used the nvidia free driver for a long time, and it worked on, for example... Planetary Annihilation. No problem.16:45
nemoby contrast, Witcher 2. no love16:45
masonI don't really have a horse in the race, but I'll note that I'm looking at AMD for future kid machines based on the strength of my son's experience with his latest machine. That said, I quite like nVidia.16:45
nemothat with a 5 year old card16:45
nemomason: this is my first pure AMD machine. CPU and GPU16:46
nemoand was a little bleeding edge since it was intended to be our snazzy glass sided LED thing16:46
nemoand I ran into a few fun issues like Devuan not having firmware as noted in that article16:46
nemoanother one was the AMD rdrand bug16:46
nemothat one is funny 'cause thanks to Devuan I didn't notice I had a problem for months16:46
nemountil I tried a QT app that generated a guid and it was always {fffff-ffff etc16:47
masonhrm16:47
nemomason: I tried following some instructions for updating firmware manually but did not work16:50
nemoor at least did not fix the rdrand bug16:50
onefangWhat rdrand bug?16:50
nemomason: sooooo actually, if you know of anyone out there who has successfully done this on Devuan Beowulf.  Like I said it's low priority for me, but I bet it's annoying if one uses say KDE16:50
nemohttps://arstechnica.com/gadgets/2019/10/how-a-months-old-amd-microcode-bug-destroyed-my-weekend/16:51
nemoonefang: ↑16:51
nemoonefang: it totally effed systemd up 'cause they used rdrand as exclusive source of randomness *and* had an infinite loop that checked that a new value was issued, apparently.16:52
nemowell, it checked for rdrand support, then used it, and when validating values did not break out of loop16:52
nemothey patched it.16:52
nemobut still sucks if you're trying to setup a system I guess, and your install media has the bug16:52
nemomason: s/firmware/microcode/16:52
nemomason: hmmmm lemme recheck real quick to see if latest update I did, the one that killed my GPU acceleration, maybe had the microcode fixes16:53
onefangI just built a Threadripper 3990X and Radeon RX 5600 XT BE desktop.16:54
masonnemo: You can oftentimes get the latest microcode from your motherboard vendor. Alternately, you can get it upstream from AMD (or Intel) and supply it via the (in this case) amd64-microcode package.16:54
nemo{ffffffff-ffff-4fff-bfff-ffffffffffff}  ← guid in a qt app in latest beowulf. so nope16:54
nemomason: yeah. the package thing was what I'd tried. or at least I thought I was trying16:54
nemomason: some debian "latest stable microcode package" thing that I thought had this fix, but clearly didn't16:55
masonnemo: You should be able to see kernel buffer messages that confirm you've got the version in you want, but it's been a while. I did this stuff a bunch when the Spectre vulnerabilities first came to light.16:55
nemogotta look at it again, just been low priority since the only thing it is visibly breaking right now is Hedgewars random seed for maps since it is a qt5 app16:55
nemomason: yeah, that's the surprising thing. debian was super good at getting patches out for spectre/meltdown16:55
nemomason: this one seems serious too, so you'd think I wouldn't have to do anything16:56
onefangI don't do gaming though, but I do 3D virtual world development.  I did have to mess around with backports and an external repo to get 3D working.16:58
onefanghttp://ppa.launchpad.net/kisak/turtle/ubuntu bionic main  and a tiny hack.16:59
onefangI don't have this rdrand bug.17:04
nemoonefang: what CPU?17:22
onefangI said Threadripper 3990X.17:22
nemook17:22
nemo$ ssh 10.3 'cat /proc/cpuinfo' | grep "model name" | head -n 117:22
nemomodel name      : AMD Ryzen 5 3600 6-Core Processor17:22
nemoonefang: it may well have been fixed by now...17:23
nemoI mean it was discovered a year ago17:23
onefangmodel name      : AMD Ryzen Threadripper 3990X 64-Core Processor17:24
nemoonefang: quick testcase just to verify17:46
nemo$ g++ -fPIC -I /usr/include/x86_64-linux-gnu/qt5/ -I /usr/include/x86_64-linux-gnu/qt5/QtCore/ quuid.cpp -lQt5Core17:46
nemo./a.out17:46
nemo{ffffffff-ffff-4fff-bfff-ffffffffffff}17:46
nemohttps://m8y.org/tmp/quuid.cpp17:46
nemoonefang: but it is entirely possible that AMD fixed this before release of the 3990X17:47
nemo(the a.out above is on latest debian)17:48
nemoer. latest devuan17:48
nemohmmm odd. 3990X shows up in list of impacted models17:52
nemoonefang: you're definitely using beowulf?17:52
onefangYep, a debootstrappd Devuan Beowulf.18:25
onefangKernel and firmwares from beowulf-backports.18:27
clortthere's a newish 5.9 kernel for khadas vim3 - going to do a conversion to devuan soon19:53
clortit's fun to take 'whatever' kernel and switch OS to devuan without rebooting19:53
clortthe fact that this is doable is very enjoyable to me19:54
suavedandySo I added a new LUKS1 device to crypttab. Started cryptdisks_start and got warnings about crypttab not having hash, size and something else I forgot. Why is this happening? Added the device to crypttab with luks.discard option.20:00
suavedandyAh, it's cipher.20:02
suavedandyCipher, size and hash.20:02
suavedandyOr is it unimportant because cipher, size and hash get default values?20:03
clortidk20:24

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