Bug 209281
Summary: | AE-7 ALSA no 5.1 sound, 2.0 buggy | ||
---|---|---|---|
Product: | Drivers | Reporter: | bednarczyk.pawel |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | NEW --- | ||
Severity: | normal | CC: | Conmanx360, tiwai |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.9.0-rc5-next-20200915-1-next-git | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
bednarczyk.pawel
2020-09-15 18:55:48 UTC
The speaker-test issue is because your kernel config. Set CONFIG_SND_HDA_PREALLOC_SIZE to be non-zero, e.g. 2048. Zero means unlimited, so speaker-test tries to allocate too much memory. Within alsamixer, do you have the `Surround Channel Config` option set to 5.1? Also, make sure the `Output Select` control is set to Speaker, and `HP/Speaker Auto-detect` is unset. Hi, Thanks for looking into this. I have since updated the config to now say CONFIG_SND_HDA_PREALLOC_SIZE=4096b. Connor, I have Surround Channel Config set to 5.1 indeed. Output Select is set up to speaker and HP/Speaker auto detect is set to 'MM' (off) However, after I restart my PC the settings get reset to: Surround Channel Config - 2.0 Output Select: Speakers HP/Speaker auto detect (OFF) If I select the 5.1 profile in pulse audio, the system immediately switches to another sound card completely and as a result there is no sound at all. I can only select these profiles: Analog Stereo Output Analog Stereo Duplex and I do hear sound. Sometimes it abruptly stops though - no idea why - and I need to kill pulse audio or re-select the Stereo output profile. aplay -L does list a 5.1 profile, though! surround51:CARD=Creative,DEV=0 HDA Creative, CA0132 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers I am using the latest linux-next-git on Arch linux and have a 5.1 system (logitech z906) Ignoring pulse for a moment, what happens if you kill Pulse, and do: `speaker-test -c6 -Dsurround51:CARD=Creative,DEV=0` ? Make sure the surround channels are unmuted in alsamixer, and that the surround config etc is set to 5.1. Also, might help to make sure the `Enable OutFX` control is disabled as well. Hi Connor,
Running this command after killing Pulse and with the alsamixer config as described, I get the following:
> $ speaker-test -c6 -Dsurround51:CARD=Creative,DEV=0
speaker-test 1.2.4
Playback device is surround51:CARD=Creative,DEV=0
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 349504
Period size range from 32 to 174752
Using max buffer size 349504
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument
The below produces the same error:
speaker-test -c2 -Dfront:CARD=Creative,DEV=0
speaker-test 1.2.4
Playback device is front:CARD=Creative,DEV=0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument
Thanks for your time.
Also note, using the integrated sound card, the following commands work OK (after killing pulse): speaker-test -c2 -Dsurround51:CARD=Generic,DEV=0 speaker-test -c6 -Dsurround51:CARD=Generic,DEV=0 Could you give me the output from the alsa-info script found here? https://www.alsa-project.org/wiki/Help_To_Debug_Intel_HDA I'm not sure, but it sounds like the card doesn't support certain modes for some reason. I don't have an AE-7 on hand to test with, but the user that sent me the dumps and tested the driver had surround working seemingly without issues. Without more info, don't really have any ideas.. Hi Connor, Thanks again. See: https://alsa-project.org/db/?f=48b5e569b260157736b6bbc877503572d51209e3 |