Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with sound on kaveri box....
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
mikefot
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2014
Posts: 90

PostPosted: Mon Nov 28, 2016 9:51 am    Post subject: problem with sound on kaveri box.... Reply with quote

Dear Gentoo users,

I installed alsamixer and alsamixer gui on my kaveri box (kernel 4.8.9).

I also installed alsa utils.

I ran the aplay command at a terminal:

Code:
rhinoceros etc # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: Generic Digital [Generic Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


plus another couple of commands that could be helpful here:

Code:
rhinoceros etc # cat /proc/asound/cards
 0 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfeb64000 irq 28
 1 [Generic        ]: HDA-Intel - HD-Audio Generic


Code:
rhinoceros etc # cat /proc/asound/card0/pcm3p/info
card: 0
device: 3
subdevice: 0
stream: PLAYBACK
id: HDMI 0
name: HDMI 0
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
 HD-Audio Generic at 0xfeb60000 irq 16


The sound in e.g. youtube is dead at present.

In the alsa gui when you click on the padlock icon to unlock it then the two volume channel slots have no movable faders in them.

I might need to tweak the kernel a bit to fix this.

Comments appreciated on this problem.


Regards

Michael Fothergill
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3111

PostPosted: Mon Nov 28, 2016 4:47 pm    Post subject: Reply with quote

First off, which sound card is your speaker attached to? My Kavari system has two, like yours. However I have nothing hooked to hdmi, so whenever that shows up as the default, I get no sound without intervention. There appears to be a race between generic and hdmi, because sometimes one is default and sometimes the other.

I have added to /etc/profile.env:
export ALSA_CARD='Generic'

which solves the problem for this machine.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
mikefot
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2014
Posts: 90

PostPosted: Mon Nov 28, 2016 6:49 pm    Post subject: sound problem contd.... Reply with quote

Many thanks for your response.

The kaveri box I use also has debian running on it as well as gentoo.

The sound works OK in the debian install.

The gentoo one is dependent on my own skill in correctly configuring things and setting them up properly.

Using the debian installation I originally got an audio signal through the AOC monitor I use which is connected to the PC via an HMDI cable.

I then got a Logitech speaker set with the (generic I assume) stereo mini jack connector.

I plugged it into a speaker output on the back of the PC and the monitor speaker was silenced and the Logitech speakers functioned normally and gave a good audio sound.

I have run the same set of commands using the debian installation as I did with gentoo for comparison.

Code:
root@rhinoceros:/home/mikef# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Code:
root@rhinoceros:/home/mikef# cat /proc/asound/cards
 0 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfeb64000 irq 90
 1 [Generic_1      ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfeb60000 irq 16



Code:
root@rhinoceros:/home/mikef# cat /proc/asound/card0/pcm3p/info
card: 0
device: 3
subdevice: 0
stream: PLAYBACK
id: HDMI 0
name: HDMI 0
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
root@rhinoceros:/home/mikef#



I checked the profile.env file in gentoo and it does not have the ALSA entry you helpfully specified in it.

Based on your comments I am going to try a couple of things in the gentoo installation:

1. I will unplug the Logitech speakers to see if I get any sound from the monitor speaker.

2. If not I will try adding the ALSA entry to the profile.env file and updating configurations etcm plug the Logitech speakers back in and see of I get an audio signal and sound.

Regards and thanks

Michael Fothergill
Back to top
View user's profile Send private message
mikefot
Tux's lil' helper
Tux's lil' helper


Joined: 19 Nov 2014
Posts: 90

PostPosted: Mon Nov 28, 2016 7:31 pm    Post subject: sound problem contd.... Reply with quote

I am also adding some hardware info on the kaveri box here:

Code:
root@rhinoceros:/home/mikef# lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) I/O Memory Management Unit
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics]
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri HDMI/DP Audio Controller
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1424
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1424
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Root Port
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1424
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 09)
00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 09)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 16)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD] FCH IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 30h-3fh) Processor Function 5
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
root@rhinoceros:/home/mikef#

Code:
root@rhinoceros:/home/mikef# lspci | grep Audio
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri HDMI/DP Audio Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)


I have posted the output of dmidecode here:

http://paste.debian.net/899544

Regards

Michael
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