4.0.b1012 freezes applications on HDAudio (FreeBSD 7.0amd64)

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: hannu, dev, kodachi, cesium

4.0.b1012 freezes applications on HDAudio (FreeBSD 7.0amd64)

Postby Tarick » Sat Jan 12, 2008 11:10 pm

Mplayer and rhythmbox freezes after some time of playing. I cannot kill them, only reboot helps. Using ''truss'' on mplayer shows calling of "nanosleep" function all the time. It is not regarded to vmix, freeze occurred in all cases.
Reverting to 4.0.b1008 fixed the problem.

ossinfo -v9

Code: Select all
Version info: OSS 4.0 (b1012/200801081952) (0x00040003) BSD
Platform: FreeBSD/amd64 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #23: Sat Jan 12 21:05:11 EET 2008     root@KLH:/usr/obj/usr/src/sys/KLH (KLH)

Number of audio devices:   10
Number of audio engines:   10
Number of mixer devices:   1


Device objects
0: hdaudio0 ATI HD Audio
    HD Audio controller ATI HD Audio
    Vendor ID    0x10024383
    Subvendor ID 0x102801f5
     Codec  0: Unknown (0x14f12bfa)
     Codec  1: STAC9200 (0x83847690/0x102801f5)
1: vmix0 OSS transparent virtual support


Mixer devices
0: High Definition Audio STAC9200 (Mixer 0 of device object 0)
    Device file /dev/oss/hdaudio0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps:
    Device handle: OSS-PCI-mx01
    Device priority: 10


Audio devices
High Definition Audio pcm         /dev/oss/hdaudio0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: TRIGGER MMAP
    Modes: OUTPUT
      Out engine  1: 0/High Definition Audio pcm
                     Busy (OUT) label 'VMIX'
      Engine      2: 2/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      3: 3/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      4: 4/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      5: 5/High Definition Audio pcm (VMIX0)
                     Busy (OUT) by PID 1163 / rhythmbox label 'rhythmbox'
      Engine      6: 6/High Definition Audio pcm (VMIX0)
                     Busy (OUT) by PID 1379 / mplayer label 'mplayer'
      Engine      7: 7/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      8: 8/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      9: 9/High Definition Audio pcm (VMIX0)
                     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: OSS-PCI-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,176400,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

High Definition Audio rec         /dev/oss/hdaudio0/pcmin0  (device index 1)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP
    Modes: INPUT 
      In engine   1: 1/High Definition Audio rec
                     Busy (IN) label 'VMIX_IN'
      Engine      2: 2/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      3: 3/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      4: 4/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      5: 5/High Definition Audio pcm (VMIX0)
                     Busy (OUT) by PID 1163 / rhythmbox label 'rhythmbox'
      Engine      6: 6/High Definition Audio pcm (VMIX0)
                     Busy (OUT) by PID 1379 / mplayer label 'mplayer'
      Engine      7: 7/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      8: 8/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      9: 9/High Definition Audio pcm (VMIX0)
                     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: OSS-PCI-au02
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,176400,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

High Definition Audio pcm (VMIX0)  /dev/oss/vmix0/pcm0  (device index 2)
    Legacy device /dev/dsp2
    Caps: DUPLEX TRIGGER MMAP VIRTUAL
    Modes: IN/OUT
      Engine      1: 2/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      2: 3/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      3: 4/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      4: 5/High Definition Audio pcm (VMIX0)
                     Busy (OUT) by PID 1163 / rhythmbox label 'rhythmbox'
      Engine      5: 6/High Definition Audio pcm (VMIX0)
                     Busy (OUT) by PID 1379 / mplayer label 'mplayer'
      Engine      6: 7/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      7: 8/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      8: 9/High Definition Audio pcm (VMIX0)
                     Available for use
    Input formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Output formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Device handle: vmix0-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

High Definition Audio pcm (VMIX0)  /dev/oss/vmix0/pcm1  (device index 3)
    Legacy device /dev/dsp3
    Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
    Modes: IN/OUT
      Engine      1: 3/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      2: 4/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      3: 5/High Definition Audio pcm (VMIX0)
                     Busy (OUT) by PID 1163 / rhythmbox label 'rhythmbox'
      Engine      4: 6/High Definition Audio pcm (VMIX0)
                     Busy (OUT) by PID 1379 / mplayer label 'mplayer'
      Engine      5: 7/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      6: 8/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      7: 9/High Definition Audio pcm (VMIX0)
                     Available for use
    Input formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Output formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Device handle: vmix0-au02
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

