Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Me no hav sound ;-;
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
Delupara
n00b
n00b


Joined: 03 Aug 2017
Posts: 21

PostPosted: Tue Jun 05, 2018 9:53 pm    Post subject: Me no hav sound ;-; Reply with quote

dmesg : https://paste.pound-python.org/show/scYFskjuY2jISttmfTQf/
kernel configs: https://paste.pound-python.org/show/PVysi00H9llM0D70fvtn/
emerge --info: https://paste.pound-python.org/show/mGmgsU9G6fJZOX4ttffD/
lspci : https://paste.pound-python.org/show/kdU5hqOlO6ZTAl3U5Azu/


The problem is somewhat simple: My motherboard builtin sound device will not produce any.... well sound.

I'm not talking about my graphics card as it isn't used for sound for my system, only video.

I'm kind of a noob when it comes to linux and sound so I'll need a big hand here, thanks.

Note: I've installed pulseaudio because I've rea somewhere that firefox doesn't really support alsa.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 18824
Location: here

PostPosted: Wed Jun 06, 2018 5:50 am    Post subject: Reply with quote

Try to enable codec in your kernel
Code:
# CONFIG_SND_HDA_CODEC_REALTEK is not set
# CONFIG_SND_HDA_CODEC_ANALOG is not set
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set
# CONFIG_SND_HDA_CODEC_VIA is not set
# CONFIG_SND_HDA_CODEC_CIRRUS is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CA0110 is not set
# CONFIG_SND_HDA_CODEC_CA0132 is not set
# CONFIG_SND_HDA_CODEC_CMEDIA is not set
# CONFIG_SND_HDA_CODEC_SI3054 is not set

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Delupara
n00b
n00b


Joined: 03 Aug 2017
Posts: 21

PostPosted: Wed Jun 06, 2018 6:10 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Try to enable codec in your kernel
Code:
# CONFIG_SND_HDA_CODEC_REALTEK is not set
# CONFIG_SND_HDA_CODEC_ANALOG is not set
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set
# CONFIG_SND_HDA_CODEC_VIA is not set
# CONFIG_SND_HDA_CODEC_CIRRUS is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CA0110 is not set
# CONFIG_SND_HDA_CODEC_CA0132 is not set
# CONFIG_SND_HDA_CODEC_CMEDIA is not set
# CONFIG_SND_HDA_CODEC_SI3054 is not set


From here:
Quote:
This is critical. In fact, it's much more critical than most people realise. Part of the problem is that the kernel can be fooled into silently loading too many sound drivers. These can conflict resulting in no sound at all or sound for some and no sound for other programs.

Regardless I'll try it out for u bb
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 40808
Location: 56N 3W

PostPosted: Wed Jun 06, 2018 6:21 pm    Post subject: Reply with quote

Delupara,

You have two sound devices.
Code:
09:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 580]
12:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Device 1457

Both use SND_HDA_INTEL.

The first one is on your graphics card for display port and/or HDMI sound. This will be the default until we fix it later.
The second one is on your motherboard.

Soundcard drivers are in two pieces. The part that lspci -k shows and the codec.
You need both pieces. Unfortunately, there is a lot of mix and match between the two pieces, so like fedeliallalinea says, build all the codecs to start with.
You can them later.

One not in that list is snd_hda_codec_hdmi. You will need that for display port and/or HDMI sound.

Your video card is a Radeon RX 580. I have the 450 and haven't got sound out of it yet.

There is another problem. Your kernel is too old for HDMI sound.
Code:
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.9.95-gentoo Kernel Configuration

Use the 4.17.x kernel. You need the new amdgpu display code that was introduced in 4.15 but with its sound driver disabled by default.
From 4.17 its on by default.
It still won't work for me ... yet.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Delupara
n00b
n00b


Joined: 03 Aug 2017
Posts: 21

PostPosted: Wed Jun 06, 2018 8:51 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Delupara,

You have two sound devices.
Code:
09:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 580]
12:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Device 1457

Both use SND_HDA_INTEL.

The first one is on your graphics card for display port and/or HDMI sound. This will be the default until we fix it later.
The second one is on your motherboard.

Soundcard drivers are in two pieces. The part that lspci -k shows and the codec.
You need both pieces. Unfortunately, there is a lot of mix and match between the two pieces, so like fedeliallalinea says, build all the codecs to start with.
You can them later.

One not in that list is snd_hda_codec_hdmi. You will need that for display port and/or HDMI sound.

Your video card is a Radeon RX 580. I have the 450 and haven't got sound out of it yet.


RX 580 indeed (I love mah bb). Only used with a DVI so it's fine if sound isn't supported.

NeddySeagoon wrote:

There is another problem. Your kernel is too old for HDMI sound.
Code:
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.9.95-gentoo Kernel Configuration

Use the 4.17.x kernel.

From sys-kernel/git-sources? Gentoo-sources has only 4.9 at the latest, but git sources has 4.17_rc7 so I took it and enabled codecs on its sources

NeddySeagoon wrote:

You need the new amdgpu display code that was introduced in 4.15 but with its sound driver disabled by default.
From 4.17 its on by default.
It still won't work for me ... yet.


luckily for me I only need my motherboard sound device to properly work, since I have nothing sound related connected to my graphics card
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 40808
Location: 56N 3W

PostPosted: Wed Jun 06, 2018 9:33 pm    Post subject: Reply with quote

Delupara,

The kernel .config you posted has
Code:
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.9.95-gentoo Kernel Configuration
at the top. That may not be the kernel you are running.

What does
Code:
uname -a
show?
Code:
$ uname -a
Linux NeddySeagoon_Static 4.17.0-rc7 #2 SMP PREEMPT Sun Jun 3 12:50:18 BST 2018 x86_64 AMD Phenom(tm) II X6 1090T Processor AuthenticAMD GNU/Linux


That says that my running kernel is version 4.17.0-rc7, build #2, built on Sun Jun 3 12:50:18 BST 2018.
I'm good with that as its the newest kernel I have.

The kernel pointed at by the /usr/src/linux symbolic link need not be the kernel you are running.

Its also possible to mess up the kernel install by forgetting to mount boot.

So, are you running the kernel you think you are?
Does that kernel match the .config file you posted.?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6304
Location: Saint Amant, Acadiana

PostPosted: Wed Jun 06, 2018 11:10 pm    Post subject: Reply with quote

Code:
emerge =gentoo-sources-4.17.0

Follow directions from portage.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Spargeltarzan
Apprentice
Apprentice


Joined: 23 Jul 2017
Posts: 214

PostPosted: Wed Jun 13, 2018 8:59 am    Post subject: Reply with quote

I have compiled ALSA and every codec as a module.
While compiled with * it might lead to conflicts to include every codec, I believed as a module it should be alright, because only the relevant codec can be loaded?

My sound issue thread is here: https://forums.gentoo.org/viewtopic-t-1082450-highlight-.html
_________________
___________________
Regards

Spargeltarzan

Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen
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