On Wed, 18 May 2005 14:59:51 +0300 Ion-Mihai Tetcu <itetcu_at_people.tecnik93.com> wrote: > On Mon, 16 May 2005 22:50:39 +0800 > Ariff Abdullah <skywizard_at_MyBSD.org.my> wrote: > > > On Sun, 15 May 2005 22:15:22 +0300 > > Ion-Mihai Tetcu <itetcu_at_people.tecnik93.com> wrote: > > > On Sun, 15 May 2005 20:59:50 +0200 > > > Pav Lucistnik <pav_at_FreeBSD.org> wrote: > > > > > > > Ion-Mihai Tetcu pí¨e v ne 15. 05. 2005 v 21:51 +0300: > > > > > On Sun, 15 May 2005 20:35:40 +0200 > > > > > Pav Lucistnik <pav_at_FreeBSD.org> wrote: > > > > > > > > > > > Edwin L. Culp píše v ne 15. 05. 2005 v 12:14 -0500: > > > > > > > Quoting Divacky Roman <xdivac02_at_stud.fit.vutbr.cz>: > > > > > > > > > > > > > > > On Sun, May 15, 2005 at 02:41:24AM -0700, Julian > > > > > > > > Elischer wrote: > > > > > > > >> cpghost_at_cordula.ws wrote: > > > > > > > >> >On Sat, May 14, 2005 at 06:51:48PM -0700, Julian > > > > > > > >Elischer wrote: > > > > > > > > > >> >>Has anyone run skype successfully on these versions > > > > > > > >(5 or 6) of freeBSD? > >>I can run it successfully on > > > > > > > >4.x but on my 5.x machine the audio is > >>completely > > > > > > > >> >>broken up. like someone is chopping the audio > > > > > > > >stream. > > > > > > > > > >> > > > > > > > > >> >I'm running Skype on 5.4 (via82c686). On an AMD > > > > > > > >Duron 1200 MHz, the > >sound quality is all right; on > > > > > > > >an EPIA 5000 Eden 500 MHz (also via82c686), > >the > > > > > > > >sound is totally chopped and it is impossible to > > > > > > > >follow. > > hmm so maybe its the fact that my machine > > > > > > > >is too slow.. it's also 500MHz > my 1GHz 4.11 machine > > > > > > > >seems to run it fine. > > > > > > > > > > > > > > > > I have exactly the same problem (broken sound) > > > > > > > > pcm0: <VIA VT8237> at io 0xe800 irq 12 kld snd_via8233 > > > > > > > > (5p/1r/0v channels duplex default) > > > > > > > > > > > > > > I had this on all my AMD/Athlon boards with the via > > > > > > > sound chipset. I found a reference to the problem, no > > > > > > > solution, on one of the Skype BB's. I finally just > > > > > > > disabled the onboard sound and added cheap available > > > > > > > sound cards and they all have worked great. I've tried > > > > > > > to get the via sound to work a couple of times after > > > > > > > that, without success. > > > > > > > > > > > > Same story, different solution. With Open Sound drivers > > > > > > from www.opensound.com Skype works correctly. > > > > > > > > > > Is this with via8235/8237 on -STABLE ? > > > > > > > > pcm0: <VIA VT8237> port 0xb400-0xb4ff irq 22 at device 17.5 on > > > > pci0 pcm0: <Avance Logic ALC850 AC97 Codec> > > > > > > > > Both RELENG_5/i386 and RELENG_5/amd64 (different boards, same > > > > chip) > > > > > > > > > Yup, I got one of this. > > > > > > > > > > Can you guys with snd_via8233 driver try these patches? > > > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/via8233.c.diff > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/vchan.c.diff > > > > set your hw.snd.maxautovchans or hw.snd.pcm0.vchans appropriately, > > add hint.pcm.0.via_dxs_disabled="1" into your /boot/device.hints > > and possibly with option PREEMPTION in kernel. > > I get an instant reboot when trying to play anything in xmms; I > tested it this morning before leaving for work so this is all that I > can say for now. > > With hw.snd.maxautovchans=0 it doesn't happen. > > 5.4-STABLE #6: Wed May 18 04:35:34 EEST 2005 sources + your patches > and the hint, ULE and no PREEMPTION kernel, > > pcm0_at_pci0:17:5: class=0x040100 card=0xa0021458 chip=0x30591106 > rev=0x60 hdr=0x00 > vendor = 'VIA Technologies Inc' > device = 'VT8233/33A/8235/8237 AC97 Enhanced Audio Controller' > class = multimedia > subclass = audio > > pcm0: <VIA VT8237> port 0xbc00-0xbcff irq 22 at device 17.5 on pci0 > pcm0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xbc00 > pcm0: [MPSAFE] > pcm0: <Avance Logic ALC655 AC97 Codec (id = 0x414c4760)> > pcm0: Codec features 5 bit master volume, no 3D Stereo Enhancement > pcm0: Primary codec extended features reserved 1, center DAC, > surround DAC, LFE DAC , reserved 5 > pcm0: sndbuf_setmap 252000, 1000; 0xc237e000 -> 252000 > pcm0: sndbuf_setmap 274000, 1000; 0xc2380000 -> 274000 > pcm0: <VIA DXS Disabled> > > # sysctl hw.snd > hw.snd.report_soft_formats: 1 > hw.snd.targetirqrate: 32 > hw.snd.verbose: 3 > hw.snd.maxautovchans: 3 > hw.snd.unit: 0 > hw.snd.pcm0.buffersize: 4096 > hw.snd.pcm0.vchans: 1 > > # cat /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: <VIA VT8237> at io 0xbc00 irq 22 kld snd_via8233 (1p/1r/1v > channels duplex default) > [pcm0:play:0]: spd 48000, fmt 0x10000010, flags 0x00003000, > 0x00000000 interrupts 5678, underruns 5650, ready 0 > {userland} -> feeder_vchan_s16(0x10000010) -> {hardware} > pcm0:play:0[pcm0:virtual:0]: spd 44100/48000, fmt > 0x10000010, flags 0x10000000, 0x00000010 interrupts 0, > underruns 0, ready 0 {userland} -> feeder_root(0x10000010) > -> feeder_rate(44100 -> 48000) -> {hardware} > [pcm0:record:0]: spd 0, fmt 0x00000000/0x00000008, flags > 0x00000000, 0x00000000 interrupts 0, overruns 0, hfree 4096, > sfree 0 {hardware} -> feeder_root(0x00000000) -> {userland} > > File Versions: > $FreeBSD: src/sys/dev/sound/pci/via8233.c,v 1.17.2.2 2005/01/30 > 01:00:04 imp Exp $ $FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v > 1.2.4.1 2005/01/30 01:00:03 imp Exp $ $FreeBSD: > src/sys/dev/sound/pcm/vchan.c,v 1.16.2.1 2005/01/30 01:00:05 imp Exp > $ $FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.92.2.1 2005/01/30 > 01:00:05 imp Exp $ $FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v > 1.17.2.2 2005/01/30 01:00:05 imp Exp $ $FreeBSD: > src/sys/dev/sound/pcm/mixer.c,v 1.40.2.1 2005/01/30 01:00:05 imp Exp > $ $FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 1.10.6.1 > 2005/01/30 01:00:05 imp Exp $ $FreeBSD: > src/sys/dev/sound/pcm/feeder_fmt.c,v 1.13.4.1 2005/01/30 01:00:05 > imp Exp $ $FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.32.4.1 > 2005/01/30 01:00:05 imp Exp $ $FreeBSD: > src/sys/dev/sound/pcm/fake.c,v 1.13.4.1 2005/01/30 01:00:05 imp Exp > $ $FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.77.2.1 2005/01/30 > 01:00:04 imp Exp $ $FreeBSD: src/sys/dev/sound/pcm/channel.c,v > 1.97.2.1 2005/01/30 01:00:04 imp Exp $ $FreeBSD: > src/sys/dev/sound/pcm/buffer.c,v 1.23.2.2 2005/01/30 01:00:04 imp > Exp $ $FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.2.4.1 > 2005/01/30 01:00:04 imp Exp $ $FreeBSD: > src/sys/dev/sound/pcm/ac97.c,v 1.51.2.2 2005/05/01 14:31:06 scottl > Exp $ > > and this xmms config: > [OSS] > audio_device=0 > mixer_device=0 > buffer_size=3000 > prebuffer=25 > use_master=FALSE > use_alt_audio_device=FALSE > ^^^^^^^^^^^^^^^ (I think this was =TRUE, I'll check when > I get home) > alt_audio_device=/dev/dsp0.2 > use_alt_mixer_device=FALSE > alt_mixer_device=/dev/mixer > > How about this. Let hw.snd.maxautovchans=0 , and set hw.snd.pcm0.vchans=morethan_1. It's probably not because of via driver, or the driver itself triggering somewhere else. If you can, try to trigger the panic during single user mode. It's much verbose there. Other people reported better result with those patches, so I hope we can refine your current situation. How about your vmstat -i? How about enabling dxs back (hint.pcm.0.via_dxs_disabled="0") ? -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)Received on Wed May 18 2005 - 17:57:42 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:34 UTC