M-Audio 1010 Noise Issue at 96Khz Sample Rate

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby danjp » Fri Aug 10, 2012 12:53 am

Hello,

I have a M-Audio 1010 Rack in a dual xeon (Socket 604) system running 32 bit Ubuntu 11.04 and the latest 2007 driver binaries and current kernel.

When I use the 1010 at a 48KHz sample rate everything works as it should. When I switch the sample rate to 96Khz through ossxmix all inputs produce a significant amount of noise around -35db reltive to full scale.

This happens even when all inputs are not connected. When I switch the sample rate back to 48KHz the noise disappears and everything works as expected.

This occurs when using either ossxmix to set the sample rate or when using jack with the ratelock turned off. There are no other programs accessing the sound card. Also this only occurs on the input channels. The outputs seem to be OK.

I also have a Lynx L22 that works fine in this system using OSS.

I have tried moving the PCI card to other slots with no change in the symptoms so I do not think this is a hardware issue. Also osstest works fine.

Are there any suggestions that anyone can provide that might help to resolve this issue. Or has anyone else experienced this issue.

Thanks, Dan
danjp
New Member
 
Posts: 8
Joined: Thu Aug 09, 2012 12:36 pm

Re: M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby igorzwx » Fri Aug 10, 2012 6:41 am

danjp wrote:Hello,

I have a M-Audio 1010 Rack in a dual xeon (Socket 604) system running 32 bit Ubuntu 11.04 and the latest 2007 driver binaries and current kernel.

When I use the 1010 at a 48KHz sample rate everything works as it should. When I switch the sample rate to 96Khz through ossxmix all inputs produce a significant amount of noise around -35db reltive to full scale.

This happens even when all inputs are not connected. When I switch the sample rate back to 48KHz the noise disappears and everything works as expected.

This occurs when using either ossxmix to set the sample rate or when using jack with the ratelock turned off. There are no other programs accessing the sound card. Also this only occurs on the input channels. The outputs seem to be OK.

I also have a Lynx L22 that works fine in this system using OSS.

I have tried moving the PCI card to other slots with no change in the symptoms so I do not think this is a hardware issue. Also osstest works fine.

Are there any suggestions that anyone can provide that might help to resolve this issue. Or has anyone else experienced this issue.

Thanks, Dan


vmix is a kind of PulseAudio, it may produce noise with ossplay.

You may try Audacious (git version). It permits "exclusive" mode.
igorzwx
Supporter
 
Posts: 994
Joined: Sun Jun 28, 2009 9:31 pm

Re: M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby danjp » Fri Aug 10, 2012 2:43 pm

I was thinking that the issue may also be related to vmix.

But the noise manifests itself even without having a recording program open. The noise can be seen in the input and mixer meters for all channels of ossxmix whenever the sample rate is switched to 96Khz.

Is there anyway to disable vmix using ossmix so that the resampler is in turned off?

Thanks, Dan
danjp
New Member
 
Posts: 8
Joined: Thu Aug 09, 2012 12:36 pm

Re: M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby igorzwx » Fri Aug 10, 2012 3:03 pm

danjp wrote:I was thinking that the issue may also be related to vmix.

But the noise manifests itself even without having a recording program open. The noise can be seen in the input and mixer meters for all channels of ossxmix whenever the sample rate is switched to 96Khz.

Is there anyway to disable vmix using ossmix so that the resampler is in turned off?

Thanks, Dan


Resampling can be disabled in ossxmix with a mouse click (this might be obvious).
It does not always help, because some other "virtual crap" might be active.
The "Russian ultimate player" may work better in this case http://deadbeef.sourceforge.net/
There is also a Russian "scientific plugin" for DeadBeef viewtopic.php?f=3&t=4424

You may try to play your wave with "ossplay -R", see

Code: Select all
$ man ossplay


To find out which formats and sample rates are supported for your soundcard, run:

Code: Select all
$ ossinfo -v9


Free HiRes waves (24bit 96kHz Stereo) can be downloaded from 2L website viewtopic.php?f=3&t=4423

You may also want to read the manual: https://wiki.archlinux.org/index.php/OS ... ample_Rate

If you have PulseAudio installed, you may better remove it completely.
igorzwx
Supporter
 
Posts: 994
Joined: Sun Jun 28, 2009 9:31 pm

Re: M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby danjp » Fri Aug 10, 2012 3:58 pm

igorzwx wrote:
danjp wrote:I was thinking that the issue may also be related to vmix.

But the noise manifests itself even without having a recording program open. The noise can be seen in the input and mixer meters for all channels of ossxmix whenever the sample rate is switched to 96Khz.

Is there anyway to disable vmix using ossmix so that the resampler is in turned off?

Thanks, Dan