High Definition Audio pcm (VMIX0)  /dev/oss/vmix0/pcm2  (device index 4)
    Legacy device /dev/dsp4
    Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
    Modes: IN/OUT
      Engine      1: 4/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      2: 5/High Definition Audio pcm (VMIX0)
                     Busy (OUT) by PID 1163 / rhythmbox label 'rhythmbox'
      Engine      3: 6/High Definition Audio pcm (VMIX0)
                     Busy (OUT) by PID 1379 / mplayer label 'mplayer'
      Engine      4: 7/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      5: 8/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      6: 9/High Definition Audio pcm (VMIX0)
                     Available for use
    Input formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Output formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Device handle: vmix0-au03
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

High Definition Audio pcm (VMIX0)  /dev/oss/vmix0/pcm3  (device index 5)
    Legacy device /dev/dsp5
    Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
    Modes: IN/OUT
      Engine      1: 5/High Definition Audio pcm (VMIX0)
                     Busy (OUT) by PID 1163 / rhythmbox label 'rhythmbox'
      Engine      2: 6/High Definition Audio pcm (VMIX0)
                     Busy (OUT) by PID 1379 / mplayer label 'mplayer'
      Engine      3: 7/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      4: 8/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      5: 9/High Definition Audio pcm (VMIX0)
                     Available for use
    Input formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Output formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Device handle: vmix0-au04
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

High Definition Audio pcm (VMIX0)  /dev/oss/vmix0/pcm4  (device index 6)
    Legacy device /dev/dsp6
    Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
    Modes: IN/OUT
      Engine      1: 6/High Definition Audio pcm (VMIX0)
                     Busy (OUT) by PID 1379 / mplayer label 'mplayer'
      Engine      2: 7/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      3: 8/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      4: 9/High Definition Audio pcm (VMIX0)
                     Available for use
    Input formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Output formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Device handle: vmix0-au05
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

High Definition Audio pcm (VMIX0)  /dev/oss/vmix0/pcm5  (device index 7)
    Legacy device /dev/dsp7
    Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
    Modes: IN/OUT
      Engine      1: 7/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      2: 8/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      3: 9/High Definition Audio pcm (VMIX0)
                     Available for use
    Input formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Output formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Device handle: vmix0-au06
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

High Definition Audio pcm (VMIX0)  /dev/oss/vmix0/pcm6  (device index 8)
    Legacy device /dev/dsp8
    Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
    Modes: IN/OUT
      Engine      1: 8/High Definition Audio pcm (VMIX0)
                     Available for use
      Engine      2: 9/High Definition Audio pcm (VMIX0)
                     Available for use
    Input formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Output formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Device handle: vmix0-au07
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

High Definition Audio pcm (VMIX0)  /dev/oss/vmix0/pcm7  (device index 9)
    Legacy device /dev/dsp9
    Caps: DUPLEX TRIGGER MMAP VIRTUAL SHADOW HIDDEN
    Modes: IN/OUT
      Engine      1: 9/High Definition Audio pcm (VMIX0)
                     Available for use
    Input formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Output formats (0x00005010):
      AFMT_S16_LE   - 16 bit signed little endian
      AFMT_S32_LE   - 32 bit signed little endian
      AFMT_FLOAT   - Single precision floating point (native endianess)
    Device handle: vmix0-au08
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated
Tarick
 
Posts: 11
Joined: Sat Jun 30, 2007 6:01 pm

Postby kiorky » Fri Mar 21, 2008 9:28 pm

I can confirm this bug on freebsd RELENG_7_0 (i386) and this oss version:
Version info: OSS 4.1 (b 080226/200803211950) (0x00040003) BSD
Platform: FreeBSD/i386 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Fri Mar 21 06:21:41 CET 2008 kiorky@judith.cryptelium.net:/usr/obj/usr/src/sys/JUDITH
kiorky
 
Posts: 1
Joined: Fri Mar 21, 2008 9:25 pm


Return to BSD

Who is online

Users browsing this forum: Majestic-12 [Bot] and 4 guests

cron