The officially official Devuan Forum!

You are not logged in.

#376 Re: Off-topic » How World Leaders are Scrambling to Secure Food in the Shadows » 2024-07-01 14:11:16

The problems of "vital resources" and of "reproduction" are real problems. Another problem is how to separate facts from myths.

You might be surprised, but facts are myths, and nothing more. This scientific discovery was made by Roland Barthes.
If you think that it is a joke, you might be mistaken. The secret knowledge in encoded in British textbooks:

Barthes claims that is at the level of secondary signification or connotation that myth is produced and consumed... According to Barthes,

"what allows the reader to consume myth innocently is that he does not see it as a semiological system but as an inductive one. Where there is only equivalence, he sees a kind of causal process: the signifier and the signified  have, in his eyes, a natural relationship. This confusion can be expressed otherwise: any semiological system is a system of values; now the myth-consumer takes the signification for a system of facts: myth is read as a factual system, whereas it is but a semiological system."
Jonh Storey, And Introductory Guide to Cultural Theory and Popular Culture, Edinburgh University Press, 1993.

To summarize, facts are myths, and myths are a sort of knowledge. The consumer of facts is a slave of knowledge.

#377 Re: Off-topic » Thoughts on Pipewire » 2024-06-30 20:32:55

Yes, it is very interesting.

#378 Re: Off-topic » Thoughts on Pipewire » 2024-06-30 19:50:54

Sorry to interrupt the voting procedure.

rolfie wrote:

Didn't get audio to work with pure ALSA.

This seems to be the problem.

There is a belief that problems can be solved by voting. If it does not work, we may try something else.

#379 Re: Off-topic » Thoughts on Pipewire » 2024-06-30 14:12:04

Most important, it is easy to remove. Just another crap produced by the same sort of people.

I was asked to fix sound quality on Fedora without removing PipeWire.
Sound quality was so bad that it was impossible to use Discord.
First of all, I installed fftrate plugin and configured it for 32bit 192kHz.
The user was already satisfied with sound quality.
Then, I installed apulse and explained how to use it. This produced a sort of happiness.

#380 Re: Off-topic » Statistics is a very exact science » 2024-06-30 10:44:37

Can you hear ordinary music recordings without amplification?
If you feel that you really need an amplifier, you may better visit a doctor. Otherwise, very soon, you may need a much more powerful amplifier.

#381 Re: Off-topic » Statistics is a very exact science » 2024-06-30 09:33:48

Your sound card can reproduce the sound, because it has a very powerful amplifier (as you proudly declared before).
I may agree that such sound cards might be very helpful for semi-deaf PulseAudio users.

#382 Re: Off-topic » Statistics is a very exact science » 2024-06-30 06:33:10

It has nothing to do with my sound card. The audio file was amplified with Audacity.
The strong and unpleasant noise can be easily detected on spectrograms.
You can install Audacity (sudo apt install audacity) and verify this.

Perhaps, you do not know how Audacity works. You open an audio file with Audacity. Select the whole file and amplify it. Save the result. Then you can select a time interval and build a spectrogram.

If you think that Audacity's amplifier (with default settings) is producing strong audio distortions, you can file a bug.

> mediainfo 2bit64_fragment.wav | grep Sampling -A1
Sampling rate                            : 44.1 kHz
Bit depth                                : 16 bits

Instead of fooling yourself with an oscilloscope, try to record a low level background noise (or sound) with a portable Olympus Hi-Res Audio Recorder. Then, you can amplify it with Audacity, and see (and hear) the difference.

But why do you need such a strong amplifier? Do you have problems with hearing?

#383 Re: Off-topic » Statistics is a very exact science » 2024-06-29 21:04:35

Audacity FFT spectrogram has nothing to do with the quality of my sound card (Intel HDA codec).
The default minimum is -90dB. This is below the audible level.
_https://support.audacityteam.org/audio-analysis/spectral-analysis#plot-spectrum