Resampling can be disabled in ossxmix with a mouse click (this might be obvious).
It does not always help, because some other "virtual crap" might be active.
The "Russian ultimate player" may work better in this case http://deadbeef.sourceforge.net/
There is also a Russian "scientific plugin" for DeadBeef viewtopic.php?f=3&t=4424

You may try to play your wave with "ossplay -R", see

Code: Select all
$ man ossplay


To find out which formats and sample rates are supported for your soundcard, run:

Code: Select all
$ ossinfo -v9


Free HiRes waves (24bit 96kHz Stereo) can be downloaded from 2L website viewtopic.php?f=3&t=4423

You may also want to read the manual: https://wiki.archlinux.org/index.php/OS ... ample_Rate

If you have PulseAudio installed, you may better remove it completely.


I do not have an issue with playing back any material at 96Khz. This issue is limited strictly to the inputs when set to sample at 96Khz.

I did run across a post in another group that seems to specify the exact same issue along with a proposed solution. Here is a copy of that post:

Hi All,

I recently installed an M-Audio Delta 1010, replacing a Delta 44. This is a
newer Rev E board. I was getting high noise levels on all analog inputs
when using a clock > 48kHz. Particularly bad at 96kHz.

This looks to be the exact same problem that was described about a year ago
by Francis Keyes ( http://sourceforge.net/mailarchive/mess ... d=24060648 ), as well as
others.

By mucking about a bit in the driver code I was able to fix this problem for
myself with a very small change to delta.c.

I'm running a fairly up-to-date gentoo system, on an intel core2 quad, with
the 2.6.34-r6 gentoo sources.

here's a diff of my modified sound/pci/ice1712/delta.c against the original

***************
*** 576,588 ****
break;
}

