Noise in ice1724 based soundcard

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

Re: Noise in ice1724 based soundcard

Postby wwmm » Wed Dec 29, 2010 6:27 pm

Though it is always possible to be a bug in mplayer or in any other place other than oss4, the thing is that mplayer is not the only victim. The same behavior can be observed in other players(xine,vlc and amarok(with xine or gstreamer backend) for example) in different linux distros(opensuse,kubuntu, arch linux) with different versions of dbus, libpulse, kernel and media players. I have been using this card for almost two years and nothing changed through all the updates I have done so far... Besides, the problem with messed up channels that I mentioned in the last post also happens in ossplay...
wwmm
Member
 
Posts: 38
Joined: Sat Dec 25, 2010 5:09 pm

Re: Noise in ice1724 based soundcard

Postby wwmm » Wed Dec 29, 2010 6:40 pm

I could try to compile Mplayer-vaapi... But I'm a nvidia owner happy with vdpau(and with my current Mplayer version too), is there any advantage in moving to vaapi? Is it capable of using a nvidia card for accelerated decoding?
wwmm
Member
 
Posts: 38
Joined: Sat Dec 25, 2010 5:09 pm

Re: Noise in ice1724 based soundcard

Postby cesium » Wed Dec 29, 2010 6:50 pm

igorzwx: right, ossplay -R wouldn't have worked. I think it's not a player bug, but a driver one though...

wwmm: I seem to forget too much stuff today - yes, you can remap the channels using 'vmixctl remap' command in OSS (see "vmixctl" manpage). Not entirely sure about commandline though - you'd have to experiment a bit (and vmix would have to be set to Multich before running 'sudo vmixctl remap 0 0 ...' etc.).

The reason you're always having this when vmix is set to Multich is that vmix (the virtual mixer) opens the device at the maximum allowed channels (or stereo - depending on vmix0-channels setting), and than mixes in the programs' output***. In your case, the maximum allowed channels are 6 - So every stereo program ends up talking to the device in 6ch, triggering this issue... Anyhow, possibly patching the driver might help. Here's a guess:

Code: Select all
diff -r 232d0de71550 kernel/drv/oss_envy24ht/oss_envy24ht.c
--- a/kernel/drv/oss_envy24ht/oss_envy24ht.c   Tue Nov 02 23:45:15 2010 +0200
+++ b/kernel/drv/oss_envy24ht/oss_envy24ht.c   Wed Dec 29 20:44:35 2010 +0200
@@ -1367,8 +1367,8 @@
       if (portc->channels == 6)
   {
     /* The fragment size must be a multiple of 6 */
-     audio_engines[dev]->min_block = 4 * 288;
-     audio_engines[dev]->max_block = 4 * 288;
+     audio_engines[dev]->min_block = 4 * 1023;
+     audio_engines[dev]->max_block = 4 * 1023;

   }
       else


Since you're already using a version from mercurial, I assume you already know how to build OSS (see this if not). Perhaps you noticed '--only-drv=oss_envy24ht,...' '--enable-libsalsa=NO' and '--config-midi=NO' args to configure can be used to speed up compile.

*** This is necessary: think of the scenario where vmix opened the device in stereo, but allowed multich programs. Say several stereo programs are playing to the device, and then a new multich program is started. vmix would have had to either refuse the program (but the premise was we allow this), or reconfigure the device (which would probably hurt or at least suspend the playback of the existing stereo programs).
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Noise in ice1724 based soundcard

Postby igorzwx » Wed Dec 29, 2010 6:51 pm

wwmm wrote:I could try to compile Mplayer-vaapi... But I'm a nvidia owner happy with vdpau(and with my current Mplayer version too), is there any advantage in moving to vaapi? Is it capable of using a nvidia card for accelerated decoding?


I am not a specialist in vaapi, but it seems to accelerate everything.

Do you need PKGBUILD? There is also a ready package (i686).
igorzwx
Supporter
 
Posts: 987
Joined: Sun Jun 28, 2009 9:31 pm

Re: Noise in ice1724 based soundcard

