The officially official Devuan Forum!

You are not logged in.

#376 Re: Hardware & System Configuration » Dovecot, samba, sysvrc and the case of the vanishing PID files » 2022-06-10 12:10:28

Head_on_a_Stick wrote:

Well I've just installed a fresh chimaera system (from the netinstall with just the standard utilities) and dovecot stops and restarts normally there so perhaps you have some outdated configuration files that are causing problems.

Sure, maybe I do... The catch is that everything works fine here too, so long as I'm looking at it.
If it was not stopping properly reproducibly, I'd have it fixed by now.

As this is a working (and moderately important, at least to me) mail server, I'm not particularly keen to reinstall everything or revert to default configuration for a month to see if solution-by-scorched-earth sticks.
That's very much last-resort material, and besides being a total pain in the ass is unlikely to be educational as to the real cause.

Head_on_a_Stick wrote:

I meant that perhaps dovecot relies on socket activation to be restarted correctly.

Fair enough. Personally I doubt it though, dovecot has been around a lot longer than systemd, and again I'd expect a consistent result if that was the problem.

Aside, the focus on dovecot is all well and good (that is the more annoying problem), but TBH I still suspect something outside dovecot itself (or its configuration) since whatever it is appears to affect smbd and nmbd in much the same way.
They might be unrelated of course, but IMO it'd be a hell of a coincidence for 3 services to suffer the same problem without a common cause of some kind.

Really, I don't think I'm going to get anywhere with this right now, it'll have to wait until the cosmic rays or whatever it is strike again to even start.
I was really just hoping somebody had seen something like this before and I might get a hint that way, but oh well. Guess I'll come back when it happens again and I have more info.

I know this is all kinda vague for a tech support question, but then If it was easy I wouldn't be asking. tongue

#377 Re: Hardware & System Configuration » Dovecot, samba, sysvrc and the case of the vanishing PID files » 2022-06-10 05:06:28

Head_on_a_Stick wrote:

have you tried setting $PIDBASE to a different directory via /etc/defaults/dovecot?
Perhaps /var/run/dovecot/ is causing problems.

I really can't think of any reason /var/run/dovecot would be a problem, and it's working that way just perfectly at the moment - stopping and starting (both via the init script and doveadm) does what it should WRT master.pid.
I guess it wouldn't hurt to try though.

Head_on_a_Stick wrote:

How is /var/run/ mounted?

/var/run -> /run
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=6593300k,mode=755)

Pretty sure that's a default config from the Debian init scripts... somewhere, sometime. This install has been a rolling upgrade since at least as far back as Squeeze.

Head_on_a_Stick wrote:

You could also try the suggested upstream init script.

I'll give that a poke and see how it goes (will involve much patient waiting OFC). At least there's no 'rm -f $PIDFILE' in it anyway...

Frankly I'm wondering why anyone would ship an init script that does rm -f on a pidfile without checking to see if the relevant process is really gone to begin with, but presumably this one has been working for people for some time, right?
I mean, at least the smbd init script does a basic 'ps $PID' check, but here there's nothing.
Unless I'm missing something obvious, it looks like it will remove the pidfile even if start-stop-daemon returns non-zero (i.e. returns early only on "2"). That isn't even half-arse fail-safe.
This looks like some generic template script TBH, one intended to be tweaked for things like dovecot that fork a bunch of processes.
And yes, I checked, it's the one shipped in the Debian package.

Then again, I guess I should probably shut up about the fragile init script untill I know it's really the problem.

Head_on_a_Stick wrote:

I notice that systemd uses socket activation for dovecot.service, perhaps that has something to do with it.

Not sure what you're getting at here, I have no systemd anything anywhere socket activated or otherwise.

#378 Re: Off-topic » Your thoughts on: TheCaseForTheUsrMerge » 2022-06-08 10:05:20

IMO, pointless change... Unless the point is to break systems with a minimal root FS and separate /usr (and likely runlevel 1 / single-user mode too). Admittedly those are probably few and far-between these days, but still, why break it?

Presumably the main argument for it is just the usual "vendor image" / "factory reset" / container-mania / unification One Linux BS from the Redhat/Gnome/systemd crowd.
Yawn.