/* initialize spdif */
switch (ice->eeprom.subvendor) {
case ICE1712_SUBDEVICE_AUDIOPHILE:
case ICE1712_SUBDEVICE_DELTA410:
- case ICE1712_SUBDEVICE_DELTA1010E:
case ICE1712_SUBDEVICE_DELTA1010LT:
case ICE1712_SUBDEVICE_VX442:
case ICE1712_SUBDEVICE_DELTA66E:
if ((err = snd_i2c_bus_create(ice->card, "ICE1712 GPIO 1",
NULL, &ice->i2c)) < 0) {
snd_printk(KERN_ERR "unable to create I2C bus\n");
--- 576,589 ----
break;
}

/* initialize spdif */
switch (ice->eeprom.subvendor) {
+ case ICE1712_SUBDEVICE_DELTA1010E:
+ ice->gpio.set_pro_rate = delta_1010_set_rate_val;
case ICE1712_SUBDEVICE_AUDIOPHILE:
case ICE1712_SUBDEVICE_DELTA410:
case ICE1712_SUBDEVICE_DELTA1010LT:
case ICE1712_SUBDEVICE_VX442:
case ICE1712_SUBDEVICE_DELTA66E:
if ((err = snd_i2c_bus_create(ice->card, "ICE1712 GPIO 1",
NULL, &ice->i2c)) < 0) {
snd_printk(KERN_ERR "unable to create I2C bus\n");

I had initially commented out a few lines that were meant to recognize the
board as a 1010E, which got rid of the noise, but killed the S/PDIF ports.

With my above changes, I get no noticable noise on the analog ins, and both
S/PDIF in and out work.

It would seem that for the 1010E subdevice the DFS bit was not being set for
rates above 48kHz, but was taking care of whatever hardware changes were
made to the S/PDIF for rev E. So people who had a rev E board who weren't
using digital IO wouldn't have had any problems with the original 1010
driver code, but would have gotten noisy inputs once they went to a kernel
after the 1010E changes were added in. (2.6.26 I believe)

I can't claim to fully understand what setting the DFS bit does, and less so
what is going on with the i2c bus for enabling the S/PDIF, but I'm quite
happy to have this board fully working. It may have just been the amount of
work it took to get there, but I think it sounds much better than my Delta44
and audiophile2496.

I'd be happy to provide any more details as necesary for getting this fixed
in the official kernel.
danjp
New Member
 
Posts: 8
Joined: Thu Aug 09, 2012 12:36 pm

Re: M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby igorzwx » Fri Aug 10, 2012 4:28 pm

danjp wrote:I do not have an issue with playing back any material at 96Khz. This issue is limited strictly to the inputs when set to sample at 96Khz.

I did run across a post in another group that seems to specify the exact same issue along with a proposed solution. Here is a copy of that post:

Hi All,

I recently installed an M-Audio Delta 1010, replacing a Delta 44. This is a
newer Rev E board. I was getting high noise levels on all analog inputs
when using a clock > 48kHz. Particularly bad at 96kHz.

This looks to be the exact same problem that was described about a year ago
by Francis Keyes ( http://sourceforge.net/mailarchive/mess ... d=24060648 ), as well as
others.

By mucking about a bit in the driver code I was able to fix this problem for
myself with a very small change to delta.c.

I'm running a fairly up-to-date gentoo system, on an intel core2 quad, with
the 2.6.34-r6 gentoo sources.

here's a diff of my modified sound/pci/ice1712/delta.c against the original

***************
*** 576,588 ****
break;
}

/* initialize spdif */
switch (ice->eeprom.subvendor) {
case ICE1712_SUBDEVICE_AUDIOPHILE:
case ICE1712_SUBDEVICE_DELTA410:
- case ICE1712_SUBDEVICE_DELTA1010E:
case ICE1712_SUBDEVICE_DELTA1010LT:
case ICE1712_SUBDEVICE_VX442:
case ICE1712_SUBDEVICE_DELTA66E:
if ((err = snd_i2c_bus_create(ice->card, "ICE1712 GPIO 1",
NULL, &ice->i2c)) < 0) {
snd_printk(KERN_ERR "unable to create I2C bus\n");
--- 576,589 ----
break;
}

/* initialize spdif */
switch (ice->eeprom.subvendor) {
+ case ICE1712_SUBDEVICE_DELTA1010E:
+ ice->gpio.set_pro_rate = delta_1010_set_rate_val;
case ICE1712_SUBDEVICE_AUDIOPHILE:
case ICE1712_SUBDEVICE_DELTA410:
case ICE1712_SUBDEVICE_DELTA1010LT:
case ICE1712_SUBDEVICE_VX442:
case ICE1712_SUBDEVICE_DELTA66E:
if ((err = snd_i2c_bus_create(ice->card, "ICE1712 GPIO 1",
NULL, &ice->i2c)) < 0) {
snd_printk(KERN_ERR "unable to create I2C bus\n");

I had initially commented out a few lines that were meant to recognize the
board as a 1010E, which got rid of the noise, but killed the S/PDIF ports.

With my above changes, I get no noticable noise on the analog ins, and both
S/PDIF in and out work.

It would seem that for the 1010E subdevice the DFS bit was not being set for
rates above 48kHz, but was taking care of whatever hardware changes were
made to the S/PDIF for rev E. So people who had a rev E board who weren't
using digital IO wouldn't have had any problems with the original 1010
driver code, but would have gotten noisy inputs once they went to a kernel
after the 1010E changes were added in. (2.6.26 I believe)

I can't claim to fully understand what setting the DFS bit does, and less so
what is going on with the i2c bus for enabling the S/PDIF, but I'm quite
happy to have this board fully working. It may have just been the amount of
work it took to get there, but I think it sounds much better than my Delta44
and audiophile2496.

I'd be happy to provide any more details as necesary for getting this fixed
in the official kernel.


It is not "the exact same issue", because it is a patch for ALSA. Most probably, it is a kind of Ubuntu syndrome: Ubuntu users seem to be always busy with very strange problems largely because, perhaps, they fail to understand (and explain) what they are doing and what they are going to achieve.

To find out which formats and sample rates are supported for your soundcard (input and output), run:
Code: Select all
$ ossinfo -v9


danjp wrote:When I switch the sample rate to 96Khz through ossxmix...
This occurs when using either ossxmix to set the sample rate...


Could you please explain how you change sample rate "through ossxmix" or how you "set the sample rate using ossxmix"?

Changing the Sample Rate
Changing the output sample rate is not obvious at first. Sample rates can only be changed by the superuser and vmix must be unused by any programs when a change is requested. https://wiki.archlinux.org/index.php/OS ... ample_Rate


To make things clear, you may disable vmix in /usr/lib/oss/conf/osscore.conf and reload OSS with soundoff/soundon

Then you may try to record something with ossrecord

Code: Select all
$ man ossrecord
igorzwx
Supporter
 
Posts: 994
Joined: Sun Jun 28, 2009 9:31 pm

Re: M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby danjp » Sat Aug 11, 2012 12:58 am

Per your request the output of ossinfo -v9 is:
Version info: OSS 4.2 (b 2007/201207032126) (0x00040100)
Platform: Linux/i686 2.6.38-15-generic #64-Ubuntu SMP Fri Jul 6 17:18:17 UTC 2012 (Dan-Audio)

Number of audio devices: 30
Number of audio engines: 30
Number of MIDI devices: 1
Number of mixer devices: 4


Device objects
0: osscore0 OSS core services
1: lynxtwo0 LynxL22
Firmware revision: 13 PCB Revision 1
2: oss_envy240 M Audio Delta 1010 interrupts=15 (929)
3: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)
0: M Audio Delta 1010 #1 (MIDI port 1 of device object 2)
Device file /dev/oss/oss_envy240/mid0, Legacy device /dev/midi00
Modes: IN/OUT , Available for use
Caps:
Minimum latency: Not indicated
Device handle: PCId6301412-0000:03:0b.0-md01


Mixer devices
0: LynxL22 Adapter (Mixer 0 of device object 1)
Device file /dev/oss/lynxtwo0/mix0, Legacy device /dev/mixer0
Priority: -2
Caps:
Device handle: PCI00231621-0000:03:0c.0-mx01
Device priority: -2

1: LynxL22 Record/Play (Mixer 1 of device object 1)
Device file /dev/oss/lynxtwo0/mix1, Legacy device /dev/mixer1
Priority: -2
Caps: LAYOUT_B NARROW
Device handle: PCI00231621-0000:03:0c.0-mx02
Device priority: -2

2: LynxL22 Outputs (Mixer 2 of device object 1)
Device file /dev/oss/lynxtwo0/mix2, Legacy device /dev/mixer2
Priority: -2
Caps: LAYOUT_B NARROW
Device handle: PCI00231621-0000:03:0c.0-mx03
Device priority: -2

3: M Audio Delta 1010 (Mixer 0 of device object 2)
Device file /dev/oss/oss_envy240/mix0, Legacy device /dev/mixer3
Priority: 0
Caps:
Device handle: PCId6301412-0000:03:0b.0-mx01
Device priority: 0


Audio devices
LynxL22 Play 1 /dev/oss/lynxtwo0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 0/LynxL22 Play 1
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au01
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Play 2 /dev/oss/lynxtwo0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 1/LynxL22 Play 2
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au02
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Play 3 /dev/oss/lynxtwo0/pcm2 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 2/LynxL22 Play 3
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au03
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Play 4 /dev/oss/lynxtwo0/pcm3 (device index 3)
Legacy device /dev/dsp3
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 3/LynxL22 Play 4
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au04
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Play 5 /dev/oss/lynxtwo0/pcm4 (device index 4)
Legacy device /dev/dsp4
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 4/LynxL22 Play 5
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au05
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Play 6 /dev/oss/lynxtwo0/pcm5 (device index 5)
Legacy device /dev/dsp5
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 5/LynxL22 Play 6
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au06
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Play 7 /dev/oss/lynxtwo0/pcm6 (device index 6)
Legacy device /dev/dsp6
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 6/LynxL22 Play 7
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au07
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Play 8 /dev/oss/lynxtwo0/pcm7 (device index 7)
Legacy device /dev/dsp7
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 7/LynxL22 Play 8
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au08
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Record 1 /dev/oss/lynxtwo0/pcmin0 (device index 8)
Legacy device /dev/dsp8
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 8/LynxL22 Record 1
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au09
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Record 2 /dev/oss/lynxtwo0/pcmin1 (device index 9)
Legacy device /dev/dsp9
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 9/LynxL22 Record 2
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au10
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Record 3 /dev/oss/lynxtwo0/pcmin2 (device index 10)
Legacy device /dev/dsp10
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 10/LynxL22 Record 3
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au11
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Record 4 /dev/oss/lynxtwo0/pcmin3 (device index 11)
Legacy device /dev/dsp11
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 11/LynxL22 Record 4
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au12
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Record 5 /dev/oss/lynxtwo0/pcmin4 (device index 12)
Legacy device /dev/dsp12
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 12/LynxL22 Record 5
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au13
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Record 6 /dev/oss/lynxtwo0/pcmin5 (device index 13)
Legacy device /dev/dsp13
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 13/LynxL22 Record 6
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au14
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Record 7 /dev/oss/lynxtwo0/pcmin6 (device index 14)
Legacy device /dev/dsp14
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 14/LynxL22 Record 7
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au15
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 Record 8 /dev/oss/lynxtwo0/pcmin7 (device index 15)
Legacy device /dev/dsp15
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 15/LynxL22 Record 8
Available for use
Input formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001050):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S8 - 8 bit signed
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au16
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 200000 (8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000,200000)
HW Type: Not indicated.
Minimum latency: Not indicated

LynxL22 7.1 output /dev/oss/lynxtwo0/pcm8 (device index 16)
Legacy device /dev/dsp16
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 16/LynxL22 7.1 output
Available for use
Input formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Output formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Device handle: PCI00231621-0000:03:0c.0-au17
Related mixer dev: -1
Sample rate source: 0
Preferred channel configuration: MULTICH
Supported number of channels (min - max): 2 - 8
Native sample rates (min - max): 8000 - 200000
HW Type: Not indicated.
Minimum latency: Not indicated

M Audio Delta 1010 out1/2 /dev/oss/oss_envy240/pcm0 (device index 17)
Legacy device /dev/dsp17
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: 17/M Audio Delta 1010 out1/2
Available for use
Input formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Output formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Device handle: PCId6301412-0000:03:0b.0-au01
Related mixer dev: 3
Sample rate source: 17
Preferred channel configuration: STEREO
Supported number of channels (min - max): 1 - 10
Native sample rates (min - max): 8000 - 96000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,88200,96000)
HW Type: Not indicated.
Minimum latency: Not indicated

M Audio Delta 1010 out3/4 /dev/oss/oss_envy240/pcm1 (device index 18)
Legacy device /dev/dsp18
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: 18/M Audio Delta 1010 out3/4
Available for use
Input formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Output formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Device handle: PCId6301412-0000:03:0b.0-au02
Related mixer dev: 3
Sample rate source: 17
Preferred channel configuration: STEREO
Supported number of channels (min - max): 1 - 8
Native sample rates (min - max): 8000 - 96000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,88200,96000)
HW Type: Not indicated.
Minimum latency: Not indicated

M Audio Delta 1010 out5/6 /dev/oss/oss_envy240/pcm2 (device index 19)
Legacy device /dev/dsp19
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: 19/M Audio Delta 1010 out5/6
Available for use
Input formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Output formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Device handle: PCId6301412-0000:03:0b.0-au03
Related mixer dev: 3
Sample rate source: 17
Preferred channel configuration: STEREO
Supported number of channels (min - max): 1 - 6
Native sample rates (min - max): 8000 - 96000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,88200,96000)
HW Type: Not indicated.
Minimum latency: Not indicated

M Audio Delta 1010 out7/8 /dev/oss/oss_envy240/pcm3 (device index 20)
Legacy device /dev/dsp20
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: 20/M Audio Delta 1010 out7/8
Available for use
Input formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Output formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Device handle: PCId6301412-0000:03:0b.0-au04
Related mixer dev: 3
Sample rate source: 17
Preferred channel configuration: STEREO
Supported number of channels (min - max): 1 - 4
Native sample rates (min - max): 8000 - 96000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,88200,96000)
HW Type: Not indicated.
Minimum latency: Not indicated

