View previous topic :: View next topic |
Author |
Message |
Emon_Gentoo n00b
Joined: 10 Feb 2016 Posts: 9
|
Posted: Fri Jun 24, 2016 7:04 am Post subject: New install, no sound![SOLVED] |
|
|
Hi everyone
I am new to Gentoo, so please forgive any stupid questions
I have just Installed Gentoo with the following profile
Code: |
[6] default/linux/amd64/13.0/desktop/kde *
|
But I am not getting any sound while playing video in VLC or streaming Youtube in Firefox/Chromium. I am not getting any system sound either!
I had the following lines in my /etc/portage/make.conf during install
Code: |
CFLAGS="-O2 -march=amdfam10 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-gtk -gnome icu qt4 kde dvd pulseaudio alsa bindist mmx sse"
INPUT_DEVICE="evdev"
VIDEO_CARDS="radeon"
|
I have the following hardware.
Processor Athlon XII 250
M/B MSI 880GMA-E35(FX). This is a board with AMD 880 chipset with Radeon HD 4250 IGP.
The IGP supports native HD video decode features, as well as HDMI with on-chip 7.1 channel audio (I only have 2.1 speakers though).
I am using an external Radeon HD 6570 PCIe card and have disabled the IGP in BIOS.
Integreated Audiois on though.
My non-root user is in the following groups
10(wheel),18(audio),27(video),100(users),998(vboxusers)
I have also made changes to my kernel as suggested by these pages
https://wiki.gentoo.org/wiki/ALSA#Kernel
Code: |
Device Drivers --->
<*> Sound card support
<*> Advanced Linux Sound Architecture --->
[*] PCI sound devices --->
Select the driver for your audio controller, e.g.:
<*> Intel HD Audio ---> (snd-hda-intel)
Select a codec or enable all and let the generic parse choose the right one:
[*] Build Realtek HD-audio codec support
[*] ...
[*] Build Silicon Labs 3054 HD-modem codec support
[*] Enable generic HD-audio codec parser
General setup --->
[*] System V IPC
|
https://wiki.gentoo.org/wiki/PulseAudio#Kernel
Code: |
Device Drivers --->
<*> Sound card support --->
<*> Advanced Linux Sound Architecture --->
HD-Audio --->
(2048) Pre-allocated buffer size for HD-audio driver
|
I can’t be sure if I did everything correctly, it would really help if someone could check and confirm.
Details of my kernel.config
http://pastebin.com/XYUCgCMq
There is an alarming bit in dmesg, though I don’t know what to make of it!?
I am no expert and I am just trying to follow instructions to get things to work.
Code: |
[ 3.873760] hdaudio hdaudioC1D0: Unable to bind the codec
[ 3.878952] hdaudio hdaudioC0D0: Unable to bind the codec
|
More details of my dmesg.
http://pastebin.com/5e9dAgjJ
lspci -k shows the following audio devices
Code: |
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Turks/Whistler HDMI Audio [Radeon HD 6000 Series]
Subsystem: PC Partner Limited / Sapphire Technology Turks/Whistler HDMI Audio [Radeon HD 6000 Series]
Kernel driver in use: snd_hda_intel
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
Subsystem: Micro-Star International Co., Ltd. [MSI] SBx00 Azalia (Intel HDA)
Kernel driver in use: snd_hda_intel
|
Starting alsamixer I can see the following under [Playback]
Code: |
Card: PulseAudio
Chip: PulseAudio
|
there is only one channel!! <Master> and it’s NOT muted, volume is at 100%
Pressing F5 to see all,
I get another channel!! <Capture> it’s probably the mic of my Logitech C310 USB webcam.
Pressing ‘F2’ to see systeminfo from /proc/asound/cards
Code: |
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfe7f8000 irq 16
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xfe8f8000 irq 30
2 [U0x46d0x81b ]: USB-Audio - USB Device 0x46d:0x81b
USB Device 0x46d:0x81b at usb-0000:00:16.2-2, high speed
|
Pressing ‘F6’ to Select sound card I get the following
Code: |
- (default)
0 HDA ATI SB
1 HDA ATI HDMI
2 USB Device 0x46d:0x81b
|
Selecting card 0 gives
Code: |
Card: HDA ATI SB
This sound device does not have any controls.
|
Selecting card 1 gives
Code: |
Card: HDA ATI HDMI
This sound device does not have any controls.
|
Selecting card 2 gives
Code: |
Card: USB Device 0x46d:0x81b
Chip: USB Mixer
Item: Mic [dB gain: 25.50]
|
and a volume control bar for the channel <Mic>; volume is at 90%.
In KDE -> System Settings -> Multimedia -> Audio & Video Setting ->Settings for the Phonon multimedia framework….
Under the Device Preference tab
>|Audio playback
>|Music
there is only ‘Dummy Output’ on the right hand panel!!
Under the Device Preference tab
>|Audio Hardware Setup
>|Sound Card
there is only ‘Webcam C310’ and ‘Independent Device’. I guess the mic seems to be working nicely as the ‘Input Level’ bar indicator keeps fluctuating, and spikes to maximum when I speak into the Webcam.
If I select ‘Independent Device’ as the sound card then there is only ‘Playback (Dummy output device)’ under ‘Sound Device’.
Under the Backend tab
there is only VLC.
So where have I gon wrong??
Emon
***********-----------------EDIT-----------------***********
Forgot to mention the following
aplay shows nothing !!!
Code: |
# aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
|
Also if this helps in any way......
Code: |
$ cat /proc/asound/card0/codec#0 | head
Codec: Realtek ID 887
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0887
Subsystem Id: 0x14627641
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
rates [0x5f0]: 32000 44100 48000 88200 96000 192000
bits [0xe]: 16 20 24
|
Last edited by Emon_Gentoo on Sat Jun 25, 2016 11:28 am; edited 1 time in total |
|
Back to top |
|
|
Emon_Gentoo n00b
Joined: 10 Feb 2016 Posts: 9
|
Posted: Sat Jun 25, 2016 6:44 am Post subject: |
|
|
I may have narrowed down the problem a bit..
First I booted with the Install media to check if everything works, and sure enough it did.
So I am comparing the boot disk setting with my install settings.....
speaker-test -t wav -c 2
Worked flawlessly on the boot disk!
On my local install it did not produce any errors, but did not produce any sound either!!
Code: | speaker-test 1.0.29
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
Time per period = 4.698917
0 - Front Left
1 - Front Right
Time per period = 4.508813
0 - Front Left
^C 1 - Front Right
Transfer failed: Bad address
|
aplay -l
On boot disk
Code: | **** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
|
On local install
It produced a blank list...
Code: |
**** List of PLAYBACK Hardware Devices ****
|
This is where things start to get interesting.. notice the difference carefully, both in the codes and the loaded modules
cat /proc/asound/card0/codec#0 | head
On boot disk
Code: |
Codec: Realtek ALC887-VD
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0887
Subsystem Id: 0x14627641
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
rates [0x5f0]: 32000 44100 48000 88200 96000 192000
bits [0xe]: 16 20 24
|
On local install
Code: |
Codec: Realtek ID 887
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0887
Subsystem Id: 0x14627641
Revision Id: 0x100302
No Modem Function Group found
Default PCM:
rates [0x5f0]: 32000 44100 48000 88200 96000 192000
bits [0xe]: 16 20 24
|
lsmod | grep ^snd
On boot disk
Code: | snd_hda_codec_realtek 50124 1
snd_hda_codec_generic 43015 1 snd_hda_codec_realtek
snd_usb_audio 118604 0
snd_hda_codec_hdmi 32430 1
snd_hda_intel 17466 0
snd_hda_codec 62824 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_usbmidi_lib 16948 1 snd_usb_audio
snd_hwdep 5139 1 snd_usb_audio
snd_rawmidi 15842 1 snd_usbmidi_lib
snd_seq_device 3095 1 snd_rawmidi
snd_hda_core 26852 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_pcm 65176 5 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core
snd_timer 17071 1 snd_pcm
snd 49733 11 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
|
On my local install
Code: | # lsmod | grep ^snd
#
|
It produced NOTHING!!!!!!????
What gives man....?? how come...??
Is it because I had ALSA built-in into the kernel and lsmod only shows loaded modules?? but the drivers/codecs under ALSA was compiled as modules...!
Anyways, I am hoping someone else can make better sense of all these.
Thanks
Emon |
|
Back to top |
|
|
gorg86 Apprentice
Joined: 20 May 2011 Posts: 299
|
Posted: Sat Jun 25, 2016 9:40 am Post subject: |
|
|
Do you use genkernel?
If not did you install the modules? |
|
Back to top |
|
|
Emon_Gentoo n00b
Joined: 10 Feb 2016 Posts: 9
|
Posted: Sat Jun 25, 2016 11:27 am Post subject: SOLVED... finally!!! |
|
|
Yes, I use Genkernel....
I hope someday future generation will find this info handy
On a hunch (almost out of nowhere) I recompiled the kernel, only this time I compiled ALSA as a module and everything works fine now
Link to this kernel config below, if anybody is interested to check the diff.
http://pastebin.com/aTtTg7C6
Thanks
Emon |
|
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
|
|