As for Devuan, I expect it'll probably follow Debian. Removing systemd is enough work for a relatively small distro.
If it does, I'll probably seriously consider moving my remaining Devuan systems to Gentoo... Where 'split-usr' is just a (currently default) USE flag like 'systemd', 'pulseaudio', 'wayland' and all the zillions of other options.

#379 Hardware & System Configuration » Dovecot, samba, sysvrc and the case of the vanishing PID files » 2022-06-08 06:30:34

steve_v
Replies: 7

I have been having an infrequent, annoying, and so far difficult to pin down issue with a machine running Devuan 10 (oldstable), and it goes something like this...

Every so often I'll notice something is up, such as changes to samba configuration not taking or clients complaining that dovecot's SSL cert has expired.
I'll then try to stop or restart the relevant service, only to have the init script (or the init script via 'service') return "OK", apparently without actually stopping or restarting anything. I can do a "service [dovecot|smbd|nmbd] stop" as many times as I like, it always returns "OK", and the processes remain running.

Investigation reveals that these processes have no corresponding PID files (even before trying to stop them), and that appears to be why the init scripts are lying to me.

Manually killing these processes and restarting the service writes out a new pidfile as expected, and everything is fine until the next time... which might be months away.

It's pretty annoying that the init script (or more to the point start-stop-daemon) is returning without error in this instance, but the bigger issue is obviously that the pid file is being removed while the processes are still running.

Here's the stop function from dovecot's init script:

do_stop()
{
    # Return
    #   0 if daemon has been stopped
    #   1 if daemon was already stopped
    #   2 if daemon could not be stopped
    #   other if a failure occurred
    start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name ${DAEMON##*/}
    RETVAL="$?"
    [ "$RETVAL" = 2 ] && return 2
    # Wait for children to finish too if this is a daemon that forks
    # and if the daemon is only ever run from this initscript.
    # If the above conditions are not satisfied then add some other code
    # that waits for the process to drop all resources that could be
    # needed by services started subsequently.  A last resort is to
    # sleep for some time.
    start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --pidfile $PIDFILE --name ${DAEMON##*/}
    [ "$?" = 2 ] && return 2
    # Many daemons don't delete their pidfiles when they exit.
    rm -f $PIDFILE
    return "$RETVAL"
}

And smbd:

        stop)

                log_daemon_msg "Stopping SMB/CIFS daemon" smbd

                start-stop-daemon --stop --quiet --pidfile $SMBDPID
                # Wait a little and remove stale PID file
                sleep 1
                if [ -f $SMBDPID ] && ! ps h `cat $SMBDPID` > /dev/null
                then
                        # Stale PID file, remove it (should be removed by
                        # smbd itself IMHO).
                        rm -f $SMBDPID
                fi

                log_end_msg 0

                ;;

At a cursory glance, it would appear that both of these scripts are indeed going to fail if there's no PID to work with...

So, given that this particular ugliness has (AFAIK) been in Debian/Devuan for quite some time, the question becomes:
Are the services refusing to exit during an automated (logrotate, unattended-upgrades etc.) restart (both liable to have persistent connections), and the init script falling through to that blunt "stale pid file" instrument?
Is something else interfering? I can't really think of any likely suspects here.
Is it aliens?
How best do I find out, considering this only seems to happen once every few months? All I see in the logs are the expected "OK" restarts, but then I know the init scripts are lying, sooo?

Before I start instrumenting init scripts and/or writing a watch daemon to try and figure out what the hell is going on, has anyone seen this kind of thing before? General internet searches are becoming fairly useless for sysv-rc related things it seems, and I can't find much that doesn't start with "systemctl, blah, blah".

Any ideas? likely suspects or further places to look? This is kind of a pain to diagnose in the right now, since once working everything remains working until whatever it is makes it not...

#380 Re: Hardware & System Configuration » Changing video cards » 2022-02-23 04:26:16

Micronaut wrote:

Do all of these changes require a complete removal and reinstall like Windows?

No, unless you're running Nvidia cards and your upgrade crosses one of their arbitrary "dropped support for xyz" boundaries, in which case you'll need to change driver version.

GNU/Linux doesn't store a bunch of driver related crap in the registry (or have a registry at all for that matter), so there's nothing to "completely remove"... And no shady "driver removers" or "registry cleaners" either.
There's also no infuriating minefield of malware and ad ridden "driver updater" scam sites to navigate, and practically no manufacturer bundled bloatware either. But I digress. tongue

#381 Re: Other Issues » Moving files between NTFS and Linux files systems » 2022-02-19 04:57:05

Micronaut wrote:

some importance to those shorter filenames?

The only reason for 8.3 filenames is compatibility with operating systems and legacy software that lack LFN support... Those all went the way of the dinosaur in 1995.
Do you really have a need to read your files with 35+ year old DOS software?

I don't know about NTFS, but on VFAT at any rate these alternate filenames are autogenerated, so there's nothing to loose.

#382 Re: Desktop and Multimedia » Game Managers » 2022-01-30 10:46:40

Micronaut wrote:

The card regularly goes over 60 C and that's too high in my opinion.

60c is fine for any modern GPU, most won't even downclock until they hit 90+. Hell, 60c is fine for my 1998 Banshee.

Micronaut wrote:

the info must be available, because the Noveau drivers can usually find the temp sensor.

I can't speak to noveau, but IIRC the proprietary nvidia drivers expose temperature and fan speed info via nvidia-smi, and allow setting fan speeds with nvidia-settings.
This would be much easier if they just put stuff in /sys like every other GPU driver, but whatever. It's Nvidia, they don't believe in standards.

It shouldn't be particularly difficult to script a fan curve controller in shell, have a look at this and this for inspiration. Dunno if they actually work as I don't have an nvidia GPU to play with, but both look pretty legit to me.

Oh yeah, there's also this shiny thing. I've used it on Gentoo in the past, and it does what it says on the tin. Don't think it's packaged for Debian though, so you'd need to compile it yourself or (shudder) install it as a flatpak.

#383 Re: Desktop and Multimedia » Game Managers » 2022-01-29 11:54:11

Micronaut wrote:

Can you install Afterburner in Wine?

Probably, but I doubt it will be very useful as it depends on the native Windows drivers to access the hardware.

If fan and clock controls are what you're after, IIRC (I don't have any nvidia cards any more) that stuff is available in the GNU/Linux native nvidia control panel after setting the appropriate "coolbits" values. Check the arch wiki and/or the documentation that comes with the driver for details.

