View previous topic :: View next topic |
Author |
Message |
gaebb3r n00b
Joined: 22 Oct 2007 Posts: 58 Location: 48°31′N, 9°3′E
|
Posted: Fri Oct 20, 2023 10:14 pm Post subject: Wrong sound device in KDE |
|
|
Hi all,
I did a fresh stage3 install and can't get my audio working...
'aplay -l' shows:
Code: | Karte 0: Generic [HD-Audio Generic], Gerät 0: ALC1220 Analog [ALC1220 Analog]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: Generic [HD-Audio Generic], Gerät 1: ALC1220 Digital [ALC1220 Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 1: NVidia [HDA NVidia], Gerät 3: Generic Digital [Generic Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0 |
'aplay -L' shows:
Code: | null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
sysdefault:CARD=Generic
HD-Audio Generic, ALC1220 Analog
Default Audio Device
front:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
Front output / input
surround21:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
HD-Audio Generic, ALC1220 Digital
IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Generic
HD-Audio Generic
USB Stream Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, Generic Digital
HDMI Audio Output
usbstream:CARD=NVidia
HDA NVidia
USB Stream Output |
So, I have set my .asoundrc to:
Code: | defaults.pcm.card 0
defaults.pcm.device 0 |
However, KDE finds the sound device of my graphics card and the S/PDIF digital output of the HD audio device.
But I need to get an analog device working with KDE...
Any idea how to set this?
I can't find setting this somewhere in KDE control center.
Thank you for any hint!
Cheers
Marcus _________________ AMD Threadripper 2920X - X399 Designaire - 16384 MB |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1893 Location: Switzerland (Romandie)
|
Posted: Sat Oct 21, 2023 9:18 am Post subject: |
|
|
The output of 'aplay -l' must show you which card is the 0 card.
ALSA does not guaranty than the order of the sound cards will be always the same (reboot, system update, who knows?). So, in case of several sound cards, it is best to first fix the card order in /etc/modprobe.d/alsa.conf |
|
Back to top |
|
|
soundrolf Tux's lil' helper
Joined: 08 Sep 2016 Posts: 131 Location: Cologne / Germany
|
Posted: Sat Oct 21, 2023 11:27 am Post subject: |
|
|
cat /proc/asound/cards show your cards
Code: |
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfc080000 irq 62
1 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfc400000 irq 64
|
I have set my .asoundrc to:
Code: |
defaults.pcm.card 1
defaults.ctl.card 1
pcm.snd_card {
type hw
card 1
device 0
}
ctl.snd_card {
type hw
card 1
device 0
}
pcm.dmixer {
type dmix
ipc_key 1024
ipc_perm 0666
slave.pcm "snd_card"
slave {
period_time 0
period_size 1024
buffer_size 4096
rate 44100
channels 2
}
bindings {
0 0
1 1
}
}
pcm.dsnooper {
type dsnoop
ipc_key 2048
ipc_perm 0666
slave.pcm "snd_card"
slave
{
period_time 0
period_size 1024
buffer_size 4096
rate 44100
channels 2
}
bindings {
0 0
1 1
}
}
|
_________________ Regards
soundrolf
MOBO: ASUS PRIME B550M-K BIOS 3607 03/18/2024
CPU: AMD Ryzen 7 5800X 8-Core Processor (16) @ 3800 MHz
GPU: NVIDIA GK208B [GeForce GT 710] driver: nvidia v: 470.256.02
RAM: 80GB crucial DDR4 3200 MHz 2x8GB 2x32GB |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|