Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] No more audio after update (Debian 11)

Linux Kernel, Network, and Services configuration.
Message
Author
Leder
Posts: 2
Joined: 2017-12-08 07:26

Re: [Software] No more audio after update (Debian 11)

#21 Post by Leder »

Yes, you are right!
I hadn't tried it before because I didn't expect that this problem might come from the kernel. But yes in my case it seems to come from kernel!

Code: Select all

dpkg --list | grep linux-image
rc  linux-image-5.10.0-13-amd64                     5.10.106-1                       amd64        Linux 5.10 for 64-bit PCs (signed)
rc  linux-image-5.10.0-14-amd64                     5.10.113-1                       amd64        Linux 5.10 for 64-bit PCs (signed)
rc  linux-image-5.10.0-15-amd64                     5.10.120-1                       amd64        Linux 5.10 for 64-bit PCs (signed)
rc  linux-image-5.10.0-16-amd64                     5.10.127-2                       amd64        Linux 5.10 for 64-bit PCs (signed)
rc  linux-image-5.10.0-17-amd64                     5.10.136-1                       amd64        Linux 5.10 for 64-bit PCs (signed)
rc  linux-image-5.10.0-18-amd64                     5.10.140-1                       amd64        Linux 5.10 for 64-bit PCs (signed)
ii  linux-image-5.10.0-19-amd64                     5.10.149-2                       amd64        Linux 5.10 for 64-bit PCs (signed)
ii  linux-image-5.10.0-20-amd64                     5.10.158-2                       amd64        Linux 5.10 for 64-bit PCs (signed)
ii  linux-image-amd64                               5.10.158-2                       amd64        Linux for 64-bit PCs (meta-package)
I have now switched to:

Code: Select all

uname -mrs
Linux 5.10.0-19-amd64 x86_64

And the sound seems to work perfectly and everywhere!!! Tested : totem, vlc, firefox-esr, chromium!! :D
You can't believe it if you have bothered so much with such a simple - and not important - thing, that in the end everything works perfectly!
I feel better, freer and will definitely be more peaceful! :)

Is it better to report this also somewhere else or they are already know about that issue ?
I think now it is not necessary to open a different topic for this, but if you think it's still better, I can do it.

Thank you for your help!

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: [Software] No more audio after update (Debian 11)

#22 Post by FreewheelinFrank »

Leder wrote: 2023-01-15 09:56
Is it better to report this also somewhere else or they are already know about that issue ?
I think now it is not necessary to open a different topic for this, but if you think it's still better, I can do it.

Thank you for your help!
You're welcome, but in future please start your own topic and not add your post to another user's thread.

It's a known issue. See:

viewtopic.php?t=153764

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: [Software] No more audio after update (Debian 11)

#23 Post by linuxsat »

FreewheelinFrank wrote: 2023-01-13 21:02 Do you get any output with the Alsa device ID?
no sound in the output

Code: Select all

speaker-test -D hw:0,0 -c2
it returns

Code: Select all

$ speaker-test -D hw:0,0 -c2

speaker-test 1.2.4

Playback device is hw:0,0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
$
Edit: try these commands too.

Code: Select all

$ rm -r ~/.config/pulse /tmp/pulse-*
$ systemctl --user restart pulseaudio.service
https://wiki.debian.org/PulseAudio#Miss ... io_capture
Indeed I look at .config/ there is no pulse directory (only the the one I saved previously by renaming it). Also no directory /tmp/pulse.
I restarted using

Code: Select all

$
$ systemctl --user restart pulseaudio.service
[/quote]
with no output on the console but a short message on the screen "No output device"

It seems that pulseaudio do not see the device.
Thanks again! (an sorry for answering slowly, I have a lot of work!)

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: [Software] No more audio after update (Debian 11)

#24 Post by FreewheelinFrank »

Could you post output of

Code: Select all