#384 Re: Desktop and Multimedia » [SOLVED] firefox and asound.conf » 2022-01-25 04:23:39

yolobro wrote:

FF is somehow fixated on using the "default" sound output.

This has been the case for years, and the various bug reports regarding it simply get closed as "WONTFIX or "WORKSFORME".
I don't know what the FF devs (or more likely a committee) think is so hard about providing an about:config setting to select the sound PCM (or officially supporting anything but pulseaudio to begin with for that matter), but apparently that's how it is.
They certainly appear to have enough manpower to work on constant and pointless UI changes though...

There is MediaElement.setSinkId, but it AFAICT that only enables an underlying API, i.e. the possibility of switching the audio output... Actually implementing device selection is left to extensions. roll

#385 Re: Desktop and Multimedia » [SOLVED] firefox and asound.conf » 2022-01-23 10:59:05

Head_on_a_Stick wrote:

192kHz

I'm sure your pet bats just love it. tongue

Sarcasm and HiFi religious wars aside (though I think Harry would like a word), sure. If you just want to chuck the PCM stream at something else to make sense of, ALSAs default conversions are probably unhelpful.

In this case though, it appears we're dealing with a motherboard codec, and a realtek one at that. This is precisely the kind of device the ALSA defaults are aimed at.

That realtek chip has considerably worse SNR and frequency response than the last amp I built... And that one was based on a design from the early '80s.
Direct hardware access and high sample-rates would be completely pointless here even if the chipset supported hardware mixing, which it doesn't.

The notes I left myself in my asound.conf suggest that I have had problems in the past with Firefox (and apulse) using a default device that isn't a plug. I don't remember exactly why, but it gels with FF working if the OP removes that direct hw: routing.
The other problem, i.e. not using dmix with motherboard audio, should be pretty obvious.

