The officially official Devuan Forum!

You are not logged in.

#1051 Re: Desktop and Multimedia » [SOLVED] screen is not locked when suspend is activated by closing the lid » 2022-01-23 13:39:04

The DDX driver shouldn't affect the screensaver locking hmm

And note that the recommendation is to remove xserver-xorg-video-intel and use X's builtin modesetting driver instead. The Intel version is known to be buggy, especially for modern chips.

Use Wayland to manage tearing. X is useless for that.

#1052 Re: Hardware & System Configuration » Error while system-shutdown su and more. » 2022-01-23 13:33:25

You shouldn't use su to run the synaptic-pkexec script.

Just run it as your normal user.

EDIT: and use su - instead if you need superuser permissions.

Dammit I said I wouldn't post about that again... mad

#1053 Re: Desktop and Multimedia » [SOLVED] firefox and asound.conf » 2022-01-23 13:26:57

With my humble apologies to the OP for this egregious digression:

steve_v wrote:
Head_on_a_Stick wrote:

192kHz

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

Although my hearing is limited to ~10kHz (I'm getting old now) it is still has the time-domain discrimination required to appreciate the quality imparted by higher sampling rates than those imposed by the Red Book (CD) standard.[1][2][3][4][5][6]

And now back to the thread...

[1] Jackson, H. M., Capp, M. D. and Stuart, J. R., 'The audibility of typical digital audio filters in a high-fidelity playback system', 9174, 137th AES Convention, (2014).
[2] Gabor, D., 'Theory of Communication', Journal of the Institution of Electrical Engineers, 93, III, p.429, (November 1946). http://dx.doi.org/10.1049/ji-1.1947.0015.
[3] Gabor, D., 'Acoustical Quanta and the Theory of Hearing', Nature, 159, pp.591–594, (1947). http://dx.doi.org/10.1038/159591a0.
[4] Oppenheim, J. M. and Magnasco, M. O., 'Human Time-Frequency Acuity Beats the Fourier Uncertainty Principle', Phys. Rev. Lett., 110, 044301, (2013). http://dx.doi.org/10.1103/PhysRevLett.110.044301.
[5] Oppenheim, J. M., et al., 'Minimal Bounds on Nonlinearity in Auditory Processing' (Jan 2013). arXiv:1301.0513 q-bio.NC.
[6] Maka, M, Sobieszczyk, P, et al., 'Hearing overcomes uncertainty relation', Euro Physics News 46 #1, pp.27–31.

#1054 Re: Desktop and Multimedia » [SOLVED] firefox and asound.conf » 2022-01-23 09:27:28

GlennW wrote:

it seems you have the same problem (no sound with some programs, firefox, palemoon, and other web-browsers) I get when ever I have tried to live without Pulse Audio on my system(s).

The OP says that sound in FF works just fine if no /etc/asoundrc is created. I can also confirm that FF audio is completely functional without PulseAudio (or JACK, or PipeWire). You probably just need to set the default output device to your non-HDMI output: https://wiki.archlinux.org/title/Advanc … sound_card

steve_v wrote:

useful functionality ALSA provides

I would not describe the default ALSA behaviour of software resampling to 48kHz as in any way "useful" for those who have invested in expensive external DACs with hardware-based convertors and custom digital filters wink

But anyway that would only be appropriate for digital outputs. Addressing the hardware directly doesn't seem sensible for an analogue sound card.

FWIW I use this to prevent ALSA ruining the 24-bit 192kHz music files I stream from Qobuz:

pcm.Digital {
   type hw
   card A20
}

ctl.!default {
   type hw
   card A20
}

pcm.!default {
   type plug
   slave {
      pcm "Digital"
      rate "unchanged"
   }
}

^ That example disables software resampling for my Audiolab M-DAC+, which is identified in the output of aplay -l as A20. It's better to use the device identifier rather than the card number because the latter can change from one boot to the next.

#1055 Re: Installation » (chimaera) 5 - 10 seconds delay when installing packages terminal » 2022-01-22 12:08:24

kapqa wrote:

checked again, ubuntu seems fine, but it has different entry in /etc/resolv.conf

nameserver 127.0.0.53
options edns0
search home-life.hub

So Ubuntu is using systemd-resolved then.

kapqa wrote:

it seems that after reboot, the OpenNIC setting is deleted

If you read (or share) the entire file it probably explains that the content is managed by another program — usually either NetworkManager or resolvconf — and that any edits will be over-ridden. You should either make your edits to the configuration of the controlling program or stop that program from managing resolv.conf.

kapqa wrote:

It is still noticeably faster on Ubuntu, though.

Try adding the options edns0 line as well. The round robin might be able to take advantage of the DNS extensions mandated by RFC 2671.

#1056 Re: Desktop and Multimedia » Game Managers » 2022-01-22 12:03:53

steve_v wrote:

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.

The OP already has the 32-bit Vulkan packages installed and anyway I think the error is referring to the video driver rather than the Vulkan libraries.

@OP: check your Vulkan support with

vulkaninfo --summary

And check the actual loader with

ls /usr/share/vulkan/icd.d/

^ That should show both 32- & 64-bit NVIDIA .json files for the ICD loader.

It could be that the legacy NVIDIA drivers just don't support this.

steve_v wrote:

you'd probably be better served by the lutris board

+1

#1057 Re: Other Issues » Chimaera sources.list » 2022-01-22 11:54:35

My VM also had that line. Perhaps the netinstall ISO needs a preseed line to correct the source.

Something like

d-i preseed/late_command string in-target sed -i 's|//pkgmaster.|//deb.|' /etc/apt/sources.list

#1059 Re: Desktop and Multimedia » [SOLVED] firefox and asound.conf » 2022-01-22 11:46:42

Why are you attempting to address the soundcard directly? What is the point of creating asound.conf if the card is already set as the default output device?

#1060 Re: Other Issues » Mouse lags but only in a game » 2022-01-22 11:45:32

yolobro wrote:

I have read these before

Then why didn't you mention that in the OP? It would have stopped both of us wasting our time. Please explicitly list *everything* else you've tried.

I would recommend removing xserver-xorg-video-intel but maybe I should stop bothering with this thread...

#1062 Re: Off-topic » Show your desktop (rebooted) » 2022-01-22 11:41:47

Devuan chimaera running sway under QEMU with 3D acceleration enabled:

20220122-11h39m06s-grim.png

#1063 Re: Hardware & System Configuration » authorization problems possibly due to frankendevuan (attn: fsmithred) » 2022-01-20 19:31:40

@OP: does elogind fix the problem?

Have you tried any other graphical authentication agents? For example lxqt-policykit (/usr/bin/lxqt-policykit-agent), lxpolkit (/usr/bin/lxpolkit), mate-polkit (/usr/lib/x86_64-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1) or polkit-kde-agent-1 (/usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1).

#1064 Re: Other Issues » Mouse lags but only in a game » 2022-01-20 19:24:46

What is the graphics hardware and driver?

lspci -knn | grep -iA3 'vga\|3d\|display'

If you start the game from a terminal does it show any error messages?

I searched the interweb for you (you're welcome) and found these:

https://steamcommunity.com/app/239030/d … 769700617/

https://steamcommunity.com/app/239030/d … 415375714/

The problem isn't the same but it might be worth trying the posted solutions to see if they help.

#1065 Re: Other Issues » Suggestions for a good simple alarm clock/timer » 2022-01-19 19:27:49

In which case:

#!/bin/sh

echo "Hello $USER, please enter a countdown time
Add m for minutes and h for hours, seconds is assumed
For example 1h 1m 1 would set the time to 1 hour, 1 minute and 1 second"

read -r time

# shellcheck disable=2086 # word splitting is needed here
sleep $time

while aplay /path/to/sound/file ; do
   :
done

Or

sleep 300 ; while mplayer loud-song.ogg ; do : ; done

#1066 Re: Other Issues » Suggestions for a good simple alarm clock/timer » 2022-01-19 18:24:51

Both versions will play the sound file until it ends (or until the script/command is interrupted with <ctrl>+c).

#1067 Re: Other Issues » Suggestions for a good simple alarm clock/timer » 2022-01-19 15:45:48

Here's a (very) simple script for the timer (replace /path/to/sound/file with the actual full path to the sound file you want to use as the alert):

#!/bin/sh

echo "Hello $USER, please enter a countdown time
Add m for minutes and h for hours, seconds is assumed
For example 1h 1m 1 would set the time to 1 hour, 1 minute and 1 second"

read -r time

# shellcheck disable=2086 # word splitting is needed here
sleep $time

aplay /path/to/sound/file

^ Save that as timer then

chmod +x timer
sudo mv timer /usr/local/bin/

Then make a menu entry for it:

[Desktop Entry]
Type=Application
Name=Timer
Generic=Timer
Comment=HoaS' simple timer script
Exec=timer
Terminal=true
Categories=Utility;ConsoleOnly;
Keywords=utility;timer

^ Save that as timer.desktop then

sudo mkdir -p /usr/local/share/applications
sudo mv timer.desktop /usr/local/share/applications

Now log out and back in again and the "Timer" application should be available under "Utilities".

EDIT: the alsa-utils package supplies the aplay command so you'll need to install that along with any required CODECs for the sound file of choice.

#1068 Re: Desktop and Multimedia » How to disable nm-applet and cinnamon screensaver? » 2022-01-19 15:39:18

The cinnamon-core metapackge does pull in network-manager even if --no-install-recommends is passed, which is annoying.

EDIT: actually this works:

# apt install network-manager- connman

I presume cinnamon-core has a networking virtual package dependency which is also satisfied by connman. Still stupid though because ifupdown can handle networking just fine without needing any extra packages.

#1069 Re: Desktop and Multimedia » How to disable nm-applet and cinnamon screensaver? » 2022-01-18 18:01:12

Cinnamon seems a bizarre choice for a low RAM desktop but anyway...

Stop the network-manager service and prevent it from starting at boot:

sudo /etc/init.d/network-manager stop
sudo update-rc.d network-manager disable

Copy the various .desktop files for the screensaver & nm-applet to "$HOME":

cp /etc/xdg/autostart/{cinnamon-settings-daemon-screensaver-proxy,nm-applet}.desktop /usr/share/applications/cinnamon-screensaver.desktop ~/.config/autostart

Disable autostart by adding 'Hidden=true' to the end of all .desktop files in "$HOME" (do this manually if you already have autostart files there that you don't want to disable):

for i in ~/.config/autostart/*.desktop ; do echo 'Hidden=true' >> "$i" ; done

Then log out & back in again.

#1070 Re: Installation » (chimaera) 5 - 10 seconds delay when installing packages terminal » 2022-01-18 14:43:40

I provided a link to the list in post #5.

Here it is again in non-obfuscated form:

https://pkgmaster.devuan.org/mirror_list.txt

EDIT: and yes, aptitude is hellaslow. Don't use it if you're in a hurry.

EDIT2:

kapqa wrote:

i tried this opennic by just inserting

ns7.de.dns.opennic.glue

ontop of /etc/resolv.conf

That won't work — the format for the line would be

nameserver 94.247.43.254

But I don't think it would make much difference anyway because your ISP's DNS resolution isn't terribly slow and it appears to be caching requests.

#1071 Re: Installation » Is the Devuan kernel self-booting? » 2022-01-18 05:40:46

Yes: https://wiki.debian.org/EFIStub

EDIT: and for Artix you will need to copy the kernel & initramfs over to the ESP whenever it is updated so see also https://wiki.archlinux.org/title/EFI_sy … unt_points (or remount /boot to the ESP).

#1072 Re: Installation » (chimaera) 5 - 10 seconds delay when installing packages terminal » 2022-01-17 17:32:36

So did you try replacing deb.devuan.org with a specific mirror? Perhaps the round-robin thingy is broken.

#1073 Re: Installation » (chimaera) 5 - 10 seconds delay when installing packages terminal » 2022-01-16 17:56:23

kapqa wrote:
dig $(awk 'NR==1 {print $2}' /etc/apt/sources.list)

; <<>> DiG 9.16.22-Debian <<>> deb

Oops, sorry. I presume there's a commented line at the top of sources.list?

Let's try again:

dig deb.devuan.org

Run the command a few times to see if the Query time value changes significantly.

Do you still experience the delay if you replace http://deb.devuan.org/merged with a specific mirror?

Do you experience a delay when opening any web pages in the browser for the first time?

kapqa wrote:
# /etc/nsswitch.conf
[...]
hosts:          files mdns4_minimal [NOTFOUND=return] dns

Does removing the mdns4_minimal [NOTFOUND=return] statement fix the delay?

Why do you need Avahi anyway?

#1074 Re: Installation » (chimaera) 5 - 10 seconds delay when installing packages terminal » 2022-01-16 11:21:52

Can we see the content of /etc/nsswitch.conf & /etc/resolv.conf and also the output of

dig $(awk 'NR==1 {print $2}' /etc/apt/sources.list)

I presume you're using deb.devuan.org in your sources?

#1075 Re: Desktop and Multimedia » pulseaudio » 2022-01-14 21:52:44

steve_v wrote:

Didn't pulseaudio only recently graduate from buggy, CPU hungry, latency-inducing mess to something somewhat usable?

Yes.

steve_v wrote:

And we're replacing it again already?

PipeWire unifies the audio and visual stack and also acts as a drop-in replacement for both PulseAudio and JACK (or at least it will eventually) so it is a definite improvement. Even Lennart agrees with this :-)

steve_v wrote:

I mean it's only frickin' audio, everyone needs more layers of confusion in their lives, right?

The PipeWire user space libraries are actually simpler than the ALSA equivalent.

We should probably stop diverting the OP's thread now so see https://gitlab.freedesktop.org/pipewire … /wikis/FAQ for more details.

Board footer

Forum Software