  <?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.alsa-project.org/main/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kpaden</id>
	<title>AlsaProject - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.alsa-project.org/main/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kpaden"/>
	<link rel="alternate" type="text/html" href="https://www.alsa-project.org/wiki/Special:Contributions/Kpaden"/>
	<updated>2026-04-09T09:02:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.0</generator>
	<entry>
		<id>https://www.alsa-project.org/main/index.php?title=User_talk:ClemensLadisch&amp;diff=1734</id>
		<title>User talk:ClemensLadisch</title>
		<link rel="alternate" type="text/html" href="https://www.alsa-project.org/main/index.php?title=User_talk:ClemensLadisch&amp;diff=1734"/>
		<updated>2008-10-22T00:43:55Z</updated>

		<summary type="html">&lt;p&gt;Kpaden: /* Feedback concerning syncing audio and video */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==CMI8788 - Bgears b-Enspirer: test report, No surround over Tos-Link==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
First of all, many thanks for your great job with the DD for CMI8788.&lt;br /&gt;
I performed some tests with your last bete-version of it and would like to send you a short report:&lt;br /&gt;
&lt;br /&gt;
Test environment:&lt;br /&gt;
&lt;br /&gt;
CMI8788 card: Bgears b-Enspirer connected over a TOS-link on DD 5.1 receiver.&lt;br /&gt;
OS: Debian Leny (testing)&lt;br /&gt;
Kernel: self built on base of 2.6.23 (from distribution), configured without ALSA&lt;br /&gt;
&lt;br /&gt;
ALSA (user land) from Debian distribution:&lt;br /&gt;
alsa-base 1.0.15-2&lt;br /&gt;
alsa-utils 1.0.15-1&lt;br /&gt;
&lt;br /&gt;
ALSA driver: your beta code &amp;quot;alsa-driver-20071129.tar&amp;quot; (./configure (no params), make, make install)&lt;br /&gt;
I took also your CMI8788.conf and aliases.conf into /usr/share/alsa/cards&lt;br /&gt;
&lt;br /&gt;
In all tests, NO surround, but only stereo sound was working, i.e only &amp;quot;Front Left&amp;quot; and &amp;quot;Front Right&amp;quot; were working ;-(&lt;br /&gt;
Test with (plug:)surround51 and 6 channels failed. &lt;br /&gt;
Please have a look at printouts below.&lt;br /&gt;
&lt;br /&gt;
I am not really an ALSA-expert, so sorry if the half-successful results came through any missing configurations.&lt;br /&gt;
&lt;br /&gt;
Please let me know if you need more information or have any suggestions.&lt;br /&gt;
I would perform additional tests with pleasure, thus please let me know if any additional tests would be useful.&lt;br /&gt;
&lt;br /&gt;
Best regards,&lt;br /&gt;
Tomasz&lt;br /&gt;
 &lt;br /&gt;
1. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:iec958 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:iec958&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 64 to 32768&lt;br /&gt;
Period size range from 32 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 5 - LFE&lt;br /&gt;
&lt;br /&gt;
2. Test (failed)&lt;br /&gt;
debHTPC:~# speaker-test -Dsurround51 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is surround51&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 32 to 43688&lt;br /&gt;
Period size range from 16 to 21840&lt;br /&gt;
Using max buffer size 43688&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 0&lt;br /&gt;
was set buffer_size = 43688&lt;br /&gt;
Unable to set sw params for playback: Invalid argument&lt;br /&gt;
Setting of swparams failed: Invalid argument&lt;br /&gt;
&lt;br /&gt;
3. Test (failed)&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:surround51 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:surround51&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 32 to 43688&lt;br /&gt;
Period size range from 16 to 21840&lt;br /&gt;
Using max buffer size 43688&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 0&lt;br /&gt;
was set buffer_size = 43688&lt;br /&gt;
Unable to set sw params for playback: Invalid argument&lt;br /&gt;
Setting of swparams failed: Invalid argument&lt;br /&gt;
&lt;br /&gt;
4. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:iec958 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:iec958&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 64 to 32768&lt;br /&gt;
Period size range from 32 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 5 - LFE&lt;br /&gt;
&lt;br /&gt;
5. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:surround71 -c8 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:surround71&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 8 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 16 to 32768&lt;br /&gt;
Period size range from 8 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 7 - Side Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 6 - Side Left&lt;br /&gt;
 5 - LFE&lt;br /&gt;
&lt;br /&gt;
6. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:iec958 -c8 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:iec958&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 8 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 64 to 32768&lt;br /&gt;
Period size range from 32 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 7 - Side Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 6 - Side Left&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To play more than two channels through the SPDIF port, the data has to be compressed with a codec like Dolby Digital or DTS.&lt;br /&gt;
&lt;br /&gt;
The Windows driver comes with software encoders, but those do not run under Linux because Dolby Labs and DTS Inc. do no allow their code to be made Open Source.&lt;br /&gt;
&lt;br /&gt;
You'd need the [[a52 plugin]] to do Dolby Digital encoding.&lt;br /&gt;
&lt;br /&gt;
Clemens&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 beta driver published 2007-11-29 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
you are my hero! Great big thanks for this driver. Here is my feedback about what's already working and where problems are:&lt;br /&gt;
&lt;br /&gt;
System:&lt;br /&gt;
- Soundcard: Auzentech X-Meridian (aka &amp;quot;my little queen&amp;quot;)&lt;br /&gt;
- distro: Sidux 64 Bit (based on Debian Sid with rolling releases)&lt;br /&gt;
- Kernel: 2.6.23.9-slh64-smp-16&lt;br /&gt;
- KDE 3.5.8&lt;br /&gt;
- connected device: 7.1 sound system via analoge output&lt;br /&gt;
&lt;br /&gt;
Driver has been installed the following way:&lt;br /&gt;
- unpacked your archive&lt;br /&gt;
- ./configure&lt;br /&gt;
- make&lt;br /&gt;
- make install&lt;br /&gt;
- modprobe snd-oxygen&lt;br /&gt;
- modprobe snd-virtuoso&lt;br /&gt;
- replaced cmi8788.conf and aliases.conf&lt;br /&gt;
&lt;br /&gt;
Working:&lt;br /&gt;
- All 8 channels produce the test signal with the&amp;quot;speaker-test&amp;quot;-command&lt;br /&gt;
- stereo output via the front channels is perfect&lt;br /&gt;
- upmix of the stereo signal (via alsamixer or kmix) to side and rear speakers works&lt;br /&gt;
- volume control for all speakers via kmix works&lt;br /&gt;
- DVDs with 5.1 content works fine&lt;br /&gt;
&lt;br /&gt;
Problems:&lt;br /&gt;
- alsamixer shows no volume control for all speakers (it shows four pcm controls: the controls for front and rear and two &lt;br /&gt;
other single channels)&lt;br /&gt;
- alsamixer shows no volume control for side speakers&lt;br /&gt;
- alsamixer doesn't tell you what the different volume controls (PCMs) are for&lt;br /&gt;
- kmix shows no volume controls at all except the volume control for all speakers (and  three input controls)&lt;br /&gt;
- if I change the volume for all speakers via kmix, the settings for the individual channels at alsamixer change as well. &lt;br /&gt;
Therefore it is not possible to calibrate the individual channels without losing the settings when turning the volume for &lt;br /&gt;
all speakers to max or min.&lt;br /&gt;
- activating dmix in .asoundrc produced an error at the activation of the KDE sound system&lt;br /&gt;
- no option to create a LFE signal out of a stereo signal&lt;br /&gt;
- no option to filter the signal of the LFE for a special frequency / no option to filter the signals of the 7 other channels &lt;br /&gt;
in case they are only linked to small speakers&lt;br /&gt;
&lt;br /&gt;
About the last two points I don't know whether they are hardware based and therefore a part of a functioning driver. I've &lt;br /&gt;
already read the how-to in the wiki about the LFE filter via .asoundrc. If I used exactly the .asoundrc mentioned there, &lt;br /&gt;
half of the time the filter worked, half of the time my audio player (I used amarok and alsaplayer) told me, that the device &lt;br /&gt;
is already in use. &lt;br /&gt;
&lt;br /&gt;
I hope that there is something helpful for you in and not only problems dependent on mistakes I made.&lt;br /&gt;
If I can help you testing some function of the driver, tell me. &lt;br /&gt;
&lt;br /&gt;
Thanks again for your effort,&lt;br /&gt;
&lt;br /&gt;
Markus Herrmann&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The alsamixer in alsa-utils-1.0.16rc1 now supports 8-channel controls. I don't know anything about kmix.&lt;br /&gt;
&lt;br /&gt;
dmix is enabled by default if you are using the CMI8788.conf file (or if you have installed alsa-lib-1.0.16rc1),&lt;br /&gt;
you should not need an .asoundrc at all.&lt;br /&gt;
&lt;br /&gt;
Mixing stereo channels to a LFE channel or LFE filtering are not supported by the hardware.&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 beta driver published 2008-01-17 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
Thanks again for your further efforts!&lt;br /&gt;
&lt;br /&gt;
Here is my feedback:&lt;br /&gt;
&lt;br /&gt;
Installation was pretty the same as the last time. Only difference is that the system is now 32 Bit, the Kernel 2.6.23.12-slh-smp-2.&lt;br /&gt;
&lt;br /&gt;
Problems are all nearly the same, except that all four volume changers at alsamixer are now called &amp;quot;Master&amp;quot;. But this might be because&lt;br /&gt;
I couldn't use the &lt;br /&gt;
./configure&lt;br /&gt;
command to start compiling the alsamixer you put for download. It demanded the libasound, but my distribution uses libasound2.&lt;br /&gt;
&lt;br /&gt;
If I could do any further testing, don't hesitate telling me.&lt;br /&gt;
&lt;br /&gt;
Thanks again,&lt;br /&gt;
&lt;br /&gt;
  Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The volume control is called &amp;quot;Master&amp;quot; because I renamed it.&lt;br /&gt;
&lt;br /&gt;
Clemens&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 driver in ALSA 1.0.16 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
and again thanks a lot for your further efforts!&lt;br /&gt;
&lt;br /&gt;
Because of some technical problems I couldn't test your driver for a long time. Some problems I still have. Therefore I won't be able&lt;br /&gt;
to test analogue recording at the moment. But I hope that I can do the testing and give you feedback in one or two weeks.&lt;br /&gt;
Nevertheless, I could already test playback. Nearly all problems are gone. But I see still one difficulty.&lt;br /&gt;
&lt;br /&gt;
The data of my system ist pretty the same as the last time. The only differences are that the Kernel is now 2.6.24. The ALSA driver is&lt;br /&gt;
1.0.16. alsa-utils is 1.0.16-1. &lt;br /&gt;
&lt;br /&gt;
The Problem is that there are three volume changer in Alsamixer called &amp;quot;Master&amp;quot; (beside some others). One for front (which is the only &lt;br /&gt;
one with a mute option), one for surround and one for back. All three are working perfectly. &lt;br /&gt;
But there is no volume changer for playback in general. Therefore it is impossible to change the volume of all the channels at once. &lt;br /&gt;
You have to change the volume for every single channel in order to mute all the speakers which is quite laborious. All the other ALSA &lt;br /&gt;
drivers I've already used had a master volume changer which could change the volume for all channels without changing the settings of &lt;br /&gt;
the individual channels. (This was the main volume changer which could be linked to the main volume changer of the desktop environment (e.g.&lt;br /&gt;
Kmix).)&lt;br /&gt;
&lt;br /&gt;
So much until now. As I said I will post some feedback here concerning the analogue recording within the next weeks.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
&lt;br /&gt;
  Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the three testing drivers for analog recording ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
unlike I said in my last testing of the 1.0.16 driver yesterday I could test your testing drivers much faster. Here is my feedback:&lt;br /&gt;
&lt;br /&gt;
Analog recording only worked at my system with the test1 driver (I only tested recording with a Mic). There it was also not possible &lt;br /&gt;
to activate line in and mic at once(which was possible with the other two drivers (test2 and test 3) that didn't allow analog recording).&lt;br /&gt;
&lt;br /&gt;
Apart from this there is some other oddities with Kmix: At all the other ALSA drivers I've already used there was a counterpart in &lt;br /&gt;
Kmix for every volume changer in alsamixer. If you changed them at Kmix they were automatically changed in alsamixer and vice versa.&lt;br /&gt;
With your driver there are only counterparts in the recording section. Bud oddly a change of these don't change the volume changers&lt;br /&gt;
in Kmix. The changers in Kmix are totally useless. Quite interesting it becomes in the playback section. Here there is only one&lt;br /&gt;
counterpart in Kmix for the front channels. But unlike the volume changers in the recording section this one is linked to its&lt;br /&gt;
counterpart in alsamixer and works fine.&lt;br /&gt;
&lt;br /&gt;
Apart from my suggestion yesterday to include a general volume changer for playback I suggest to rename most of the volume changers&lt;br /&gt;
for playback. At the moment all are called &amp;quot;Master&amp;quot;. Therefor you have to change by trial and error in order to know which one is &lt;br /&gt;
for which function.&lt;br /&gt;
&lt;br /&gt;
So far for today. I hope I could help you a bit. Great many thanks for all your efforts.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
&lt;br /&gt;
  Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Edit:&lt;br /&gt;
&lt;br /&gt;
I think I know why there ist only the volume changer for the front channels visible in Kmix: Because all playback volume changers have&lt;br /&gt;
the same name and therefore Kmix can't deal with them (and the volume changers for recording are all visible, because they have all &lt;br /&gt;
different names). Yesterday I tested a live CD of Kubuntu 8.04 Beta. This uses older ALSA code. There the volume changer for rear&lt;br /&gt;
channels was called PCM (all the others werde named Master). And there it happened: Two volume changer were in Kmix visible: The first&lt;br /&gt;
one called Master for the two front channels and the one called PCM. All the other ones called Master were invisible.&lt;br /&gt;
So this seems to be the solution why there is only one volume changer in the playback section. Unsolved remains the problem why the &lt;br /&gt;
volume changers for recording in alsamixer are not linked to the ones in Kmix.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Master&amp;quot; control is one control with eight channels.&lt;br /&gt;
How this is handled depends on the application; Kmix doesn't seem to be too smart.&lt;br /&gt;
&lt;br /&gt;
Alsamixer doesn't display the names of the channels (front/surround/center/LFE/rear); this should be changed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 driver released 2008-3-31 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
great big thanks for your still continuing effort. I tested the new driver under the same circumstances as the last time. &lt;br /&gt;
Analog recording works fine now. Thanks again! &lt;br /&gt;
Strangely the Analog and the Digital Input Monitors are now in alsamixerin in the playback section AS WELL AS in the capture &lt;br /&gt;
section visible.&lt;br /&gt;
&lt;br /&gt;
It doesn't concern me any longer because I sold my 7.1 system and went for stereo sound, but for the quality of the driver &lt;br /&gt;
I still suggest to include a single general volume changer for all playback channels in addition to the individual changers. &lt;br /&gt;
Otherwise you have to mute all 5 volume changers by hand, if you want to mute the entire playback.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
&lt;br /&gt;
   Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a single mute control that affect all eight channels.&lt;br /&gt;
&lt;br /&gt;
== Xonar D2X SPDIF volume ==&lt;br /&gt;
&lt;br /&gt;
Hi, just got a Xonar D2X and testing under linux OK except a big volume difference between analog and digital for basic playing, seems there's no digital volume setting...&lt;br /&gt;
:Digital outputs usually have no volume control because then the signal would no longer be bit-exact, and it would slightly reduce the quality.&lt;br /&gt;
:Volume control should be done by the digital-to-analog converter.&lt;br /&gt;
&lt;br /&gt;
More like a wishlist feature, hardware A52/DTS encoding doesn't seem to be handled, xine with 5.1 analog output on digital output is only seen as stereo for front digital output (Logitech Z 5500).&lt;br /&gt;
:There is no hardware A52/DTS encoding. The Windows driver does this in software.&lt;br /&gt;
:For Dolby encoding, you could try the [[A52 plugin]]. AFAIK there is no DTS encoder for Linux.&lt;br /&gt;
&lt;br /&gt;
[[User:Gonioul|Gonioul]] 23:50, 29 April 2008 (CEST)&lt;br /&gt;
:[[User:ClemensLadisch|ClemensLadisch]] 09:14, 30 April 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
::Ok, other drivers I used (sblive, intel-hda) had an digital level, I don't know how it worked, but I known virtuoso digital output level is way too loud (1/20th with Z5500 is a medium level).&lt;br /&gt;
:::The AV200 chip cannot change the level of the digital output.&lt;br /&gt;
::Do you plan to implement (or did you implemented) input monitoring, like hearing line or microphone live?&lt;br /&gt;
:::I added input monitor controls six weeks ago, i.e., after 1.0.16. Try the beta driver.&lt;br /&gt;
::[[User:Gonioul|Gonioul]] 00:42, 6 May 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Xonar D2/PM Low Playback Volume ==&lt;br /&gt;
&lt;br /&gt;
Hi, Clemens. Thanks for a great job with the drivers! Just installed Xonar D2/PM (BTW, any idea what PM means?), kernel 2.6.24-5, ALSA 1.0.16. Works beautifully but I noticed that playback volume is way lower under Linux compared to Windows XP (dual-boot). Something like 15dB difference at least. I took care to disable all sound processing in ASUS Windows drivers, enabled HiFi mode and checked that SVN (normalize) button is not active but still I can hardly stand 30% master volume with 30% volume on my powered speakers since it is too loud under Windows. Under Linux I have to bump both sliders close to 100% to hear softer parts in music. What might be the cause? No controls in alsamixer have any effect on this.&lt;br /&gt;
--[[User:Bamyasi|Bamyasi]] 11:12, 30 April 2008 (CEST)&lt;br /&gt;
:Under Linux, the volume sliders offer the entire range that the hardware is capable of controlling, which is from -120 dB to 0 dB. &amp;quot;30%&amp;quot; doesn't have any fixed meaning because the range isn't the same.&lt;br /&gt;
:In practice, it doesn't make much sense to use attenuations below about -30 dB, which is 75% of the slider in Linux.&lt;br /&gt;
:I don't know what &amp;quot;PM&amp;quot; means, ask Asus. &amp;lt;tt&amp;gt;;-)&amp;lt;/tt&amp;gt;&lt;br /&gt;
:[[User:ClemensLadisch|ClemensLadisch]] 15:00, 30 April 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
You are right, of course zero level mark in Windows drivers can be anything... Still, under Linux playback at 100% master volume is not nearly as loud as it is under Windows. I suspect ASUS drivers make some use of DSP even in HiFi mode, a bit of compression maybe.&lt;br /&gt;
:The Windows driver does compression when &amp;quot;Smart Volume Normalizer&amp;quot; is enabled.&lt;br /&gt;
&lt;br /&gt;
Sorry for stupid questions but I have another one (and Google does not have the answer ;-( ). Is there any way to get a signal from line input on D2 routed and mixed into master (PCM) playback? Or does the card lack any hardware mixing capabilities at all? I don't seem to be able to hear anything from any of the card's inputs no matter what controls I tried in amixer (and Line,0 does not even have a volume capability listed).&lt;br /&gt;
--[[User:Bamyasi|Bamyasi]] 20:59, 30 April 2008 (CEST)&lt;br /&gt;
:I added input monitor controls six weeks ago, i.e., after 1.0.16. Try the beta driver.&lt;br /&gt;
:[[User:ClemensLadisch|ClemensLadisch]] 14:57, 5 May 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Version!? ==&lt;br /&gt;
&lt;br /&gt;
Is there a way to know the driver version from source? I'm using debian sid kernel (2.6.26-1) and I can't find any version in the virtuso.c file...&lt;br /&gt;
&lt;br /&gt;
[[User:Gonioul|Gonioul]] 00:00, 27 August 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
:see &amp;lt;code&amp;gt;include/sound/version.h&amp;lt;/code&amp;gt;&lt;br /&gt;
::sorry, I thought there was a specific version per driver... - [[User:Gonioul|Gonioul]] 00:02, 30 August 2008 (CEST)&lt;/div&gt;</summary>
		<author><name>Kpaden</name></author>
	</entry>
	<entry>
		<id>https://www.alsa-project.org/main/index.php?title=User_talk:ClemensLadisch&amp;diff=1733</id>
		<title>User talk:ClemensLadisch</title>
		<link rel="alternate" type="text/html" href="https://www.alsa-project.org/main/index.php?title=User_talk:ClemensLadisch&amp;diff=1733"/>
		<updated>2008-10-22T00:42:28Z</updated>

		<summary type="html">&lt;p&gt;Kpaden: /* Feedback concerning syncing audio and video */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==CMI8788 - Bgears b-Enspirer: test report, No surround over Tos-Link==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
First of all, many thanks for your great job with the DD for CMI8788.&lt;br /&gt;
I performed some tests with your last bete-version of it and would like to send you a short report:&lt;br /&gt;
&lt;br /&gt;
Test environment:&lt;br /&gt;
&lt;br /&gt;
CMI8788 card: Bgears b-Enspirer connected over a TOS-link on DD 5.1 receiver.&lt;br /&gt;
OS: Debian Leny (testing)&lt;br /&gt;
Kernel: self built on base of 2.6.23 (from distribution), configured without ALSA&lt;br /&gt;
&lt;br /&gt;
ALSA (user land) from Debian distribution:&lt;br /&gt;
alsa-base 1.0.15-2&lt;br /&gt;
alsa-utils 1.0.15-1&lt;br /&gt;
&lt;br /&gt;
ALSA driver: your beta code &amp;quot;alsa-driver-20071129.tar&amp;quot; (./configure (no params), make, make install)&lt;br /&gt;
I took also your CMI8788.conf and aliases.conf into /usr/share/alsa/cards&lt;br /&gt;
&lt;br /&gt;
In all tests, NO surround, but only stereo sound was working, i.e only &amp;quot;Front Left&amp;quot; and &amp;quot;Front Right&amp;quot; were working ;-(&lt;br /&gt;
Test with (plug:)surround51 and 6 channels failed. &lt;br /&gt;
Please have a look at printouts below.&lt;br /&gt;
&lt;br /&gt;
I am not really an ALSA-expert, so sorry if the half-successful results came through any missing configurations.&lt;br /&gt;
&lt;br /&gt;
Please let me know if you need more information or have any suggestions.&lt;br /&gt;
I would perform additional tests with pleasure, thus please let me know if any additional tests would be useful.&lt;br /&gt;
&lt;br /&gt;
Best regards,&lt;br /&gt;
Tomasz&lt;br /&gt;
 &lt;br /&gt;
1. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:iec958 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:iec958&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 64 to 32768&lt;br /&gt;
Period size range from 32 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 5 - LFE&lt;br /&gt;
&lt;br /&gt;
2. Test (failed)&lt;br /&gt;
debHTPC:~# speaker-test -Dsurround51 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is surround51&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 32 to 43688&lt;br /&gt;
Period size range from 16 to 21840&lt;br /&gt;
Using max buffer size 43688&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 0&lt;br /&gt;
was set buffer_size = 43688&lt;br /&gt;
Unable to set sw params for playback: Invalid argument&lt;br /&gt;
Setting of swparams failed: Invalid argument&lt;br /&gt;
&lt;br /&gt;
3. Test (failed)&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:surround51 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:surround51&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 32 to 43688&lt;br /&gt;
Period size range from 16 to 21840&lt;br /&gt;
Using max buffer size 43688&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 0&lt;br /&gt;
was set buffer_size = 43688&lt;br /&gt;
Unable to set sw params for playback: Invalid argument&lt;br /&gt;
Setting of swparams failed: Invalid argument&lt;br /&gt;
&lt;br /&gt;
4. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:iec958 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:iec958&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 64 to 32768&lt;br /&gt;
Period size range from 32 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 5 - LFE&lt;br /&gt;
&lt;br /&gt;
5. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:surround71 -c8 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:surround71&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 8 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 16 to 32768&lt;br /&gt;
Period size range from 8 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 7 - Side Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 6 - Side Left&lt;br /&gt;
 5 - LFE&lt;br /&gt;
&lt;br /&gt;
6. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:iec958 -c8 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:iec958&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 8 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 64 to 32768&lt;br /&gt;
Period size range from 32 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 7 - Side Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 6 - Side Left&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To play more than two channels through the SPDIF port, the data has to be compressed with a codec like Dolby Digital or DTS.&lt;br /&gt;
&lt;br /&gt;
The Windows driver comes with software encoders, but those do not run under Linux because Dolby Labs and DTS Inc. do no allow their code to be made Open Source.&lt;br /&gt;
&lt;br /&gt;
You'd need the [[a52 plugin]] to do Dolby Digital encoding.&lt;br /&gt;
&lt;br /&gt;
Clemens&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 beta driver published 2007-11-29 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
you are my hero! Great big thanks for this driver. Here is my feedback about what's already working and where problems are:&lt;br /&gt;
&lt;br /&gt;
System:&lt;br /&gt;
- Soundcard: Auzentech X-Meridian (aka &amp;quot;my little queen&amp;quot;)&lt;br /&gt;
- distro: Sidux 64 Bit (based on Debian Sid with rolling releases)&lt;br /&gt;
- Kernel: 2.6.23.9-slh64-smp-16&lt;br /&gt;
- KDE 3.5.8&lt;br /&gt;
- connected device: 7.1 sound system via analoge output&lt;br /&gt;
&lt;br /&gt;
Driver has been installed the following way:&lt;br /&gt;
- unpacked your archive&lt;br /&gt;
- ./configure&lt;br /&gt;
- make&lt;br /&gt;
- make install&lt;br /&gt;
- modprobe snd-oxygen&lt;br /&gt;
- modprobe snd-virtuoso&lt;br /&gt;
- replaced cmi8788.conf and aliases.conf&lt;br /&gt;
&lt;br /&gt;
Working:&lt;br /&gt;
- All 8 channels produce the test signal with the&amp;quot;speaker-test&amp;quot;-command&lt;br /&gt;
- stereo output via the front channels is perfect&lt;br /&gt;
- upmix of the stereo signal (via alsamixer or kmix) to side and rear speakers works&lt;br /&gt;
- volume control for all speakers via kmix works&lt;br /&gt;
- DVDs with 5.1 content works fine&lt;br /&gt;
&lt;br /&gt;
Problems:&lt;br /&gt;
- alsamixer shows no volume control for all speakers (it shows four pcm controls: the controls for front and rear and two &lt;br /&gt;
other single channels)&lt;br /&gt;
- alsamixer shows no volume control for side speakers&lt;br /&gt;
- alsamixer doesn't tell you what the different volume controls (PCMs) are for&lt;br /&gt;
- kmix shows no volume controls at all except the volume control for all speakers (and  three input controls)&lt;br /&gt;
- if I change the volume for all speakers via kmix, the settings for the individual channels at alsamixer change as well. &lt;br /&gt;
Therefore it is not possible to calibrate the individual channels without losing the settings when turning the volume for &lt;br /&gt;
all speakers to max or min.&lt;br /&gt;
- activating dmix in .asoundrc produced an error at the activation of the KDE sound system&lt;br /&gt;
- no option to create a LFE signal out of a stereo signal&lt;br /&gt;
- no option to filter the signal of the LFE for a special frequency / no option to filter the signals of the 7 other channels &lt;br /&gt;
in case they are only linked to small speakers&lt;br /&gt;
&lt;br /&gt;
About the last two points I don't know whether they are hardware based and therefore a part of a functioning driver. I've &lt;br /&gt;
already read the how-to in the wiki about the LFE filter via .asoundrc. If I used exactly the .asoundrc mentioned there, &lt;br /&gt;
half of the time the filter worked, half of the time my audio player (I used amarok and alsaplayer) told me, that the device &lt;br /&gt;
is already in use. &lt;br /&gt;
&lt;br /&gt;
I hope that there is something helpful for you in and not only problems dependent on mistakes I made.&lt;br /&gt;
If I can help you testing some function of the driver, tell me. &lt;br /&gt;
&lt;br /&gt;
Thanks again for your effort,&lt;br /&gt;
&lt;br /&gt;
Markus Herrmann&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The alsamixer in alsa-utils-1.0.16rc1 now supports 8-channel controls. I don't know anything about kmix.&lt;br /&gt;
&lt;br /&gt;
dmix is enabled by default if you are using the CMI8788.conf file (or if you have installed alsa-lib-1.0.16rc1),&lt;br /&gt;
you should not need an .asoundrc at all.&lt;br /&gt;
&lt;br /&gt;
Mixing stereo channels to a LFE channel or LFE filtering are not supported by the hardware.&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 beta driver published 2008-01-17 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
Thanks again for your further efforts!&lt;br /&gt;
&lt;br /&gt;
Here is my feedback:&lt;br /&gt;
&lt;br /&gt;
Installation was pretty the same as the last time. Only difference is that the system is now 32 Bit, the Kernel 2.6.23.12-slh-smp-2.&lt;br /&gt;
&lt;br /&gt;
Problems are all nearly the same, except that all four volume changers at alsamixer are now called &amp;quot;Master&amp;quot;. But this might be because&lt;br /&gt;
I couldn't use the &lt;br /&gt;
./configure&lt;br /&gt;
command to start compiling the alsamixer you put for download. It demanded the libasound, but my distribution uses libasound2.&lt;br /&gt;
&lt;br /&gt;
If I could do any further testing, don't hesitate telling me.&lt;br /&gt;
&lt;br /&gt;
Thanks again,&lt;br /&gt;
&lt;br /&gt;
  Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The volume control is called &amp;quot;Master&amp;quot; because I renamed it.&lt;br /&gt;
&lt;br /&gt;
Clemens&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 driver in ALSA 1.0.16 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
and again thanks a lot for your further efforts!&lt;br /&gt;
&lt;br /&gt;
Because of some technical problems I couldn't test your driver for a long time. Some problems I still have. Therefore I won't be able&lt;br /&gt;
to test analogue recording at the moment. But I hope that I can do the testing and give you feedback in one or two weeks.&lt;br /&gt;
Nevertheless, I could already test playback. Nearly all problems are gone. But I see still one difficulty.&lt;br /&gt;
&lt;br /&gt;
The data of my system ist pretty the same as the last time. The only differences are that the Kernel is now 2.6.24. The ALSA driver is&lt;br /&gt;
1.0.16. alsa-utils is 1.0.16-1. &lt;br /&gt;
&lt;br /&gt;
The Problem is that there are three volume changer in Alsamixer called &amp;quot;Master&amp;quot; (beside some others). One for front (which is the only &lt;br /&gt;
one with a mute option), one for surround and one for back. All three are working perfectly. &lt;br /&gt;
But there is no volume changer for playback in general. Therefore it is impossible to change the volume of all the channels at once. &lt;br /&gt;
You have to change the volume for every single channel in order to mute all the speakers which is quite laborious. All the other ALSA &lt;br /&gt;
drivers I've already used had a master volume changer which could change the volume for all channels without changing the settings of &lt;br /&gt;
the individual channels. (This was the main volume changer which could be linked to the main volume changer of the desktop environment (e.g.&lt;br /&gt;
Kmix).)&lt;br /&gt;
&lt;br /&gt;
So much until now. As I said I will post some feedback here concerning the analogue recording within the next weeks.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
&lt;br /&gt;
  Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the three testing drivers for analog recording ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
unlike I said in my last testing of the 1.0.16 driver yesterday I could test your testing drivers much faster. Here is my feedback:&lt;br /&gt;
&lt;br /&gt;
Analog recording only worked at my system with the test1 driver (I only tested recording with a Mic). There it was also not possible &lt;br /&gt;
to activate line in and mic at once(which was possible with the other two drivers (test2 and test 3) that didn't allow analog recording).&lt;br /&gt;
&lt;br /&gt;
Apart from this there is some other oddities with Kmix: At all the other ALSA drivers I've already used there was a counterpart in &lt;br /&gt;
Kmix for every volume changer in alsamixer. If you changed them at Kmix they were automatically changed in alsamixer and vice versa.&lt;br /&gt;
With your driver there are only counterparts in the recording section. Bud oddly a change of these don't change the volume changers&lt;br /&gt;
in Kmix. The changers in Kmix are totally useless. Quite interesting it becomes in the playback section. Here there is only one&lt;br /&gt;
counterpart in Kmix for the front channels. But unlike the volume changers in the recording section this one is linked to its&lt;br /&gt;
counterpart in alsamixer and works fine.&lt;br /&gt;
&lt;br /&gt;
Apart from my suggestion yesterday to include a general volume changer for playback I suggest to rename most of the volume changers&lt;br /&gt;
for playback. At the moment all are called &amp;quot;Master&amp;quot;. Therefor you have to change by trial and error in order to know which one is &lt;br /&gt;
for which function.&lt;br /&gt;
&lt;br /&gt;
So far for today. I hope I could help you a bit. Great many thanks for all your efforts.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
&lt;br /&gt;
  Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Edit:&lt;br /&gt;
&lt;br /&gt;
I think I know why there ist only the volume changer for the front channels visible in Kmix: Because all playback volume changers have&lt;br /&gt;
the same name and therefore Kmix can't deal with them (and the volume changers for recording are all visible, because they have all &lt;br /&gt;
different names). Yesterday I tested a live CD of Kubuntu 8.04 Beta. This uses older ALSA code. There the volume changer for rear&lt;br /&gt;
channels was called PCM (all the others werde named Master). And there it happened: Two volume changer were in Kmix visible: The first&lt;br /&gt;
one called Master for the two front channels and the one called PCM. All the other ones called Master were invisible.&lt;br /&gt;
So this seems to be the solution why there is only one volume changer in the playback section. Unsolved remains the problem why the &lt;br /&gt;
volume changers for recording in alsamixer are not linked to the ones in Kmix.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Master&amp;quot; control is one control with eight channels.&lt;br /&gt;
How this is handled depends on the application; Kmix doesn't seem to be too smart.&lt;br /&gt;
&lt;br /&gt;
Alsamixer doesn't display the names of the channels (front/surround/center/LFE/rear); this should be changed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 driver released 2008-3-31 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
great big thanks for your still continuing effort. I tested the new driver under the same circumstances as the last time. &lt;br /&gt;
Analog recording works fine now. Thanks again! &lt;br /&gt;
Strangely the Analog and the Digital Input Monitors are now in alsamixerin in the playback section AS WELL AS in the capture &lt;br /&gt;
section visible.&lt;br /&gt;
&lt;br /&gt;
It doesn't concern me any longer because I sold my 7.1 system and went for stereo sound, but for the quality of the driver &lt;br /&gt;
I still suggest to include a single general volume changer for all playback channels in addition to the individual changers. &lt;br /&gt;
Otherwise you have to mute all 5 volume changers by hand, if you want to mute the entire playback.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
&lt;br /&gt;
   Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a single mute control that affect all eight channels.&lt;br /&gt;
&lt;br /&gt;
== Xonar D2X SPDIF volume ==&lt;br /&gt;
&lt;br /&gt;
Hi, just got a Xonar D2X and testing under linux OK except a big volume difference between analog and digital for basic playing, seems there's no digital volume setting...&lt;br /&gt;
:Digital outputs usually have no volume control because then the signal would no longer be bit-exact, and it would slightly reduce the quality.&lt;br /&gt;
:Volume control should be done by the digital-to-analog converter.&lt;br /&gt;
&lt;br /&gt;
More like a wishlist feature, hardware A52/DTS encoding doesn't seem to be handled, xine with 5.1 analog output on digital output is only seen as stereo for front digital output (Logitech Z 5500).&lt;br /&gt;
:There is no hardware A52/DTS encoding. The Windows driver does this in software.&lt;br /&gt;
:For Dolby encoding, you could try the [[A52 plugin]]. AFAIK there is no DTS encoder for Linux.&lt;br /&gt;
&lt;br /&gt;
[[User:Gonioul|Gonioul]] 23:50, 29 April 2008 (CEST)&lt;br /&gt;
:[[User:ClemensLadisch|ClemensLadisch]] 09:14, 30 April 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
::Ok, other drivers I used (sblive, intel-hda) had an digital level, I don't know how it worked, but I known virtuoso digital output level is way too loud (1/20th with Z5500 is a medium level).&lt;br /&gt;
:::The AV200 chip cannot change the level of the digital output.&lt;br /&gt;
::Do you plan to implement (or did you implemented) input monitoring, like hearing line or microphone live?&lt;br /&gt;
:::I added input monitor controls six weeks ago, i.e., after 1.0.16. Try the beta driver.&lt;br /&gt;
::[[User:Gonioul|Gonioul]] 00:42, 6 May 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Xonar D2/PM Low Playback Volume ==&lt;br /&gt;
&lt;br /&gt;
Hi, Clemens. Thanks for a great job with the drivers! Just installed Xonar D2/PM (BTW, any idea what PM means?), kernel 2.6.24-5, ALSA 1.0.16. Works beautifully but I noticed that playback volume is way lower under Linux compared to Windows XP (dual-boot). Something like 15dB difference at least. I took care to disable all sound processing in ASUS Windows drivers, enabled HiFi mode and checked that SVN (normalize) button is not active but still I can hardly stand 30% master volume with 30% volume on my powered speakers since it is too loud under Windows. Under Linux I have to bump both sliders close to 100% to hear softer parts in music. What might be the cause? No controls in alsamixer have any effect on this.&lt;br /&gt;
--[[User:Bamyasi|Bamyasi]] 11:12, 30 April 2008 (CEST)&lt;br /&gt;
:Under Linux, the volume sliders offer the entire range that the hardware is capable of controlling, which is from -120 dB to 0 dB. &amp;quot;30%&amp;quot; doesn't have any fixed meaning because the range isn't the same.&lt;br /&gt;
:In practice, it doesn't make much sense to use attenuations below about -30 dB, which is 75% of the slider in Linux.&lt;br /&gt;
:I don't know what &amp;quot;PM&amp;quot; means, ask Asus. &amp;lt;tt&amp;gt;;-)&amp;lt;/tt&amp;gt;&lt;br /&gt;
:[[User:ClemensLadisch|ClemensLadisch]] 15:00, 30 April 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
You are right, of course zero level mark in Windows drivers can be anything... Still, under Linux playback at 100% master volume is not nearly as loud as it is under Windows. I suspect ASUS drivers make some use of DSP even in HiFi mode, a bit of compression maybe.&lt;br /&gt;
:The Windows driver does compression when &amp;quot;Smart Volume Normalizer&amp;quot; is enabled.&lt;br /&gt;
&lt;br /&gt;
Sorry for stupid questions but I have another one (and Google does not have the answer ;-( ). Is there any way to get a signal from line input on D2 routed and mixed into master (PCM) playback? Or does the card lack any hardware mixing capabilities at all? I don't seem to be able to hear anything from any of the card's inputs no matter what controls I tried in amixer (and Line,0 does not even have a volume capability listed).&lt;br /&gt;
--[[User:Bamyasi|Bamyasi]] 20:59, 30 April 2008 (CEST)&lt;br /&gt;
:I added input monitor controls six weeks ago, i.e., after 1.0.16. Try the beta driver.&lt;br /&gt;
:[[User:ClemensLadisch|ClemensLadisch]] 14:57, 5 May 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Version!? ==&lt;br /&gt;
&lt;br /&gt;
Is there a way to know the driver version from source? I'm using debian sid kernel (2.6.26-1) and I can't find any version in the virtuso.c file...&lt;br /&gt;
&lt;br /&gt;
[[User:Gonioul|Gonioul]] 00:00, 27 August 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
:see &amp;lt;code&amp;gt;include/sound/version.h&amp;lt;/code&amp;gt;&lt;br /&gt;
::sorry, I thought there was a specific version per driver... - [[User:Gonioul|Gonioul]] 00:02, 30 August 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning syncing audio and video ==&lt;br /&gt;
&lt;br /&gt;
ClemensLadisch,&lt;br /&gt;
&lt;br /&gt;
Thanks for the CMI8788 DD. My system sounds GREAT playing almost everything.&lt;br /&gt;
&lt;br /&gt;
The one thing that seems to be missing is the ability to sync audio and video. I have an X-Meridian sound card.  :-D   I am using a Hauppauge HVR-1800.&lt;br /&gt;
After getting all of the right modules in place, I still had no sound. I spoke to the folks at Hauppauge. They said:  ( /dev/video0 ) is raw analog video, audio currently not supported. Instead, let the user use the SECOND video device ( /dev/video1 ) -- that is hardware mpeg2 encode audio + video program stream.” &lt;br /&gt;
&lt;br /&gt;
I said great. So I activated the MPEG2 codec for mplayer. But Mplayer kept crashing almost immediately if I ran it using &amp;quot;mplayer /dev/video1 -vo xv&amp;quot;.&lt;br /&gt;
If I ran it with  &amp;quot;mplayer /dev/video1 -vo xv -nosound&amp;quot; The video seemed to run forever. So I tried &amp;quot; mplayer /dev/video1 -vo xv -cache 16384.&amp;quot; I then had both audio AND video until the cache ran out. &lt;br /&gt;
&lt;br /&gt;
This is the output when using cache:&lt;br /&gt;
$ mplayer /dev/video1 -cache 16384 -vo xv&lt;br /&gt;
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team&lt;br /&gt;
CPU: Quad-Core AMD Opteron(tm) Processor 2350 (Family: 16, Model: 2, Stepping: 3)&lt;br /&gt;
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1&lt;br /&gt;
Compiled with runtime CPU detection.&lt;br /&gt;
115 audio &amp;amp; 237 video codecs&lt;br /&gt;
mplayer: could not connect to socket&lt;br /&gt;
mplayer: No such file or directory&lt;br /&gt;
Failed to open LIRC support. You will not be able to use your remote control.&lt;br /&gt;
&lt;br /&gt;
Playing /dev/video1.&lt;br /&gt;
Cache fill: 19.53% (3276800 bytes)   &lt;br /&gt;
MPEG-PS file format detected.&lt;br /&gt;
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  8000.0 kbps (1000.0 kbyte/s)&lt;br /&gt;
xscreensaver_disable: Could not find XScreenSaver window.&lt;br /&gt;
GNOME screensaver disabled&lt;br /&gt;
&lt;br /&gt;
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough&lt;br /&gt;
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)&lt;br /&gt;
Could not find matching colorspace - retrying with -vf scale...&lt;br /&gt;
Opening video filter: [scale]&lt;br /&gt;
The selected video_out device is incompatible with this codec.&lt;br /&gt;
Try appending the scale filter to your filter list,&lt;br /&gt;
e.g. -vf spp,scale instead of -vf spp.&lt;br /&gt;
VDecoder init failed :(&lt;br /&gt;
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b&lt;br /&gt;
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))&lt;br /&gt;
&lt;br /&gt;
Forced audio codec: mad&lt;br /&gt;
Opening audio decoder: [libmad] libmad mpeg audio decoder&lt;br /&gt;
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000-&amp;gt;192000)&lt;br /&gt;
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)&lt;br /&gt;
&lt;br /&gt;
AO: [pulse] Failed to connect to server: Connection refused&lt;br /&gt;
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)&lt;br /&gt;
Starting playback...&lt;br /&gt;
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)&lt;br /&gt;
VDec: using Planar YV12 as output csp (no 0)&lt;br /&gt;
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.&lt;br /&gt;
VO: [xv] 720x480 =&amp;gt; 720x540 Planar YV12 &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 602/602  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame&lt;br /&gt;
Cannot sync MAD frame&lt;br /&gt;
Cannot sync MAD frame:  0.000 ct: -0.078 603/603  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 604/604  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 605/605  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame:  0.000 ct: -0.078 606/606  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 607/607  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame:  0.000 ct: -0.078 608/608  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 609/609  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 610/610  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame:  0.000 ct: -0.078 611/611  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 612/612  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.026 ct: -0.080 613/613  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.059 ct: -0.084 614/614  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.093 ct: -0.087 615/615  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.126 ct: -0.090 616/616  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.160 ct: -0.094 617/617  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.193 ct: -0.097 618/618  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.226 ct: -0.100 619/619  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.260 ct: -0.104 620/620  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.293 ct: -0.107 621/621  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.326 ct: -0.110 622/622  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.360 ct: -0.114 623/623  6%  0%  0.6% 1 0 0% &lt;br /&gt;
A:  20.7 V:  21.0 A-V: -0.360 ct: -0.117 623/623  6%  0%  0.6% 1 0 0% &lt;br /&gt;
GNOME screensaver enabled&lt;br /&gt;
&lt;br /&gt;
Exiting... (End of file)&lt;br /&gt;
&lt;br /&gt;
Any additional help you can give would be greatly appreciated. &lt;br /&gt;
&lt;br /&gt;
Thanks in advance.&lt;br /&gt;
&lt;br /&gt;
####################&lt;br /&gt;
What finally worked was:&lt;br /&gt;
&lt;br /&gt;
 mplayer /dev/video1 -vo x11 -nobps&lt;br /&gt;
 &lt;br /&gt;