M Audio Delta 1010 S/PDIF out /dev/oss/oss_envy240/spdout (device index 21)
Legacy device /dev/dsp21
Caps: TRIGGER
Modes: OUTPUT
Out engine 1: 21/M Audio Delta 1010 S/PDIF out
Available for use
Input formats (0x00009410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Output formats (0x00009410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Device handle: PCId6301412-0000:03:0b.0-au05
Related mixer dev: 3
Sample rate source: 17
Preferred channel configuration: STEREO
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 96000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,88200,96000)
HW Type: DIGITAL_OUT Minimum latency: Not indicated

M Audio Delta 1010 in1/2 /dev/oss/oss_envy240/pcmin0 (device index 22)
Legacy device /dev/dsp22
Caps: TRIGGER
Modes: INPUT
In engine 1: 22/M Audio Delta 1010 in1/2
Available for use
Input formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Output formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Device handle: PCId6301412-0000:03:0b.0-au06
Related mixer dev: 3
Sample rate source: 17
Preferred channel configuration: STEREO
Supported number of channels (min - max): 1 - 12
Native sample rates (min - max): 8000 - 44100 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,88200,96000)
HW Type: Not indicated.
Minimum latency: Not indicated

M Audio Delta 1010 in3/4 /dev/oss/oss_envy240/pcmin1 (device index 23)
Legacy device /dev/dsp23
Caps: TRIGGER
Modes: INPUT
In engine 1: 23/M Audio Delta 1010 in3/4
Available for use
Input formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Output formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Device handle: PCId6301412-0000:03:0b.0-au07
Related mixer dev: 3
Sample rate source: 17
Preferred channel configuration: STEREO
Supported number of channels (min - max): 1 - 10
Native sample rates (min - max): 8000 - 44100 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,88200,96000)
HW Type: Not indicated.
Minimum latency: Not indicated

