The officially official Devuan Forum!

You are not logged in.

#526 Re: Installation » Install ZFS » 2022-10-20 05:27:28

golinux wrote:

Have you ever actually tried it?

To follow up on that, I just installed chimaera on a thinkpad X230, from the default live image, with refracta...
My opinion remains unchanged - What a clunky, janky, unprofessional POS.

Random terminal windows and GTK dialogs spawning all over the screen, uncloseable windows, dialogs with no content... Then I cancelled the debconf for keyboard layout to see what would happen - and the thing just started copying the system anyway, with no further interaction or chance to back out.
Speaking of that, there's no "go back" in any of the questions at all. Seriously, I think I could write a better install process myself in zenity and bash.
Slackware had a better installer in 1999 FFS, it even such shockingly "modern" features as navigable menus and package selection. roll

Remind me how this disaster is an improvement over d-i again?

At least the default desktop configuration is almost sensible, though I could really do without all the networkmanager/pulseaudio/garbage-kit bloat TBH.
Aside, and a minor niggle to be sure, but why exactly do LARGER FONTS and SMALLER FONTS need priority placement on the desktop and their own icons? XFCE had a fine settings app last time I looked, and clearing redundant trash off the desktop really shouldn't be the very first activity after a clean install IMO.

#527 Re: Installation » Install ZFS » 2022-10-15 02:44:57

golinux wrote:

Isn't choice the point of free software?

Actually it's... Freedom. Choice is just a side-effect of the "freedom to modify" bit.

Choice is, on the other hand, the reason I moved away from Debian, and the reason I'm steadily moving away from binary distros in general. Primarily, that's the choice to not install 500lbs of crap I don't want or use.

For example: Want to install ffmpeg just for CLI transcoding? Too bad, guess you'll need a bunch of X libraries, GLX stuff, fonts you'll never use, and vulkan headers (FFS) as well... Because Debian / Devuan compiles against every possible thing, and seems to be more and more aimed at desktop deployments by the day.
For another, have a look at the unholy mess in /etc on a "modern" binary distro, and ask yourself: How much of this do I use, and how much do I even know what it's for?

Frankly I find this all extremely annoying, and If I have to recompile a bunch of stuff just to get a simple, understandable OS without a heap of redundant kitchen-sink functionality and 50 abstraction layers for everything, I might as well just build the whole system from source to begin with.

Anyway, this is horribly off-topic. Maybe if the OP replies someday...

#528 Re: Installation » Install ZFS » 2022-10-15 00:28:03

golinux wrote:

Have you ever actually tried it?

Somewhere around 2010, yeah, sure. I was aghast at the lack of questions and spent more time removing stuff later than it would have taken me to just do a netinstall to begin with.

It felt like a slightly janky desktop-centric toy for one-man remixes TBH, the defaults were not even remotely what I wanted, and a netinst image + rsync already served nicely for backups. So I've ignored it ever since.

Then again, I don't run Devuan on any desktops and I never have. I haven't used anything but netinstall for as long as I can remember, and I currently have exactly one Debian box with a GUI... And that's Etch on a K6-2. tongue

So yeah, "easy" live desktop installers that don't ask enough questions aren't my thing, at all. I want my installers to ask me what I want to install (with verbosity and granularity), otherwise what's the point?

#529 Re: Installation » Install ZFS » 2022-10-11 11:49:45

Wow, this is turning into an ordeal. Really not sure why, it should be as simple as:

apt install linux-headers-amd64 zfs-modules zfsutils

All three are metapackages, and should select linux-headers-{version}-{arch}, zfs-dkms, and zfsutils-linux respectively... Or at least they do on my minimal chimera install, with both recommends and suggests disabled.

Add

apt install zfs-zed

if you want event monitoring (you do),

apt install zfs-auto-snapshot

if you want automatic snapshotting from cron, and

apt install zfs-initramfs

if you want to be able to do root-on-zfs.

Aside, you might also prefer the 2.1.5 packages from chimera-backports, there have been some improvements...

Otherwise, yeah, full output needed to see why the zfs and spl modules are not being installed.