Does not use average byte/second value for A-V sync.  Helps with some AVI files with broken headers.&lt;/div&gt;</summary>
		<author><name>Kpaden</name></author>
	</entry>
	<entry>
		<id>https://www.alsa-project.org/main/index.php?title=User_talk:ClemensLadisch&amp;diff=1732</id>
		<title>User talk:ClemensLadisch</title>
		<link rel="alternate" type="text/html" href="https://www.alsa-project.org/main/index.php?title=User_talk:ClemensLadisch&amp;diff=1732"/>
		<updated>2008-10-21T18:04:58Z</updated>

		<summary type="html">&lt;p&gt;Kpaden: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==CMI8788 - Bgears b-Enspirer: test report, No surround over Tos-Link==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
First of all, many thanks for your great job with the DD for CMI8788.&lt;br /&gt;
I performed some tests with your last bete-version of it and would like to send you a short report:&lt;br /&gt;
&lt;br /&gt;
Test environment:&lt;br /&gt;
&lt;br /&gt;
CMI8788 card: Bgears b-Enspirer connected over a TOS-link on DD 5.1 receiver.&lt;br /&gt;
OS: Debian Leny (testing)&lt;br /&gt;
Kernel: self built on base of 2.6.23 (from distribution), configured without ALSA&lt;br /&gt;
&lt;br /&gt;
ALSA (user land) from Debian distribution:&lt;br /&gt;
alsa-base 1.0.15-2&lt;br /&gt;
alsa-utils 1.0.15-1&lt;br /&gt;
&lt;br /&gt;
ALSA driver: your beta code &amp;quot;alsa-driver-20071129.tar&amp;quot; (./configure (no params), make, make install)&lt;br /&gt;
I took also your CMI8788.conf and aliases.conf into /usr/share/alsa/cards&lt;br /&gt;
&lt;br /&gt;
In all tests, NO surround, but only stereo sound was working, i.e only &amp;quot;Front Left&amp;quot; and &amp;quot;Front Right&amp;quot; were working ;-(&lt;br /&gt;
Test with (plug:)surround51 and 6 channels failed. &lt;br /&gt;
Please have a look at printouts below.&lt;br /&gt;
&lt;br /&gt;
I am not really an ALSA-expert, so sorry if the half-successful results came through any missing configurations.&lt;br /&gt;
&lt;br /&gt;
Please let me know if you need more information or have any suggestions.&lt;br /&gt;
I would perform additional tests with pleasure, thus please let me know if any additional tests would be useful.&lt;br /&gt;
&lt;br /&gt;
Best regards,&lt;br /&gt;
Tomasz&lt;br /&gt;
 &lt;br /&gt;
1. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:iec958 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:iec958&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 64 to 32768&lt;br /&gt;
Period size range from 32 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 5 - LFE&lt;br /&gt;
&lt;br /&gt;
2. Test (failed)&lt;br /&gt;
debHTPC:~# speaker-test -Dsurround51 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is surround51&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 32 to 43688&lt;br /&gt;
Period size range from 16 to 21840&lt;br /&gt;
Using max buffer size 43688&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 0&lt;br /&gt;
was set buffer_size = 43688&lt;br /&gt;
Unable to set sw params for playback: Invalid argument&lt;br /&gt;
Setting of swparams failed: Invalid argument&lt;br /&gt;
&lt;br /&gt;
3. Test (failed)&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:surround51 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:surround51&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 32 to 43688&lt;br /&gt;
Period size range from 16 to 21840&lt;br /&gt;
Using max buffer size 43688&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 0&lt;br /&gt;
was set buffer_size = 43688&lt;br /&gt;
Unable to set sw params for playback: Invalid argument&lt;br /&gt;
Setting of swparams failed: Invalid argument&lt;br /&gt;
&lt;br /&gt;
4. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:iec958 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:iec958&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 64 to 32768&lt;br /&gt;
Period size range from 32 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 5 - LFE&lt;br /&gt;
&lt;br /&gt;
5. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:surround71 -c8 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:surround71&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 8 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 16 to 32768&lt;br /&gt;
Period size range from 8 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 7 - Side Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 6 - Side Left&lt;br /&gt;
 5 - LFE&lt;br /&gt;
&lt;br /&gt;
6. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:iec958 -c8 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:iec958&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 8 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 64 to 32768&lt;br /&gt;
Period size range from 32 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 7 - Side Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 6 - Side Left&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To play more than two channels through the SPDIF port, the data has to be compressed with a codec like Dolby Digital or DTS.&lt;br /&gt;
&lt;br /&gt;
The Windows driver comes with software encoders, but those do not run under Linux because Dolby Labs and DTS Inc. do no allow their code to be made Open Source.&lt;br /&gt;
&lt;br /&gt;
You'd need the [[a52 plugin]] to do Dolby Digital encoding.&lt;br /&gt;
&lt;br /&gt;
Clemens&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 beta driver published 2007-11-29 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
you are my hero! Great big thanks for this driver. Here is my feedback about what's already working and where problems are:&lt;br /&gt;
&lt;br /&gt;
System:&lt;br /&gt;
- Soundcard: Auzentech X-Meridian (aka &amp;quot;my little queen&amp;quot;)&lt;br /&gt;
- distro: Sidux 64 Bit (based on Debian Sid with rolling releases)&lt;br /&gt;
- Kernel: 2.6.23.9-slh64-smp-16&lt;br /&gt;
- KDE 3.5.8&lt;br /&gt;
- connected device: 7.1 sound system via analoge output&lt;br /&gt;
&lt;br /&gt;
Driver has been installed the following way:&lt;br /&gt;
- unpacked your archive&lt;br /&gt;
- ./configure&lt;br /&gt;
- make&lt;br /&gt;
- make install&lt;br /&gt;
- modprobe snd-oxygen&lt;br /&gt;
- modprobe snd-virtuoso&lt;br /&gt;
- replaced cmi8788.conf and aliases.conf&lt;br /&gt;
&lt;br /&gt;
Working:&lt;br /&gt;
- All 8 channels produce the test signal with the&amp;quot;speaker-test&amp;quot;-command&lt;br /&gt;
- stereo output via the front channels is perfect&lt;br /&gt;
- upmix of the stereo signal (via alsamixer or kmix) to side and rear speakers works&lt;br /&gt;
- volume control for all speakers via kmix works&lt;br /&gt;
- DVDs with 5.1 content works fine&lt;br /&gt;
&lt;br /&gt;
Problems:&lt;br /&gt;
- alsamixer shows no volume control for all speakers (it shows four pcm controls: the controls for front and rear and two &lt;br /&gt;
other single channels)&lt;br /&gt;
- alsamixer shows no volume control for side speakers&lt;br /&gt;
- alsamixer doesn't tell you what the different volume controls (PCMs) are for&lt;br /&gt;
- kmix shows no volume controls at all except the volume control for all speakers (and  three input controls)&lt;br /&gt;
- if I change the volume for all speakers via kmix, the settings for the individual channels at alsamixer change as well. &lt;br /&gt;
Therefore it is not possible to calibrate the individual channels without losing the settings when turning the volume for &lt;br /&gt;
all speakers to max or min.&lt;br /&gt;
- activating dmix in .asoundrc produced an error at the activation of the KDE sound system&lt;br /&gt;
- no option to create a LFE signal out of a stereo signal&lt;br /&gt;
- no option to filter the signal of the LFE for a special frequency / no option to filter the signals of the 7 other channels &lt;br /&gt;
in case they are only linked to small speakers&lt;br /&gt;
&lt;br /&gt;
About the last two points I don't know whether they are hardware based and therefore a part of a functioning driver. I've &lt;br /&gt;
already read the how-to in the wiki about the LFE filter via .asoundrc. If I used exactly the .asoundrc mentioned there, &lt;br /&gt;
half of the time the filter worked, half of the time my audio player (I used amarok and alsaplayer) told me, that the device &lt;br /&gt;
is already in use. &lt;br /&gt;
&lt;br /&gt;
I hope that there is something helpful for you in and not only problems dependent on mistakes I made.&lt;br /&gt;
If I can help you testing some function of the driver, tell me. &lt;br /&gt;
&lt;br /&gt;
Thanks again for your effort,&lt;br /&gt;
&lt;br /&gt;
Markus Herrmann&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The alsamixer in alsa-utils-1.0.16rc1 now supports 8-channel controls. I don't know anything about kmix.&lt;br /&gt;
&lt;br /&gt;
dmix is enabled by default if you are using the CMI8788.conf file (or if you have installed alsa-lib-1.0.16rc1),&lt;br /&gt;
you should not need an .asoundrc at all.&lt;br /&gt;
&lt;br /&gt;
Mixing stereo channels to a LFE channel or LFE filtering are not supported by the hardware.&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 beta driver published 2008-01-17 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
Thanks again for your further efforts!&lt;br /&gt;
&lt;br /&gt;
Here is my feedback:&lt;br /&gt;
&lt;br /&gt;
Installation was pretty the same as the last time. Only difference is that the system is now 32 Bit, the Kernel 2.6.23.12-slh-smp-2.&lt;br /&gt;
&lt;br /&gt;
Problems are all nearly the same, except that all four volume changers at alsamixer are now called &amp;quot;Master&amp;quot;. But this might be because&lt;br /&gt;
I couldn't use the &lt;br /&gt;
./configure&lt;br /&gt;
command to start compiling the alsamixer you put for download. It demanded the libasound, but my distribution uses libasound2.&lt;br /&gt;
&lt;br /&gt;
If I could do any further testing, don't hesitate telling me.&lt;br /&gt;
&lt;br /&gt;
Thanks again,&lt;br /&gt;
&lt;br /&gt;
  Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The volume control is called &amp;quot;Master&amp;quot; because I renamed it.&lt;br /&gt;
&lt;br /&gt;
Clemens&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 driver in ALSA 1.0.16 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
and again thanks a lot for your further efforts!&lt;br /&gt;
&lt;br /&gt;
Because of some technical problems I couldn't test your driver for a long time. Some problems I still have. Therefore I won't be able&lt;br /&gt;
to test analogue recording at the moment. But I hope that I can do the testing and give you feedback in one or two weeks.&lt;br /&gt;
Nevertheless, I could already test playback. Nearly all problems are gone. But I see still one difficulty.&lt;br /&gt;
&lt;br /&gt;
The data of my system ist pretty the same as the last time. The only differences are that the Kernel is now 2.6.24. The ALSA driver is&lt;br /&gt;
1.0.16. alsa-utils is 1.0.16-1. &lt;br /&gt;
&lt;br /&gt;
The Problem is that there are three volume changer in Alsamixer called &amp;quot;Master&amp;quot; (beside some others). One for front (which is the only &lt;br /&gt;
one with a mute option), one for surround and one for back. All three are working perfectly. &lt;br /&gt;
But there is no volume changer for playback in general. Therefore it is impossible to change the volume of all the channels at once. &lt;br /&gt;
You have to change the volume for every single channel in order to mute all the speakers which is quite laborious. All the other ALSA &lt;br /&gt;
drivers I've already used had a master volume changer which could change the volume for all channels without changing the settings of &lt;br /&gt;
the individual channels. (This was the main volume changer which could be linked to the main volume changer of the desktop environment (e.g.&lt;br /&gt;
Kmix).)&lt;br /&gt;
&lt;br /&gt;
So much until now. As I said I will post some feedback here concerning the analogue recording within the next weeks.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
&lt;br /&gt;
  Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the three testing drivers for analog recording ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
unlike I said in my last testing of the 1.0.16 driver yesterday I could test your testing drivers much faster. Here is my feedback:&lt;br /&gt;
&lt;br /&gt;
Analog recording only worked at my system with the test1 driver (I only tested recording with a Mic). There it was also not possible &lt;br /&gt;
to activate line in and mic at once(which was possible with the other two drivers (test2 and test 3) that didn't allow analog recording).&lt;br /&gt;
&lt;br /&gt;
Apart from this there is some other oddities with Kmix: At all the other ALSA drivers I've already used there was a counterpart in &lt;br /&gt;
Kmix for every volume changer in alsamixer. If you changed them at Kmix they were automatically changed in alsamixer and vice versa.&lt;br /&gt;
With your driver there are only counterparts in the recording section. Bud oddly a change of these don't change the volume changers&lt;br /&gt;
in Kmix. The changers in Kmix are totally useless. Quite interesting it becomes in the playback section. Here there is only one&lt;br /&gt;
counterpart in Kmix for the front channels. But unlike the volume changers in the recording section this one is linked to its&lt;br /&gt;
counterpart in alsamixer and works fine.&lt;br /&gt;
&lt;br /&gt;
Apart from my suggestion yesterday to include a general volume changer for playback I suggest to rename most of the volume changers&lt;br /&gt;
for playback. At the moment all are called &amp;quot;Master&amp;quot;. Therefor you have to change by trial and error in order to know which one is &lt;br /&gt;
for which function.&lt;br /&gt;
&lt;br /&gt;
So far for today. I hope I could help you a bit. Great many thanks for all your efforts.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
&lt;br /&gt;
  Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Edit:&lt;br /&gt;
&lt;br /&gt;
I think I know why there ist only the volume changer for the front channels visible in Kmix: Because all playback volume changers have&lt;br /&gt;
the same name and therefore Kmix can't deal with them (and the volume changers for recording are all visible, because they have all &lt;br /&gt;
different names). Yesterday I tested a live CD of Kubuntu 8.04 Beta. This uses older ALSA code. There the volume changer for rear&lt;br /&gt;
channels was called PCM (all the others werde named Master). And there it happened: Two volume changer were in Kmix visible: The first&lt;br /&gt;
one called Master for the two front channels and the one called PCM. All the other ones called Master were invisible.&lt;br /&gt;
So this seems to be the solution why there is only one volume changer in the playback section. Unsolved remains the problem why the &lt;br /&gt;
volume changers for recording in alsamixer are not linked to the ones in Kmix.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Master&amp;quot; control is one control with eight channels.&lt;br /&gt;
How this is handled depends on the application; Kmix doesn't seem to be too smart.&lt;br /&gt;
&lt;br /&gt;
Alsamixer doesn't display the names of the channels (front/surround/center/LFE/rear); this should be changed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 driver released 2008-3-31 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
great big thanks for your still continuing effort. I tested the new driver under the same circumstances as the last time. &lt;br /&gt;
Analog recording works fine now. Thanks again! &lt;br /&gt;
Strangely the Analog and the Digital Input Monitors are now in alsamixerin in the playback section AS WELL AS in the capture &lt;br /&gt;
section visible.&lt;br /&gt;
&lt;br /&gt;
It doesn't concern me any longer because I sold my 7.1 system and went for stereo sound, but for the quality of the driver &lt;br /&gt;
I still suggest to include a single general volume changer for all playback channels in addition to the individual changers. &lt;br /&gt;
Otherwise you have to mute all 5 volume changers by hand, if you want to mute the entire playback.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
&lt;br /&gt;
   Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a single mute control that affect all eight channels.&lt;br /&gt;
&lt;br /&gt;
== Xonar D2X SPDIF volume ==&lt;br /&gt;
&lt;br /&gt;
Hi, just got a Xonar D2X and testing under linux OK except a big volume difference between analog and digital for basic playing, seems there's no digital volume setting...&lt;br /&gt;
:Digital outputs usually have no volume control because then the signal would no longer be bit-exact, and it would slightly reduce the quality.&lt;br /&gt;
:Volume control should be done by the digital-to-analog converter.&lt;br /&gt;
&lt;br /&gt;
More like a wishlist feature, hardware A52/DTS encoding doesn't seem to be handled, xine with 5.1 analog output on digital output is only seen as stereo for front digital output (Logitech Z 5500).&lt;br /&gt;
:There is no hardware A52/DTS encoding. The Windows driver does this in software.&lt;br /&gt;
:For Dolby encoding, you could try the [[A52 plugin]]. AFAIK there is no DTS encoder for Linux.&lt;br /&gt;
&lt;br /&gt;
[[User:Gonioul|Gonioul]] 23:50, 29 April 2008 (CEST)&lt;br /&gt;
:[[User:ClemensLadisch|ClemensLadisch]] 09:14, 30 April 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
::Ok, other drivers I used (sblive, intel-hda) had an digital level, I don't know how it worked, but I known virtuoso digital output level is way too loud (1/20th with Z5500 is a medium level).&lt;br /&gt;
:::The AV200 chip cannot change the level of the digital output.&lt;br /&gt;
::Do you plan to implement (or did you implemented) input monitoring, like hearing line or microphone live?&lt;br /&gt;
:::I added input monitor controls six weeks ago, i.e., after 1.0.16. Try the beta driver.&lt;br /&gt;
::[[User:Gonioul|Gonioul]] 00:42, 6 May 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Xonar D2/PM Low Playback Volume ==&lt;br /&gt;
&lt;br /&gt;
Hi, Clemens. Thanks for a great job with the drivers! Just installed Xonar D2/PM (BTW, any idea what PM means?), kernel 2.6.24-5, ALSA 1.0.16. Works beautifully but I noticed that playback volume is way lower under Linux compared to Windows XP (dual-boot). Something like 15dB difference at least. I took care to disable all sound processing in ASUS Windows drivers, enabled HiFi mode and checked that SVN (normalize) button is not active but still I can hardly stand 30% master volume with 30% volume on my powered speakers since it is too loud under Windows. Under Linux I have to bump both sliders close to 100% to hear softer parts in music. What might be the cause? No controls in alsamixer have any effect on this.&lt;br /&gt;
--[[User:Bamyasi|Bamyasi]] 11:12, 30 April 2008 (CEST)&lt;br /&gt;
:Under Linux, the volume sliders offer the entire range that the hardware is capable of controlling, which is from -120 dB to 0 dB. &amp;quot;30%&amp;quot; doesn't have any fixed meaning because the range isn't the same.&lt;br /&gt;
:In practice, it doesn't make much sense to use attenuations below about -30 dB, which is 75% of the slider in Linux.&lt;br /&gt;
:I don't know what &amp;quot;PM&amp;quot; means, ask Asus. &amp;lt;tt&amp;gt;;-)&amp;lt;/tt&amp;gt;&lt;br /&gt;
:[[User:ClemensLadisch|ClemensLadisch]] 15:00, 30 April 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
You are right, of course zero level mark in Windows drivers can be anything... Still, under Linux playback at 100% master volume is not nearly as loud as it is under Windows. I suspect ASUS drivers make some use of DSP even in HiFi mode, a bit of compression maybe.&lt;br /&gt;
:The Windows driver does compression when &amp;quot;Smart Volume Normalizer&amp;quot; is enabled.&lt;br /&gt;
&lt;br /&gt;
Sorry for stupid questions but I have another one (and Google does not have the answer ;-( ). Is there any way to get a signal from line input on D2 routed and mixed into master (PCM) playback? Or does the card lack any hardware mixing capabilities at all? I don't seem to be able to hear anything from any of the card's inputs no matter what controls I tried in amixer (and Line,0 does not even have a volume capability listed).&lt;br /&gt;
--[[User:Bamyasi|Bamyasi]] 20:59, 30 April 2008 (CEST)&lt;br /&gt;
:I added input monitor controls six weeks ago, i.e., after 1.0.16. Try the beta driver.&lt;br /&gt;
:[[User:ClemensLadisch|ClemensLadisch]] 14:57, 5 May 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Version!? ==&lt;br /&gt;
&lt;br /&gt;
Is there a way to know the driver version from source? I'm using debian sid kernel (2.6.26-1) and I can't find any version in the virtuso.c file...&lt;br /&gt;
&lt;br /&gt;
[[User:Gonioul|Gonioul]] 00:00, 27 August 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
:see &amp;lt;code&amp;gt;include/sound/version.h&amp;lt;/code&amp;gt;&lt;br /&gt;
::sorry, I thought there was a specific version per driver... - [[User:Gonioul|Gonioul]] 00:02, 30 August 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning syncing audio and video ==&lt;br /&gt;
&lt;br /&gt;
ClemensLadisch,&lt;br /&gt;
&lt;br /&gt;
Thanks for the CMI8788 DD. My system sounds GREAT playing almost everything.&lt;br /&gt;
&lt;br /&gt;
The one thing that seems to be missing is the ability to sync audio and video. I have an X-Meridian sound card.  :-D   I am using a Hauppauge HVR-1800.&lt;br /&gt;
After getting all of the right modules in place, I still had no sound. I spoke to the folks at Hauppauge. They said:  ( /dev/video0 ) is raw analog video, audio currently not supported. Instead, let the user use the SECOND video device ( /dev/video1 ) -- that is hardware mpeg2 encode audio + video program stream.” &lt;br /&gt;
&lt;br /&gt;
I said great. So I activated the MPEG2 codec for mplayer. But Mplayer kept crashing almost immediately if I ran it using &amp;quot;mplayer /dev/video1 -vo xv&amp;quot;.&lt;br /&gt;
If I ran it with  &amp;quot;mplayer /dev/video1 -vo xv -nosound&amp;quot; The video seemed to run forever. So I tried &amp;quot; mplayer /dev/video1 -vo xv -cache 16384.&amp;quot; I then had both audio AND video until the cache ran out. &lt;br /&gt;
&lt;br /&gt;
This is the output when using cache:&lt;br /&gt;
$ mplayer /dev/video1 -cache 16384 -vo xv&lt;br /&gt;
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team&lt;br /&gt;
CPU: Quad-Core AMD Opteron(tm) Processor 2350 (Family: 16, Model: 2, Stepping: 3)&lt;br /&gt;
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1&lt;br /&gt;
Compiled with runtime CPU detection.&lt;br /&gt;
115 audio &amp;amp; 237 video codecs&lt;br /&gt;
mplayer: could not connect to socket&lt;br /&gt;
mplayer: No such file or directory&lt;br /&gt;
Failed to open LIRC support. You will not be able to use your remote control.&lt;br /&gt;
&lt;br /&gt;
Playing /dev/video1.&lt;br /&gt;
Cache fill: 19.53% (3276800 bytes)   &lt;br /&gt;
MPEG-PS file format detected.&lt;br /&gt;
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  8000.0 kbps (1000.0 kbyte/s)&lt;br /&gt;
xscreensaver_disable: Could not find XScreenSaver window.&lt;br /&gt;
GNOME screensaver disabled&lt;br /&gt;
&lt;br /&gt;
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough&lt;br /&gt;
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)&lt;br /&gt;
Could not find matching colorspace - retrying with -vf scale...&lt;br /&gt;
Opening video filter: [scale]&lt;br /&gt;
The selected video_out device is incompatible with this codec.&lt;br /&gt;
Try appending the scale filter to your filter list,&lt;br /&gt;
e.g. -vf spp,scale instead of -vf spp.&lt;br /&gt;
VDecoder init failed :(&lt;br /&gt;
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b&lt;br /&gt;
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))&lt;br /&gt;
&lt;br /&gt;
Forced audio codec: mad&lt;br /&gt;
Opening audio decoder: [libmad] libmad mpeg audio decoder&lt;br /&gt;
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000-&amp;gt;192000)&lt;br /&gt;
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)&lt;br /&gt;
&lt;br /&gt;
AO: [pulse] Failed to connect to server: Connection refused&lt;br /&gt;
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)&lt;br /&gt;
Starting playback...&lt;br /&gt;
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)&lt;br /&gt;
VDec: using Planar YV12 as output csp (no 0)&lt;br /&gt;
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.&lt;br /&gt;
VO: [xv] 720x480 =&amp;gt; 720x540 Planar YV12 &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 602/602  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame&lt;br /&gt;
Cannot sync MAD frame&lt;br /&gt;
Cannot sync MAD frame:  0.000 ct: -0.078 603/603  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 604/604  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 605/605  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame:  0.000 ct: -0.078 606/606  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 607/607  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame:  0.000 ct: -0.078 608/608  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 609/609  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 610/610  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame:  0.000 ct: -0.078 611/611  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 612/612  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.026 ct: -0.080 613/613  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.059 ct: -0.084 614/614  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.093 ct: -0.087 615/615  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.126 ct: -0.090 616/616  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.160 ct: -0.094 617/617  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.193 ct: -0.097 618/618  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.226 ct: -0.100 619/619  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.260 ct: -0.104 620/620  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.293 ct: -0.107 621/621  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.326 ct: -0.110 622/622  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.360 ct: -0.114 623/623  6%  0%  0.6% 1 0 0% &lt;br /&gt;
A:  20.7 V:  21.0 A-V: -0.360 ct: -0.117 623/623  6%  0%  0.6% 1 0 0% &lt;br /&gt;
GNOME screensaver enabled&lt;br /&gt;
&lt;br /&gt;
Exiting... (End of file)&lt;br /&gt;
&lt;br /&gt;
Any additional help you can give would be greatly appreciated. &lt;br /&gt;
&lt;br /&gt;
Thanks in advance.&lt;/div&gt;</summary>
		<author><name>Kpaden</name></author>
	</entry>
	<entry>
		<id>https://www.alsa-project.org/main/index.php?title=User_talk:ClemensLadisch&amp;diff=1731</id>
		<title>User talk:ClemensLadisch</title>
		<link rel="alternate" type="text/html" href="https://www.alsa-project.org/main/index.php?title=User_talk:ClemensLadisch&amp;diff=1731"/>
		<updated>2008-10-21T18:03:02Z</updated>

		<summary type="html">&lt;p&gt;Kpaden: Feedback concerning syncing audio and video&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==CMI8788 - Bgears b-Enspirer: test report, No surround over Tos-Link==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
