The officially official Devuan Forum!

You are not logged in.

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

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

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

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

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

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

#257 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?

#258 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?

#259 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?

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

#261 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).

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

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

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

#265 Re: Off-topic » The Joke Thread » 2024-06-15 12:34:51

I may agree, ignorance does make people free.

#266 Re: Off-topic » The Joke Thread » 2024-06-15 08:46:20

Knowledge you could hardly make people happy, and ignorance makes freedom possible. When slaves do not know that freedom exists, they may feel free. For example, the slaves of PulseAudio might be perfectly happy with PipeWire.

#267 Re: Freedom Hacks » Missing init scripts and how to provide them » 2024-06-14 17:05:54

$ /etc/init.d/alsa-utils
Usage: /etc/init.d/alsa-utils {start [CARD]|stop [CARD]|restart [CARD]|reset [CARD]}

#268 Re: Off-topic » The Joke Thread » 2024-06-13 19:39:14

- I want to go to Paris again.
- Have you already been to Paris?
- Not yet. But I already wanted.

#269 Re: Off-topic » The Joke Thread » 2024-06-13 16:01:04

Teacher: How much is two times two?
Student: Are we buying or selling?

#270 Freedom Hacks » HiRes Binaural+ with ALSA » 2024-06-13 13:47:52

igorzwx
Replies: 0

Binaural recording is a method of recording sound that uses two microphones, arranged with the intent to create a 3D stereo sound sensation for the listener of actually being in the room with the performers or instruments.
https://en.wikipedia.org/wiki/Binaural_recording

Dr. Chesky's Ultimate Headphone Demonstration Disc [Binaural]
_https://youtu.be/qB41sm1QCKI

EXAMPLE:

Dreams of New Orleans
Wycliffe Gordon
Chesky Records, Binaural+
192kHz · 24bit
_https://www.discogs.com/release/7294719-Wycliffe-Gordon-Dreams-Of-New-Orleans
_https://www.hdtracks.com/#/album/5bffd45cc6e102670ab3fe9f

Minimal HW requirements:

1. Computer with Intel HDA codec on motherboard.
NOTE: Very old computers (e.g. of 2006) may not have Intel codecs which support 32bit 192kHz.

2. A cheap analog headset (e.g. Sennheiser PC 3 Chat), or headphones.
NOTE: USB and wireless headsets are not suitable for the purpose.

Software: ALSA, fftrate ALSA plugin, Audacious.

Audacious → Settings → Audio → ALSA Output 32bit

To prevent resampling, configure fftrate for 32bit 192kHz (although, of course, 99.99% of Linux users may hear the difference, if resampling was made by Petrov's fftrate)

===============
|  Main menu  |
---------------

    Curr. | Used | Play (def) | Rec (def) | Available cards
----------|------|------------|-----------|-----------------------------------
0 - >>>>> |  *   |  *     *   |  *    *   | HDA-Intel - HDA Intel PCH

U - Toggle used flag
P - Set this device as default player
R - Set this device as default recorder

O - Output device: PCH,0
I - Input device : PCH,0

F - Format: 192000 Hz, 2 ch, 'S32_LE'
C - Converter: fftrate

There is a belief that Petrov's fftrate may cure deafness, but it may not help PulseAudio users.

#271 Re: Off-topic » The Joke Thread » 2024-06-12 16:47:57

Many things are incomprehensible to us not because our comprehension is weak, but because those things are not within the frames of our comprehension.
Kozma Prutkov. Fruits of Reflection (1853-1854).

#272 Re: Off-topic » The Joke Thread » 2024-06-11 14:52:27

Professor: My students seem to be extremely stupid. They cannot understand FFT. I made many attempts to explain it in different ways. I have already understood it myself, and they still do not understand anything.

#273 Re: Off-topic » The Joke Thread » 2024-06-10 09:48:34

If you see a "buffalo" sign on an elephant's cage, do not trust your eyes (Kozma Prutkov).

#274 Re: Desktop and Multimedia » [SOLVED] Skype, snap and how to run on Devuan? » 2024-05-31 20:35:00

aluma wrote:

Maybe someone can see what's wrong with the repository address?
It would be possible to install Skype without unnecessary hassle.

Don't panic

$ sudo apt update
Err:14 https://repo.skype.com/deb stable InRelease
  504  Gateway Time-out [IP: 2a02:26f0:3400:2b7::1263 443]

#275 Re: Desktop and Multimedia » [SOLVED] Skype, snap and how to run on Devuan? » 2024-05-31 14:39:27

The magic commands "sudo apt -f install" or "sudo apt install -f" are usually very helpful, but not always.

$ dpkg-deb --info skype*
 new Debian package, version 2.0.
 size 122062452 bytes: control archive=4798 bytes.
    1241 bytes,    16 lines      control              
   12032 bytes,   129 lines      md5sums              
     522 bytes,    23 lines   *  postinst             #!/bin/sh
 Package: skypeforlinux
 Version: 8.109.0.209
 Architecture: amd64
 Maintainer: Skype Technologies S.A. <info@skype.net>
 Installed-Size: 312110
 Depends: libasound2 (>= 1.0.16), libatk-bridge2.0-0 (>= 2.5.3), libatk1.0-0 (>= 2.2.0), libatspi2.0-0 (>= 2.9.90), libc6 (>= 2.17), libcairo2 (>= 1.6.0), libdrm2 (>= 2.4.38), libexpat1 (>= 2.0.1), libgbm1 (>= 17.1.0~rc2), libgcc1 (>= 1:3.0), libglib2.0-0 (>= 2.39.4), libgtk-3-0 (>= 3.9.10), libnspr4 (>= 2:4.9-2~), libnss3 (>= 2:3.22), libpango-1.0-0 (>= 1.14.0), libsecret-1-0 (>= 0.18), libx11-6 (>= 2:1.4.99.1), libxcb1 (>= 1.9.2), libxcomposite1 (>= 1:0.3-1), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxkbcommon0 (>= 0.5.0), libxrandr2, gnome-keyring, apt-transport-https, libfontconfig1 (>= 2.11.0), libdbus-1-3 (>= 1.6.18), libstdc++6 (>= 4.8.1), libatomic1
 Section: non-free/net
 Priority: extra
 Homepage: https://www.skype.com
 Description: Skype keeps the world talking, for free.
  Skype keeps you together. Call, message and share with others.
   * It's free to download and join.
   * Call, instant message and send photos and documents to anyone else on Skype.
   * Easily text message anywhere in the world.
   * Get your friends together on a group call.
  And that's just the start...

Board footer

Forum Software