Postby wwmm » Wed Dec 29, 2010 7:17 pm

igorzwx: it is not necessary to give me a package build

cesium: After applying your patch ossplay and Mplayer became uncapable of playing 6 channels files(vmix is disabled). In ossplay happend the following:

Code: Select all
[wallace@wwmm surround]$ ossplay chan-id.wav
audio write: Input/output error


and in dmesg:

Code: Select all
osscore: Output timed out (sync) on audio engine 0


In mplayer I could play 4 channels files but it freezed when I tried to play 6 channels files. In dmesg appeared the following:

Code: Select all
osscore: Output timed out on audio engine 0/'VIA Vinyl Tremor Audio front out' (count=0)


The same happens with vmix enabled
wwmm
Member
 
Posts: 38
Joined: Sat Dec 25, 2010 5:09 pm

Re: Noise in ice1724 based soundcard

Postby igorzwx » Wed Dec 29, 2010 7:25 pm

wwmm wrote:igorzwx: it is not necessary to give me a package build


Of course, you may better try to write your own PKGBUILD. I would like to see it.
igorzwx
Supporter
 
Posts: 987
Joined: Sun Jun 28, 2009 9:31 pm

Re: Noise in ice1724 based soundcard

Postby wwmm » Wed Dec 29, 2010 7:39 pm

To be honest I was thinking in using the compiled package in the x86-64 repo or in compiling it modifying the abs PKGBUILD. I don't know how to write one...
wwmm
Member
 
Posts: 38
Joined: Sat Dec 25, 2010 5:09 pm

Re: Noise in ice1724 based soundcard

Postby igorzwx » Wed Dec 29, 2010 9:01 pm

wwmm wrote:To be honest I was thinking in using the compiled package in the x86-64 repo or in compiling it modifying the abs PKGBUILD. I don't know how to write one...


It is very simple. Take the ready one and modify it how you want.

The package is enclosed. Unpack it, open terminal in the folder and run "makepkg".
ABS should be installed, of course, see:
viewtopic.php?f=3&t=3543&start=30#p15703

You have to remove libpulse

# pacman -Rd libpulse

then you can compile mplayer and other apps without PulseAudio. Otherwise, it might be compiled with PulseAudio.
Attachments
mplayer-vaapi-oss.tar.bz2
PKGBUILD with patches
(6.53 KiB) Downloaded 463 times
igorzwx
Supporter
 
Posts: 987
Joined: Sun Jun 28, 2009 9:31 pm

Re: Noise in ice1724 based soundcard

Postby wwmm » Thu Dec 30, 2010 10:25 pm

To verify if the problem is in the applications or in the driver I enabled the onboard card(ALC888S) and performed again the "seek" test. The noises don't appear in the onboard card!!!
wwmm
Member
 
Posts: 38
Joined: Sat Dec 25, 2010 5:09 pm

Re: Noise in ice1724 based soundcard

Postby igorzwx » Thu Dec 30, 2010 11:01 pm

wwmm wrote:To verify if the problem is in the applications or in the driver I enabled the onboard card(ALC888S) and performed again the "seek" test. The noises don't appear in the onboard card!!!


This fact allows to presume that the problem might be in the driver, but it does not prove anything.
It might be interesting to see "ossinfo -v9" of that onboard card.

EDIT: This kind of verification can hardly help to solve the problem. You may presume that noise is caused by the driver, but nobody else reported such noise. Why?
igorzwx
Supporter
 
Posts: 987
Joined: Sun Jun 28, 2009 9:31 pm

Re: Noise in ice1724 based soundcard

Postby cesium » Fri Dec 31, 2010 2:27 pm

igorzwx wrote:This kind of verification can hardly help to solve the problem. You may presume that noise is caused by the driver, but nobody else reported such noise. Why?


Well, a driver issue does seem the most likely, though not the only option.

To hazard a guess or two:
A) Multichannel setup isn't most common.
B) There are significant differences between envy24ht cards (see the driver source). Possibly only this specific card/setup needs a workaround only in this specific mode?