M Audio Delta 1010 in5/6 /dev/oss/oss_envy240/pcmin2 (device index 24)
Legacy device /dev/dsp24
Caps: TRIGGER
Modes: INPUT
In engine 1: 24/M Audio Delta 1010 in5/6
Available for use
Input formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Output formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Device handle: PCId6301412-0000:03:0b.0-au08
Related mixer dev: 3
Sample rate source: 17
Preferred channel configuration: STEREO
Supported number of channels (min - max): 1 - 8
Native sample rates (min - max): 8000 - 44100 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,88200,96000)
HW Type: Not indicated.
Minimum latency: Not indicated

M Audio Delta 1010 in7/8 /dev/oss/oss_envy240/pcmin3 (device index 25)
Legacy device /dev/dsp25
Caps: TRIGGER
Modes: INPUT
In engine 1: 25/M Audio Delta 1010 in7/8
Available for use
Input formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Output formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Device handle: PCId6301412-0000:03:0b.0-au09
Related mixer dev: 3
Sample rate source: 17
Preferred channel configuration: STEREO
Supported number of channels (min - max): 1 - 6
Native sample rates (min - max): 8000 - 44100 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,88200,96000)
HW Type: Not indicated.
Minimum latency: Not indicated

M Audio Delta 1010 S/PDIF in /dev/oss/oss_envy240/spdin (device index 26)
Legacy device /dev/dsp26
Caps: TRIGGER
Modes: INPUT
In engine 1: 26/M Audio Delta 1010 S/PDIF in
Available for use
Input formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Output formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Device handle: PCId6301412-0000:03:0b.0-au10
Related mixer dev: 3
Sample rate source: 17
Preferred channel configuration: STEREO
Supported number of channels (min - max): 1 - 4
Native sample rates (min - max): 8000 - 44100 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,88200,96000)
HW Type: Not indicated.
Minimum latency: Not indicated

