On Tuesday 08 July 2003 18:40, Kenneth Culver wrote:
> With vchans disabled, you should only be able to use 1 sound
> producing app at a time unless you're going through artsd or esd or
> something for all of your sound.

I'm under KDE ;), so it starts up.
buh# ps ax | grep artsd
  706  ??  S      0:28.09 /usr/local/bin/artsd -F 10 -S 4096 -s 60 -m 
artsmessage -l 3 -f

and i suppose it's the suspect.

I've tried
artsdsp -v aviplay %f  Marlene\ Dietrich_Peter.mp3
and got (no hang):

-------------
artsdsp:       1.1.2
name:
command line:  aviplay %f Marlene Dietrich_Peter.mp3
threaded:      yes
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
<aviplay> : Debug is on 0
<reader> : checking: %f
<InputStream> : Could not open file %f: No such file or directory
<AVI reader> : Stream: %f can't be opened!
<ASF reader> : Could not open the file
<ASX reader> : Could not open file!
<ASF network reader> : Not an URL
OPEN INPUT failed
<reader> : can't open stream
<aviplay> : Closing clip
<aviplay> : Debug is on 0
<reader> : checking: Marlene Dietrich_Peter.mp3
<ASF reader> : Not ASF stream
<ASX reader> : Not a redirector!
<ASF network reader> : Not an URL
FFFormat  MPEG audio   streams:1
S: 0 id:4  bitrate:96000 (8000000) samprate:44100  chn:2  framerate:25  
wxh 0x0  0.000000
Numerator: 1  Denumerator: 90000   FrameRate: nan (len: 0)
<reader> : Initialized audio stream (chunk tblsz: 0, fmtsz: 18)
<audio reader> : MPEG1 Layer-3 44100Hz 96kbps JointStereo (1152,40,313)
<audio reader> : WARNING: fixing bad MP3 Layer3 tag 0x50 -> 0x55
<audio reader> : junk size at the begining:  time:0.01s  pos:1024 (146b)
<aviplay> : Videostream not detected
<LDT keeper> : Installed fs segment: 0x291a0000
<codec keeper> : Found 10 plugins (/usr/local/lib/avifile,A:38,V:77)
<codec keeper> : FFMPEG MPEG Layer-3 audio decoder created
<aviplay> : Will try audio renderers in this order: OSS,SDL,noaudio
<audio renderer> : src fmt=0x55 2ch 44100Hz  0b  12000B/s balign=1 
cbsz=29285
<audio renderer> : dst fmt=0x01 2ch 44100Hz 16b 176400B/s balign=4 
cbsz=0
aRts: hijacking /dev/dsp open...
aRts: hijacking /dev/dsp ioctl (12 : 20005000 - 0x0)
aRts: SNDCTL_DSP_RESET unsupported
aRts: hijacking /dev/dsp ioctl (12 : c004500a - 0xbfbff66c)
aRts: SNDCTL_DSP_SETFRAGMENT(8000c) partially supported
aRts: hijacking /dev/dsp ioctl (12 : c0045003 - 0xbfbff66c)
aRts: hijacking /dev/dsp ioctl (12 : c0045005 - 0xbfbff66c)
aRts: hijacking /dev/dsp ioctl (12 : c0045002 - 0xbfbff66c)
aRts: creating stream...
aRts: /dev/dsp access...
aRts: /dev/dsp access...
aRts: /dev/dsp access...
aRts: total latency = 464ms, buffer latency = 232ms
aRts: hijacking /dev/dsp ioctl (12 : 4010500c - 0xbfbff6b0)
aRts: hijacking /dev/dsp ioctl (12 : 40045004 - 0x81bc294)
<OSS audio renderer> : frags=0  size=4096b  buffer=0b (4096b)
aRts: hijacking /dev/dsp ioctl (12 : 4010500c - 0xbfadcfb0)
aRts: hijacking /dev/dsp ioctl (12 : 40045017 - 0xbfafef3c)
aRts: SNDCTL_DSP_GETODELAY returning 40924
aRts: hijacking /dev/dsp ioctl (12 : 40045017 - 0xbfafef3c)
aRts: SNDCTL_DSP_GETODELAY returning 40924
aRts: hijacking /dev/dsp ioctl (12 : 4010500c - 0xbfadcfb0)
----------
etc.