FWIW, I did have a bit of fun getting my filesystems mounted at boot after a beowulf -> chimaera upgrade, it would appear the init scripts for 2.0.3 and 2.1.5 are both kinda broken (WRT LSB depends and ordering), this commit puts things back how (IMO) they should be.

Head_on_a_Stick wrote:

Refracta

On that note... Any particular reason we're moving to that (unmentionable, IME) thing instead of using the venerable debian-installer? I mean, we kinda have a serviceable wheel already, no?

#530 Re: Hardware & System Configuration » apt-mark » 2022-10-03 04:03:17

Huh? apt-mark is included with apt, it's never been a separate package AFAIK.

cat /etc/devuan_version 
chimaera
dpkg -S `which apt-mark`
apt: /usr/bin/apt-mark

#531 Re: Desktop and Multimedia » Accessing fora on the web » 2022-09-08 05:16:04

Fringe browser labels Devuan a fringe OS...

Pot, meet kettle lol

If the site in question isn't running some pile of "browser check" javascript trash, you can probably cheat by just changing your user-agent...
Then again Palemoon is kinda garbage anyway, as is the general attitude of the developers.

#532 Re: Desktop and Multimedia » [SOLVED] Why i can't upgrade ceres? » 2022-09-08 05:04:15

Because deb.devuan.org failed to update due to an expired GPG key.
See this topic regarding expired keys, or the 50 bazillion general search hits regarding this kind of error on any number of Debian-based distros. This is why we read the "new and announcements" section, no?
You're running unstable with a bunch of third-party repos enabled, so surely you can read those errors and warings from apt just as well as I can too...

You also appear to have a number of duplicates and errors in your sources in general, but that's another matter.

#533 Re: Other Issues » [SOLVED] How to Navigate Back to a Previous XFCE Session? » 2022-08-29 04:56:05

Head_on_a_Stick wrote:

Both screen and tmux are available from the repositories big_smile

And unavailable early in the boot process, the initrd, or by default on many minimal installs.
Shift+pgup is both ingrained muscle-memory and a lot less annoying (IMO) than the likes of vi-style keybinds, and screen is gratuitous bloat when all you want is a fully functional VT.

Console scrollback has been around forever, and it's one of the very first things that made me go "wow, this is way better" when transitioning from DOS.
Frankly this "everyone just uses the GUI (or laptop/phablet/whatever trendy disposable junk is FotM) these days" rubbish is getting extremely annoying. I for one use real VTs on a real PC every day, and have since the late '90s.

Now I' guess I'm just waiting for GNU/Linux to remove VTs altogether, make touchscreens mandatory, and replace all kernel output with inane spinning widgets and emojis.
I'm sure all the windows refugees will just love it, since there'd be no need to learn to read and no keyboard to clean the drool out of.

#534 Re: Other Issues » [SOLVED] How to Navigate Back to a Previous XFCE Session? » 2022-08-28 14:00:32

alexkemp wrote:

a VT does NOT have a mouse

apt install gpm
alexkemp wrote:

nor history support

Used to have scrollback, removed recently (Grrr) because "nobody was using it" (which is bollocks).
Patches exist to restore this functionality, but Debian/Devuan does not include them.

alexkemp wrote:
$ tty/dev/pts/0

Psuedo-terminal virtual filesystem, used by GUI terminal emulators. Predates systemd by about a decade.

#535 Re: Hardware & System Configuration » Dovecot, samba, sysvrc and the case of the vanishing PID files » 2022-06-10 17:58:38

Well that was quick.