M Audio Delta 1010 input from mon. mixer /dev/oss/oss_envy240/mon (device index 27)
Legacy device /dev/dsp27
Caps: TRIGGER
Modes: INPUT
In engine 1: 27/M Audio Delta 1010 input from mon. mixer
Available for use
Input formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Output formats (0x00009010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
AFMT_S24_LE - 24/32 bit signed little endian
Device handle: PCId6301412-0000:03:0b.0-au11
Related mixer dev: 3
Sample rate source: 17
Preferred channel configuration: STEREO
Supported number of channels (min - max): 1 - 2
Native sample rates (min - max): 8000 - 44100 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,88200,96000)
HW Type: Not indicated.
Minimum latency: Not indicated

M Audio Delta 1010 (all outputs) /dev/oss/oss_envy240/10ch_out (device index 28)
Legacy device /dev/dsp28
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 28/M Audio Delta 1010 (all outputs)
Available for use
Input formats (0x00001000):
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001000):
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCId6301412-0000:03:0b.0-au12
Related mixer dev: 3
Sample rate source: 17
Preferred channel configuration: MULTICH
Supported number of channels (min - max): 10 - 10
Native sample rates (min - max): 8000 - 96000
HW Type: Not indicated.
Minimum latency: Not indicated

M Audio Delta 1010 (all inputs) /dev/oss/oss_envy240/12ch_in (device index 29)
Legacy device /dev/dsp29
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 29/M Audio Delta 1010 (all inputs)
Available for use
Input formats (0x00001000):
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001000):
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCId6301412-0000:03:0b.0-au13
Related mixer dev: 3
Sample rate source: 17
Preferred channel configuration: MULTICH
Supported number of channels (min - max): 12 - 12
Native sample rates (min - max): 8000 - 96000
HW Type: Not indicated.
Minimum latency: Not indicated


Nodes
/dev/dsp -> /dev/oss/lynxtwo0/pcm0
/dev/dsp_in -> /dev/oss/lynxtwo0/pcmin0
/dev/dsp_out -> /dev/oss/lynxtwo0/pcm0
/dev/dsp_ac3 -> /dev/oss/oss_envy240/spdout
/dev/dsp_mmap -> /dev/oss/lynxtwo0/pcm0
/dev/dsp_multich -> /dev/oss/lynxtwo0/pcm8
/dev/dsp_spdifout -> /dev/oss/oss_envy240/spdout

As can be seen, the Delta 1010 supports up to 32 bit and 96KHz sample rates.

The sample rate can be changed in the M Audio 1010 panel using the rate drop down.

The problem persists. As soon as I change the sample rate to 96KHz, the meters on the ossxmix panel for the MAudio start to jump. When I switch the sample rate back to 48KHz it stops. The noise can be clearly heard when a recording using the 96KHz setting is enabled.

I pasted the change for the ALSA code as I thought that the issue that they were dealing with was the same as what I was seeing in OSS.

I am going yo uninstall OSS and see if the issue persists with ALSA. I really need this to work in OSS as I also use a Lynx L22 card that is not supported in ALSA.

Any other suggestions are welcome.
danjp
New Member
 
Posts: 8
Joined: Thu Aug 09, 2012 12:36 pm

Re: M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby danjp » Sat Aug 11, 2012 1:00 am

I also forgot to mention that I disabled vmix in the osscore.conf file, did a soundoff/soundon and the issue did not change.
danjp
New Member
 
Posts: 8
Joined: Thu Aug 09, 2012 12:36 pm

Re: M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby danjp » Sat Aug 11, 2012 2:24 am

OK I just removed OSS and re-enabled ALSA. Using the envy24 mixer and jack I was able to set the sample rate to 96KHz without any noise. I was able to record over an hours worth of material using all 8 channels simultaneously without a glitch.

So there is definately an issue with the OSS envy24 driver.

There are still some things I want to try with OSS like adjusting the buffer sizes, but given that the noise issue starts as soon as the mixer is set to 96KHz, I assume that the issue is with the driver.
danjp
New Member
 