Now, it is possible that the driver is not bugged per se, but that the six ch. setup stresses the system enough so that there are underruns in some cases leading to the issue in question. It may be an old fashioned question, but is there an IRQ collusion (likely not, but the lspci output isn't detailed enough for me to know. 'lspci -v' should show this)?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Noise in ice1724 based soundcard

Postby wwmm » Fri Dec 31, 2010 2:40 pm

igorzwx: Here goes the output of ossinfo with the two cards enabled:

Code: Select all
[wallace@wwmm ~]$ ossinfo -v9
Version info: OSS 4.2 (b 2003/201012301801) (0x00040100) OSS_HG
Hg revision: changeset: 920:232d0de71550, tag: tip, date: Tue Nov 02 23:45:15 2010 +0200, summary: Misc changes to ossplay
Platform: Linux/x86_64 2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:32:37 CET 2010 (wwmm)

Number of audio devices:        13
Number of audio engines:        21
Number of MIDI devices:         0
Number of mixer devices:        2


Device objects
0: osscore0 OSS core services
1: oss_envy24ht0 VIA Vinyl Tremor Audio
2: oss_hdaudio0 ATI HD Audio interrupts=926 (1821)
    HD Audio controller ATI HD Audio
    Vendor ID    0x10024383
    Subvendor ID 0x10192255
     Codec  0: ALC888 (0x10ec0888/0x10192255)
3: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: VIA Vinyl Tremor Audio (VT1612A (Mixer 0 of device object 1)
    Device file /dev/oss/oss_envy24ht0/mix0, Legacy device /dev/mixer0
    Priority: 2
    Caps:
    Device handle: PCI24031412-0000:03:05.0-mx01
    Device priority: 2

1: High Definition Audio ALC888 (Mixer 0 of device object 2)
    Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer6
    Priority: 10
    Caps:
    Device handle: PCI22551019-0000:00:14.2-mx01
    Device priority: 10


Audio devices
VIA Vinyl Tremor Audio front out  /dev/oss/oss_envy24ht0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Out engine  1: 0/VIA Vinyl Tremor Audio front out
                     Available for use
      Engine      2: 5/VIA Vinyl Tremor Audio front out (vmix)
                     Available for use
      Engine      3: 6/VIA Vinyl Tremor Audio front out (vmix)
                     Available for use
      Engine      4: 7/VIA Vinyl Tremor Audio front out (vmix)
                     Available for use
      Engine      5: 8/VIA Vinyl Tremor Audio front out (vmix)
                     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: PCI24031412-0000:03:05.0-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: STEREO
    Supported number of channels (min - max): 2 - 6
    Native sample rates (min - max): 8000 - 192000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000)
    HW Type: ANALOG_OUT     Minimum latency: Not indicated

VIA Vinyl Tremor Audio c/l out    /dev/oss/oss_envy24ht0/pcm1  (device index 1)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 1/VIA Vinyl Tremor Audio c/l out
                     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: PCI24031412-0000:03:05.0-au02
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: STEREO
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 8000 - 192000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000)
    HW Type: ANALOG_OUT     Minimum latency: Not indicated

VIA Vinyl Tremor Audio side out   /dev/oss/oss_envy24ht0/pcm2  (device index 2)
    Legacy device /dev/dsp2
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 2/VIA Vinyl Tremor Audio side out
                     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: PCI24031412-0000:03:05.0-au03
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: STEREO
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 8000 - 192000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000)
    HW Type: ANALOG_OUT     Minimum latency: Not indicated

VIA Vinyl Tremor Audio digital out  /dev/oss/oss_envy24ht0/spdout  (device index 3)
    Legacy device /dev/dsp3
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 3/VIA Vinyl Tremor Audio digital out
                     Available for use
    Input formats (0x00001400):
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001400):
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI24031412-0000:03:05.0-au04
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: STEREO
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 8000 - 192000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000)
    HW Type: DIGITAL_OUT     Minimum latency: Not indicated