First of all, many thanks for your great job with the DD for CMI8788.&lt;br /&gt;
I performed some tests with your last bete-version of it and would like to send you a short report:&lt;br /&gt;
&lt;br /&gt;
Test environment:&lt;br /&gt;
&lt;br /&gt;
CMI8788 card: Bgears b-Enspirer connected over a TOS-link on DD 5.1 receiver.&lt;br /&gt;
OS: Debian Leny (testing)&lt;br /&gt;
Kernel: self built on base of 2.6.23 (from distribution), configured without ALSA&lt;br /&gt;
&lt;br /&gt;
ALSA (user land) from Debian distribution:&lt;br /&gt;
alsa-base 1.0.15-2&lt;br /&gt;
alsa-utils 1.0.15-1&lt;br /&gt;
&lt;br /&gt;
ALSA driver: your beta code &amp;quot;alsa-driver-20071129.tar&amp;quot; (./configure (no params), make, make install)&lt;br /&gt;
I took also your CMI8788.conf and aliases.conf into /usr/share/alsa/cards&lt;br /&gt;
&lt;br /&gt;
In all tests, NO surround, but only stereo sound was working, i.e only &amp;quot;Front Left&amp;quot; and &amp;quot;Front Right&amp;quot; were working ;-(&lt;br /&gt;
Test with (plug:)surround51 and 6 channels failed. &lt;br /&gt;
Please have a look at printouts below.&lt;br /&gt;
&lt;br /&gt;
I am not really an ALSA-expert, so sorry if the half-successful results came through any missing configurations.&lt;br /&gt;
&lt;br /&gt;
Please let me know if you need more information or have any suggestions.&lt;br /&gt;
I would perform additional tests with pleasure, thus please let me know if any additional tests would be useful.&lt;br /&gt;
&lt;br /&gt;
Best regards,&lt;br /&gt;
Tomasz&lt;br /&gt;
 &lt;br /&gt;
1. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:iec958 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:iec958&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 64 to 32768&lt;br /&gt;
Period size range from 32 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 5 - LFE&lt;br /&gt;
&lt;br /&gt;
2. Test (failed)&lt;br /&gt;
debHTPC:~# speaker-test -Dsurround51 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is surround51&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 32 to 43688&lt;br /&gt;
Period size range from 16 to 21840&lt;br /&gt;
Using max buffer size 43688&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 0&lt;br /&gt;
was set buffer_size = 43688&lt;br /&gt;
Unable to set sw params for playback: Invalid argument&lt;br /&gt;
Setting of swparams failed: Invalid argument&lt;br /&gt;
&lt;br /&gt;
3. Test (failed)&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:surround51 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:surround51&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 32 to 43688&lt;br /&gt;
Period size range from 16 to 21840&lt;br /&gt;
Using max buffer size 43688&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 0&lt;br /&gt;
was set buffer_size = 43688&lt;br /&gt;
Unable to set sw params for playback: Invalid argument&lt;br /&gt;
Setting of swparams failed: Invalid argument&lt;br /&gt;
&lt;br /&gt;
4. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:iec958 -c6 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:iec958&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 6 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 64 to 32768&lt;br /&gt;
Period size range from 32 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 5 - LFE&lt;br /&gt;
&lt;br /&gt;
5. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:surround71 -c8 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:surround71&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 8 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 16 to 32768&lt;br /&gt;
Period size range from 8 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 7 - Side Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 6 - Side Left&lt;br /&gt;
 5 - LFE&lt;br /&gt;
&lt;br /&gt;
6. Test&lt;br /&gt;
debHTPC:~# speaker-test -Dplug:iec958 -c8 -tpink&lt;br /&gt;
&lt;br /&gt;
speaker-test 1.0.15&lt;br /&gt;
&lt;br /&gt;
Playback device is plug:iec958&lt;br /&gt;
Stream parameters are 48000Hz, S16_LE, 8 channels&lt;br /&gt;
Using 16 octaves of pink noise&lt;br /&gt;
Rate set to 48000Hz (requested 48000Hz)&lt;br /&gt;
Buffer size range from 64 to 32768&lt;br /&gt;
Period size range from 32 to 16384&lt;br /&gt;
Using max buffer size 32768&lt;br /&gt;
Periods = 4&lt;br /&gt;
was set period_size = 8192&lt;br /&gt;
was set buffer_size = 32768&lt;br /&gt;
 0 - Front Left&lt;br /&gt;
 4 - Center&lt;br /&gt;
 1 - Front Right&lt;br /&gt;
 7 - Side Right&lt;br /&gt;
 3 - Rear Right&lt;br /&gt;
 2 - Rear Left&lt;br /&gt;
 6 - Side Left&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To play more than two channels through the SPDIF port, the data has to be compressed with a codec like Dolby Digital or DTS.&lt;br /&gt;
&lt;br /&gt;
The Windows driver comes with software encoders, but those do not run under Linux because Dolby Labs and DTS Inc. do no allow their code to be made Open Source.&lt;br /&gt;
&lt;br /&gt;
You'd need the [[a52 plugin]] to do Dolby Digital encoding.&lt;br /&gt;
&lt;br /&gt;
Clemens&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 beta driver published 2007-11-29 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
you are my hero! Great big thanks for this driver. Here is my feedback about what's already working and where problems are:&lt;br /&gt;
&lt;br /&gt;
System:&lt;br /&gt;
- Soundcard: Auzentech X-Meridian (aka &amp;quot;my little queen&amp;quot;)&lt;br /&gt;
- distro: Sidux 64 Bit (based on Debian Sid with rolling releases)&lt;br /&gt;
- Kernel: 2.6.23.9-slh64-smp-16&lt;br /&gt;
- KDE 3.5.8&lt;br /&gt;
- connected device: 7.1 sound system via analoge output&lt;br /&gt;
&lt;br /&gt;
Driver has been installed the following way:&lt;br /&gt;
- unpacked your archive&lt;br /&gt;
- ./configure&lt;br /&gt;
- make&lt;br /&gt;
- make install&lt;br /&gt;
- modprobe snd-oxygen&lt;br /&gt;
- modprobe snd-virtuoso&lt;br /&gt;
- replaced cmi8788.conf and aliases.conf&lt;br /&gt;
&lt;br /&gt;
Working:&lt;br /&gt;
- All 8 channels produce the test signal with the&amp;quot;speaker-test&amp;quot;-command&lt;br /&gt;
- stereo output via the front channels is perfect&lt;br /&gt;
- upmix of the stereo signal (via alsamixer or kmix) to side and rear speakers works&lt;br /&gt;
- volume control for all speakers via kmix works&lt;br /&gt;
- DVDs with 5.1 content works fine&lt;br /&gt;
&lt;br /&gt;
Problems:&lt;br /&gt;
- alsamixer shows no volume control for all speakers (it shows four pcm controls: the controls for front and rear and two &lt;br /&gt;
other single channels)&lt;br /&gt;
- alsamixer shows no volume control for side speakers&lt;br /&gt;
- alsamixer doesn't tell you what the different volume controls (PCMs) are for&lt;br /&gt;
- kmix shows no volume controls at all except the volume control for all speakers (and  three input controls)&lt;br /&gt;
- if I change the volume for all speakers via kmix, the settings for the individual channels at alsamixer change as well. &lt;br /&gt;
Therefore it is not possible to calibrate the individual channels without losing the settings when turning the volume for &lt;br /&gt;
all speakers to max or min.&lt;br /&gt;
- activating dmix in .asoundrc produced an error at the activation of the KDE sound system&lt;br /&gt;
- no option to create a LFE signal out of a stereo signal&lt;br /&gt;
- no option to filter the signal of the LFE for a special frequency / no option to filter the signals of the 7 other channels &lt;br /&gt;
in case they are only linked to small speakers&lt;br /&gt;
&lt;br /&gt;
About the last two points I don't know whether they are hardware based and therefore a part of a functioning driver. I've &lt;br /&gt;
already read the how-to in the wiki about the LFE filter via .asoundrc. If I used exactly the .asoundrc mentioned there, &lt;br /&gt;
half of the time the filter worked, half of the time my audio player (I used amarok and alsaplayer) told me, that the device &lt;br /&gt;
is already in use. &lt;br /&gt;
&lt;br /&gt;
I hope that there is something helpful for you in and not only problems dependent on mistakes I made.&lt;br /&gt;
If I can help you testing some function of the driver, tell me. &lt;br /&gt;
&lt;br /&gt;
Thanks again for your effort,&lt;br /&gt;
&lt;br /&gt;
Markus Herrmann&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The alsamixer in alsa-utils-1.0.16rc1 now supports 8-channel controls. I don't know anything about kmix.&lt;br /&gt;
&lt;br /&gt;
dmix is enabled by default if you are using the CMI8788.conf file (or if you have installed alsa-lib-1.0.16rc1),&lt;br /&gt;
you should not need an .asoundrc at all.&lt;br /&gt;
&lt;br /&gt;
Mixing stereo channels to a LFE channel or LFE filtering are not supported by the hardware.&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 beta driver published 2008-01-17 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
Thanks again for your further efforts!&lt;br /&gt;
&lt;br /&gt;
Here is my feedback:&lt;br /&gt;
&lt;br /&gt;
Installation was pretty the same as the last time. Only difference is that the system is now 32 Bit, the Kernel 2.6.23.12-slh-smp-2.&lt;br /&gt;
&lt;br /&gt;
Problems are all nearly the same, except that all four volume changers at alsamixer are now called &amp;quot;Master&amp;quot;. But this might be because&lt;br /&gt;
I couldn't use the &lt;br /&gt;
./configure&lt;br /&gt;
command to start compiling the alsamixer you put for download. It demanded the libasound, but my distribution uses libasound2.&lt;br /&gt;
&lt;br /&gt;
If I could do any further testing, don't hesitate telling me.&lt;br /&gt;
&lt;br /&gt;
Thanks again,&lt;br /&gt;
&lt;br /&gt;
  Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The volume control is called &amp;quot;Master&amp;quot; because I renamed it.&lt;br /&gt;
&lt;br /&gt;
Clemens&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 driver in ALSA 1.0.16 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
and again thanks a lot for your further efforts!&lt;br /&gt;
&lt;br /&gt;
Because of some technical problems I couldn't test your driver for a long time. Some problems I still have. Therefore I won't be able&lt;br /&gt;
to test analogue recording at the moment. But I hope that I can do the testing and give you feedback in one or two weeks.&lt;br /&gt;
Nevertheless, I could already test playback. Nearly all problems are gone. But I see still one difficulty.&lt;br /&gt;
&lt;br /&gt;
The data of my system ist pretty the same as the last time. The only differences are that the Kernel is now 2.6.24. The ALSA driver is&lt;br /&gt;
1.0.16. alsa-utils is 1.0.16-1. &lt;br /&gt;
&lt;br /&gt;
The Problem is that there are three volume changer in Alsamixer called &amp;quot;Master&amp;quot; (beside some others). One for front (which is the only &lt;br /&gt;
one with a mute option), one for surround and one for back. All three are working perfectly. &lt;br /&gt;
But there is no volume changer for playback in general. Therefore it is impossible to change the volume of all the channels at once. &lt;br /&gt;
You have to change the volume for every single channel in order to mute all the speakers which is quite laborious. All the other ALSA &lt;br /&gt;
drivers I've already used had a master volume changer which could change the volume for all channels without changing the settings of &lt;br /&gt;
the individual channels. (This was the main volume changer which could be linked to the main volume changer of the desktop environment (e.g.&lt;br /&gt;
Kmix).)&lt;br /&gt;
&lt;br /&gt;
So much until now. As I said I will post some feedback here concerning the analogue recording within the next weeks.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
&lt;br /&gt;
  Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the three testing drivers for analog recording ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
unlike I said in my last testing of the 1.0.16 driver yesterday I could test your testing drivers much faster. Here is my feedback:&lt;br /&gt;
&lt;br /&gt;
Analog recording only worked at my system with the test1 driver (I only tested recording with a Mic). There it was also not possible &lt;br /&gt;
to activate line in and mic at once(which was possible with the other two drivers (test2 and test 3) that didn't allow analog recording).&lt;br /&gt;
&lt;br /&gt;
Apart from this there is some other oddities with Kmix: At all the other ALSA drivers I've already used there was a counterpart in &lt;br /&gt;
Kmix for every volume changer in alsamixer. If you changed them at Kmix they were automatically changed in alsamixer and vice versa.&lt;br /&gt;
With your driver there are only counterparts in the recording section. Bud oddly a change of these don't change the volume changers&lt;br /&gt;
in Kmix. The changers in Kmix are totally useless. Quite interesting it becomes in the playback section. Here there is only one&lt;br /&gt;
counterpart in Kmix for the front channels. But unlike the volume changers in the recording section this one is linked to its&lt;br /&gt;
counterpart in alsamixer and works fine.&lt;br /&gt;
&lt;br /&gt;
Apart from my suggestion yesterday to include a general volume changer for playback I suggest to rename most of the volume changers&lt;br /&gt;
for playback. At the moment all are called &amp;quot;Master&amp;quot;. Therefor you have to change by trial and error in order to know which one is &lt;br /&gt;
for which function.&lt;br /&gt;
&lt;br /&gt;
So far for today. I hope I could help you a bit. Great many thanks for all your efforts.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
&lt;br /&gt;
  Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Edit:&lt;br /&gt;
&lt;br /&gt;
I think I know why there ist only the volume changer for the front channels visible in Kmix: Because all playback volume changers have&lt;br /&gt;
the same name and therefore Kmix can't deal with them (and the volume changers for recording are all visible, because they have all &lt;br /&gt;
different names). Yesterday I tested a live CD of Kubuntu 8.04 Beta. This uses older ALSA code. There the volume changer for rear&lt;br /&gt;
channels was called PCM (all the others werde named Master). And there it happened: Two volume changer were in Kmix visible: The first&lt;br /&gt;
one called Master for the two front channels and the one called PCM. All the other ones called Master were invisible.&lt;br /&gt;
So this seems to be the solution why there is only one volume changer in the playback section. Unsolved remains the problem why the &lt;br /&gt;
volume changers for recording in alsamixer are not linked to the ones in Kmix.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Master&amp;quot; control is one control with eight channels.&lt;br /&gt;
How this is handled depends on the application; Kmix doesn't seem to be too smart.&lt;br /&gt;
&lt;br /&gt;
Alsamixer doesn't display the names of the channels (front/surround/center/LFE/rear); this should be changed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning the cmi8788 driver released 2008-3-31 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hello Clemens,&lt;br /&gt;
&lt;br /&gt;
great big thanks for your still continuing effort. I tested the new driver under the same circumstances as the last time. &lt;br /&gt;
Analog recording works fine now. Thanks again! &lt;br /&gt;
Strangely the Analog and the Digital Input Monitors are now in alsamixerin in the playback section AS WELL AS in the capture &lt;br /&gt;
section visible.&lt;br /&gt;
&lt;br /&gt;
It doesn't concern me any longer because I sold my 7.1 system and went for stereo sound, but for the quality of the driver &lt;br /&gt;
I still suggest to include a single general volume changer for all playback channels in addition to the individual changers. &lt;br /&gt;
Otherwise you have to mute all 5 volume changers by hand, if you want to mute the entire playback.&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
&lt;br /&gt;
   Markus&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a single mute control that affect all eight channels.&lt;br /&gt;
&lt;br /&gt;
== Xonar D2X SPDIF volume ==&lt;br /&gt;
&lt;br /&gt;
Hi, just got a Xonar D2X and testing under linux OK except a big volume difference between analog and digital for basic playing, seems there's no digital volume setting...&lt;br /&gt;
:Digital outputs usually have no volume control because then the signal would no longer be bit-exact, and it would slightly reduce the quality.&lt;br /&gt;
:Volume control should be done by the digital-to-analog converter.&lt;br /&gt;
&lt;br /&gt;
More like a wishlist feature, hardware A52/DTS encoding doesn't seem to be handled, xine with 5.1 analog output on digital output is only seen as stereo for front digital output (Logitech Z 5500).&lt;br /&gt;
:There is no hardware A52/DTS encoding. The Windows driver does this in software.&lt;br /&gt;
:For Dolby encoding, you could try the [[A52 plugin]]. AFAIK there is no DTS encoder for Linux.&lt;br /&gt;
&lt;br /&gt;
[[User:Gonioul|Gonioul]] 23:50, 29 April 2008 (CEST)&lt;br /&gt;
:[[User:ClemensLadisch|ClemensLadisch]] 09:14, 30 April 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
::Ok, other drivers I used (sblive, intel-hda) had an digital level, I don't know how it worked, but I known virtuoso digital output level is way too loud (1/20th with Z5500 is a medium level).&lt;br /&gt;
:::The AV200 chip cannot change the level of the digital output.&lt;br /&gt;
::Do you plan to implement (or did you implemented) input monitoring, like hearing line or microphone live?&lt;br /&gt;
:::I added input monitor controls six weeks ago, i.e., after 1.0.16. Try the beta driver.&lt;br /&gt;
::[[User:Gonioul|Gonioul]] 00:42, 6 May 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Xonar D2/PM Low Playback Volume ==&lt;br /&gt;
&lt;br /&gt;
Hi, Clemens. Thanks for a great job with the drivers! Just installed Xonar D2/PM (BTW, any idea what PM means?), kernel 2.6.24-5, ALSA 1.0.16. Works beautifully but I noticed that playback volume is way lower under Linux compared to Windows XP (dual-boot). Something like 15dB difference at least. I took care to disable all sound processing in ASUS Windows drivers, enabled HiFi mode and checked that SVN (normalize) button is not active but still I can hardly stand 30% master volume with 30% volume on my powered speakers since it is too loud under Windows. Under Linux I have to bump both sliders close to 100% to hear softer parts in music. What might be the cause? No controls in alsamixer have any effect on this.&lt;br /&gt;
--[[User:Bamyasi|Bamyasi]] 11:12, 30 April 2008 (CEST)&lt;br /&gt;
:Under Linux, the volume sliders offer the entire range that the hardware is capable of controlling, which is from -120 dB to 0 dB. &amp;quot;30%&amp;quot; doesn't have any fixed meaning because the range isn't the same.&lt;br /&gt;
:In practice, it doesn't make much sense to use attenuations below about -30 dB, which is 75% of the slider in Linux.&lt;br /&gt;
:I don't know what &amp;quot;PM&amp;quot; means, ask Asus. &amp;lt;tt&amp;gt;;-)&amp;lt;/tt&amp;gt;&lt;br /&gt;
:[[User:ClemensLadisch|ClemensLadisch]] 15:00, 30 April 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
You are right, of course zero level mark in Windows drivers can be anything... Still, under Linux playback at 100% master volume is not nearly as loud as it is under Windows. I suspect ASUS drivers make some use of DSP even in HiFi mode, a bit of compression maybe.&lt;br /&gt;
:The Windows driver does compression when &amp;quot;Smart Volume Normalizer&amp;quot; is enabled.&lt;br /&gt;
&lt;br /&gt;
Sorry for stupid questions but I have another one (and Google does not have the answer ;-( ). Is there any way to get a signal from line input on D2 routed and mixed into master (PCM) playback? Or does the card lack any hardware mixing capabilities at all? I don't seem to be able to hear anything from any of the card's inputs no matter what controls I tried in amixer (and Line,0 does not even have a volume capability listed).&lt;br /&gt;
--[[User:Bamyasi|Bamyasi]] 20:59, 30 April 2008 (CEST)&lt;br /&gt;
:I added input monitor controls six weeks ago, i.e., after 1.0.16. Try the beta driver.&lt;br /&gt;
:[[User:ClemensLadisch|ClemensLadisch]] 14:57, 5 May 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Version!? ==&lt;br /&gt;
&lt;br /&gt;
Is there a way to know the driver version from source? I'm using debian sid kernel (2.6.26-1) and I can't find any version in the virtuso.c file...&lt;br /&gt;
&lt;br /&gt;
[[User:Gonioul|Gonioul]] 00:00, 27 August 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
:see &amp;lt;code&amp;gt;include/sound/version.h&amp;lt;/code&amp;gt;&lt;br /&gt;
::sorry, I thought there was a specific version per driver... - [[User:Gonioul|Gonioul]] 00:02, 30 August 2008 (CEST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feedback concerning syncing audio and video ==&lt;br /&gt;
&lt;br /&gt;
ClemensLadisch,&lt;br /&gt;
&lt;br /&gt;
Thanks for the CMI8788 DD. My system sounds GREAT playing almost everything.&lt;br /&gt;
&lt;br /&gt;
The one thing that seems to be missing is the ability to sync audio and video. I have an X-Meridian sound card.  :-D   I am using a Hauppauge HVR-1800.&lt;br /&gt;
After getting all of the right modules in place, I still had no sound. I spoke to the folks at Hauppauge. They said:  ( /dev/video0 ) is raw analog video, audio currently not supported. Instead, let the user use the SECOND video device ( /dev/video1 ) -- that is hardware mpeg2 encode audio + video program stream.” &lt;br /&gt;
&lt;br /&gt;
I said great. So I activated the MPEG2 codec for mplayer. But Mplayer kept crashing almost immediately if I ran it using &amp;quot;mplayer /dev/video1 -vo xv&amp;quot;.&lt;br /&gt;
If I ran it with  &amp;quot;mplayer /dev/video1 -vo xv -nosound&amp;quot; The video seemed to run forever. So I tried &amp;quot; mplayer /dev/video1 -vo xv -cache 16384.&amp;quot; I then had both audio AND video until the cache ran out. &lt;br /&gt;
&lt;br /&gt;
This is the output when using cache:&lt;br /&gt;
$ mplayer /dev/video1 -cache 16384 -vo xv&lt;br /&gt;
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team&lt;br /&gt;
CPU: Quad-Core AMD Opteron(tm) Processor 2350 (Family: 16, Model: 2, Stepping: 3)&lt;br /&gt;
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1&lt;br /&gt;
Compiled with runtime CPU detection.&lt;br /&gt;
115 audio &amp;amp; 237 video codecs&lt;br /&gt;
mplayer: could not connect to socket&lt;br /&gt;
mplayer: No such file or directory&lt;br /&gt;
Failed to open LIRC support. You will not be able to use your remote control.&lt;br /&gt;
&lt;br /&gt;
Playing /dev/video1.&lt;br /&gt;
Cache fill: 19.53% (3276800 bytes)   &lt;br /&gt;
MPEG-PS file format detected.&lt;br /&gt;
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  8000.0 kbps (1000.0 kbyte/s)&lt;br /&gt;
xscreensaver_disable: Could not find XScreenSaver window.&lt;br /&gt;
GNOME screensaver disabled&lt;br /&gt;
==========================================================================&lt;br /&gt;
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough&lt;br /&gt;
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)&lt;br /&gt;
Could not find matching colorspace - retrying with -vf scale...&lt;br /&gt;
Opening video filter: [scale]&lt;br /&gt;
The selected video_out device is incompatible with this codec.&lt;br /&gt;
Try appending the scale filter to your filter list,&lt;br /&gt;
e.g. -vf spp,scale instead of -vf spp.&lt;br /&gt;
VDecoder init failed :(&lt;br /&gt;
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b&lt;br /&gt;
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))&lt;br /&gt;
==========================================================================&lt;br /&gt;
==========================================================================&lt;br /&gt;
Forced audio codec: mad&lt;br /&gt;
Opening audio decoder: [libmad] libmad mpeg audio decoder&lt;br /&gt;
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000-&amp;gt;192000)&lt;br /&gt;
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)&lt;br /&gt;
==========================================================================&lt;br /&gt;
AO: [pulse] Failed to connect to server: Connection refused&lt;br /&gt;
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)&lt;br /&gt;
Starting playback...&lt;br /&gt;
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)&lt;br /&gt;
VDec: using Planar YV12 as output csp (no 0)&lt;br /&gt;
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.&lt;br /&gt;
VO: [xv] 720x480 =&amp;gt; 720x540 Planar YV12 &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 602/602  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame&lt;br /&gt;
Cannot sync MAD frame&lt;br /&gt;
Cannot sync MAD frame:  0.000 ct: -0.078 603/603  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 604/604  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 605/605  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame:  0.000 ct: -0.078 606/606  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 607/607  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame:  0.000 ct: -0.078 608/608  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 609/609  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 610/610  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame:  0.000 ct: -0.078 611/611  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.000 ct: -0.078 612/612  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.026 ct: -0.080 613/613  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.059 ct: -0.084 614/614  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.093 ct: -0.087 615/615  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.126 ct: -0.090 616/616  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.160 ct: -0.094 617/617  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.193 ct: -0.097 618/618  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.226 ct: -0.100 619/619  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.260 ct: -0.104 620/620  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.293 ct: -0.107 621/621  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.326 ct: -0.110 622/622  6%  0%  0.6% 1 0 0% &lt;br /&gt;
Cannot sync MAD frame: -0.360 ct: -0.114 623/623  6%  0%  0.6% 1 0 0% &lt;br /&gt;
A:  20.7 V:  21.0 A-V: -0.360 ct: -0.117 623/623  6%  0%  0.6% 1 0 0% &lt;br /&gt;
GNOME screensaver enabled&lt;br /&gt;
&lt;br /&gt;
Exiting... (End of file)&lt;br /&gt;
&lt;br /&gt;
Any additional help you can give would be greatly appreciated. &lt;br /&gt;
&lt;br /&gt;
Thanks in advance.&lt;/div&gt;</summary>
		<author><name>Kpaden</name></author>
	</entry>
</feed>