On 1/9/07, steven mestdagh <[EMAIL PROTECTED]> wrote:
Siju George [2007-01-09, 21:25:26]:
> Hi,
>
> Just wondering how people on amd64 architecture are playing ogg files.
>
> Mplayer plays but no sound output.
> XMMS plays the file but the output is very fast and sounds llike caroon :-)
> ogg123 gives this error while following
> http://www.openbsd.org/faq/faq13.html#playaudio
>
>
> $ ogg123 -d sun bsdtalk090.ogg
>
> Audio Device: Sun audio driver output
>
> Playing: bsdtalk090.ogg
> Ogg Vorbis stream: 1 channel, 44100 Hz
> Error: Cannot open device sun.
maybe you can drop the -d sun from the above command?
providing a dmesg could be useful, as well as the output of 'mixerctl -a'.
Thankyou steven for the reply.
I tried it without sun first but same effect :-(
dmesg
and
mixerctl -a
below
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$ ogg123 bsdtalk090.ogg
Audio Device: Sun audio driver output
Playing: bsdtalk090.ogg
Ogg Vorbis stream: 1 channel, 44100 Hz
Error: Cannot open device sun.
$
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$ mixerctl -a
outputs.dac02.source=hdaudio
inputs.dac03.mute=off
inputs.dac03=123,123
inputs.dac04.mute=off
inputs.dac04=123,123
inputs.dac05.mute=off
inputs.dac05=123,123
outputs.mix09.mute=off
inputs.mix09.dac04.mut=off
inputs.mix09.dac05.mut=off
inputs.sel0a.source=mix07
inputs.sel0b.source=mix07
inputs.sel0c.source=dac04
inputs.sel0d.source=dac05
inputs.sel0e.source=mix08
inputs.sel0f.source=pink1f
outputs.sel0f=85,85
inputs.sel10.source=blue20
inputs.sel11.source=sel0f
inputs.sel12.source=sel11
outputs.sel12.mute=off
outputs.sel12=119,119
outputs.sel13.mute=off
outputs.sel13=123,123
outputs.sel14.mute=off
outputs.sel14=123
outputs.sel15.mute=off
outputs.sel15=123,123
outputs.sel16.mute=off
outputs.sel16=123,123
outputs.sel17.mute=off
outputs.sel17=123,123
inputs.sel18.source=beep19
outputs.sel18.mute=on
outputs.sel18=119
outputs.green1a.mute=off
outputs.green1a=123,123
outputs.green1a.boost=on
outputs.green1b.mute=off
outputs.green1b=255,255
outputs.green1b.boost=off
outputs.blue1c.mute=off
outputs.blue1c=123,123
outputs.blue1c.dir=output
outputs.pink1d.mute=off
outputs.pink1d=123,123
outputs.pink1d.dir=output
outputs.unknown1e.mute=off
outputs.unknown1e=123
outputs.pow26.source=mix07
inputs.usingdac=030405
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$ cat /var/run/dmesg.boot
OpenBSD 4.0 (GENERIC) #690: Sat Sep 16 20:26:25 MDT 2006
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 469037056 (458044K)
avail mem = 389718016 (380584K)
using 11502 buffers containing 47112192 bytes (46008K) of memory
mainbus0 (root)
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0730 (54 entries)
bios0: ASUSTeK Computer INC. A8V-VM
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon(tm) 64 Processor 3500+, 2200.37 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
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
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 vendor "VIA", unknown product 0x0336 rev 0x00
pchb1 at pci0 dev 0 function 1 vendor "VIA", unknown product 0x1336 rev 0x00
pchb2 at pci0 dev 0 function 2 vendor "VIA", unknown product 0x2336 rev 0x00
pchb3 at pci0 dev 0 function 3 vendor "VIA", unknown product 0x3336 rev 0x00
pchb4 at pci0 dev 0 function 4 vendor "VIA", unknown product 0x4336 rev 0x00
vendor "VIA", unknown product 0x5336 (class system subclass interrupt,
rev 0x00) at pci0 dev 0 function 5 not configured
pchb5 at pci0 dev 0 function 6 vendor "VIA", unknown product 0x6290 rev 0x00
pchb6 at pci0 dev 0 function 7 vendor "VIA", unknown product 0x7336 rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 vendor "VIA", unknown product 0x3230 rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pciide0 at pci0 dev 15 function 0 "VIA VT8251 SATA" rev 0x00: DMA
pciide0: using irq 5 for native-PCI interrupt
pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x07: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide1 channel 0 drive 0: <ST340014A>
wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors
wd0(pciide1:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide1 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SONY, DVD RW DRU-830A, SS20> SCSI0
5/cdrom removable
cd0(pciide1:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x90: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x90: irq 4
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x90: irq 6
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x90: irq 4
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib0 at pci0 dev 17 function 0 "VIA VT8251 ISA" rev 0x00
pchb7 at pci0 dev 17 function 7 "VIA VT8251 VLINK" rev 0x00
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x7c: irq 11,
address 00:18:f3:a7:74:73
rlphy0 at vr0 phy 1: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 19 function 0 "VIA VT8251 PCIE" rev 0x00
pci2 at ppb1 bus 4
azalia0 at pci2 dev 1 function 0 "VIA HD Audio" rev 0x00: irq 5
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: 0x04x/0x11d4 (rev. 5.0), HDA version 1.0
audio0 at azalia0
ppb2 at pci0 dev 19 function 1 "VIA VT8251 PCI" rev 0x00
pci3 at ppb2 bus 5
vendor "PCTEL", unknown product 0x7891 (class communications subclass
modem, rev 0x02) at pci3 dev 8 function 0 not configured
skc0 at pci3 dev 9 function 0 "D-Link Systems DGE-530T A1" rev 0x11,
Marvell Yukon (0x1): irq 5
sk0 at skc0 port A, address 00:0f:3d:f4:89:61
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 3
pchb8 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb9 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
pchb10 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb11 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
isa0 at pcib0
isadma0 at isa0
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: unknown Winbond chip (ID 0xa1)
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!