VIA Vinyl Tremor Audio analog in  /dev/oss/oss_envy24ht0/pcmin0  (device index 4)
    Legacy device /dev/dsp4
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      In engine   1: 4/VIA Vinyl Tremor Audio analog in
                     Available for use
      Engine      2: 5/VIA Vinyl Tremor Audio front out (vmix)
                     Available for use
      Engine      3: 6/VIA Vinyl Tremor Audio front out (vmix)
                     Available for use
      Engine      4: 7/VIA Vinyl Tremor Audio front out (vmix)
                     Available for use
      Engine      5: 8/VIA Vinyl Tremor Audio front out (vmix)
                     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: PCI24031412-0000:03:05.0-au05
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: STEREO
    Supported number of channels (min - max): 1 - 2
    Native sample rates (min - max): 8000 - 192000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000)
    HW Type: ANALOG_IN     Minimum latency: Not indicated

HD Audio play front               /dev/oss/oss_hdaudio0/pcm0  (device index 5)
    Legacy device /dev/dsp23
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Out engine  1: 9/HD Audio play front
                     Available for use
      Engine      2: 17/HD Audio play front (vmix)
                     Available for use
      Engine      3: 18/HD Audio play front (vmix)
                     Available for use
      Engine      4: 19/HD Audio play front (vmix)
                     Available for use
      Engine      5: 20/HD Audio play front (vmix)
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI22551019-0000:00:14.2-au01
    Related mixer dev: 1
    Sample rate source: 9
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play rear                /dev/oss/oss_hdaudio0/pcm1  (device index 6)
    Legacy device /dev/dsp24
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 10/HD Audio play rear
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI22551019-0000:00:14.2-au02
    Related mixer dev: 1
    Sample rate source: 9
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play center/LFE          /dev/oss/oss_hdaudio0/pcm2  (device index 7)
    Legacy device /dev/dsp25
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 11/HD Audio play center/LFE
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI22551019-0000:00:14.2-au03
    Related mixer dev: 1
    Sample rate source: 9
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play side                /dev/oss/oss_hdaudio0/pcm3  (device index 8)
    Legacy device /dev/dsp26
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 12/HD Audio play side
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI22551019-0000:00:14.2-au04
    Related mixer dev: 1
    Sample rate source: 9
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play pcm4                /dev/oss/oss_hdaudio0/pcm4  (device index 9)
    Legacy device /dev/dsp27
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 13/HD Audio play pcm4
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI22551019-0000:00:14.2-au05
    Related mixer dev: 1
    Sample rate source: 9
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play spdif-out           /dev/oss/oss_hdaudio0/spdout0  (device index 10)
    Legacy device /dev/dsp28
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 14/HD Audio play spdif-out
                     Available for use
    Input formats (0x00001410):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001410):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI22551019-0000:00:14.2-au06
    Related mixer dev: 1
    Sample rate source: 9
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin0  (device index 11)
    Legacy device /dev/dsp29
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      In engine   1: 15/HD Audio rec mix
                     Available for use
      Engine      2: 17/HD Audio play front (vmix)
                     Available for use
      Engine      3: 18/HD Audio play front (vmix)
                     Available for use
      Engine      4: 19/HD Audio play front (vmix)
                     Available for use
      Engine      5: 20/HD Audio play front (vmix)
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI22551019-0000:00:14.2-au07
    Related mixer dev: 1
    Sample rate source: 9
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin1  (device index 12)
    Legacy device /dev/dsp30
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 16/HD Audio rec mix
                     Available for use
    Input formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI22551019-0000:00:14.2-au08
    Related mixer dev: 1
    Sample rate source: 9
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_envy24ht0/pcm0
  /dev/dsp_in -> /dev/oss/oss_envy24ht0/pcm0
  /dev/dsp_out -> /dev/oss/oss_envy24ht0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_envy24ht0/spdout
  /dev/dsp_mmap -> /dev/oss/oss_envy24ht0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_envy24ht0/pcm0
  /dev/dsp_spdifout -> /dev/oss/oss_envy24ht0/spdout


cesium: Here is the output of lspci -vvv:

Code: Select all
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge Alternate
        Subsystem: Elitegroup Computer Systems Device 2255
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
        Latency: 0
        Capabilities: <access denied>

