Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA setup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
cboscari
n00b
n00b


Joined: 11 Jan 2018
Posts: 4

PostPosted: Thu Jan 11, 2018 5:40 pm    Post subject: ALSA setup Reply with quote

Hi everyone. For some strange reason, KDE and pulse audio (together) crash my system. This has happened with several distros, so I am using Gentoo to avoid having pulse audio on my system.
I have tried to follow the ALSA guide on the wiki, but I can't seem to understand how to get my two sound cards configured so that the USB is the default, and they make sound.

Here is the output from aplay -l
Code:
chris@GentooStudio /etc/modprobe.d $ sudo aplay -l
Password:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: USB [Scarlett 2i4 USB], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

lsmod shows-
Code:
hris@GentooStudio /usr/share/doc $ lsmod | grep audio
snd_usb_audio         180224  0
snd_usbmidi_lib        28672  1 snd_usb_audio
snd_hwdep              16384  2 snd_hda_codec,snd_usb_audio
snd_pcm               102400  5 snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_hda_core,snd_hda_codec_hdmi
snd                    86016  10 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_usb_audio,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,
snd_usbmidi_lib,snd_seq_device,snd_pcm

I run alsamixer, and it shows "Internal Validity" under the 2i4, but is green, so therefore unmutted, I assume. The daemon is running, but no audio is going to the default HDMI port from chrome, or how to switch the default to the second card. I had the ALSA USE flag set when everything was built.

Any suggestions?

Thanks,
Chris

[Moderator edit: added [code] tags to preserve output layout; broke long whitespace-free lines in code tags to fix thread layout. -Hu]
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Thu Jan 11, 2018 7:22 pm    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/ALSA#Laptops_with_HDMI_audio_output
you could make the USB [Scarlett 2i4 USB] device default like that

you have plenty more informations from the link that will help you.
Back to top
View user's profile Send private message
cboscari
n00b
n00b


Joined: 11 Jan 2018
Posts: 4

PostPosted: Thu Jan 11, 2018 8:05 pm    Post subject: Reply with quote

Success! I needed to add myself to the audio group and switched the order of the devices. Now I have audio without pulseaudio crashing KDE! Woo hoo!
On to the next problem!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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