After amplification, you can hear the song, but the level of rather unpleasant noise is very high.
But this because, perhaps, the song was recorded with the help of PulseAudio.

#384 Re: Off-topic » Statistics is a very exact science » 2024-06-29 15:59:45

Yes, you may need an amplifier, especially for high frequencies, if you have problems with hearing.

#385 Re: Off-topic » Statistics is a very exact science » 2024-06-29 15:41:46

If you open this wave with Audacity, you see nothing there, and Audacity's spectrogram shows nothing.
This may mean, perhaps, that human beings are not expected to hear anything.
However, if you amplify it with Audacity tool (50dB), you can hear the song and a lot of noise.
But it is still below -43dB. You can amplify it more, but then you may have a horrible noise as well.
It is, indeed, a sort of popular song. I do not know "who sings what".
I would not pass a test on popular songs.

#386 Off-topic » Statistics is a very exact science » 2024-06-29 13:37:24

igorzwx
Replies: 12

Over 5% of the world’s population – or 430 million people – require rehabilitation to address their disabling hearing loss (including 34 million children). It is estimated that by 2050 over 700 million people – or 1 in every 10 people – will have disabling hearing loss.
_https://www.who.int/news-room/fact-sheets/detail/deafness-and-hearing-loss

Linux reached 4.03 percent of global market share in February, according to data from research firm Statcounter. That takes Linux past the 3 percent milestone it reached in June 2023. While we’re still far from the Year of the Linux Desktop, interest in Linux has somewhat grown lately.
_https://arstechnica.com/gadgets/2024/03/linux-continues-growing-market-share-reaches-4-of-desktops/

15 years ago, the data were different: deaf people - 2%, and, correspondingly, Linux Desktop users - 2%.

It seems to be a result of "natural selection" caused by PulseAudio. Therefore, it should not be difficult to verify these data with mathematical modeling.

#387 Re: Desktop and Multimedia » Firefox broken? » 2024-06-29 11:15:30

firefox --version
Mozilla Firefox 115.12.0esr
apt show firefox-esr
Package: firefox-esr
Version: 115.12.0esr-1~deb12u1
Priority: optional
Section: web
Maintainer: Maintainers of Mozilla-related packages <team+pkg-mozilla@tracker.debian.org>
Installed-Size: 237 MB
Provides: gnome-www-browser, www-browser
Depends: libasound2 (>= 1.0.16), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.36), libcairo-gobject2 (>= 1.10.0), libcairo2 (>= 1.10.0), libdbus-1-3 (>= 1.9.14), libdbus-glib-1-2 (>= 0.78), libevent-2.1-7 (>= 2.1.8-stable), libffi8 (>= 3.4), libfontconfig1 (>= 2.12.6), libfreetype6 (>= 2.3.5), libgcc-s1 (>= 4.0), libgdk-pixbuf-2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.37.0), libgtk-3-0 (>= 3.13.7), libnspr4 (>= 2:4.32~), libnss3 (>= 2:3.82), libpango-1.0-0 (>= 1.14.0), libstdc++6 (>= 12), libvpx7 (>= 1.12.0), libx11-6, libx11-xcb1 (>= 2:1.8.4), libxcb-shm0, libxcb1, libxcomposite1 (>= 1:0.4.5), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxrandr2 (>= 2:1.4.0), libxtst6, zlib1g (>= 1:1.2.11.dfsg), fontconfig, procps, debianutils (>= 1.16)
Recommends: libavcodec60 | libavcodec-extra60 | libavcodec59 | libavcodec-extra59 | libavcodec58 | libavcodec-extra58 | libavcodec57 | libavcodec-extra57 | libavcodec56 | libavcodec-extra56 | libavcodec55 | libavcodec-extra55 | libavcodec54 | libavcodec-extra54 | libavcodec53 | libavcodec-extra53
Suggests: fonts-stix | otf-stix, fonts-lmodern, libgssapi-krb5-2 | libkrb53, libcanberra0, pulseaudio
Breaks: xul-ext-torbutton
Download-Size: 63.1 MB
APT-Manual-Installed: no
APT-Sources: http://deb.devuan.org/merged daedalus-security/main amd64 Packages
Description: Mozilla Firefox web browser - Extended Support Release (ESR)
 Firefox ESR is a powerful, extensible web browser with support for modern
 web application technologies.