Head_on_a_Stick wrote:

It's better to use the device identifier rather than the card number because the latter can change from one boot to the next.

It is indeed, but it's probably worth noting that the old soundcard-shuffle can also be prevented by passing the 'index' option to the module, e.g. in /etc/modprobe.d/alsa.conf.

#386 Re: Desktop and Multimedia » [SOLVED] firefox and asound.conf » 2022-01-23 00:29:20

Head_on_a_Stick wrote:

Why are you attempting to address the soundcard directly?

To break anything that needs format/samplerate conversion or stream mixing? Just a guess.

There's a whole lot of (mis)information on the web regarding "bit perfect" audiophool configurations that disable most of the useful functionality ALSA provides... Not saying that's what's going on here, but I can't really think of any other reason for an asound.conf like that.

#387 Re: Desktop and Multimedia » Game Managers » 2022-01-22 02:41:15

Micronaut wrote:

it wanted something called Esync, which seems to be related to systemD, but there is an alternative to manually edit a config file to create a huge limit on number of file handles you can have open at once.

It has nothing to do with systemd.
Many windows applications (especially games) like to use zillions of mutexes for synchronisation, this is not particularly well supported or performant on GNU/Linux, largely because native applications tend to use other methods.
Wine has three approaches for dealing with this: Internal emulation, which is slow, esync, which fakes it using filesystem calls but requires you to raise the maximum number of open file handles in /etc/security/limits.conf, or kernel futex support (fsync), which requires patches as I mentioned some posts back but provides near-native performance.

You don't strictly need esync or fsync, but IIRC lutris defaults to enabling esync for performance reasons. Failing to either turn this off in lutris or raise the open files limit will likely result in the kernel summarily killing your wine application.

Micronaut wrote:

it wanted something called wine-mono which the Debian wiki says is not included in Debian, deliberately. Why not?

Probably because it doesn't fit Debian's packaging requirements. It's documented in the wiki and readily available though. vOv

Micronaut wrote:

All I have been able to learn about these error messages is that it's related some something missing.

You have DXVK enabled for this game in lutris, but DXVK can't find the vulkan extensions it requires.
My guess (assuming you have GPU drivers installed and functioning correctly), is that the game you are trying to run is 32bit, your wine prefix is 32bit, and you are missing the 32bit vulkan libraries.

Micronaut wrote:

Just for giggles I tried to install Grand Theft Auto 5, meaning I tried to install the Epic Games installer, which could then (hopefully) install it. Got a wild string of error messages

Maybe missing 32bit libgnutls, maybe missing .NET or other dependencies within wine...
Was this using the lutris install script?
I've never had any interest in the series in general, so I can't offer any specific advice for that game. The lutris script looks like it installs a bunch of stuff with winetricks to get the Epic Launcher (crapware I have no time for TBH) to run though.

In any case, you'd probably be better served by the lutris board and / or winehq for problems like this, they have far more to do with wine than Devuan. If this board had an "Unsupported Software" sub (kinda surprised it doesn't TBH), that's where Windows applications would belong.
Personally, I make a point of checking winehq and the lutris script repo to see if anyone has managed to get a particular game working before spending (and potentially wasting) any time on it.

#388 Re: Desktop and Multimedia » Game Managers » 2022-01-17 02:02:54

Micronaut wrote:

Is it possible to copy the game into a folder on the Linux install and get it recognized by the game manager?

Lutris allows you to manually add games.

Micronaut wrote:

does the installer have to run to create the virtual Windows settings? -- Directories, registry, or whatever.

If the game can be moved around like this and run without whatever registry stuff the installer does on Windows, the same is likely true for wine.
You will need to initialise the wine prefix of course (running winecfg or similar with $WINEPREFIX correctly set should do it), and if you want to use install scripts that set up dependencies and whatnot for you you'll probably have to fool them into thinking they've run some kind of installer.

I find that downloading and modifying the lutris install script to remove the installer reference usually works, and it's easier still if said script allows you to specify your choice of executable - just point it at something irrelevant and harmless so the install can proceed to set up the prefix, then copy your game files in.

