The officially official Devuan Forum!

You are not logged in.

#1 Re: Installation » Minimal KDE install in Beowulf » 2021-07-12 15:57:46

OK guys, thank you very much for all your help and assistance, hope to see you in a few years.

#2 Re: Installation » Minimal KDE install in Beowulf » 2021-07-11 23:13:39

Head_on_a_Stick wrote:

11th generation Intel graphics need a newer version of Mesa than is available in beowulf.

Ah, so it won't work anyway... But just out of curiosity - do you think my problem is due to the old mesa driver or maybe systemd/sysvinit differences? The same approach worked with Buster, however I have no idea on what hardware.

Thank you.

#3 Re: Installation » Minimal KDE install in Beowulf » 2021-07-10 23:01:14

GlennW wrote:

If it's not booting to a login gui, have you got elogind installed?
Just my 2c. All the best.

Elogind is installed (automatic).
Thanks!

#4 Re: Installation » Minimal KDE install in Beowulf » 2021-07-10 20:56:38

As far as I can see, running

apt list -a --installed *something*

sddm and xserver are installed, but xinit is not...
The content of  /var/log/boot is:

(Nothing has been logged yet. If you're still seeing this message your current init system might not write bootup messages to the system console at all.)
Sat Jul 10 17:34:14 2021: [....] Activating swap...??7[ ok 8??done.
Sat Jul 10 17:34:14 2021: [....] Checking file systems...fsck from util-linux 2.33.1
Sat Jul 10 17:34:14 2021: fsck.fat 4.1 (2017-01-24)
Sat Jul 10 17:34:14 2021: /dev/nvme0n1p1: 382 files, 41850/125952 clusters
Sat Jul 10 17:34:14 2021: /dev/nvme0n1p6: clean, 20/13189120 files, 1105464/52735744 blocks
Sat Jul 10 17:34:14 2021: ??7[ ok 8??done.
Sat Jul 10 17:34:14 2021: [....] Cleaning up temporary files... /tmp??7[ ok 8??.
Sat Jul 10 17:34:14 2021: [....] Mounting local filesystems...??7[ ok 8??done.
Sat Jul 10 17:34:14 2021: [....] Activating swapfile swap...??7[ ok 8??done.
Sat Jul 10 17:34:14 2021: [....] Cleaning up temporary files...??7[ ok 8??.
Sat Jul 10 17:34:14 2021: [....] Starting: AppArmor[....] $Mounting securityfs on /sys/kernel/security??7[ ok 8??.
Sat Jul 10 17:34:14 2021: [....] Loading AppArmor profiles...??7[ ok 8??done.
Sat Jul 10 17:34:14 2021: ??7[ ok 8??.
Sat Jul 10 17:34:14 2021: [....] Starting Setting kernel variables: sysctl??7[ ok 8??.
Sat Jul 10 17:34:14 2021: [....] Configuring network interfaces...ifup: waiting for lock on /run/network/ifstate.eth0
Sat Jul 10 17:34:20 2021: ifup: interface eth0 already configured
Sat Jul 10 17:34:20 2021: ??7[ ok 8??done.
Sat Jul 10 17:34:20 2021: [....] Cleaning up temporary files...??7[ ok 8??.
Sat Jul 10 17:34:20 2021: [....] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix??7[ ok 8??.
Sat Jul 10 17:34:20 2021: INIT: Entering runlevel: 2
Sat Jul 10 17:34:20 2021: [info] Using makefile-style concurrent boot in runlevel 2.
Sat Jul 10 17:34:20 2021: [....] Setting up console font and keymap...??7[ ok 8??done.
Sat Jul 10 17:34:20 2021: [....] Starting enhanced syslogd: rsyslogd??7[ ok 8??.
Sat Jul 10 17:34:20 2021: [....] Starting anac(h)ronistic cron: anacron deferred while on battery power??7[ ok 8??.
Sat Jul 10 17:34:20 2021: [....] Starting periodic command scheduler: cron??7[ ok 8??.
Sat Jul 10 17:34:20 2021: [....] Starting system message bus: dbus??7[ ok 8??.
Sat Jul 10 17:34:20 2021: [....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon??7[ ok 8??.
Sat Jul 10 17:34:20 2021: [....] Starting bluetooth: bluetoothd??7[ ok 8??.
Sat Jul 10 17:34:20 2021: [....] Starting session management daemon: elogind??7[ ok 8??.
Sat Jul 10 17:34:20 2021: [....] Starting network connection manager: NetworkManager??7[ ok 8??.
Sat Jul 10 17:34:21 2021: [....] Starting Init script for Simple Desktop Display Manager: sddm??7[ ok 8??.

Could it be due to the lack of the drivers' support for my hardware (it is i5 11th gen with Xe GPU)?
I also did not set a root password during installation.

Thank you.

#5 Re: Installation » Minimal KDE install in Beowulf » 2021-07-05 19:44:31

Well, I followed the method (https://www.pragmaticlinux.com/2020/10/ … 10-buster/) suggested by dice, but as usual, there are problems... Base system installs, installation of basic plasma-nm and KDE is also fine, but after reboot I still face the same tty1.

#6 Installation » Installation on Intel RAID » 2021-07-05 00:50:46

Copper36
Replies: 0

Hi,

I tried to install Beowulf on a new Dell Vostro, but bumped into a problem with drives configuration.
By default (in UEFI), the drives are configured as RAID using Intel Rapid Storage Technology. If I try to install Beowulf either from netinstall or desktop image, the installer does not detect the drive (which is NVMe M.2). If I switch RST RAID to AHCI in UEFI, Windows do not boot.
Any suggestions on how to proceed?

Thank you.

UPD1. Looks like I've managed to switch Windows to AHCI mode, will report the rest later.
UPD2. Base system (netinstall) installs fine, however no graphics... see my post https://dev1galaxy.org/viewtopic.php?id=4392

#7 Re: Installation » Minimal KDE install in Beowulf » 2021-07-04 21:26:08

dice wrote:

this is a fairly decent overview of what you may want in below link.

https://www.pragmaticlinux.com/2020/10/ … 10-buster/

Thanks!

#8 Re: Installation » Minimal KDE install in Beowulf » 2021-07-04 21:24:10

Head_on_a_Stick wrote:

No but you can add a custom entry to tasksel with this file at /usr/share/tasksel/descs/kde-minimal.desc:

Task: KDE-minimal
Relevance: 2
Parent: desktop
Key:
Packages: list
   kde-plasma-desktop
   plasma-nm
Section: user
Description: Minimal KDE desktop
 .

Not sure if the installer actually uses tasksel but if it does then you could perhaps remaster it with this addition.

Where do I look for this file? I do not see anything like this in the installation image. There is a package called tasksel however... I'm afraid I just do not understand what you mean, sorry.

#9 Installation » Minimal KDE install in Beowulf » 2021-06-29 16:09:43

Copper36
Replies: 14

Hi,

I'd like to make a fresh install of Beowulf with a KDE desktop on a new box, but I do not need that huge bundle of KDE apps installed by default. As far as I can see, the things has not changed and it's still a PITA to remove them after the full KDE has been installed.
What is the correct way to run a minimal install of KDE desktop? What I have found so far is to run a net install without DE, and after it's done to manually install minimal KDE running

apt -y kde-plasma-desktop plasma-nm

Is this correct? By any chance, is there a minimal KDE-plasma install option in the "regular" installer?

Thank you.

#10 Re: Other Issues » dpkg database is locked, can't proceed with installation » 2020-11-09 16:42:38

Head_on_a_Stick wrote:

Okay, I've tried installing that in my Debian buster box and I see the same errors but I don't know why. If nobody else can help with this then it may be best to open a bug report.

My wild guess would be the script locks dpkg for itself... Anyway, I compiled it from the sources, seems to work.

Thank you for your time and effort!

P.S. I have found a reference to the same error (but one and only) on one of the Debian forums dated 2017.

#11 Re: Other Issues » dpkg database is locked, can't proceed with installation » 2020-11-08 18:41:24

Here is the output:

~$ find /var -name 'lock*' -exec lsof {} \;
find: ‘/var/log/exim4’: Permission denied
find: ‘/var/lib/sudo/ts’: Permission denied
find: ‘/var/lib/colord/.cache’: Permission denied
find: ‘/var/lib/udisks2’: Permission denied
find: ‘/var/lib/polkit-1’: Permission denied
find: ‘/var/lib/geoclue/.cache’: Permission denied
find: ‘/var/lib/apt/lists/partial’: Permission denied
find: ‘/var/lib/rkhunter/db’: Permission denied
find: ‘/var/lib/rkhunter/tmp’: Permission denied
find: ‘/var/cache/ldconfig’: Permission denied
find: ‘/var/cache/cups’: Permission denied
find: ‘/var/cache/apt/archives/partial’: Permission denied
find: ‘/var/spool/cups’: Permission denied
find: ‘/var/spool/cron/crontabs’: Permission denied
find: ‘/var/spool/exim4’: Permission denied
find: ‘/var/spool/rsyslog’: Permission denied

Should it be run with sudo?

I also looked at what happens to the /var/lib/dpkg/lock, it keeps re-appearing at the moment I hit "Yes" in the download-compile window... not sure if it should.

#12 Re: Other Issues » dpkg database is locked, can't proceed with installation » 2020-11-08 16:55:51

Head_on_a_Stick wrote:

Check if anything's using the lock:

lsof /var/lib/dpkg/lock

If not then it should be safe to remove manually.

Huh, it doesn't seem to work.
lsof /var/lib/dpkg/lock does not report anything, but:

~$ sudo rm /var/lib/dpkg/lock
~$ sudo dpkg-reconfigure fheroes2-pkg
fheroes2-pkg: dpkg database is locked. You may need to use command "sudo dpkg-reconfigure fheroes2-pkg".
fheroes2-pkg: Building and installation of package(s) [fheroes2] postponed till after next APT operation.

#13 Other Issues » dpkg database is locked, can't proceed with installation » 2020-11-08 16:10:38

Copper36
Replies: 7

Hi,

I am trying to install fheroes2 (from the repo of course), and it requires an additional download/compilation of some non-free components. According to the instructions, after Synaptic is done and closed, I issued:

~$ sudo dpkg-reconfigure fheroes2-pkg

Pseudo-grapic menu appeared asking for permission to download and to compile, "Yes", but then:

fheroes2-pkg: dpkg database is locked. You may need to use command "sudo dpkg-reconfigure fheroes2-pkg".
fheroes2-pkg: Building and installation of package(s) [fheroes2] postponed till after next APT operation.

Synaptic is not running, no traces of apt/dpkg/synaptic in the processes list. Tried to reboot - no changes, still got stuck.
It looks like I can manually delete a lock file, do my stuff and then probably reboot to restore a status-quo, but is it safe? Maybe any other more conventional methods to deal with this?

ASCII 64bit.

Thank you.

#14 Re: Desktop and Multimedia » High CPU by PulseAudio » 2020-10-28 19:06:08

Hi,

I hate leaving business unfinished and that's why I'm back:-). I've finally managed to figure out what caused my problems and would like to share it, hoping that  someone might find it useful.

First, I tried to completely get rid of PA. Can you live without PA? Yes. Will you like it? Maybe, but not so sure. After removing PA I still have sound (which is good), but faced a bunch of problems and restrictions, that included:
1. Very low max volume. I have a Windows system on the same laptop, so I could compare all 3: Win, PA and ALSA. ALSA had that low volume that in several cases I had to use headphones. I tried to fix it introducing an additional pre-amplifier via special script and it kind of worked - the sound became louder, but there appeared irregular sound distortions, that DID NOT depend on volume. So I had to disable the pre-amp.
2. A bunch of smaller things, that still might be very important. For example, you one needs PA in order to share sound in ZOOM.

Having all that, I decided to take a closer look at what exactly caused the high CPU consumption by PA. With re-installed PA I noticed that it starts taking up more and more CPU right after I use reader view in FF. PA Audio Mixer / Playback shows 3 more text to speech streams, which very likely were the culprits. Since I do not use this feature (text-to-speech), I removed a speech-dispatcher package (and its dependences) + orca-gnome just in case :-). And it looks like this made a trick. No additional streams, rather low CPU consumption by PA (though not a complete zero...). Technically, it seems it was possible to block text to speech instead, but as you can see I chose the radical solution :-).

The bottom line is that if you work with sound (professionally, as larsH in the thread above), you probably have an additional hi-fi amplifier and ALSA volume problems are non-existent, while sound quality is reportedly higher (compared to PA). On the other hand, for an average day-to-day cheap laptop user like me PA removal makes life a bit worse (see the points above).

Thanks for your attention.

#15 Re: Desktop and Multimedia » High CPU by PulseAudio » 2020-09-14 20:17:59

Some updates (with a question).
As I've mentioned above, sound volume with ALSA alone became very low, so I tried to boost it somehow.
Fortunately, it is a relatively well-known issue and the most recommended solution is to add a pre-amplifier to ALSA. I used this tutorial:
https://alien.slackbook.org/blog/adding … nd-levels/
however whatever I tied I still could not see an additional "pre-amp" option in ALSA mixer.
Maybe the location/name of the .conf file should be different (Slackware vs Devuan)?

Thank you.

#16 Re: Desktop and Multimedia » High CPU by PulseAudio » 2020-08-21 18:13:37

Some updates on "living without PA":

1. With ALSA controls only, the sound is very quiet now. Only with Master/Speaker/PCM close to 100% it is kind of OK. Yes, it was much louder with PA (and Win7) and no, there were no sound distortions.

2. For some reason Clementine began to consume 10-12% CPU while playing any .mp3/.ogg file. It used to be about 3-4% and this is the number I see now using preinstalled QuodLibet or VLC. Clementine was installed from Devuan repos, all graphics/equalizer are turned off (as it was before, did not change anything).

So as usually happens, if smth is better, smth will definitely get worse :-)

Any ideas?

Thank you.

#17 Re: Desktop and Multimedia » High CPU by PulseAudio » 2020-08-11 18:29:33

So I've removed PA with all configs and + autoremoved unneeded packages. Clementine and Skype both work fine. I'll check everything else and if there are no problems, I'll repeat the same on my "production" laptop :-)

Thanks a lot!

BTW, what are those things PA can do that ALSA can't? I mean, for a common user like me? For example, if I'm listening to music and new mail comes with a sound notification, will that notification be heard on top of background music with/without PA?

#18 Re: Desktop and Multimedia » High CPU by PulseAudio » 2020-08-11 18:24:39

golinux wrote:

"Comment out" looks like this:
# autospawn=no

Well, I thought it was binary - either on or off... looks like there is a third option :-)

#19 Re: Desktop and Multimedia » High CPU by PulseAudio » 2020-08-11 18:08:21

larsH wrote:

Make sure your /etc/pulse/client.conf.d/00-disable-autospawn.conf looks like this:

# On linux systems, disable autospawn by default
# If you are not using systemd, comment out this line
autospawn=no

I do not have exactly the same location of the config files, but when I replaced autospawn=yes with autospawn=no in /etc/pulse/client.conf nothing changed.
I'll try to purge PA completely, we'll see what happens.

Thank you.

#20 Re: Desktop and Multimedia » High CPU by PulseAudio » 2020-08-11 17:32:13

Head_on_a_Stick wrote:

The Devuan firefox-esr package does not need PulseAudio at all. I have yet to find an application from the repositories that actually needs PA.

Do you mean Devuan repos? Skype is definitely from MS repo and I do not remember if Clementine 1.31 I have comes from Devuan repos or not. The facts are that if I do not start them, I do not see any traces of PA in a task manager, but as soon as they are active, PA re-appears and consumes quite a lot (for a laptop at least). And these two are pretty basic and widely used apps I guess.
The FF I have is from the Devuan repo, so I'll check this out too.

Thank you.

#21 Re: Desktop and Multimedia » High CPU by PulseAudio » 2020-08-11 17:09:29

Thanks a lot Lars,

It turned out I needed to reboot, not just to log out.
However this is not quite what I expected, because though initially I do not see a pulseaudio --start --log-target=syslog task, it keeps re-appearing at the moment I start, for example, Clementine or Skype and consumes the same 1-4% CPU. So it looks to me that those apps either do require Pulseaudio (and initiate it on start) or one needs to clean the whole damn thing out completely to use ALSA alone.
Technically, it wouldn't be that bad, because Clementine alone results in 1% CPU used by PA. But the bigger issue is that even Firefox, which I must keep open all the time (due to my work Outlook mailbox) also initiates PA via AudioIPC Server: AudioCallbackDriver. Maybe if I turn off sound notifications it won't be activated...
So the bottom line is probably that you're too optimistic about using ALSA alone and too many common apps are hard-coded to use PA... sorry.

Any thoughts?

Thank you!

#22 Re: Desktop and Multimedia » High CPU by PulseAudio » 2020-08-10 15:00:48

Thanks Lars,

Maybe I missed something, but for some reason I do not have any sound with ALSA alone. What I did was:
1. Turned off PulseAudio autostart.
2. Added volumeicon autostart.
3. ALSA settings: automute was on, so I turned it off. Sound card/input and output channels are correctly selected and non of them are muted.
As a result, still no sound with ALSA alone.

Thank you.

#23 Re: Desktop and Multimedia » How do you stop chromium asking for 'keyring password'? » 2020-08-09 19:34:56

I guess it's a Chrome/Chromium issue as I have the same problem with Skype, which, surprise-surprise, also uses Chromium engine.

#24 Desktop and Multimedia » High CPU by PulseAudio » 2020-08-09 19:29:58

Copper36
Replies: 20

Hi,
A couple of days ago I noticed something was taking quite a lot of CPU load at rest (not sure when exactly it started though). It turned out that the task pulseaudio --start --log-target=syslog was continuously using 8-10% CPU. Right after reboot it was 0-1%, and now it's already 3-4%. No specific sound-related apps are running, just Firefox/Thunderbird and a file manager. On a different PC used for the same purposes this PulseAudio task is exactly 0% all the time.
I do not think I meddled with settings/tweaks at any time recently, only the official updates. I've looked online, but there seems to be a wide variety of pulseaudio problems that may cause such a behavior, and since I'm pretty sure I have not changed anything recently, I simply do not know where to start from. May I ask for some directions?
The system is a rather old all-Intel laptop with Realtek audio, Devuan ASCII 64bit.

Thank you.

#25 Re: Desktop and Multimedia » Gnome-schedule » 2020-06-13 20:23:23

As far as I can see, the most recent version is 2.3 (year 2016), which doesn't seem to be that old. (https://sourceforge.net/projects/gnome- … chedule-2/)
Maybe someone from the Devuan team could take a look at it at tell why it did not make it even into the oldstable Debian repos? This app seemed to work well and there are almost no alternatives around.
If there are no absolutely critical flaws in it and it could be packed, I am willing to offer my (pretty modest) help. I've never made .deb packages, but it might be a good opportunity to learn.

Board footer

Forum Software