00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: fa000000-feafffff
        Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity+ SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel modules: shpchp

00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: feb00000-febfffff
        Prefetchable memory behind bridge: 00000000f8f00000-00000000f8ffffff
        Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity+ SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: <access denied>
        Kernel modules: shpchp

00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] (prog-if 01 [AHCI 1.0])
        Subsystem: Elitegroup Computer Systems Device 4390
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 22
        Region 0: I/O ports at b000 [size=8]
        Region 1: I/O ports at a000 [size=4]
        Region 2: I/O ports at 9000 [size=8]
        Region 3: I/O ports at 8000 [size=4]
        Region 4: I/O ports at 7000 [size=16]
        Region 5: Memory at f9fffc00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>
        Kernel driver in use: ahci
        Kernel modules: ahci

00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10 [OHCI])
        Subsystem: Elitegroup Computer Systems Device 2255
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at f9ffe000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd

00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller (prog-if 10 [OHCI])
        Subsystem: Elitegroup Computer Systems Device 2255
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at f9ffd000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd

00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20 [EHCI])
        Subsystem: Elitegroup Computer Systems Device 2255
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 17
        Region 0: Memory at f9fff800 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd

00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller (prog-if 10 [OHCI])
        Subsystem: Elitegroup Computer Systems Device 2255
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at f9ffc000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd

00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller (prog-if 10 [OHCI])
        Subsystem: Elitegroup Computer Systems Device 2255
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at f9ff7000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd

00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller (prog-if 20 [EHCI])
        Subsystem: Elitegroup Computer Systems Device 2255
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin B routed to IRQ 19
        Region 0: Memory at f9fff400 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd

00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3c)
        Subsystem: Elitegroup Computer Systems Device 2255
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Capabilities: <access denied>
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c-piix4

00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller (prog-if 8a [Master SecP PriP])
        Subsystem: Elitegroup Computer Systems Device 2255
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 16
        Region 0: I/O ports at 01f0 [size=8]
        Region 1: I/O ports at 03f4 [size=1]
        Region 2: I/O ports at 0170 [size=8]
        Region 3: I/O ports at 0374 [size=1]
        Region 4: I/O ports at ff00 [size=16]
        Capabilities: <access denied>
        Kernel driver in use: ATIIXP_IDE
        Kernel modules: ata_generic, pata_acpi, pata_atiixp, ide-pci-generic, atiixp

00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
        Subsystem: Elitegroup Computer Systems Device 2255
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0

00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (prog-if 01 [Subtractive decode])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=64
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: fff00000-000fffff
        Prefetchable memory behind bridge: fff00000-000fffff
        Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity+ SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-

00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller (prog-if 10 [OHCI])
        Subsystem: Elitegroup Computer Systems Device 2255
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 64 bytes
        Interrupt: pin C routed to IRQ 18
        Region 0: Memory at f9ff6000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: ohci_hcd
        Kernel modules: ohci-hcd

00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Capabilities: <access denied>

00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Kernel modules: amd64_edac_mod

00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Capabilities: <access denied>
        Kernel driver in use: k10temp
        Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

01:00.0 VGA compatible controller: nVidia Corporation G84 [GeForce 8600 GT] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: XFX Pine Group Inc. Device 4016
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at fa000000 (64-bit, non-prefetchable) [size=32M]
        Region 5: I/O ports at c800 [size=128]
        [virtual] Expansion ROM at feae0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nvidia, nouveau, nvidiafb

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
        Subsystem: Elitegroup Computer Systems Device 8d48
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 40
        Region 0: I/O ports at d800 [size=256]
        Region 2: Memory at f8fff000 (64-bit, prefetchable) [size=4K]
        Region 4: Memory at f8ff8000 (64-bit, prefetchable) [size=16K]
        Expansion ROM at febe0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169

03:05.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
        Subsystem: VIA Technologies Inc. Device 2403
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64
        Interrupt: pin A routed to IRQ 20
        Region 0: I/O ports at e800 [size=32]
        Region 1: I/O ports at e400 [size=128]
        Capabilities: <access denied>
        Kernel driver in use: oss_envy24ht