Posts: 8
Joined: Thu Aug 09, 2012 12:36 pm

Re: M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby igorzwx » Sat Aug 11, 2012 2:35 pm

danjp wrote:So there is definately an issue with the OSS envy24 driver.


Most probably, it is your personal issue, a kind of Ubuntu syndrome. Nobody else has reported such problems since October 27, 2009

OSS 4.2 Build 2001 announced
by dev » Tue Oct 27, 2009 5:45 pm

- Added support for M-Audio Delta 1010 Rev E.
viewtopic.php?f=19&t=3389


If you want to use this card with OSS4, you may need to learn how to configure it correctly.
The manual is here:
http://manuals.opensound.com/usersguide/oss_envy24.html
http://manpages.ubuntu.com/manpages/pre ... y24.7.html
http://manuals.opensound.com/developer/ ... ntals.html

WARNING: Canonical/Ubuntu has chosen to disable OSS support in their kernels and ignore any bugs filed against OSS4 packages. If you're considering using OSS4, you should probably use another Linux distro like Arch Linux. https://help.ubuntu.com/community/OpenSound/
igorzwx
Supporter
 
Posts: 994
Joined: Sun Jun 28, 2009 9:31 pm

Re: M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby danjp » Sun Aug 12, 2012 1:24 am

Sorry to say but I have already been through all those links.

I am not a newb in regards to Linux and have been using Linux/Unix for over 20 years so I am quite familiar with the OS.

I fully expect that this is an issue with the OSS driver so I was just trying to bring this to light in the hopes that someone else who may have be having a similiar issue could benefit from my findings.

Perhaps it is an Ubuntu specific issue, and if so, it should still be addressed so that others may be able to deal with this.

Sorry that you feel the only solutiion is to jump to another distro.

I would really like to see OSS be successful, but these types of responses are not helpful.

Thanks anyway.
danjp
New Member
 
Posts: 8
Joined: Thu Aug 09, 2012 12:36 pm

Re: M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby igorzwx » Sun Aug 12, 2012 10:50 am

...
Last edited by igorzwx on Sun Aug 12, 2012 5:38 pm, edited 1 time in total.
igorzwx
Supporter
 
Posts: 994
Joined: Sun Jun 28, 2009 9:31 pm

Re: M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby cesium » Sun Aug 12, 2012 4:20 pm

igorzwx: Enough. How about ignoring this thread from now on?

Dan: There's certain information which may or may not be useful. Which input are you using? Per ossinfo there can theoretically be several. Trying the others can't hurt. Also, can you post ossmix output of the card's mixer? (It should be 'ossmix -d3'. If I somehow missed it, 'ossmix -a' should print all of the mixers). I noticed that "man oss_envy24" refers obliquely to a 'dropout problem'. Can you test with a lower nfrags settings? Probably not helpful, but is easy enough to try...