$ fuser -v /dev/snd/*
please?

Edit: actually both of these:

Code: Select all

$ fuser -v /dev/snd/*
$ fuser -v /dev/dsp
See:

https://wiki.archlinux.org/title/PulseA ... leshooting

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: [Software] No more audio after update (Debian 11)

#25 Post by linuxsat »

FreewheelinFrank wrote: 2023-01-20 20:14 Could you post output of

Code: Select all

$ fuser -v /dev/snd/*
please?

Edit: actually both of these:

Code: Select all

$ fuser -v /dev/snd/*
$ fuser -v /dev/dsp
See:

https://wiki.archlinux.org/title/PulseA ... leshooting
No output for the first command, and no file for the second:

Code: Select all

$ fuser -v /dev/snd/*
$ fuser -v /dev/dsp
Specified filename /dev/dsp does not exist.
$ 
I also update to the .21 kernel (instead of the .20) with no effect.

Thanks for the link. I also do

Code: Select all

$ pacmd list
Memory blocks currently allocated: 4, size: 86.2 KiB.
Memory blocks allocated during the whole lifetime: 117990, size: 616.7 MiB.
Memory blocks imported from other processes: 2, size: 18.8 KiB.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 2ch 44100Hz
Default channel map: front-left,front-right
Default sink name: auto_null
Default source name: auto_null.monitor
Memory blocks of type POOL: 2 allocated/73061 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/0 accumulated.
Memory blocks of type IMPORTED: 2 allocated/44929 accumulated.
22 module(s) loaded.
    index: 0
        name: <module-device-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute state of devices"
                module.version = "14.2"
    index: 1
        name: <module-stream-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute/device state of streams"
                module.version = "14.2"
    index: 2
        name: <module-card-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore profile of cards"
                module.version = "14.2"
    index: 3
        name: <module-augment-properties>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Augment the property sets of streams with additional static information"
                module.version = "14.2"
    index: 4
        name: <module-switch-on-port-available>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "David Henningsson"
                module.description = "Switches ports and profiles when devices are plugged/unplugged"
                module.version = "14.2"
    index: 5
        name: <module-udev-detect>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Detect available audio hardware and load matching drivers"
                module.version = "14.2"
    index: 6
        name: <module-native-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Native protocol (UNIX sockets)"
                module.version = "14.2"
    index: 7
        name: <module-gsettings>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Sylvain Baubeau"
                module.description = "GSettings Adapter"
                module.version = "14.2"
    index: 8
        name: <module-default-device-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the default sink and source"
                module.version = "14.2"
    index: 9
        name: <module-always-sink>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Always keeps at least one sink loaded even if it's a null one"
                module.version = "14.2"
    index: 10
        name: <module-null-sink>
        argument: <sink_name=auto_null sink_properties='device.description="Dummy Output"'>
        used: 1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Clocked NULL sink"
                module.version = "14.2"
    index: 11
        name: <module-intended-roles>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically set device of streams based on intended roles of devices"
                module.version = "14.2"
    index: 12
        name: <module-suspend-on-idle>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "When a sink/source is idle for too long, suspend it"
                module.version = "14.2"
    index: 13
        name: <module-systemd-login>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Create a client for each login session of this user"
                module.version = "14.2"
    index: 14
        name: <module-position-event-sounds>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
                module.version = "14.2"
    index: 15
        name: <module-role-cork>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Mute & cork streams with certain roles while others exist"
                module.version = "14.2"
    index: 16
        name: <module-filter-heuristics>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Detect when various filters are desirable"
                module.version = "14.2"
    index: 17
        name: <module-filter-apply>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Load filter sinks automatically when needed"
                module.version = "14.2"
    index: 18
        name: <module-x11-publish>
        argument: <display=:0 xauthority=/home/toor/.Xauthority>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "X11 credential publisher"
                module.version = "14.2"
    index: 19
        name: <module-x11-cork-request>
        argument: <display=:0 xauthority=/home/toor/.Xauthority>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Synthesize X11 media key events when cork/uncork is requested"
                module.version = "14.2"
    index: 20
        name: <module-x11-xsmp>
        argument: <display=:0 xauthority=/home/toor/.Xauthority session_manager=local/Rockette:@/tmp/.ICE-unix/1313,unix/Rockette:/tmp/.ICE-unix/1313>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "X11 session management"
                module.version = "14.2"
    index: 21
        name: <module-cli-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Command line interface protocol (UNIX sockets)"
                module.version = "14.2"
1 sink(s) available.
  * index: 0
        name: <auto_null>
        driver: <module-null-sink.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: RUNNING
        suspend cause: (none)
        priority: 1000
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 15.34 ms
        max request: 3 KiB
        max rewind: 3 KiB
        monitor source: 0
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 1
        linked by: 1
        configured latency: 18.75 ms; range is 0.50 .. 2000.00 ms
        module: 10
        properties:
                device.description = "Dummy Output"
                device.class = "abstract"
                device.icon_name = "audio-card"
1 source(s) available.
  * index: 0
        name: <auto_null.monitor>
        driver: <module-null-sink.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: IDLE
        suspend cause: (none)
        priority: 1000
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max rewind: 3 KiB
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 2000.00 ms; range is 0.50 .. 2000.00 ms
        monitor_of: 0
        module: 10
        properties:
                device.description = "Monitor of Dummy Output"
                device.class = "monitor"
                device.icon_name = "audio-input-microphone"
8 client(s) logged in.
    index: 0
        driver: <module-systemd-login.c>
        owner module: 13
        properties:
                application.name = "Login Session 3"
                systemd-login.session = "3"
    index: 4
        driver: <module-x11-xsmp.c>
        owner module: 20
        properties:
                application.name = "XSMP Session on KDE as 10b7e3d7d0000167491011500000013130008"
                xsmp.vendor = "KDE"
                xsmp.client.id = "10b7e3d7d0000167491011500000013130008"
    index: 5
        driver: <protocol-native.c>
        owner module: 6
        properties:
                application.name = "QPulse"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.process.id = "1344"
                application.process.user = "toor"
                application.process.host = "Rockette"
                application.process.binary = "plasmashell"
                application.language = "C"
                window.x11.display = ":0"
                application.process.machine_id = "b951b59c58df4cc4aa9129d00dcffa6f"
                application.process.session_id = "3"
    index: 7
        driver: <protocol-native.c>
        owner module: 6
        properties:
                application.name = "libphonon"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.process.id = "1452"
                application.process.user = "toor"
                application.process.host = "Rockette"
                application.process.binary = "dolphin"
                application.language = "C"
                window.x11.display = ":0"
                application.process.machine_id = "b951b59c58df4cc4aa9129d00dcffa6f"
                application.process.session_id = "3"
    index: 10
        driver: <protocol-native.c>
        owner module: 6
        properties:
                application.name = "dolphin"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.id = "org.kde.phonon.dolphin"
                application.version = "20.12.2"
                application.icon_name = "system-file-manager"
                application.language = "C"
                application.process.id = "1452"
                application.process.user = "toor"
                application.process.host = "Rockette"
                application.process.binary = "dolphin"
                window.x11.display = ":0"
                application.process.machine_id = "b951b59c58df4cc4aa9129d00dcffa6f"
                application.process.session_id = "3"
    index: 11
        driver: <protocol-native.c>
        owner module: 6
        properties:
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.process.id = "1549"
                application.process.user = "toor"
                application.process.host = "Rockette"
                application.process.binary = "firefox-esr"
                application.language = "C"
                window.x11.display = ":0"
                application.process.machine_id = "b951b59c58df4cc4aa9129d00dcffa6f"
                application.process.session_id = "3"
                application.icon_name = "firefox-esr"
    index: 12
        driver: <protocol-native.c>
        owner module: 6
        properties:
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.icon_name = "firefox-esr"
                application.version = "102.7.0"
                application.process.id = "1549"
                application.process.user = "toor"
                application.process.host = "Rockette"
                application.process.binary = "firefox-esr"
                application.language = "C"
                window.x11.display = ":0"
                application.process.machine_id = "b951b59c58df4cc4aa9129d00dcffa6f"
                application.process.session_id = "3"
    index: 18
        driver: <cli.c>
        owner module: 21
        properties:
                application.name = "UNIX socket client"
0 card(s) available.
1 sink input(s) available.
    index: 2
        driver: <protocol-native.c>
        flags: START_CORKED 
        state: RUNNING
        sink: 0 <auto_null>
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        muted: no
        current latency: 31.25 ms
        requested latency: 18.75 ms
        sample spec: float32le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        resample method: copy
        module: 6
        client: 11 <Firefox>
        properties:
                media.name = "AudioCallbackDriver"
                application.name = "Firefox"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "34"
                application.process.id = "1549"
                application.process.user = "toor"
                application.process.host = "Rockette"
                application.process.binary = "firefox-esr"
                application.language = "C"
                window.x11.display = ":0"
                application.process.machine_id = "b951b59c58df4cc4aa9129d00dcffa6f"
                application.process.session_id = "3"
                application.icon_name = "firefox-esr"
                module-stream-restore.id = "sink-input-by-application-name:Firefox"
0 source output(s) available.
0 cache entrie(s) available.
$

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: [Software] No more audio after update (Debian 11)

#26 Post by FreewheelinFrank »

Have you tried sound without Firefox running?

If you close Firefox, are there any Firefox processes left running in Task Manager? If there are, kill them and try sound again.

Try turning off the computer, pulling the plug or removing the battery on a laptop if you can. Press and hold the power button for 30 seconds, then plug back in/connect battery and reboot. Sometimes devices just get "stuck".

Try reinstalling Alsa and PulseAudio. It's possible their settings may have got messed up somehow.

If all that fails, try creating a new user account and see if you get sound in that.

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: [Software] No more audio after update (Debian 11)

#27 Post by linuxsat »

FreewheelinFrank wrote: 2023-01-28 17:29 Have you tried sound without Firefox running?

If you close Firefox, are there any Firefox processes left running in Task Manager? If there are, kill them and try sound again.

Try turning off the computer, pulling the plug or removing the battery on a laptop if you can. Press and hold the power button for 30 seconds, then plug back in/connect battery and reboot. Sometimes devices just get "stuck".

Try reinstalling Alsa and PulseAudio. It's possible their settings may have got messed up somehow.

If all that fails, try creating a new user account and see if you get sound in that.
Thanks again for your help

I tried all your suggestions (including creating a new user), unfortunately without effect.
For the hardware part, my computer is not a laptop, but I have another SSD with another (older) debian installed, when I boot on it, sound is working.

Since the pulseaudio interface (in system settings) indicates that no input or output device are present, while the kernel module (as we already
check it) is loaded, I think the two (pulsodio and the kernel audio module) are not properly connected. I do not know how that link is made in principle?

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: [Software] No more audio after update (Debian 11)

#28 Post by FreewheelinFrank »

I suspect that as the Alsa speaker test is saying "Device or resource busy", it's Alsa that can't connect to the hardware.

Check if you have a file .asoundrc in home directory. It is possible that something has created the file and it is blocking sound.

Code: Select all

$ cat ~/.asoundrc
If there is such a file, rename it and reboot.

Also try

Code: Select all

# alsactl kill rescan
to get Alsa to rescan devices. It is possible there is a misconfigured config file somewhere.

After that do

Code: Select all

$ systemctl --user restart pulseaudio.service

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 461 times

Re: [Software] No more audio after update (Debian 11)

#29 Post by sunrat »

FreewheelinFrank wrote: 2023-02-06 13:08 I suspect that as the Alsa speaker test is saying "Device or resource busy", it's Alsa that can't connect to the hardware.
I just tried this and got the same error when trying to define device with -D. However it works with plain

Code: Select all

speaker-test -c2
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: [Software] No more audio after update (Debian 11)

#30 Post by FreewheelinFrank »

sunrat wrote: 2023-02-06 23:13
FreewheelinFrank wrote: 2023-02-06 13:08 I suspect that as the Alsa speaker test is saying "Device or resource busy", it's Alsa that can't connect to the hardware.
I just tried this and got the same error when trying to define device with -D. However it works with plain

Code: Select all

speaker-test -c2
You have something using that card/device then. I get the message with Firefox or music player playing sound. With nothing playing sound, I get white noise.

From observation, the plain command will take control of the device and play sound even if something is already playing sound.

Neither work for the OP. Any idea what this means?

As speaker-test is an Alsa command, does this mean the fault lies with Alsa? The error message can be caused by misconfigured Alsa. That is my only guess for something to try now.

ramislebob
Posts: 37
Joined: 2007-05-27 20:43
Has thanked: 1 time

Re: [Software] No more audio after update (Debian 11)

#31 Post by ramislebob »

I had the same issue...
instead of rolling back to linux-image-5.10.0-19-amd64, updating to the newest kernel solved the issue (linux-image-5.10.0-21-amd64)

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: [Software] No more audio after update (Debian 11)

#32 Post by linuxsat »

FreewheelinFrank wrote: 2023-02-06 13:08 I suspect that as the Alsa speaker test is saying "Device or resource busy", it's Alsa that can't connect to the hardware.
I understand, I tried your suggestions but always no sound (in particular there is no .asoundrc in my home directory).
But,

since the command speaker test also says: Playback device is default, I search what this default is with the command alsaplay -L.
Here is the output

Code: Select all

$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default
    Playback/recording through the PulseAudio sound server
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
hw:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    Direct hardware device without any conversions
hw:CARD=MID,DEV=1
    HDA Intel MID, ALC888 Digital
    Direct hardware device without any conversions
plughw:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    Hardware device with all software conversions
plughw:CARD=MID,DEV=1
    HDA Intel MID, ALC888 Digital
    Hardware device with all software conversions
sysdefault:CARD=MID
    HDA Intel MID, ALC888 Analog
    Default Audio Device
front:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    Front output / input
surround21:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    Direct sample mixing device
dmix:CARD=MID,DEV=1
    HDA Intel MID, ALC888 Digital
    Direct sample mixing device
usbstream:CARD=MID
    HDA Intel MID
    USB Stream Output
$
So as far as I understand alsa connects through pulsaudio which do not reach the available devices properly.
Then I tried the following, changing the name of the device tested

Code: Select all

$ speaker-test -Dsysdefault:MID -c 6
speaker-test 1.2.4

Playback device is sysdefault:MID
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
 2 - Unused
 3 - Unused
 4 - Unused
 5 - Unused
$

and I obtained noise on left and right ! :)

Thus, it seems that the default audio (trough pulseaudio) is not properly set. Did you know how to check it?

ramislebob wrote: 2023-02-14 09:14 I had the same issue...
instead of rolling back to linux-image-5.10.0-19-amd64, updating to the newest kernel solved the issue (linux-image-5.10.0-21-amd64)
Definitely, the update do not solves the issue on my computer

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: [Software] No more audio after update (Debian 11)

#33 Post by FreewheelinFrank »

I should probably have asked this before, but do you have package Timidity installed?

Edit: My mistake previously (#24), we need

Code: Select all

# fuser -v /dev/snd/*
to see if a system service (prime suspect: Timidity) has taken control of sound.

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: [Software] No more audio after update (Debian 11)

#34 Post by linuxsat »

FreewheelinFrank wrote: 2023-02-18 15:28 I should probably have asked this before, but do you have package Timidity installed?
Yes it is.
FreewheelinFrank wrote: 2023-02-18 15:28 Edit: My mistake previously (#24), we need

Code: Select all

# fuser -v /dev/snd/*
to see if a system service (prime suspect: Timidity) has taken control of sound.
Indeed, at first

Code: Select all

fuser -v /dev/snd/*
returns nothing.
But, I saw that Timidity was running (using KSysGuard) ant I termiated the Timidity process.
After that I obtain

Code: Select all

$ fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  toor       1025 F.... pulseaudio
$
And audio works properly! :D

So Timidity is used by some packages i fear to remove it. Do you think there is another way to definitely fix the problem?

User avatar
fabien
Forum Helper
Forum Helper
Posts: 620
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 60 times
Been thanked: 146 times

Re: [Software] No more audio after update (Debian 11)

#35 Post by fabien »

Sorry to interfere,
do you have the timidity-daemon package installed? If so, you could try uninstalling it after evaluating if you really need it.
timidity-daemon is suggested by timidity and it is the only possible dependency.

Code: Select all

Package: timidity-daemon
Source: timidity
Version: 2.14.0-8
Installed-Size: 73KB
Maintainer: Bastien Roucariès <rouca@debian.org>
Architecture: all
Depends     ▼
 adduser, lsb-base, timidity (>=2.14.0-8)
Replaces    ▼
 timidity (<<2.14.0-1~)
Breaks      ▼
 timidity (<<2.14.0-1~)
Description-en: runs TiMidity++ as a system-wide MIDI sequencer
 TiMidity++ is a very high quality software-only MIDI sequencer and MOD
 player.
 .
 This package is not needed for a desktop install and output by default
 using the ALSA driver.
 .
 This package provides TiMidity++ as a system-wide MIDI sequencer.
Homepage: http://timidity.sourceforge.net/
Tag: role::program, sound::midi
Section: sound
Priority: optional
Filename: pool/main/t/timidity/timidity-daemon_2.14.0-8_all.deb
Size: 31KB

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: [Software] No more audio after update (Debian 11)

#36 Post by FreewheelinFrank »

There is a bug report for this from years ago. Apparently it's a packaging issue not a bug in Timidity so didn't get fixed. :?

https://bugs.debian.org/cgi-bin/bugrepo ... bug=901931

The solution apparently is to remove Timidity from the audio group ( details in link).

linuxsat
Posts: 50
Joined: 2017-10-20 14:28
Has thanked: 1 time

Re: [Software] No more audio after update (Debian 11)

#37 Post by linuxsat »

FreewheelinFrank wrote: 2023-02-25 18:57 There is a bug report for this from years ago. Apparently it's a packaging issue not a bug in Timidity so didn't get fixed. :?

https://bugs.debian.org/cgi-bin/bugrepo ... bug=901931

The solution apparently is to remove Timidity from the audio group ( details in link).
Thanks again; this solve the problem. I edited the file /etc/group and removed timidity at the end of the line starting with "audio".

cheers

Post Reply