On Wed, May 17, 2017 at 06:50:29PM +0100, multiplex'd wrote: > On Wed, May 17, 2017 at 05:25:14PM +0200, Alexandre Ratchov wrote: > > On Wed, May 17, 2017 at 02:27:38PM +0100, multiplex'd wrote: > > > Hello all, > > > > > > I have an IBM T22 Thinkpad running OpenBSD 6.1. Recently, I've been trying > > > to play audio on the system but I've run into some trouble. > > > > > > I'm using mplayer from packages, but when I try to play an audio file the > > > playback is extremely slow and of very poor quality (changing the format > > > of > > > the audio file used does not change this behaviour). However, if I start > > > disk-heavy activity at the same time, such as running 'ncdu' (from > > > packages) > > > or 'find /' then suddenly playback is normal and as expected until > > > mplayer > > > spontaneously catches signal 13 (SIGPIPE according to > > > /usr/include/sys/signal.h). > > > > could you provide the output of dmesg ? > > dmesg attached below.
> cbb0 at pci0 dev 2 function 0 "TI PCI1450 CardBus" rev 0x03: irq 11 > cbb1 at pci0 dev 2 function 1 "TI PCI1450 CardBus" rev 0x03: irq 11 > fxp0 at pci0 dev 3 function 0 "Intel 8255x" rev 0x0c, i82550: irq 11, address > 00:03:47:b9:1f:6b > clcs0 at pci0 dev 5 function 0 "Cirrus Logic CS4280/46xx CrystalClear" rev > 0x01: irq 11 > uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11 > cardslot0 at cbb0 slot 0 flags 0 > cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0xb0 > pcmcia0 at cardslot0 > wdc2 at pcmcia0 function 0 "Kingston, ULTIMATE CF CARD, " port 0xa000/16 > wd1 at wdc2 channel 0 drive 0: <ULTIMATE CF CARD> > wd1: 1-sector PIO, LBA48, 30495MB, 62455680 sectors > wd1(wdc2:0:0): using BIOS timings There are 5 devices that share the same interrupt (2 cardbus, 1 nic, 1 audio, 1 usb), not optimal, but sharing interrupts is supposed to work. The fact that disk activity "fixes" playback suggests something is disturbing audio interrupts. According to your dmesg, you've a hard-disk connected to the cardbus device. Could you confirm that audio works if cardbus is disabled? this would give hints about in which driver to look for the bug.