None of this is officially supported of course, so YMMV. If you're not familiar with setting up and troubleshooting wine, it's probably best to stick with somebody else's install scripts.

#389 Re: Installation » How can I install Devuan to RAID? » 2022-01-16 05:57:56

ralph.ronnquist wrote:

To be sure about things, you might therefore want to have a separate /boot partition outside of the raided partitions.

FWIW, when setting up RAID systems I always keep /boot (and usually root as well) on a small RAID1.
A software RAID1 (mirror) is indistinguishable from a pair of identical partitions as far as the BIOS, bootloader and initrd is concerned, so even a rescue disk with no RAID support whatsoever can still get you into your boot/root FS.
One can even set up the two drives as alternate BIOS boot disks, so as to have bootloader redundancy as well.

As for the problem at hand, there seems to be some confusion as to whether this is a fakeraid or mdraid setup. If it's the former, you'll likely want to use dmraid and access your disks under /dev/mapper/. Mdadm has nothing to do with sata/fake/dmraid.
I have no experience with this personally, I've never used it, and I probably never will. The only time it has any benefit over software (md)RAID is when you're sharing an array with Winblows... And that's a dodgy proposition to begin with IMO.
There is a Debian wiki page on the matter though. Might be worth a read if you haven't already, looks like there are some traps regarding GRUB installation and UUIDs.

If this is actually an mdraid array, (much mention of mdadm in this thread)... I know Devuan can boot from RAID1 just fine, and I've set it up that way many times. I have no experience with RAID0 though, IMO an array that reduces reliability is an oxymoron, especially for the root filesystem.
One has followed the steps in the Debian wiki WRT to generating mdadm.conf and updating the initrd, no? IME that's all it should need.

#390 Re: Desktop and Multimedia » Game Managers » 2022-01-15 02:14:57

Micronaut wrote:

Play-on-Linux seems to have not updated for the current version of Debian.

The current incarnation of PlayonLinux has been pretty much abandoned, AFAIK. Apparently there's a big 5.0 release in the works, but we've been waiting a while... Of course, If you want to contribute to that project, go nuts.

Micronaut wrote:

I tried to install a game and it complained that the location I wanted to use (the /opt partition) was not writable by the (normal) user I was logged into.

Well yeah, obviously. Like pretty much every other end-user application, Lutris inherits the permissions of the user launching it.
Either change permissions on /opt, or install your games somewhere that is writeable to your user.

Micronaut wrote:

Is it typical for these game managers to put everything into the /home directory?

It is typical for anything belonging to an unprivileged user to be in /home/$user/. That's how multi-user *nix operates, and has been since the '70s.
Windows games often put save files and configuration in their install directory, so unless you want to elevate to root every time you try to save... Yeah, put your user-writeable stuff in /home. That's what it's for.

Micronaut wrote:

can I change the mount permissions for the /opt partition (it is a completely separate isolated partition) or is that considered a bad thing to do?

You can do whatever you like, you have (g)root.

Micronaut wrote:

How does Proton handle games that aren't packaged specifically for the OS, like most Windows titles would not be. Does it also put everything in /home?

Yes. Specifically, games managed by steam land in /home/$user/.steam/steam/steamapps/common/.

Aside, if you do use steam, you might want to symlink that directory somewhere else. .steam is hidden, so it might save the irritation of trying to figure out what's eating space in /home in the future.

GlennW wrote:

I would consider making the /opt/(game-name) folder part of the games group and then make the user a part of the games group.

That's not a bad idea at all, the games group should already exist... Though its original purpose is to restrict who can play games, not install them. big_smile

#391 Re: Desktop and Multimedia » pulseaudio » 2022-01-14 20:30:20

Head_on_a_Stick wrote:

The firefox-esr package is compiled with --enable-alsa and works just fine with pure ALSA.

Good to know sanity (and simplicity) still prevails.

Head_on_a_Stick wrote:

PipeWire is *much* better than crusty old PulseAudio.

It's kinda hard to keep up with this constant reinventing of the sound-server wheel TBH, I stopped paying attention years ago.
Didn't pulseaudio only recently graduate from buggy, CPU hungry, latency-inducing mess to something somewhat usable? And we're replacing it again already?

