Bug 244093 - Audio "slow" from rear SBLive! output [12.x regression]
Summary: Audio "slow" from rear SBLive! output [12.x regression]
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-multimedia mailing list
Keywords: regression
Depends on:
Reported: 2020-02-13 11:05 UTC by ml
Modified: 2020-02-13 15:23 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description ml 2020-02-13 11:05:55 UTC
In my desktop PC I have two soundcards, the one on the motherboard and an old PCI SBLive!.

Both have been properly working until I upgraded from 11.3 to 12.1: after that, sound the "Rear" output of the SBLive! is slowed and crackling as if the output could not work up to speed. "Front" output and the other card work perfectly, tough.

Relevant part of dmesg:
FreeBSD 12.1-RELEASE-p2 #2 r357334M: Sun Feb  2 10:23:26 CET 2020
hdac0: <ATI (0x970f) HDA Controller> mem 0xfe7e8000-0xfe7ebfff irq 19 at device 5.1 on pci1
hdac1: <ATI SB600 HDA Controller> mem 0xfe5f4000-0xfe5f7fff irq 16 at device 20.2 on pci0
emu10kx0: <Creative SBLive! Value [CT4850]> port 0xdc00-0xdc1f irq 20 at device 5.0 on pci4
pcm0: <EMU10Kx DSP front PCM interface> on emu10kx0
pcm0: <TriTech TR28023 AC97 Codec>
pcm1: <EMU10Kx DSP rear PCM interface> on emu10kx0
hdacc0: <ATI RS690/780 HDA CODEC> at cad 0 on hdac0
hdaa0: <ATI RS690/780 Audio Function Group> at nid 1 on hdacc0
pcm2: <ATI RS690/780 (HDMI)> at nid 3 on hdaa0
hdacc1: <Realtek ALC892 HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek ALC892 Audio Function Group> at nid 1 on hdacc1
pcm3: <Realtek ALC892 (Rear Analog 7.1/2.0)> at nid 20,22,21,23 and 24,26 on hdaa1
pcm4: <Realtek ALC892 (Front Analog)> at nid 27 and 25 on hdaa1
pcm5: <Realtek ALC892 (Rear Digital)> at nid 30 on hdaa1
pcm6: <Realtek ALC892 (Onboard Digital)> at nid 17 on hdaa1 

pciconf -lv:
hdac1@pci0:0:20:2:	class=0x040300 card=0x841b1043 chip=0x43831002 rev=0x40 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'SBx00 Azalia (Intel HDA)'
    class      = multimedia
    subclass   = HDA
hdac0@pci0:1:5:1:	class=0x040300 card=0x843e1043 chip=0x970f1002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'RS880 HDMI Audio [Radeon HD 4200 Series]'
    class      = multimedia
    subclass   = HDA
emu10kx0@pci0:4:5:0:	class=0x040100 card=0x00201102 chip=0x00021102 rev=0x04 hdr=0x00
    vendor     = 'Creative Labs'
    device     = 'EMU10k1 [Sound Blaster Live! Series]'
    class      = multimedia
    subclass   = audio
none1@pci0:4:5:1:	class=0x098000 card=0x00201102 chip=0x70021102 rev=0x01 hdr=0x00
    vendor     = 'Creative Labs'
    device     = 'SB Live! Game Port'
    class      = input device

# cat /dev/sndstat 
Installed devices:
pcm0: <EMU10Kx DSP front PCM interface> (play/rec) default
pcm1: <EMU10Kx DSP rear PCM interface> (play)
pcm2: <ATI RS690/780 (HDMI)> (play)
pcm3: <Realtek ALC892 (Rear Analog 7.1/2.0)> (play/rec)
pcm4: <Realtek ALC892 (Front Analog)> (play/rec)
pcm5: <Realtek ALC892 (Rear Digital)> (play)
pcm6: <Realtek ALC892 (Onboard Digital)> (play)
No devices installed from userspace.
root@alamar:~ # 

So, to recap:

_ "mplayer -ao oss:/dev/dsp0 Track_03.WAV" works perfectly;
_ so does "mplayer -ao oss:/dev/dsp3 Track_03.WAV";
_ "mplayer -ao oss:/dev/dsp1 Track_03.WAV" crackles as if the computer was under load and could not output sound as fast as needed.