User talk:ClemensLadisch

From AlsaProject
Revision as of 22:01, 10 December 2007 by Marcus.arminius (Talk | contribs)

Jump to: navigation, search
Hello Clemens,
First of all, many thanks for your great job with the DD for CMI8788.
I performed some tests with your last bete-version of it and would like to send you a short report:

Test environment:

CMI8788 card: Bgears b-Enspirer connected over a TOS-link on DD 5.1 receiver.
OS: Debian Leny (testing)
Kernel: self built on base of 2.6.23 (from distribution), configured without ALSA

ALSA (user land) from Debian distribution:
alsa-base 1.0.15-2
alsa-utils 1.0.15-1

ALSA driver: your beta code "alsa-driver-20071129.tar" (./configure (no params), make, make install)
I took also your CMI8788.conf and aliases.conf into /usr/share/alsa/cards

In all tests, NO surround, but only stereo sound was working, i.e only "Front Left" and "Front Right" were working ;-(
Test with (plug:)surround51 and 6 channels failed. 
Please have a look at printouts below.

I am not really an ALSA-expert, so sorry if the half-successful results came through any missing configurations.

Please let me know if you need more information or have any suggestions.
I would perform additional tests with pleasure, thus please let me know if any additional tests would be useful.

Best regards,
Tomasz
 
1. Test
debHTPC:~# speaker-test -Dplug:iec958 -c6 -tpink

speaker-test 1.0.15

Playback device is plug:iec958
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 32768
Period size range from 32 to 16384
Using max buffer size 32768
Periods = 4
was set period_size = 8192
was set buffer_size = 32768
 0 - Front Left
 4 - Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE

2. Test (failed)
debHTPC:~# speaker-test -Dsurround51 -c6 -tpink

speaker-test 1.0.15

Playback device is surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 32 to 43688
Period size range from 16 to 21840
Using max buffer size 43688
Periods = 4
was set period_size = 0
was set buffer_size = 43688
Unable to set sw params for playback: Invalid argument
Setting of swparams failed: Invalid argument

3. Test (failed)
debHTPC:~# speaker-test -Dplug:surround51 -c6 -tpink

speaker-test 1.0.15

Playback device is plug:surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 32 to 43688
Period size range from 16 to 21840
Using max buffer size 43688
Periods = 4
was set period_size = 0
was set buffer_size = 43688
Unable to set sw params for playback: Invalid argument
Setting of swparams failed: Invalid argument

4. Test
debHTPC:~# speaker-test -Dplug:iec958 -c6 -tpink

speaker-test 1.0.15

Playback device is plug:iec958
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 32768
Period size range from 32 to 16384
Using max buffer size 32768
Periods = 4
was set period_size = 8192
was set buffer_size = 32768
 0 - Front Left
 4 - Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE

5. Test
debHTPC:~# speaker-test -Dplug:surround71 -c8 -tpink

speaker-test 1.0.15

Playback device is plug:surround71
Stream parameters are 48000Hz, S16_LE, 8 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 32768
Period size range from 8 to 16384
Using max buffer size 32768
Periods = 4
was set period_size = 8192
was set buffer_size = 32768
 0 - Front Left
 4 - Center
 1 - Front Right
 7 - Side Right
 3 - Rear Right
 2 - Rear Left
 6 - Side Left
 5 - LFE

6. Test
debHTPC:~# speaker-test -Dplug:iec958 -c8 -tpink

speaker-test 1.0.15

Playback device is plug:iec958
Stream parameters are 48000Hz, S16_LE, 8 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 32768
Period size range from 32 to 16384
Using max buffer size 32768
Periods = 4
was set period_size = 8192
was set buffer_size = 32768
 0 - Front Left
 4 - Center
 1 - Front Right
 7 - Side Right
 3 - Rear Right
 2 - Rear Left
 6 - Side Left

Feedback concerning the cmi8788 beta driver published 2008-11-29


Hello Clemens,

you are my hero! Great big thanks for this driver. Here is my feedback about what's already working and where problems are:

System:
- Soundcard: Auzentech X-Meridian (aka "my little queen")
- distro: Sidux 64 Bit (based on Debian Sid with rolling releases)
- Kernel: 2.6.23.9-slh64-smp-16
- KDE 3.5.8
- connected device: 7.1 sound system via analoge output

Driver has been installed the following way:
- unpacked your archive
- ./configure
- make
- make install
- modprobe snd-oxygen
- modprobe snd-virtuoso
- replaced cmi8788.conf and aliases.conf

Working:
- All 8 channels produce the test signal with the"speaker-test"-command
- stereo output via the front channels is perfect
- upmix of the stereo signal (via alsamixer or kmix) to side and rear speakers works
- volume control for all speakers via kmix works
- DVDs with 5.1 content works fine

Problems:
- alsamixer shows no volume control for all speakers (it shows four pcm controls: the controls for front and rear and two other single channels)
- alsamixer shows no volume control for side speakers
- alsamixer doesn't tell you what the different volume controls (PCMs) are for
- kmix shows no volume controls at all except the volume control for all speakers (and  three input controls)
- if I change the volume for all speakers via kmix, the settings for the individual channels at alsamixer change as well. Therefore it is not possible to calibrate the individual channels without losing the settings when turning the volume for all speakers to max or min.
- activating dmix in .asoundrc produced an error at the activation of the KDE sound system
- no option to create a LFE signal out of a stereo signal
- no option to filter the signal of the LFE for a special frequency / no option to filter the signals of the 7 other channels in case they are only linked to small speakers

About the last two points I don't know whether they are hardware based and therefore a part of a functioning driver. I've already read the how-to in the wiki about the LFE filter via .asoundrc. If I used exactly the .asoundrc mentioned there, half of the time the filter worked, half of the time my audio player (I used amarok and alsaplayer) told me, that the device is already in use. 

I hope that there is something helpful for you in and not only problems dependent on mistakes I made.
If I can help you testing some function of the driver, tell me. 

Thanks again for your effort,

Markus Herrmann

Custom Search
Personal tools
Namespaces

Variants
Actions
Navigation
wiki
Toolbox