#388 Re: Desktop and Multimedia » Auto login » 2024-06-28 19:19:24

It seems to be a philosophical problem. You may find such instructions in Arch Wiki.

Perhaps, you need SLiM manual
_https://wiki.archlinux.org/title/SLiM

See also
_https://wiki.archlinux.org/title/display_manager

If you have Mate Desktop, you are likely to have LightDM
_https://wiki.archlinux.org/title/LightDM

cat /etc/X11/default-display-manager
/usr/sbin/lightdm

#389 Re: Freedom Hacks » How to rebuild audacious-plugins » 2024-06-27 15:53:07

FreeBSD has own fork of OSSv3, but OSSv4 is also available for FreeBSD.

OSS4 now exists mostly as a standalone piece of software, not integrated into the kernel source code. The exception is Solaris and OpenSolaris, which use a fork of OSS4 called Boomer. It combines the OSS4 framework (audio and mixer) together with Sun's earlier SADA (/dev/audio) API.
_https://en.wikipedia.org/wiki/Open_Sound_System#Code

It seems that the main problem of ALSA is crappy resamplers.
That is why, it might be interesting to try Petrov's fftrate.
It is easy to compile _https://dev1galaxy.org/viewtopic.php?id=6644

The default setting for fftrate ALSA plugin can be easily produced with arateconf. They include a software mixer. It might be needed simply because Intel HDA codecs do not have hardware mixers.

There are professional sound cards which have HW mixers, but such cards are very expensive, and they may not have Linux drivers.
_https://en.wikipedia.org/wiki/Merging_Technologies
_https://en.wikipedia.org/wiki/Digital_eXtreme_Definition
ALSA RAVENNA AES67 Linux Driver (Merging Technologies)
_https://www.merging.com/support/downloads#alsa-linux

Since Petrov's fftrate supports DXD format (24bit 352.8 kHz), you can play DXD waves and flacs with Audacious on a notebook with Intel HDA codec (fftrate should be configured for 32bit 192kHz, if you want to have  a good sound quality). DXD music is available on HDtracks.

#390 Re: Freedom Hacks » How to rebuild audacious-plugins » 2024-06-27 14:07:10

stopAI wrote:

And why do you need such an old audio system?

Because of sound quality.

stopAI wrote:

Sure, we can build a deb package, but there's no guarantee it will work....

Yes, this is the problem.
OSS4 packages (which work) have been available in Arch Linux repositories since time immemorial.
Debian developers did try to build OSS4 packages for Debian, but they always failed to work.
There were OSS4 packages in Ubuntu repositories. They did not work, but they were easy to install (and difficult to remove).
They are still OSS4 packages in Debian testing, which do not work.
On the other hand, it was not a problem for Ubuntu newbies to compile working OSS4 packages themselves.

The main problem is that an OSS4 driver for your sound card may not be available.

Perhaps, it might be more reasonable to patch Petrov's fftrate for gcc-12 and build deb packages for Devuan.
With Petrov's ALSA plugin, you can get a very good sound quality on a notebook with Intel HDA codec (motherboad).
Moreover, you can use video conferencing apps without PulseAudio. But you have to generate ~/.asoundrc with Petrov's arateconf and use apulse.

#391 Freedom Hacks » How to rebuild audacious-plugins » 2024-06-27 02:59:54

igorzwx
Replies: 4

Freedom implies the freedom of choice.
What kind of freedom is it, if you have only one sound system installed in your Devuan?

Although the so-called "upstream" tends to restrict the freedom of Linux users, it is not very difficult to compile OSSv4 for Devuan.
Patches can be found in the Arch Linux AUR package oss-git
_https://aur.archlinux.org/packages/oss-git
_https://wiki.archlinux.org/title/Open_Sound_System