Head_on_a_Stick wrote:

pipewire-pulse

Maybe we can do pipewire-pulse-esd-arts-alsa-oss as well? I mean it's only frickin' audio, everyone needs more layers of confusion in their lives, right? roll

#392 Re: Desktop and Multimedia » pulseaudio » 2022-01-14 12:18:27

Two thoughts:
1) I don't use pulseaudio, but I do record system audio with an ALSA loopback device.
Set your "recording" browser to output to the loopback device, record that with your choice of software... Simple, assuming Devuan actually ships a browser with proper ALSA support these days of course.
Presumably this "best development for am universal use of powerful computer in multimedia" pulseaudio thing can do it as well, if it's really so great. roll

2) This still strikes me as a complete pain in the ass, IME the easiest way to get an audio recording from a browser video is to install the "video download helper" extension, and use its "download and convert" option.

#393 Re: Installation » Devuan ASCII dont recognize CF » 2022-01-08 23:55:54

Well, if you can see the disk but booting from it fails to find the rootfs, that suggests that either your bootloader and/or fstab is incorrectly configured, or there are drivers missing from the initrd (but available and loaded later).
Either way, I'm having quite some difficulty understanding your posts.

Aside, I don't know why you keep mentioning PAE, it's completely irrelevant here.

In aid of ruling out PCMCIA issues (itself a very old standard not widely used any more), the docs for that board indicate it has a standard IDE port. Again I suggest trying to boot from that, passive adapters for CF cards are cheap, readily available, and should require no special driver or configuration.
Your PCMCIA-CF adapter almost certainly includes an IDE controller of it's own, and that's only going to complicate matters.

#394 Re: Installation » Devuan ASCII dont recognize CF » 2022-01-08 21:30:44

Lmanrique wrote:

CF...
pcmcia...
pci slot

I'm confused.
Compact Flash (which I assume is what you mean by "CF") is pin-compatible with the IDE/PATA interface standard, and as such should be virtually indistinguishable from a traditional IDE hard disk. The specs on the page you linked do mention PCI and an IDE controller, but I see nothing about PCMCIA.

How is this CF card actually connected? Assuming the IDE, and the controller chipset is nothing too exotic (and Devuan has drivers for it), it should "just work", the same as any other IDE HDD.
Indeed, I have several real "really old pc"s (circa 1993-1998), and a simple passive CF-IDE adapter works perfectly in every OS I have tried, including Devuan/Debian. Hell, even DOS can boot from CF cards, on machines from the '80s. That's why retro enthusiasts like them so much.

Ed. AFAICT the driver for the Geode embedded IDE controller should be drivers/ata/pata_cs5535.c.
A cursory grep through the current Devuan (i686) kernel config suggests this driver is compiled as a module (CONFIG_PATA_CS5535=m), but I haven't checked to see if it's included in the initrd by default, as I don't have an i686 Devuan install handy.

All that said, if your board uses the LX800, which it looks like is the case, you may well be SOL with any release newer than Jessie. Debian (and by extension Devuan) dropped support for i586 some time ago.

#395 Re: Other Issues » Escaping the Kiosk » 2022-01-08 20:22:29

Micronaut wrote:

I think defrag is more necessary than most of the *ix purists like to admit.

You're entitled to think whatever you want, of course.
My opinion on defragging ext* remains unshaken all the same though, and it's nothing to do with being a "purist". Ext* simply doesn't have the same rampant fragmentation issues that FAT and NTFS do.

Micronaut wrote:

MS is currently struggling to duplicate it with their "Resilient File System" (ReFS), but still recommends even servers use NTFS most of the time, I believe.

At this point, I'm really starting to suspect ReFS is vaporware.

Micronaut wrote:

Since ZFS is *BSD native, there is some sort of a license conflict and it's not easily available in Linux.

Solaris native, actually. But it does have a very nice BSD port.