> Did you reboot after you commented
> out those lines? (You don't have to reboot really, you could just do
> sysctl -w hw.snd.pcm0.vchans=0

Tried both.

>> At that point, only 1 application at a time will be able to access
> the soundcard at 1 time.
>
> Ken
>
> On Tue, 8 Jul 2003, Ion-Mihai Tetcu wrote:
> > On Tuesday 08 July 2003 17:09, Kenneth Culver wrote:
> > > vchans probably aren't working right with your sound card yet. I
> > > had a problem for a while with my soundcard, but it seems to be
> > > working fine now with vchans.
> >
> > well, I've commented out those two sysctl lines, but it still
> > happen. And the bad thing is that it varies from 2 to 5
> > sound-producing apps so there's no way to tell when it happends.
> >
> >
> > Thanks,
> > IOnut
> >
> > > Ken
> > >
> > > On Tue, 8 Jul 2003, Ion-Mihai Tetcu wrote:
> > > > Hi,
> > > >
> > > > Any now an then, mostly now :(, when I simoultaniosly use more
> > > > that one sound application the system hangs (mouse,  keyboard).
> > > > It still replies to pings.
> > > >
> > > > From where sould I begin ?
> > > >
> > > > Thanks,
> > > > IOnut
> > > >
> > > >
> > > > FreeBSD 5.1-RELEASE
> > > >
> > > > pci bus 0x0000 cardnum 0x11 function 0x05: vendor 0x1106 device
> > > > 0x3059 VIA Technologies, Inc. VT8233 AC97 Audio Controller
> > > >  CardVendor 0x1458 card 0xa002 (Giga-byte Technology GA-7VAX
> > > > Onboard Audio (Realtek ALC650))
> > > >   STATUS    0x0210  COMMAND 0x0001
> > > >   CLASS     0x04 0x01 0x00  REVISION 0x50
> > > >   BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
> > > >   BASE0     0x0000e401  addr 0x0000e400  I/O
> > > >   MAX_LAT   0x00  MIN_GNT 0x00  INT_PIN 0x03  INT_LINE 0x0b
> > > >   BYTE_0    0x01  BYTE_1  0xcc  BYTE_2  0x00  BYTE_3  0x00
> > > >
> > > >
> > > > buh# sysctl hw.snd.
> > > > hw.snd.targetirqrate: 32
> > > > hw.snd.report_soft_formats: 1
> > > > hw.snd.verbose: 1
> > > > hw.snd.unit: 0
> > > > hw.snd.maxautovchans: 4
> > > > hw.snd.pcm0.buffersize: 4096
> > > > hw.snd.pcm0.vchans: 4
> > > > hw.snd.pcm0.spdif_enabled: 0
> > > >
> > > > buh# pkg_info | grep kd
> > > > kde-3.1.2           The "meta-port" for KDE
> > > > kdebase-3.1.2       This package provides the basic
> > > > applications for the KDE sy
> > > > kdegames-3.1.2      Games for the KDE integrated X11 desktop
> > > > kdegraphics-3.1.2   Graphics utilities for the KDE3 integrated
> > > > X11 desktop
> > > > kdelibs-3.1.2       This is the base set of libraries needed by
> > > > KDE programs
> > > > kdemultimedia-3.1.2 Multimedia utilities for the KDE integrated
> > > > X11 desktop
> > > > kdenetwork-3.1.2_1  Network-related programs and modules for
> > > > KDE kdeutils-3.1.2      Utilities for the KDE integrated X11
> > > > desktop
> > > >
> > > > buh# pkg_info | grep xmms
> > > > smpeg-xmms-0.3.4    A mpeg video plugin for XMMS
> > > > xmms-esound-gnome-1.2.7_3 X Multimedia System --- An audio
> > > > player with a Winamp GUI
> > > >
> > > > buh# pkg_info | grep flash
> > > > linux-flashplugin-6.0r79 The official Macromedia Flash Player
> > > > for Linux Mozilla and
> > > >
> > > > __________________________________________________________
> > > > Send 'unsubscribe rofug' to [EMAIL PROTECTED] to unsubscribe
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > Xnet scaneaza automat toate mesajele impotriva virusilor
> > > > folosind RAV AntiVirus. Xnet automatically scans all messages
> > > > for viruses using RAV AntiVirus.
> > > >
> > > > Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau
> > > > toate variantele lor. Va rugam sa luati in considerare ca
> > > > exista un risc de fiecare data cand deschideti fisiere atasate
> > > > si ca MobiFon nu este responsabila pentru nici un prejudiciu
> > > > cauzat de virusi.
> > > >
> > > > Disclaimer: RAV AntiVirus may not be able to detect all new
> > > > viruses and variants. Please be aware that there is a risk
> > > > involved whenever opening e-mail attachments to your computer
> > > > and that MobiFon is not responsible for any damages caused by
> > > > viruses. _______________________________________________
> > > > [EMAIL PROTECTED] mailing list
> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > > To unsubscribe, send any mail to
> > > > "[EMAIL PROTECTED]"
> > >
> > > _______________________________________________
> > > [EMAIL PROTECTED] mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "[EMAIL PROTECTED]"
> > >
> > > -------------------------------------------------------
> > > Xnet scaneaza automat toate mesajele impotriva virusilor folosind
> > > RAV AntiVirus. Xnet automatically scans all messages for viruses
> > > using RAV AntiVirus.
> > >
> > > Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau
> > > toate variantele lor. Va rugam sa luati in considerare ca exista
> > > un risc de fiecare data cand deschideti fisiere atasate si ca
> > > MobiFon nu este responsabila pentru nici un prejudiciu cauzat de
> > > virusi.
> > >
> > > Disclaimer: RAV AntiVirus may not be able to detect all new
> > > viruses and variants. Please be aware that there is a risk
> > > involved whenever opening e-mail attachments to your computer and
> > > that MobiFon is not responsible for any damages caused by
> > > viruses.
>
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
> -------------------------------------------------------
> Xnet scaneaza automat toate mesajele impotriva virusilor folosind RAV
> AntiVirus. Xnet automatically scans all messages for viruses using
> RAV AntiVirus.
>
> Nota: RAV AntiVirus poate sa nu detecteze toti virusii noi sau toate
> variantele lor. Va rugam sa luati in considerare ca exista un risc de
> fiecare data cand deschideti fisiere atasate si ca MobiFon nu este
> responsabila pentru nici un prejudiciu cauzat de virusi.
>
> Disclaimer: RAV AntiVirus may not be able to detect all new viruses
> and variants. Please be aware that there is a risk involved whenever
> opening e-mail attachments to your computer and that MobiFon is not
> responsible for any damages caused by viruses.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to