From owner-dmsdk@oss.sgi.com Mon Jun 4 19:33:45 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f552XjZ24918 for dmsdk-outgoing; Mon, 4 Jun 2001 19:33:45 -0700 Received: from sgi.com (sgi.SGI.COM [192.48.153.1]) by oss.sgi.com (8.11.3/8.11.3) with SMTP id f552Xih24911 for ; Mon, 4 Jun 2001 19:33:45 -0700 Received: from jxmls04.se.mediaone.net (jxmls04.se.mediaone.net [24.129.0.51]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id TAA01659 for ; Mon, 4 Jun 2001 19:33:35 -0700 (PDT) mail_from (rlharris@mediaone.net) Received: from frankenputer (rlh@dmana-2-65-34-169-101.jacksonville.net [65.34.169.101]) by jxmls04.se.mediaone.net (8.11.1/8.11.1) with SMTP id f552RlL29885 for ; Mon, 4 Jun 2001 22:27:47 -0400 (EDT) Content-Type: text/plain; charset="iso-8859-1" From: Robert Harris Reply-To: rlharris@mediaone.net To: dmsdk@oss.sgi.com Subject: DM_STATUS_INTERNAL_ERROR = 1000 Date: Mon, 4 Jun 2001 21:01:02 -0500 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <01060421010202.04944@frankenputer> Content-Transfer-Encoding: 8bit Sender: owner-dmsdk@oss.sgi.com Precedence: bulk Hello, sorry to ask such a vague, uninformed question. I have successfully compiled and run dmdaemon and dmquery on debian linux with the following results. SYSTEM: Linux i386 Workstation DEVICES: Software Null Codec [0] OSS audio device [0] OSS audio device [1] *** Verification finished. (I do not successfully run the next step which seems to be just an install.) ldconfig -v shows the libs successfully loaded. Howerver, when I run memtoaudio "OSS audio device" I get: "Cannot open path" I traced this down to dmOpen returning 1000 which seems to indicate DM_STATUS_INTERNAL_ERROR Any ideas before I go deeper into this one? Thanks for all the effort Bobby From owner-dmsdk@linux-xfs.sgi.com Fri Jun 8 14:41:14 2001 Received: (from mail@localhost) by linux-xfs.sgi.com (8.12.0.Beta5/8.12.0.Beta5) id f58LfELE027971 for dmsdk-outgoing; Fri, 8 Jun 2001 14:41:14 -0700 X-Authentication-Warning: linux-xfs.sgi.com: mail set sender to owner-dmsdk@oss.sgi.com using -f Received: from sgi.com (sgi.SGI.COM [192.48.153.1]) by linux-xfs.sgi.com (8.12.0.Beta5/8.12.0.Beta5) with SMTP id f58Lf83D027962 for ; Fri, 8 Jun 2001 14:41:10 -0700 Received: from nyquist.engr.sgi.com (nyquist.engr.sgi.com [130.62.14.162]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id OAA04691 for ; Fri, 8 Jun 2001 14:41:07 -0700 (PDT) mail_from (mpruett@nyquist.engr.sgi.com) Received: (from mpruett@localhost) by nyquist.engr.sgi.com (SGI-8.9.3/8.9.3) id OAA82625 for dmsdk@oss.sgi.com; Fri, 8 Jun 2001 14:39:55 -0700 (PDT) From: Michael Pruett Message-Id: <200106082139.OAA82625@nyquist.engr.sgi.com> Subject: Re: DM_STATUS_INTERNAL_ERROR = 1000 To: dmsdk@oss.sgi.com Date: Fri, 8 Jun 2001 14:39:55 -0700 (PDT) In-Reply-To: <01060421010202.04944@frankenputer> from "Robert Harris" at Jun 04, 2001 09:01:02 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-dmsdk@oss.sgi.com Precedence: bulk Bobby, I haven't run into this problem with the current version of the OSS audio dmSDK module, but the most likely place where dmOpen could be failing with an error of DM_STATUS_INTERNAL_ERROR is in ddOpen (specifically in openPhysicalDevice). Try setting the environment variable ADEBG to 1 when running memtoaudio. Error messages will be printed, and you should be able to tell where the internal error is occurring. And if you can send a patch to fix the problem, such help would be greatly appreciated. Thanks, Michael From owner-dmsdk@oss.sgi.com Tue Jun 26 01:45:15 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f5Q8jFN24161 for dmsdk-outgoing; Tue, 26 Jun 2001 01:45:15 -0700 Received: from black.itn.liu.se (black.itn.liu.se [130.236.133.215]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5Q8jBV24158 for ; Tue, 26 Jun 2001 01:45:11 -0700 Received: (from calle@localhost) by black.itn.liu.se (8.9.3/8.9.3) id KAA05482 for dmsdk@oss.sgi.com; Tue, 26 Jun 2001 10:45:09 +0200 Date: Tue, 26 Jun 2001 10:45:09 +0200 From: Calle Lejdfors To: dmsdk@oss.sgi.com Subject: Digital Media on Irix 6.5 AES output question Message-ID: <20010626104509.A5452@black.itn.liu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-dmsdk@oss.sgi.com Precedence: bulk Hello. I am currently working on a project that aims to build a parallell multistream MPEG-2 decoder for SGI Onyx2 (and similair) machines. We have an external AC-3 decoder/effect box hooked up via the AES digital interface on the Onyx2. It is easy to play raw PCM samples and use the effect box to manipulate the sound. My problem is that I want to write raw undecoded AC-3 frames directly via the AES channel and have the external decoder handle them instead of doing the decoding in software. Is this possible using AL (audio library) or do I have to access the raw device and write the correctly packed stream myself. Thanks, Calle PS I know that this might be the wrong forum for this type of questions since this is the Linux dmSDK but, please, if you know anything about this please reply. From owner-dmsdk@oss.sgi.com Wed Jun 27 00:02:02 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f5R722O08018 for dmsdk-outgoing; Wed, 27 Jun 2001 00:02:02 -0700 Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5R721V08015 for ; Wed, 27 Jun 2001 00:02:01 -0700 Received: from nyquist.engr.sgi.com (nyquist.engr.sgi.com [130.62.14.162]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id AAA02587 for ; Wed, 27 Jun 2001 00:01:51 -0700 (PDT) mail_from (mpruett@nyquist.engr.sgi.com) Received: (from mpruett@localhost) by nyquist.engr.sgi.com (SGI-8.9.3/8.9.3) id AAA76695 for dmsdk@oss.sgi.com; Wed, 27 Jun 2001 00:00:09 -0700 (PDT) From: Michael Pruett Message-Id: <200106270700.AAA76695@nyquist.engr.sgi.com> Subject: Re: Digital Media on Irix 6.5 AES output question To: dmsdk@oss.sgi.com Date: Wed, 27 Jun 2001 00:00:09 -0700 (PDT) In-Reply-To: <20010626104509.A5452@black.itn.liu.se> from "Calle Lejdfors" at Jun 26, 2001 10:45:09 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-dmsdk@oss.sgi.com Precedence: bulk > Hello. > > I am currently working on a project that aims to build a parallell > multistream MPEG-2 decoder for SGI Onyx2 (and similair) machines. We > have an external AC-3 decoder/effect box hooked up via the AES digital > interface on the Onyx2. > It is easy to play raw PCM samples and use the effect box to > manipulate the sound. > > My problem is that I want to write raw undecoded AC-3 frames directly > via the AES channel and have the external decoder handle them instead > of doing the decoding in software. > Is this possible using AL (audio library) or do I have to access the > raw device and write the correctly packed stream myself. > > Thanks, Calle > > PS I know that this might be the wrong forum for this type of > questions since this is the Linux dmSDK but, please, if you know > anything about this please reply. Calle, This mailing list is appropriate for discussing dmSDK for IRIX as well as Linux. Yes, it is possible to send an arbitrary bitstream over the AES using RAD (SGI's digital audio interface). If you're using the recently released dmSDK 2.0 for IRIX, you can open a path to the OpticalOutAES or AESOut jack on the RAD device and set the sample format to DM_FORMAT_AES_CHANNEL_STATUS. You will need to set bit 1 of byte 0 (the nonaudio bit). To transfer the actual AC-3 data, you should open the same jack with sample format DM_FORMAT_AES_S24_in32R (24-bit data packed to the right in 32 bits) and pack your AC-3 data accordingly. You can do the same thing with the SGI Audio Library, of course, opening the optical interface (AL_OPTICAL_IF_TYPE) or the AES interface (AL_AES_IF_TYPE) of the RAD's AES Output using a sample format of AL_SAMPFMT_AES_CHANNEL_STATUS. And, of course, you need to pack your AC-3 data as the lower 24 bits of each 32-bit sample with the sample format of AL_SAMPFMT_TWOSCOMP and a width of AL_SAMPLE_24. The trickiest part of this approach is knowing that you need two dmSDK paths (or two AL ports), one for AES channel status information and the other for sample data. Michael From owner-dmsdk@oss.sgi.com Wed Jun 27 09:20:18 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f5RGKIm16902 for dmsdk-outgoing; Wed, 27 Jun 2001 09:20:18 -0700 Received: from black.itn.liu.se (black.itn.liu.se [130.236.133.215]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5RGKFV16897 for ; Wed, 27 Jun 2001 09:20:16 -0700 Received: (from calle@localhost) by black.itn.liu.se (8.9.3/8.9.3) id SAA30457 for dmsdk@oss.sgi.com; Wed, 27 Jun 2001 18:20:13 +0200 Date: Wed, 27 Jun 2001 18:20:13 +0200 From: Calle Lejdfors To: dmsdk@oss.sgi.com Subject: Re: Digital Media on Irix 6.5 AES output question Message-ID: <20010627182013.A30320@black.itn.liu.se> References: <20010626104509.A5452@black.itn.liu.se> <200106270700.AAA76695@nyquist.engr.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106270700.AAA76695@nyquist.engr.sgi.com>; from mpruett@nyquist.engr.sgi.com on Wed, Jun 27, 2001 at 12:00:09AM -0700 Sender: owner-dmsdk@oss.sgi.com Precedence: bulk On Wed, Jun 27, 2001 at 12:00:09AM -0700, Michael Pruett wrote: > > Hello. > > > > I am currently working on a project that aims to build a parallell > > multistream MPEG-2 decoder for SGI Onyx2 (and similair) machines. We > > have an external AC-3 decoder/effect box hooked up via the AES digital > > interface on the Onyx2. > > It is easy to play raw PCM samples and use the effect box to > > manipulate the sound. > > > > My problem is that I want to write raw undecoded AC-3 frames directly > > via the AES channel and have the external decoder handle them instead > > of doing the decoding in software. > > Is this possible using AL (audio library) or do I have to access the > > raw device and write the correctly packed stream myself. > > > > Thanks, Calle > > > > PS I know that this might be the wrong forum for this type of > > questions since this is the Linux dmSDK but, please, if you know > > anything about this please reply. > > Calle, > This mailing list is appropriate for discussing dmSDK for IRIX as well > as Linux. > > Yes, it is possible to send an arbitrary bitstream over the AES using > RAD (SGI's digital audio interface). > > If you're using the recently released dmSDK 2.0 for IRIX, you can open > a path to the OpticalOutAES or AESOut jack on the RAD device and set > the sample format to DM_FORMAT_AES_CHANNEL_STATUS. You will need to > set bit 1 of byte 0 (the nonaudio bit). To transfer the actual AC-3 > data, you should open the same jack with sample format > DM_FORMAT_AES_S24_in32R (24-bit data packed to the right in 32 bits) > and pack your AC-3 data accordingly. > > You can do the same thing with the SGI Audio Library, of course, > opening the optical interface (AL_OPTICAL_IF_TYPE) or the AES interface > (AL_AES_IF_TYPE) of the RAD's AES Output using a sample format of > AL_SAMPFMT_AES_CHANNEL_STATUS. And, of course, you need to pack your > AC-3 data as the lower 24 bits of each 32-bit sample with the sample > format of AL_SAMPFMT_TWOSCOMP and a width of AL_SAMPLE_24. > > The trickiest part of this approach is knowing that you need two dmSDK > paths (or two AL ports), one for AES channel status information and the > other for sample data. > > Michael Hello. I tried doing the open two ports thingie in AL but I can't get the decoder to recognize the AC-3 stream. This is how I do it (simplified): 0. Set NA bit in the stream channel status word and setup output port to 24 byte sample width with 2 complement sample format. 1. Read AC-3 stream preamble+burst from file. 2. Pack 32 bit preamble and burst into a 32 bit integer array in 16 bit chunks. 3. Send packed array to AL via alWriteFrames. 4. Do from 1 if we are not done yet. Is it something I'm missing. I know that the channel status word is set correctly since the decoder recognizes that I'm sending non-audio data. But it seems I can't get it to locate the preamble (and thus detecting the presence of AC3 audio) correctly. Thanks for the help so far, Calle From owner-dmsdk@oss.sgi.com Wed Jun 27 09:33:36 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f5RGXaj17038 for dmsdk-outgoing; Wed, 27 Jun 2001 09:33:36 -0700 Received: from pneumatic-tube.sgi.com (pneumatic-tube.sgi.com [204.94.214.22]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5RGXaV17035 for ; Wed, 27 Jun 2001 09:33:36 -0700 Received: from nyquist.engr.sgi.com (nyquist.engr.sgi.com [130.62.14.162]) by pneumatic-tube.sgi.com (980327.SGI.8.8.8-aspam/980310.SGI-aspam) via ESMTP id JAA07263 for ; Wed, 27 Jun 2001 09:30:47 -0700 (PDT) mail_from (mpruett@nyquist.engr.sgi.com) Received: (from mpruett@localhost) by nyquist.engr.sgi.com (SGI-8.9.3/8.9.3) id JAA80088 for dmsdk@oss.sgi.com; Wed, 27 Jun 2001 09:32:06 -0700 (PDT) From: Michael Pruett Message-Id: <200106271632.JAA80088@nyquist.engr.sgi.com> Subject: Re: Digital Media on Irix 6.5 AES output question To: dmsdk@oss.sgi.com Date: Wed, 27 Jun 2001 09:32:06 -0700 (PDT) In-Reply-To: <20010627182013.A30320@black.itn.liu.se> from "Calle Lejdfors" at Jun 27, 2001 06:20:13 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-dmsdk@oss.sgi.com Precedence: bulk > Hello. > > I tried doing the open two ports thingie in AL but I can't get the > decoder to recognize the AC-3 stream. This is how I do it (simplified): > > 0. Set NA bit in the stream channel status word and setup output port > to 24 byte sample width with 2 complement sample format. > 1. Read AC-3 stream preamble+burst from file. > 2. Pack 32 bit preamble and burst into a 32 bit integer array in > 16 bit chunks. Break the AC-3 stream into 24-bit chunks. AES allows for 24 bits per sample, and that space is used no matter how many bits you give the AL or dmSDK. If you use 16-bit samples, AL or dmSDK will fill in the high-order 8 bits of each sample as the sign extension (0xff for negative samples and 0x00 for positive sampes). Michael From owner-dmsdk@oss.sgi.com Thu Jun 28 13:33:45 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f5SKXjo16496 for dmsdk-outgoing; Thu, 28 Jun 2001 13:33:45 -0700 Received: from sgi.com (sgi.SGI.COM [192.48.153.1]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5SKXiV16493 for ; Thu, 28 Jun 2001 13:33:44 -0700 Received: from nyquist.engr.sgi.com (nyquist.engr.sgi.com [130.62.14.162]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id NAA08808 for ; Thu, 28 Jun 2001 13:33:44 -0700 (PDT) mail_from (mpruett@nyquist.engr.sgi.com) Received: (from mpruett@localhost) by nyquist.engr.sgi.com (SGI-8.9.3/8.9.3) id NAA00841 for dmsdk@oss.sgi.com; Thu, 28 Jun 2001 13:32:13 -0700 (PDT) Date: Thu, 28 Jun 2001 13:32:13 -0700 From: Michael Pruett To: dmsdk@oss.sgi.com Subject: Re: Digital Media on Irix 6.5 AES output question Message-ID: <20010628133213.A799776@nyquist.engr.sgi.com> References: <20010627182013.A30320@black.itn.liu.se> <200106271632.JAA80088@nyquist.engr.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106271632.JAA80088@nyquist.engr.sgi.com>; from mpruett@nyquist.engr.sgi.com on Wed, Jun 27, 2001 at 09:32:06AM -0700 Sender: owner-dmsdk@oss.sgi.com Precedence: bulk My earlier remark was incorrect; AC-3 streams must be broken up into 16- or 32-bit chunks for IEC 958 (professional or consumer). Michael From owner-dmsdk@oss.sgi.com Fri Jun 29 03:13:46 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f5TADkr29457 for dmsdk-outgoing; Fri, 29 Jun 2001 03:13:46 -0700 Received: from smtp3.xs4all.nl (smtp3.xs4all.nl [194.109.127.132]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5TADjV29454 for ; Fri, 29 Jun 2001 03:13:45 -0700 Received: from deltaflyer.loafoe.net (orbital.xs4all.nl [194.109.226.168]) by smtp3.xs4all.nl (8.9.3/8.9.3) with ESMTP id MAA16748 for ; Fri, 29 Jun 2001 12:13:43 +0200 (CEST) Received: from andy by deltaflyer.loafoe.net with local (Exim 3.22 #1 (Debian)) id 15FvB7-0001ry-00 for ; Fri, 29 Jun 2001 12:07:09 +0200 Date: Fri, 29 Jun 2001 12:07:09 +0200 To: dmsdk@oss.sgi.com Subject: CVS access, or new release? Message-ID: <20010629120709.A7174@orbital.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.18i X-Mailer: Mutt http://www.mutt.org/ X-Uptime: 5 days X-URL: http://www.loafoe.net From: Andy Lo A Foe Sender: owner-dmsdk@oss.sgi.com Precedence: bulk Hi, It has been some time now since SGI released an update to the dmSDK. I'd like to do some development (finally), specifically get the whole of dmSDK to compile cleanly on non-Redhat systems. However, I would like to get started with the most recent sources if possible. Is there any way to get access to the current development tree, via CVS, CVSUP, or otherwise? If not, when is SGI going to release an update? Thank you, Andy