Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no sound - conflict btw pulse and Alsa?
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
michi-monster
Apprentice
Apprentice


Joined: 16 Aug 2016
Posts: 175
Location: Germany

PostPosted: Sat Sep 23, 2017 1:15 pm    Post subject: no sound - conflict btw pulse and Alsa? Reply with quote

I dont get Sound on my System.

Soundcards are detected:
Code:
localhost /home/michi # cat /proc/asound/cards
 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfeb44000 irq 36
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfeb40000 irq 16

Code:
localhost /home/michi # lspci -v | grep -i audio
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller
Subsystem: ASUSTeK Computer Inc. Trinity HDMI Audio Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
localhost /home/michi #

Alsasound can start:

Code:
localhost /home/michi # /etc/init.d/alsasound start
 * Restoring Mixer Levels ...                                                                    [ ok ]


I found in a thread the information to set my card in /etc/modprobe.d/alsa.conf to 2, thats done
# Set this to the correct number of cards.
options snd cards_limit=2

Code:
michi@localhost ~ $ speaker-test -c 2 -D hw:0,3

speaker-test 1.1.2

Playback device is hw:0,3
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
0 - Front Left
1 - Front Right
Time per period = 5,739853
0 - Front Left
1 - Front Right
Time per period = 5,989964
0 - Front Left
1 - Front Right
Time per period = 5,870038
0 - Front Left
1 - Front Right
Time per period = 5,989912
0 - Front Left
1 - Front Right
Time per period = 6,020624
0 - Front Left
1 - Front Right


The Soundcard is ok. It works on Linux Mint. There is the generic used

Here is alsamixer on Gentoo:

https://i1.wp.com/edv-bildung.de/wp-content/uploads/2017/09/alsamixer.png
https://i0.wp.com/edv-bildung.de/wp-content/uploads/2017/09/alsamixer1.png
_________________
www.edv-bildung.de
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9695
Location: almost Mile High in the USA

PostPosted: Sat Sep 23, 2017 5:31 pm    Post subject: Reply with quote

It doesn't look like you're using pulseaudio whatsoever, just ensure this is the case.

My guess would more likely be that you're sending sound to the wrong adapter, perhaps through HDMI when you're expecting sound through analog from the motherboard.

What was the intent of "hw:0,3" ? Were you trying to use HDMI sound?
Try
Code:
$ aplay -l
to get a list of your ALSA devices.

Also I don't quite understand the intent of "options snd cards_limit=2" - you do have 2 cards which were auto detected, so I wouldn't expect this to change anything.

Alas, I do not have HDMI sound so not sure what's involved there, but it would be good to clarify what you're trying to accomplish here.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
michi-monster
Apprentice
Apprentice


Joined: 16 Aug 2016
Posts: 175
Location: Germany

PostPosted: Sun Sep 24, 2017 1:09 pm    Post subject: Reply with quote

Another question: if i run genkernel all is alsa automaticly active?
_________________
www.edv-bildung.de
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9695
Location: almost Mile High in the USA

PostPosted: Sun Sep 24, 2017 4:00 pm    Post subject: Reply with quote

It should be as long as your kernel was configured correctly.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

PostPosted: Sun Sep 24, 2017 6:49 pm    Post subject: Reply with quote

michi-monster wrote:
Another question: if i run genkernel all is alsa automaticly active?


You will have to do genkernel all --menuconfig. That will give the kernel config dialog then you can configure alsa
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