Sun Microsystems released the ZFS source under their own take on a FOSS licence (the CDDL) shortly before they were devoured by Oracle, and actively developed ports are available for most BSD variants, MacOS and Linux.
Unfortunately It's not entirely clear whether the CDDL is compatible with the GPL, and there have been claims both ways. The FSF says it isn't, while the SFLC and Ubuntu claim that it is... As such, most GNU/Linux distros don't ship ZFS out of the box, requiring users to install it later.

For personal use the licence shenanigans is largely irrelevant, and full support on debian-based distros is just an 'apt install zfs-dkms zfsutils' away. You can even boot a GNU/Linux system from a ZFS pool, though I can't comment on Devuan's support for that specifically.

Micronaut wrote:

I might have to occasionally delete and re-copy the entire contents of a volume to defrag it. Seems likely to cause excessive wear.

Uhh, defragging a volume causes "excessive" wear as well... But hey, if you really want to do that kind of thing, go nuts.

Micronaut wrote:

Proton is supposed to be good, but can you use it without signing up for Steam?

Yes and no, and it's a complete pain in the ass.
Fortunately, TK-Glitch maintains a wine build-system with features backported from proton, and compatibility is usually just as good as the real thing.
AFAIK there are no convenient binaries for debian-based distros (TK-Glitch is an Arch user BTW), but if you don't want to compile stuff yourself you can get also get them through Lutris. This is probably the easiest, most compatible option outside of installing Steam, and it's in the Devuan repos...
Or just swipe the Lutris wine tarballs for use with your frontend of choice. I get the distinct impression the Lutris devs don't like people doing this (an attitude that pisses me off no end), but they aren't particularly well hidden. wink

Aside, if you want optimal gaming performance with Wine, you'll probably want a kernel with the fsync and/or futex2 patchset. These can also be found on TK-Glitch's github, and IIRC the Xanmod and Liquorix kernels include them if you don't want to patch/build by hand.
I can't comment on how well those kernels behave with Devuan though, since the only machine I actually game on runs Gentoo.

IME the biggest problem with gaming on GNU/Linux isn't compatibility or performance any more (I get framerates within 1-2% of native), it's the rise of intrusive kernel-level anti-cheat / DRM.
Unfortunately there's no easy fix for that, so if your MMO habits include games that install ring-0 malware for "security" purposes or auto-ban wine users for "cheating", you'll probably want to keep a windows partition around...
Or better yet, vote with your wallet and just refuse to buy games that spy on you or try to hijack your system.

#396 Re: Hardware & System Configuration » pwmconfig cannot find fans » 2022-01-08 19:46:57

Head_on_a_Stick wrote:

I've never used fancontrol so perhaps wait for steve_v to correct me.

Nah, you're all good.
I don't actually use fancontrol either these days, since most modern BIOS implementations include similar functionality.
I have spent a fair bit of time hacking on lm-sensors / fancontrol in the past though, somewhere around 2005 IIRC.

Both of the mentioned scripts will (or at least did) set everything to max when they exit, by design, for fairly obvious safety reasons. Modern machines have overheat failsafes, but that was not always the case.

#397 Re: Other Issues » Escaping the Kiosk » 2022-01-07 14:20:48

Head_on_a_Stick wrote:

Only if you don't mind the ridiculous memory usage. Have you tried it with de-duplication enabled? tongue

That's why there are so many warnings WRT the storage saving vs memory usage trade-off of dedup. In my case that trade isn't worth it, so I don't enable it.
IIRC the 64GB of RAM in my machine cost me ~120USD, and frankly I only installed 64 because I could. For a reasonable home-server pool size, ZFS (without dedup) will run just fine with 4.
More is better of course, as with most things. ZFS will use whatever it can get for its adaptive cache.

Of bigger concern hardware-wise is ECC and a UPS, though if you're serious about data integrity you'll have those already, regardless of filesystem choice.

#398 Re: Hardware & System Configuration » pwmconfig cannot find fans » 2022-01-07 02:19:01

Micronaut wrote:

But oddly, even though SpeedFan in Windows can find it just fine, the utility that is supposed to identify fan control ports for fancontrol cannot seem to identify my CPU fan.

The super-IO chips that usually do temperature sensing and fan speed control require drivers like anything else, and there's no standard for how they're configured so motherboard manufacturers tend to just do their own thing... With total indifference toward GNU/Linux, as usual.

