I upgraded my old desktop computer to FreeBSD 13.1 with KDE Plsama 5.24.5. It booted fine but no sound output.
There are 4 sound devices:
pcm2 was default, it must be changed to pcm3 (
But in System Settings / Audio there is only /dev/dsp as Playback Device and this cannot be changed to anything else. Volume control in this window does not work.
The speaker icon in tray shows /dev/dsp and volume 100% too, slider can be moved by mouse but the loundess is the same.
It means KDE Plasma cannot control volume of the output.
I installed audio/kmix which shows all sound devices and can control the output volume just fine. (now I have two speaker icons in tray)
But what's wrong with default audio control in Plasma? It seems odd to me to install kmix if there is a newer plasma5-plasma-pa installed.
If plasma5-plasma-pa cannot control audio volume how can I change the default app to kmix? I don't want two speaker icons in tray.
There are 4 sound devices:
Code:
% ll /dev/dsp*
crw-rw-rw- 1 root wheel 0x12c 10 Jun 15:08 /dev/dsp0.0
crw-rw-rw- 1 root wheel 0x129 10 Jun 17:47 /dev/dsp3.0
crw-rw-rw- 1 root wheel 0x12a 10 Jun 15:04 /dev/dsp3.1
crw-rw-rw- 1 root wheel 0x12b 11 Jun 00:26 /dev/dsp3.2
pcm2 was default, it must be changed to pcm3 (
sysctl hw.snd.default_unit=3
) and sound works now in applications like Firefox, Audacious, SMPlayer etc.
Code:
% cat /dev/sndstat
Installed devices:
pcm0: <NVIDIA (0x0051) (HDMI/DP 8ch)> (play)
pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> (play)
pcm2: <Realtek ALC280 (Analog 2.0+HP/2.0)> (play/rec)
pcm3: <Realtek ALC280 (Rear Analog)> (play/rec) default
But in System Settings / Audio there is only /dev/dsp as Playback Device and this cannot be changed to anything else. Volume control in this window does not work.
The speaker icon in tray shows /dev/dsp and volume 100% too, slider can be moved by mouse but the loundess is the same.
It means KDE Plasma cannot control volume of the output.
I installed audio/kmix which shows all sound devices and can control the output volume just fine. (now I have two speaker icons in tray)
But what's wrong with default audio control in Plasma? It seems odd to me to install kmix if there is a newer plasma5-plasma-pa installed.
If plasma5-plasma-pa cannot control audio volume how can I change the default app to kmix? I don't want two speaker icons in tray.