Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No audio after gentoo installtion
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
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 373
Location: India

PostPosted: Sat Nov 25, 2017 7:27 am    Post subject: No audio after gentoo installtion Reply with quote

Hi Experts, I recently installed Gentoo on my machine however there is no audio at all. Few details furnished below -


#
Quote:
lspci -vv | grep -i audio
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Dell 7 Series/C216 Chipset Family High Definition Audio Controller
pcilib: sysfs_read_vpd: read failed: Input/output error


Quote:
localhost ~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: 92HD91BXX Analog [92HD91BXX Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0


Quote:

localhost ~ # cat /sys/class/sound/card*/id
PCH
localhost ~ #


I am not very familiar with the audio part in genetoo, so appreciate all your help on this and thanks in advance
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 5982

PostPosted: Sat Nov 25, 2017 12:13 pm    Post subject: Reply with quote

your card is just there, probably then sound is just mute.
Code:
 amixer set Master unmute 100
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 373
Location: India

PostPosted: Sat Nov 25, 2017 3:26 pm    Post subject: Reply with quote

Thanks Krinn, however I still donot hear anything when I try to play music on youtube . below is the o/p when I run the command you suggested -
Quote:

localhost /sys/class/net # amixer set Master unmute 100
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 100 [0%] [on]
Front Right: Playback 100 [0%] [on]
localhost /sys/class/net #


Thanks for all your help on this.
Back to top
View user's profile Send private message
superjaded
l33t
l33t


Joined: 05 Jul 2002
Posts: 744

PostPosted: Sat Nov 25, 2017 4:03 pm    Post subject: Reply with quote

Unless you specifically have -acl set in your USE flag, you probably need to add your user account to the audio group.

From the ALSA wiki page.
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 373
Location: India

PostPosted: Sat Nov 25, 2017 6:44 pm    Post subject: Reply with quote

Did that - added user to audio group, restarted the box and still no sound. I have set alsamixer to 100 as suggested in previous post.

Something very silly I am missing and it's giving me too much of anxious time

Thanks guys fot all your help and appreciate all the inputs.
Back to top
View user's profile Send private message
shrike
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2004
Posts: 115
Location: Closer to home

PostPosted: Sun Nov 26, 2017 3:23 pm    Post subject: Reply with quote

manu_leo,

There are a number of settings needed for audio in linux. Most are covered in previously mentioned Gentoo wiki but occasionally I see recurring forum posts such as 'no HDMI audio' or 'no youtube audio'. These two issues are now covered in the wiki too but I wonder;

- What audio gear is connected? HDMI? Analog?
- What web browser are you using for youtube? Now, most browsers require PulseAudio.
- Have you tried the console app 'aplay'? (aplay -D default /usr/share/sounds/alsa/Front_Center.wav)

'emerge --info' might be helpful. 'grep SND /usr/src/linux/.config' might be useful too.

Best..
Back to top
View user's profile Send private message
saturnalia0
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2016
Posts: 75

PostPosted: Sun Nov 26, 2017 6:22 pm    Post subject: Reply with quote

manu_leo wrote:
Thanks Krinn, however I still donot hear anything when I try to play music on youtube


Have you tried playing an audio file known to work? Firefox has some audio issues with ALSA lately...
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5326

PostPosted: Mon Nov 27, 2017 11:05 am    Post subject: Reply with quote

saturnalia0 wrote:
manu_leo wrote:
Thanks Krinn, however I still donot hear anything when I try to play music on youtube


Have you tried playing an audio file known to work? Firefox has some audio issues with ALSA lately...


firefox dropped alsa support in favour of pulseaudio. if you don't use pulseaudio you can roll back to firefox esr (version 52.x), or there are some other things you can try like apulse (which is some sort of shim).
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1500

PostPosted: Mon Nov 27, 2017 8:50 pm    Post subject: Reply with quote

First things first:
Quote:
- What audio gear is connected? HDMI? Analog?

This question is _extremely_ important here.


In your case the analog device has lower index (0,0) than hdmi (0,3) and probably is preferred by the system.
Check with aplay or any other player that will let you manually set the playback device whether the device is currently dead or the audio stream goes to a dead end without speakers attached.
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