libera/#devuan/ Thursday, 2024-01-18

blizzowI just wiped poopOS from my machine and restored my home directory from a backup. One thing I'm kind of in need of is gnome authenticator. Doesn't seem to be available in repos.03:49
blizzowIs there a reason why a gnome core app isn't available?03:51
onefangI see gnome-authenticator in Devuan Beowulf, but not in Chimeara.  You should ask Debian why they removed it.04:00
onefangIs it really a CORE gnome application?  Maybe it got moved into some other core gnome package if it's core.04:01
onefangOh wait, it's in Chimeara.  I had forgotten that oldstable is now Chimaera, not Beowulf.  lol04:04
onefangSoooo, which Devuan version are you using blizzow ?04:04
blizzowonefang, Daedalus. I was trying to deboostrap ceres but couldn't get past cpio/cron and a host of other issues during install.04:06
onefangmmdebstrap tends to work better than debootstrap.  Did you try that?04:07
blizzowonefang, I did try mmdebstrap. Did not help. cpio errors abound.04:40
blizzowI'm sort of intent on running my machine with ZFS as the underlying filesystem and using efistub instead of grub or other bootloaders.04:42
onefangWell Ceres is "unstable", which means that sometimes it's broken.  This might be one of those times.04:51
onefangI've never tried ZFS or efistub, but I have been using mmdebstrap for my installs.  Currently I'm part way through using it to install Daedulas on a qemu VM, with syslinux as the bootloader.  No problems for me.04:53
u-amarsh04blizzow, cpio in unstable recently /usr/merged and moved from /bin to /usr/bin without creating a symbolic link from /bin/cpio to /usr/bin/cpio - I manually added a symbolic link05:03
u-amarsh04I've been documenting it in https://dev1galaxy.org/viewtopic.php?id=629005:04
onefangefistub sounds interesting.  It's supported by Debian.  Wonder if it works with Devuan?05:06
blizzowonefang, I'm using it as we speak.05:20
blizzow*with devuan.05:20
blizzowTotally works.05:20
onefangCool.05:21
blizzowI've been tempted to switch to zfsbootmenu instead as it natively detects zfs pools. I could create multiple zfs datasets as separate distro installs and05:23
blizzowattach my /home dataset to any of them.05:24
masonI've used the efi stub off and on.06:43
masonI'm back to GRUB.06:43
cousin_luigiTrying to understand what I could do to handle cpu frequency scaling.21:12
cousin_luigiWell, what I could use at least. I'm not sure about the tools to use.21:13
gnarfaceeverything overcomplicates it, i just wrote a script that plugs values into /sys directly21:13
gnarfacemany window managers will have a widget for it though21:14
cousin_luigignarface: It's a headless machine.21:24
cousin_luigiIs there a tool to figure out what I can change?21:24
cousin_luigiOr what this blasted gizmo supports?21:25
gnarfacestart with: "cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors" and "cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies"21:27
gnarfacepretty much everything modern supports these controls, they're defined by which kernel modules you loaded21:27
gnarfacehowever there's a "intel-pstate" alternate implementation, you don't have to use it but if your hardware loads it by default you might need to explicitly disable it first or they'll fight21:28
gnarfaceunless you want something special you can mostly just change the value in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor to one of powersave, performance, ondemand, or schedutil21:29
gnarfacebut if you set it to userspace then you can pick a specific frequency from scaling_available_frequencies then set it in uh... scaling_cur_freq i think?21:31
gnarfaceanyway, they're all text files, you don't need anything special to manipulate them, i usually just use cat and echo21:31
gnarface(basically as i understand it, intel-pstate is supposed to replace all this with something completely automatic you don't have to touch, but people are often dissatisfied with its behavior)21:34
cousin_luigiIt's an AMD21:45
cousin_luigi"performance schedutil" for the first cat and "2700000 2500000 2200000 1800000 1400000" for the second21:45
cousin_luigiApparently I'm using schedutil.21:47
gnarfacethe frequencies are the speeds, they're in hardware, but performance and schedutil are just the only two of the cpufreq modules you've loaded21:47
cousin_luigiok21:47
gnarfaceschedutil is the new default, ondemand was default before that, they're both dynamic, based on load21:48
gnarfaceperformance and powersave are just statically min and max, respectively21:48
gnarfaceer, max and min, respectively, i meant21:49
gnarfacethere's some other values in there you can use to tune ondemand behavior more explicitly21:49
gnarfaceio dpm21:50
cousin_luigiI see there's an amd_pstate too. This machine is used as a router and it idles most of the time. I would like to keep the fan speed down as much as possible.21:50
gnarfaceyou can probably safely just set the governor to powersave then21:50
gnarfaceit'll stay at minimum clock speed regardless of load21:50
cousin_luigiecho "powersave" > /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor ?21:51
gnarfaceyep. the change will not persist through reboot, though a kernel rebuild or maybe even a command-line option can set it, i usually just put an echo in my startup scripts21:51
cousin_luigiecho "powersave" > /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor21:53
cousin_luigiGah21:53
cousin_luigifor i in $(seq 0 3); do echo "powersave" > /sys/devices/system/cpu/cpu$i/cpufreq/scaling_governor; done21:53
gnarfacehmm, yea maybe the wildcard isn't gonna work with the >21:53
cousin_luigignarface: Is there a specific daemon I could use? I've customised this installation more than I'm comfortable with.21:54
gnarfaceto just set it to powersave? there's probably something, but off the top of my head i don't know of one21:54
gnarfacestick around, someone might21:54
gnarfacei would frankly just add that line to your /etc/rc.local though21:55
cousin_luigiYes, that's probably for the best.21:55
cousin_luigiAny other finessing that might be done?21:55
cousin_luigiSpecific modules to load?21:55
gnarfacehttp://paste.debian.net/21:55
gnarfaceer, woops21:56
gnarfacehere http://paste.debian.net/1304547/21:56
gnarfacethere's an old userspace daemon, obsoleted, called "powernowd" that was explicitly designed for the early AMD hardware21:57
gnarfacei'm still using that, because i couldn't get ondemand to do exactly what i want, even with tweaked parameters21:58
cousin_luigignarface: When was it obsoleted?21:58
gnarfacei dunno like 2004?21:58
gnarfacebut if you never want the frequency to change, i don't see much use in it for you21:59
gnarface"powersave" sounds like what you want21:59
gnarfaceoh, sorry21:59
gnarfaceyea you have to load that module21:59
gnarfacemodprobe cpufreq_powersave21:59
gnarfacethen add cpufreq_powersave to /etc/modules21:59
gnarfacesorry, forgot that step21:59
cousin_luigiAnyway, if you don't mind me saying, that script is a bit fragile for it hardcodes the number of cpus21:59
gnarfaceyea, but also it's so simple even AI should be able to fix it22:00
cousin_luigignarface: It's loaded already. Perhaps by something I installed.22:00
gnarfacewell, you probably want to do a reboot test22:01
gnarfacei'm guessing that whatever you did to auto-load it might not persist through reboot either22:01
gnarfaceyou will probably have to add it to /etc/modules22:01
blizzowHow do I install current firefox on daedalus? I see firefox-esr but need a more recent version to handle my pre-existing profile.22:01
gnarfaceblizzow: you don't see regular "firefox" in the repos? check daedalus-backports maybe22:02
cousin_luigignarface: I haven't touched that in some time and I don't even have an /etc/modules22:03
gnarfaceodd22:03
gnarfacewell, the issue is you said "performance schedutil" were the only 2 loaded ones22:04
gnarfacedo you see "powersave" in that file now?22:04
gnarfaceif so, it was something you literally just typed recently that loaded it22:04
gnarfacebut i can't be sure that'll happen automatically at boot time with just that echo line22:04
gnarfacejust suggesting you test it22:04
cousin_luigiYeah, of course. I see /etc/rc.local mentioning an /etc/boot.d : should I put my script in there?22:06
gnarfaceeh, won't really matter probably22:07
gnarfacein the interest of simplicity i usually comment that out and put my stuff directly in /etc/rc.local22:07
gnarfacethe important part is just that it works and you keep a backup of /etc so you can figure out what you did here a decade later22:08
gnarfacei can't imagine why you'd be missing /etc/modules, but maybe just creating it will be enough22:10
gnarfacehmm, i also seem to be loading acpi_cpufreq, not sure what that has to do with it22:13
gnarfacemight not be relevant for "powersave" anyway though22:13
cousin_luigiOk, my script in /etc/boot.d was not launched22:18
cousin_luigirc.local is being launched22:18
cousin_luigirun-parts doesn't like something about my script22:23
gnarfacemaybe the permissions?22:23
gnarfacedoes it say it's executing it or sourcing it?22:23
gnarfacehonestly i doubt it's worth the trouble22:24
gnarfaceif it sources it, you don't want the "#!/bin/sh" preamble, but if it executes it, you do22:25
cousin_luigignarface: No, it didn't like the .sh eextension22:25
gnarfaceah22:25
cousin_luigiok, after a reboot things seem better22:27
cousin_luigiThanks and goodnight.22:28
gnarfaceno problem22:28

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