We have a weiner, and really, I should have seen it coming...
Via auditd (yeah, it's better than fnotifystat):

proctitle=/usr/bin/python3 /usr/bin/systemctl list-units --full --all 
type=PATH msg=audit(11/06/22 05:16:39.046:1736) : item=1 name=/var/run/samba/nmbd.pid inode=41571 dev=00:15 mode=file,644 ouid=root ogid=root rdev=00:00 nametype=NORMAL cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 
type=PATH msg=audit(11/06/22 05:16:39.046:1736) : item=0 name=/var/run/samba/ inode=16650 dev=00:15 mode=dir,755 ouid=root ogid=root rdev=00:00 nametype=PARENT cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 
type=CWD msg=audit(11/06/22 05:16:39.046:1736) : cwd=/root 
type=SYSCALL msg=audit(11/06/22 05:16:39.046:1736) : arch=x86_64 syscall=openat success=yes exit=3 a0=0xffffff9c a1=0x7f257ac19050 a2=O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC a3=0x1b6 items=2 ppid=16701 pid=16702 auid=steve uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=pts2 ses=16 comm=systemctl exe=/usr/bin/python3.7 subj==unconfined key=rundir

Sure enough:

-rw-r--r-- 1 root root 0 Jun 11 05:16 /var/run/samba/nmbd.pid

And it's not even some dodgy crap I backported myself this time:

Package systemctl:                              
i   1.4.4147-1~bpo10+1                                             oldstable-backports                         200

This particular footgun was installed to satisfy some crappy postinst stuff in the packages from zmrepo (which actually works fine without systemd but was clearly packaged by a muppet).
I thought it would be relatively safe in that context as all the postinst does is a 'systemctl status zoneminder' and nothing else should use it (this is Devuan after all, and we don't use systemd, right? RIGHT?)... But if it's on the system it looks like it gets called by a bunch of other things too - in this case, somewhere downstream of a 'service apache2 reload'.
Said zmrepo package was only installed because there's nothing for beowulf... Which is odd and kinda annoying, as there is a backport for ascii.

Anyone care to speculate why a command that is supposed to simply list units is stomping all over everything? Or why there is a loaded footgun in the devuan repos without a depends !sysvinit safety catch?

Conclusions:
1) That standalone systemctl package is an extremely nasty trap. I don't know why it's nuking my pidfiles and I don't really speak python, but I might have a look later. For now it goes in the naughty corner where it belongs.
2) Installing zoneminder on this box was probably a bad idea to begin with. It's nominally a mailserver (with roundcube webmail via apache), but it had disk space to burn, a webserver already installed, and it was convenient at the time. 'twas intended to be a temporary solution, but you know how that usually goes.

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

Oh FFS. Just when I decide to let it cook for a bit...

Ignore dovecot for the minute, that's behaving itself right now. smbd and nmbd on the other hand:
Are running right now, and working fine.
Have a PID file...
But that PID file is empty. I know it contained a valid PID ~2 days ago, because I checked after I had to restart it.
The smbd and nmbd processes are ~2 days old (Jun  8 17:26), but the modification date on the PID file is 'Jun 10 17:49'.
Grepping the logs for that time and date (and an hour before) reveals... Nothing of any interest.
Sure enough, the init scripts can't stop those services.
Killing them manually and restarting with the init scripts writes out the correct PID, and all is well again.

And it gets better, it's not just dovecot and samba, they're only the canaries:

# find /var/run/ -iname '*.pid' -empty | xargs ls -la
-rw-r--r-- 1 root  root  0 Jun 10 17:49 /var/run/apcupsd.pid
-rw------- 1 root  root  0 Jun 10 17:49 /var/run/fail2ban/fail2ban.pid
-rw-r--r-- 1 root  root  0 Jun 10 17:49 /var/run/php/php7.4-fpm.pid
-rw-r--r-- 1 redis redis 0 Jun 10 17:49 /var/run/redis/redis-server.pid
-rw-r--r-- 1 root  root  0 Jun 10 17:49 /var/run/samba/nmbd.pid
-rw-r--r-- 1 root  root  0 Jun 10 17:49 /var/run/spamd.pid

What the? Seriously? How did I miss that?

So it's not the init scripts at fault, It's been aliens all along.
I think it's also safe to say my initial statement that /var/run/dovecot/master.pid was missing is incorrect. I expect I looked after I had already run the dovecot init script, which of course fell through to that rm -rf on account of having no PID to work with.
I can't exactly prove it right now, but I bet you a cookie the pidfile was present but empty like all the others.

I'm still none the wiser as to what's fingering my files behind my back, and it's high time I went to sleep right now. But hey, data point is data point.

If you have any idea what that data point points to... I'm all ears.

I just sicced fnotifystat onto /var/run/, so let's see if it catches anyone...

#537 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

#538 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.

#539 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.

#540 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...

#541 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

#542 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.

#543 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.

#544 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.

#545 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

#546 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.

#547 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.

#548 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.

#549 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.

#550 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.

Board footer

Forum Software