If you have two sound cards (e.g. Intel HDA and USB sound card), you can use OSS4 and ALSA simultaneously.
The difference between OSS4 and ALSA is that OSS4 permits the so-called "exclusive mode":

man ossplay | grep virtual -A1
       -R     Disable redirection to virtual mixer engines and sample rate/format conversions. Should not be used un‐
              less absolutely necessary.

The OSS4 plugin for Audacious has an option "Enable exclusive mode to prevent virtual mixing". It is intended for playing high resolution audio files "as they are", without resampling and sound distortions produced by the software mixer (vmix).

Notice, however, that Petrov's fftrate is much better than OSS4 resamplers, so that, OSS4 can be dedicated for playing audio files in "exclusive mode", and ALSA for ordinary desktop usage (playing movies in youtube, video conferencing, etc.)

In a word, Intel HDA codecs support many audio formats:

ossinfo -v9 | grep "HD Audio play front" -A13
HD Audio play front               /dev/oss/oss_hdaudio0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: TRIGGER MMAP 
    Modes: OUTPUT 
      Out engine  1: 0/HD Audio play front
                     Available for use 
    Input formats (0x00001010):
      AFMT_S16_LE	- 16 bit signed little endian
      AFMT_S32_LE	- 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE	- 16 bit signed little endian
      AFMT_S32_LE	- 32 bit signed little endian
    Device handle: PCIa0021458-0000:00:1b.0-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)

To enable the OSS4 plugin, you have to rebuild the package "audacious-plugins".
If you are going to compile something, it makes sense to install some tools:

sudo apt install build-essential devscripts command-not-found
mkdir audacious-plugins-rebuild
cd audacious-plugins-rebuild

Download the source code and install build dependencies:

apt-get source audacious-plugins
sudo apt-get build-dep audacious-plugins
ls -1
audacious-plugins-4.2
audacious-plugins_4.2-1.debian.tar.xz
audacious-plugins_4.2-1.dsc
audacious-plugins_4.2.orig.tar.bz2
cd audacious-plugins-4.2

To enable the OSS4 plugin, you have to edit "debian/rules"

cat ./debian/rules | grep oss4 -B2
override_dh_auto_configure:
	dh_auto_configure -- $(additional_confflags) \
		--disable-rpath --enable-gtk --enable-oss4 

You can also edit "changelog":

cat ./debian/changelog | grep 4.2-2 
audacious-plugins (4.2-2) unstable; urgency=medium

Now you can rebuild audacious-plugins:

dpkg-buildpackage -us -uc -b
cd ..
ls -1 | grep .deb
audacious-plugins_4.2-1.debian.tar.xz
audacious-plugins_4.2-2_amd64.deb
audacious-plugins-data_4.2-2_all.deb
audacious-plugins-dbgsym_4.2-2_amd64.deb

Now you can reinstall Audacious:

sudo apt purge audacious audacious-plugins audacious-plugins-data
sudo dpkg -i audacious-plugins_4.2-2_amd64.deb audacious-plugins-data_4.2-2_all.deb
sudo apt install audacious

To prevent upgrade, you can pin them all:

sudo nano /etc/apt/preferences
cat /etc/apt/preferences
Package: audacious
Pin: release *
Pin-Priority: -1

Package: audacious-plugins
Pin: release *
Pin-Priority: -1

Package: audacious-plugins-data
Pin: release *
Pin-Priority: -1
apt-cache policy audacious-plugins-data
audacious-plugins-data:
  Installed: 4.2-2
  Candidate: (none)
  Version table:
 *** 4.2-2 -1
        100 /var/lib/dpkg/status
     4.2-1 -1
        500 http://deb.devuan.org/merged daedalus/main amd64 Packages
apt-cache policy audacious-plugins
audacious-plugins:
  Installed: 4.2-2
  Candidate: (none)
  Version table:
 *** 4.2-2 -1
        100 /var/lib/dpkg/status
     4.2-1+b1 -1
        500 http://deb.devuan.org/merged daedalus/main amd64 Packages