There are a few shared irqs but if I understood the output correctly the soundcard is alone in the irq 20
wwmm
Member
 
Posts: 38
Joined: Sat Dec 25, 2010 5:09 pm

Re: Noise in ice1724 based soundcard

Postby wwmm » Fri Dec 31, 2010 3:00 pm

Talking about the specific setup of this card I've been looking at its Encore webpage:
http://www.encore-usa.com/us/product/ENM232-6VIA

and its pci controller in VIA website:
http://www.via.com.tw/en/products/audio/controllers/tremor/

and in both places is stated that this card should be capable of 96 kHz sampling rate in spdout. In ossxmix I can only set it to a maximum value of 48 kHz. This is not a problem for me as I don't use spdout but indicates that a few functions of my card are not being correctly setup by oss4.
wwmm
Member
 
Posts: 38
Joined: Sat Dec 25, 2010 5:09 pm

Re: Noise in ice1724 based soundcard

Postby igorzwx » Fri Dec 31, 2010 3:14 pm

wwmm wrote:Talking about the specific setup of this card I've been looking at its Encore webpage:
http://www.encore-usa.com/us/product/ENM232-6VIA

and its pci controller in VIA website:
http://www.via.com.tw/en/products/audio/controllers/tremor/

and in both places is stated that this card should be capable of 96 kHz sampling rate in spdout. In ossxmix I can only set it to a maximum value of 48 kHz. This is not a problem for me as I don't use spdout but I was thinking this could be a sign that a few functions of my card are not being correctly setup by oss4.


Perhaps, you are doing something wrong. If you do not know how to set sample rate in ossmix, read this:
https://wiki.archlinux.org/index.php/OSS

According to your ossinfo, you can set such rates:
Code: Select all
Native sample rates (min - max): 8000 - 192000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000)


Code: Select all
Audio devices
VIA Vinyl Tremor Audio front out  /dev/oss/oss_envy24ht0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP
    Modes: IN/OUT
      Out engine  1: 0/VIA Vinyl Tremor Audio front out
                     Available for use
      Engine      2: 5/VIA Vinyl Tremor Audio front out (vmix)
                     Available for use
      Engine      3: 6/VIA Vinyl Tremor Audio front out (vmix)
                     Available for use
      Engine      4: 7/VIA Vinyl Tremor Audio front out (vmix)
                     Available for use
      Engine      5: 8/VIA Vinyl Tremor Audio front out (vmix)
                     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: PCI24031412-0000:03:05.0-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: STEREO
    Supported number of channels (min - max): 2 - 6
    Native sample rates (min - max): 8000 - 192000 (8000,9600,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000,176400,192000)
igorzwx
Supporter
 
Posts: 987
Joined: Sun Jun 28, 2009 9:31 pm

Re: Noise in ice1724 based soundcard

Postby wwmm » Fri Dec 31, 2010 3:32 pm

No, I'm not doing something wrong. My ossinfo output can't be right because the specs in the card pci controller website(see my last post) states that its upper limits in sampling rates are 48 khz for analog signal and 96 kHz for digital signal(the same was written in the card's box when I bought it). As the arch wiki states in envy24 cards the analog signal sampling rate is setup in the variable envy24.rate that in my ossxmix stops in 48 kHz, in accord with the specs in the website. The other instructions in arch wiki are related to the vmix sampling rate and in fact I can set it set to the values in my ossinfo output, but as soon as I play something in a sampling rate higher than 48 khz the value showed in ossxmix instantly decrease to 48 kHz(this behavior makes sense when we look at the card's specs, this is the maximum rate value for analog signals). The configuration problem is in the spdout.rate that stops in 48 kHz when it should go up to 96 kHz.

The question is, why is my ossinfo output showing sampling rates values that are not supported by the card?
wwmm
Member
 
Posts: 38
Joined: Sat Dec 25, 2010 5:09 pm

PreviousNext

Return to Linux

Who is online

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