On Sun, 26 Aug 2012 21:48:52 +0200
Alexandre Ratchov <[email protected]> wrote:
> This fixes threading bugs guenther found when we switched to
> rthreads. Most changes are copy & paste from audacious.
>
> Basically, call any sio_* function with the mutex locked. But since
> we can't hold the mutex locked during blocking operations (the GUI
> would block) use a simple "event loop" with non-blocking i/o.
>
> Regressions? Comments? OKs?
>
> -- Alexandre
On amd64-current, (with -mp3 -vorbis and -mikmod subpackages installed as well)
this does not output any sound for me using .mp3s or .oggs. The time display on
xmms remains on 00:00.
I tried changing the output plugin audio device from default to snd/0 and
rsnd/0, but still no playback.
I deleted pkg, plist, and rebuilt using the version without this new diff, and
it plays mp3s and oggs no problem.
Normally I don't use xmms so please let me know if there are some other
settings I should alter to test.
Brett.
===================
OpenBSD 5.2-current (GENERIC.MP) #21: Sun Aug 26 18:41:18 EST 2012
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3218997248 (3069MB)
avail mem = 3110948864 (2966MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0000 (45 entries)
bios0: vendor Phoenix version "R01-A1" date 03/02/2009
bios0: eMachines ET1300
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT HPET SLIC MCFG APIC
acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) USB0(S3) USB2(S3)
AZAD(S5) MMAC(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 25000000 Hz
acpimcfg0 at acpi0 addr 0xf0000000, bus 0-63
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) Dual Core Processor 5050e , 2612.30 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) Dual Core Processor 5050e , 2611.88 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (HUB0)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpitz0 at acpi0: critical temperature is 75 degC
acpibtn0 at acpi0: PWRB
cpu0: PowerNow! K8 2612 MHz: speeds: 2600 2400 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0
"NVIDIA MCP61 Memory" rev 0xa1 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 "NVIDIA MCP61 ISA" rev 0xa2
nviic0 at pci0 dev 1 function 1 "NVIDIA MCP61 SMBus" rev 0xa2
iic0 at nviic0
spdmem0 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-6400CL5
spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-6400CL5
spdmem2 at iic0 addr 0x53: 1GB DDR2 SDRAM non-parity PC2-6400CL5
iic1 at nviic0
"NVIDIA MCP61 Memory" rev 0xa2 at pci0 dev 1 function 2 not configured
ohci0 at pci0 dev 2 function 0 "NVIDIA MCP61 USB" rev 0xa3: apic 4 int 10,
version 1.0, legacy support
ehci0 at pci0 dev 2 function 1 "NVIDIA MCP61 USB" rev 0xa3: apic 4 int 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1
ppb0 at pci0 dev 4 function 0 "NVIDIA MCP61" rev 0xa1
pci1 at ppb0 bus 1
azalia0 at pci0 dev 5 function 0 "NVIDIA MCP61 HD Audio" rev 0xa2: apic 4 int 11
azalia0: codecs: Realtek ALC888
audio0 at azalia0
pciide0 at pci0 dev 6 function 0 "NVIDIA MCP61 IDE" rev 0xa2: DMA, channel 0
configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 ignored (disabled)
nfe0 at pci0 dev 7 function 0 "NVIDIA MCP61 LAN" rev 0xa2: apic 4 int 15,
address 00:25:11:3e:44:93
rlphy0 at nfe0 phy 1: RTL8201L 10/100 PHY, rev. 1
pciide1 at pci0 dev 8 function 0 "NVIDIA MCP61 SATA" rev 0xa2: DMA
pciide1: using apic 4 int 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST3160318AS>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
wd1 at pciide1 channel 1 drive 0: <ST2000DM001-1CH164>
wd1: 16-sector PIO, LBA48, 1907729MB, 3907029168 sectors
wd1(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 6
pciide2 at pci0 dev 8 function 1 "NVIDIA MCP61 SATA" rev 0xa2: DMA
pciide2: using apic 4 int 10 for native-PCI interrupt
atapiscsi0 at pciide2 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVDRAM GH40F, MG01> ATAPI 5/cdrom
removable
cd0(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 5
wd2 at pciide2 channel 1 drive 0: <WDC WD5000AADS-00M2B0>
wd2: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd2(pciide2:1:0): using PIO mode 4, Ultra-DMA mode 6
ppb1 at pci0 dev 9 function 0 "NVIDIA MCP61 PCIE" rev 0xa2
pci2 at ppb1 bus 3
vga1 at pci2 dev 0 function 0 vendor "NVIDIA", unknown product 0x06e6 rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb2 at pci0 dev 11 function 0 "NVIDIA MCP61 PCIE" rev 0xa2
pci3 at ppb2 bus 4
ppb3 at pci0 dev 12 function 0 "NVIDIA MCP61 PCIE" rev 0xa2
pci4 at ppb3 bus 5
pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
pchb2 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00
kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core rev
BH-G2
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
it0 at isa0 port 0x2e/2: IT8726F rev 3, EC port 0x290
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
umass0 at uhub0 port 9 configuration 1 interface 0 "Generic Mass Storage
Device" rev 2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <Generic, Compact Flash, 0.00> SCSI2 0/direct
removable
sd1 at scsibus1 targ 1 lun 1: <Generic, SD/MMC, 0.00> SCSI2 0/direct removable
sd2 at scsibus1 targ 1 lun 2: <Generic, microSD, 0.00> SCSI2 0/direct removable
sd3 at scsibus1 targ 1 lun 3: <Generic, MS/MS-PRO, 0.00> SCSI2 0/direct
removable
sd4 at scsibus1 targ 1 lun 4: <Generic, SM/xD-Picture, 0.00> SCSI2 0/direct
removable
uplcom0 at uhub1 port 1 "Prolific Technology Inc. USB-Serial Controller D" rev
1.10/4.00 addr 2
ucom0 at uplcom0
uhidev0 at uhub1 port 3 configuration 1 interface 0 "Logitech USB Receiver" rev
1.10/46.00 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 8 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev1 at uhub1 port 3 configuration 1 interface 1 "Logitech USB Receiver" rev
1.10/46.00 addr 3
uhidev1: iclass 3/0, 16 report ids
uhid0 at uhidev1 reportid 16: input=6, output=6, feature=0
uhidev2 at uhub1 port 4 configuration 1 interface 0 "Holtek product 0x1203" rev
2.00/2.80 addr 4
uhidev2: iclass 3/1
ukbd0 at uhidev2: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev3 at uhub1 port 4 configuration 1 interface 1 "Holtek product 0x1203" rev
2.00/2.80 addr 4
uhidev3: iclass 3/0, 2 report ids
uhid1 at uhidev3 reportid 1: input=1, output=0, feature=0
uhid2 at uhidev3 reportid 2: input=3, output=0, feature=0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on wd2a (0b1f2f914f21fd86.a) swap on wd2b dump on wd2b
umass1 at uhub0 port 6 configuration 1 interface 0 "BUFFALO HD-PVU2" rev
2.00/1.04 addr 3
umass1: using SCSI over Bulk-Only
scsibus4 at umass1: 2 targets, initiator 0
sd5 at scsibus4 targ 1 lun 0: <BUFFALO, HD-PVU2, 1.04> SCSI2 0/direct fixed
serial.04111101465A34303030
sd5: 476940MB, 512 bytes/sector, 976773168 sectors
sd5 detached
scsibus4 detached
umass1 detached
umass1 at uhub0 port 6 configuration 1 interface 0 "JetFlash Mass Storage
Device" rev 2.00/1.00 addr 3
umass1: using SCSI over Bulk-Only
scsibus4 at umass1: 2 targets, initiator 0
sd5 at scsibus4 targ 1 lun 0: <JetFlash, Transcend 8GB, 8.07> SCSI2 0/direct
removable
sd5: 7668MB, 512 bytes/sector, 15704064 sectors
sd5 detached
scsibus4 detached
umass1 detached