What does sensors-detect say, and what nodes do you get in /sys/class/hwmon/ after you load the modules it suggests?
If you get some pwm[x] nodes (and they work), you should be able to test response by echoing values into them and reading rpm back on the corresponding fan[x]_input (pretty much what pwmconfig does).
Names may vary, as may accepted ranges and scaling. Again, total lack of standards. Some inputs might be complete garbage, because the motherboard manufacturer didn't bother to document what those pins are connected to... or connect them at all.

At any rate, have a poke around in /sys/class/hwmon or /sys/devices/platform/[chip_id]/, and hit up the lm-sensors docs and/or github for details (or complaints about lack of support).
Note lm-sensors doesn't actually provide any hardware drivers itself (but it usually gets the blame when things don't work), those are shipped with the kernel. If sensors-detect doesn't find anything useful and you can't find an appropriate module to load yourself either, start grepping the kernel sources for your super-IO chip and prepare for a trip down the proverbial rabbit hole...

Micronaut wrote:

I'm wondering if this might be fixable by somehow tell pwmconfig to wait longer, like maybe 15-20 seconds. Is it possible to do this?

Both pwmconfig and fancontrol are shell scripts. Simply edit to taste.

#399 Re: Other Issues » Escaping the Kiosk » 2022-01-07 01:48:27

Micronaut wrote:

How do people here (presuming most of you are MS-free and rely on Linux or other independent OSes) store their personal data? On your PCs? Or do you have independent storage using something like FreeNAS?

On a Devuan-powered server, of course. big_smile

More specifically, on a largish (24TB usable) RAIDZ6 pool, served via NFS, SMB, and nextcloud. That machine lives in my house, where it should.
No Google, no Microsoft, no random "cloud" filestores. Includes webmail, dropbox-like filehosting & link sharing, PIM (contacts, calendar, tasks, notes) synchronisation to desktop and mobile, browser bookmark sync, password management, automated full-system backups for several other machines, the whole nine yards.

Micronaut wrote:

All my data would have to move from NTFS, which is at least stable for all these years, to something else.

It doesn't have to, but it's probably a good idea.

Micronaut wrote:

Is EXT4 a good FS for storing large amounts of data? Despite the claim that Linux does not need defrag, it eventually does when you have drives filled close to capacity and are gradually adding and deleting files (as you do with personal archives). Does EXT4 have defrag? Does any *ix FS have defrag?

There used to be a couple of defragmentation tools for ext4, but in 20+ years as a GNU/Linux user and unrepentant data-hoarder, I've never needed or wanted them.
Yes, you will get some fragmentation if you run your storage at 90+% capacity. The easiest answer is "don't do that", but even if you do the performance impact is nothing like the nightmare you get on a fragmented NTFS volume.

Micronaut wrote:

Is some other FS considered best for long-term storage of personal data?

I will plug ZFS at any opportunity. It's kinda heavy on hardware requirements (particularly memory if you want good performance), but it more than makes up for that in featureset, reliability, and data integrity. No other filesystem comes even remotely close.
If you don't want to deal with ZFS (and out-of tree kernel modules), there's nothing wrong with ext4 on top of RAID and/or a sensible backup strategy either.

Micronaut wrote:

Does anyone with experience moving their 'lives' from the MS Kiosk to something else have any thoughts?

I never really had a life in the MS ecosystem, at least not the way it is now. The last version of Windows that stored any of my personal data was '98.
To be fair, I do still have an XP install on my old netbook, but that's strictly a tool for dealing with ancient hardware and holds no personal information whatsoever.

rolfie wrote:

I run mine with ext4. Some specialists claim that zfs may be better.

Oh, but it is tongue

rolfie wrote:

I have started my file server nearly 20 years ago based on Sarge

23-ish years here, and mine started out as a Slackware install, on a 486, in a (literal) pizza box.
Now it's an ebay-special dual xeon, shoehorned into a desktop case. New times, same old recycled hardware policy. smile

rolfie wrote:

I don't care about defrag, thats a Windows topic for me nowadays. I see no need to care ...

Indeed. Seconded.

Board footer

Forum Software