apt-cache policy audacious
audacious:
  Installed: 4.2-1
  Candidate: (none)
  Version table:
 *** 4.2-1 -1
        500 http://deb.devuan.org/merged daedalus/main amd64 Packages
        100 /var/lib/dpkg/status

NOTE: If you want to rebuild a Debian package, which is not available in Devuan repositories
(e.g. _https://launchpad.net/ubuntu/+source/wxmaxima/24.02.1-1build2 ),
you can use these commands:

dpkg-source -x *.dsc
sudo mk-build-deps -i  # it should be executed inside the source directory
dpkg-buildpackage -us -uc -b

#392 Re: Off-topic » The Joke Thread » 2024-06-26 12:52:58

Cardinal de Richelieu asks the head of the Sécurité extérieure, during a military parade, "Sir, who are those guys in the plain suits in the parade?" "Oh," the Sécurité extérieure head answers, "they are economists, Your Eminence." And when Cardinal de Richelieu raises his eyebrows, he hastens to explain, " Just wait until we let them loose in the UK."

NOTE: The joke was found in Shumerian chronicles. Instead of economists, you can substitute any other scientists, depending on the context.

#393 Re: Off-topic » The Joke Thread » 2024-06-20 18:08:14

Sorry for this. I was trying to understand what you mean by "vortex that binds and enslaves" and my processors got overheated.
But what then is your guiding principle for moderating jokes?

#394 Re: Off-topic » The Joke Thread » 2024-06-20 16:33:35

Are you going to say that imagination should be abolished to prevent suffering?

#395 Re: Off-topic » The Joke Thread » 2024-06-20 14:48:58

golinux wrote:

Machines don't think

I seems that your imagination is restricted by your beliefs.
Indeed, "knowledge is justified true belief" (Plato).
Are you a slave of your knowledge?

#396 Re: Off-topic » The Joke Thread » 2024-06-20 13:59:17

golinux wrote:

All human perception and the fruit obtained therefrom is bananas!

You seem to be a computer scientist. Try to imagine AI which is thinking how it got its thoughts.

#397 Re: Off-topic » The Joke Thread » 2024-06-19 21:50:24

Yes, it seems obvious. Next step is to think how you got your thoughts.
In a word, pedagogy is also the art of deception (according to Alan Watts).

#398 Re: Off-topic » The Joke Thread » 2024-06-17 16:02:50

Yes, I may help you to "fool yourself", as Feynman put it.

Perhaps, you are missing the point. The victims of science are not able to see the obvious simply because they are intellectual slaves.

Science is a great art, and the great scientists tend to use the same simple trick to fool naive people.
First, they let you swallow a wrong assumption, then they derive a true theory from the wrong assumption.
The best example is, perhaps, "Cargo Cult Science" of Richard Feynman _https://calteches.library.caltech.edu/51/2/CargoCult.htm
If you cannot find the wrong assumption underlying Feynman's theory of scientific method, you may try to study the true Bible of Knowledge, that is, "Mambu" of Kenelm Burridge _https://en.wikipedia.org/wiki/Kenelm_Burridge

If you read the Gospel of Cargo cult movement, you may notice that Cargo cultists tent to use the method of trial and error not because this method was discovered in the United States of America, but because it was invented in the Stone Age.

#399 Re: Off-topic » The Joke Thread » 2024-06-17 10:58:47

I may not agree. Science is the art of deception. Have you noticed that nobody can explain what Knowledge is?
That is why there is a project of "Deschooling Society" _https://en.wikipedia.org/wiki/Deschooling_Society
What is obvious is that Knowledge restricts our freedom, especially the Knowledge of Physics. Because of gravity, you cannot fly like a bird.

#400 Re: Off-topic » The Joke Thread » 2024-06-15 15:50:31

I also thought that is a joke, or at least a great philosophical discovery

Board footer

Forum Software