The ALSA patch has two issues: A. It refers to a different version of the card, AFAICT by pci ids (the sub id is 1214d630 judging by ossinfo output. 1010E is ff14d630 per ALSA's delta.h. You can verify the sub id by checking lspci -vnn output). B. It was rejected (or ignored) by mainline, as the latest kernels do not include it. I think other approaches may be more useful at first.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby danjp » Sun Aug 12, 2012 8:32 pm

cesium wrote:igorzwx: Enough. How about ignoring this thread from now on?

Dan: There's certain information which may or may not be useful. Which input are you using?

This occurs on all inputs simultaneously when I change the drop down rate setting in ossxmix to 96Khz. This occurs with the ratelock on or off. As soon as I change the rate back from 96Khz to 48KHz the noise disappears.

When I use jack and change the rate to 96KHz the same thing occurs. I do not get any xruns during this time but sound recorded from any of the channels has a very high noise content around -30db or so.

I even tried changing the sample rate using ossmix envy24.rate 96000 and the same thing occurs.

Per ossinfo there can theoretically be several. Trying the others can't hurt. Also, can you post ossmix output of the card's mixer? (It should be 'ossmix -d3'. If I somehow missed it, 'ossmix -a' should print all of the mixers).


Here is the output for ossmix -d3 with all the defaults and no issues:

Known controls are:
mon.out1/2 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.out3/4 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.out5/6 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.out7/8 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.spdout [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.in1/2 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.in3/4 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.in5/6 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.in7/8 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.spdin [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
route.out1/2 <DMA|MONITOR|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
route.out3/4 <DMA|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
route.out5/6 <DMA|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
route.out7/8 <DMA|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
route.spdif <DMA|MONITOR|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
envy24.rate <8000|9600|11025|12000|16000|22050|24000|32000|44100|48000|88200|96000> (currently 48000)
envy24.sync <INTERNAL|SPDIF|WCLOCK> (currently INTERNAL)
envy24.ratelock ON|OFF (currently ON)
envy24.actrate <decimal value> (currently 48000) (Read-only)

Here is the ossmix -d3 output for 96KHz. I set the ratelock to off first then the sample rate to 96Khz. What is interesting is that the ratelock still shows 48KHz. The SPDIN does not show the noise.

Known controls are:
mon.out1/2 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.out3/4 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.out5/6 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.out7/8 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.spdout [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.in1/2 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.in3/4 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.in5/6 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.in7/8 [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
mon.spdin [<leftvol>:<rightvol>] (currently 135.0:135.0 dB)
route.out1/2 <DMA|MONITOR|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
route.out3/4 <DMA|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
route.out5/6 <DMA|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
route.out7/8 <DMA|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
route.spdif <DMA|MONITOR|IN1/2|IN3/4|IN5/6|IN7/8|SPDIF> (currently DMA)
envy24.rate <8000|9600|11025|12000|16000|22050|24000|32000|44100|48000|88200|96000> (currently 96000)
envy24.sync <INTERNAL|SPDIF|WCLOCK> (currently INTERNAL)
envy24.ratelock ON|OFF (currently OFF)
envy24.actrate <decimal value> (currently 48000) (Read-only)


I noticed that "man oss_envy24" refers obliquely to a 'dropout problem'. Can you test with a lower nfrags settings? Probably not helpful, but is easy enough to try...

Ok I tried setting the envy24_nfrags = 4 in the oss_envy24.conf file and then doing a soundoff/soundon and the problem still persists. Not sure if I need to reboot.

The ALSA patch has two issues: A. It refers to a different version of the card, AFAICT by pci ids (the sub id is 1214d630 judging by ossinfo output. 1010E is ff14d630 per ALSA's delta.h. You can verify the sub id by checking lspci -vnn output). B. It was rejected (or ignored) by mainline, as the latest kernels do not include it. I think other approaches may be more useful at first.


Here is the output for lspci -vnn for the M-Audio

03:0b.0 Multimedia audio controller [0401]: VIA Technologies Inc. ICE1712 [Envy24] PCI Multi-Channel I/O Controller [1412:1712] (re
v 02)
Subsystem: VIA Technologies Inc. M-Audio Delta 1010 [1412:d630]
Flags: bus master, medium devsel, latency 32, IRQ 23
I/O ports at 8c00 [size=32]
I/O ports at 9000 [size=16]
I/O ports at 9400 [size=16]
I/O ports at 9800 [size=64]
Capabilities: [80] Power Management version 1
Kernel driver in use: oss_envy24

Please let me know if there is anything else I can check.

Thanks, Dan
danjp
New Member
 
Posts: 8
Joined: Thu Aug 09, 2012 12:36 pm

Re: M-Audio 1010 Noise Issue at 96Khz Sample Rate

Postby Proaudioman » Thu Dec 19, 2013 9:04 am

I just wanted to say huge THANK YOU to danjp for his code fix for the delta1010 noise on the inputs I used his fix in the alsa delta.c file recompiled alsa driver and after 7 years of owning a revision d board I finally get 96khz with no noise on my inputs thank you I have spent many hours trying to find a fix emailing the alsa people no problem they said I suspect they were using a revision E delta1010 not D. I am going to submit this a patch to the alsa driver bug tracker and get it officially included in alsa. Sam

/* initialize spdif */
switch (ice->eeprom.subvendor) {
case ICE1712_SUBDEVICE_AUDIOPHILE:
case ICE1712_SUBDEVICE_DELTA410:
- case ICE1712_SUBDEVICE_DELTA1010E:
case ICE1712_SUBDEVICE_DELTA1010LT:
case ICE1712_SUBDEVICE_VX442:
case ICE1712_SUBDEVICE_DELTA66E:
if ((err = snd_i2c_bus_create(ice->card, "ICE1712 GPIO 1",
NULL, &ice->i2c)) < 0) {
snd_printk(KERN_ERR "unable to create I2C bus\n");
--- 576,589 ----
break;
}

/* initialize spdif */
switch (ice->eeprom.subvendor) {
+ case ICE1712_SUBDEVICE_DELTA1010E:
+ ice->gpio.set_pro_rate = delta_1010_set_rate_val;
case ICE1712_SUBDEVICE_AUDIOPHILE:
case ICE1712_SUBDEVICE_DELTA410:
case ICE1712_SUBDEVICE_DELTA1010LT:
case ICE1712_SUBDEVICE_VX442:
case ICE1712_SUBDEVICE_DELTA66E:
if ((err = snd_i2c_bus_create(ice->card, "ICE1712 GPIO 1",
NULL, &ice->i2c)) < 0) {
snd_printk(KERN_ERR "unable to create I2C bus\n");
Proaudioman
New Member
 
Posts: 1
Joined: Thu Dec 19, 2013 8:56 am


Return to Linux

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest