Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Sound issue
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
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1165
Location: /run/user/1000

PostPosted: Mon Feb 11, 2019 3:35 pm    Post subject: [Solved] Sound issue Reply with quote

I'm having trouble configuring sound , I just can't figure it out....

Onboard chip is Realtek ALC887 8-Channel HD Audio, according to motherboard manual.
However, kernel detects it as Realtek ALC891

I have 5.1 speakers and front left and right speakers are not working, that's the issue.
Tried different profiles, 4.1, 7.1, changed jacks on speakers and motherboard, nothing helped.... channel mappings were just different, but never right.

Can I change the codec and use ALC887 instead of ALC891 ?
I guess the problem is there.

Code:
$ aplay -L                                                                                                                                                                                                             
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
hdmi:CARD=Generic,DEV=0
    HD-Audio Generic, Generic Digital
    HDMI Audio Output
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output
default:CARD=Generic_1
    HD-Audio Generic, ALC891 Analog
    Default Audio Device
sysdefault:CARD=Generic_1
    HD-Audio Generic, ALC891 Analog
    Default Audio Device
front:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC891 Analog
    Front speakers
surround21:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC891 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC891 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC891 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC891 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC891 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
    HD-Audio Generic, ALC891 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
usbstream:CARD=Generic_1
    HD-Audio Generic
    USB Stream Output


Last edited by The Main Man on Mon Feb 11, 2019 5:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Feb 11, 2019 4:00 pm    Post subject: Reply with quote

kajzer,

See /usr/src/linux/Documentation/sound/hd-audio/models.rst Under ALC88x/898/1150/1220 is a list of model= parameter you can feed to the snd-intel-hda at module load time.
Does one of them help.

I knew that you can do channel swapping in /etc/asound.conf but I've not need to do it.
I was doing something silly with my sound and came across it.
Remapping is only useful if you have the right number of outputs but in the wrong places.

The output of alsa-info.sh may be useful too. Put it onto a pastebin please.
_________________
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
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1165
Location: /run/user/1000

PostPosted: Mon Feb 11, 2019 4:37 pm    Post subject: Reply with quote

Thanks for the information, I'll try your suggestion, there are a lot of options to try.

In the meantime here's the output of alsa-info.sh
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Feb 11, 2019 5:22 pm    Post subject: Reply with quote

kajzer,

I wonder if Front Speakers and headphones are swapped?

Code:
Simple mixer control 'Headphone',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]

The headphones are muted.

snd-hda-intel is not listed as a module. To fiddle with module parameters, you must pass them on the kernel command line. That's a reboot. You can't always unload a module anyway.
Code:
!!All Loaded Modules
!!------------------

Module
amdgpu
chash
gpu_sched
ttm
vboxdrv

_________________
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
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1165
Location: /run/user/1000

PostPosted: Mon Feb 11, 2019 5:53 pm    Post subject: Reply with quote

It was Loopback Mixing setting actually, in alsamixer, that did the trick.
I changed it from enabled to disabled.
Can't believe it :)

snd-hda-intel was built into the kernel btw

Thanks a lot NeddySeagoon!
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