From owner-freebsd-multimedia Sun Jan 28 4:15:55 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id C893237B400 for ; Sun, 28 Jan 2001 04:15:35 -0800 (PST) Received: from [212.238.54.101] (helo=freebie.demon.nl) by post.mail.nl.demon.net with smtp (Exim 3.14 #4) id 14Mqk1-000GFI-00; Sun, 28 Jan 2001 12:15:34 +0000 Received: (from wkb@localhost) by freebie.demon.nl (8.11.1/8.11.1) id f0SCHUQ34128; Sun, 28 Jan 2001 13:17:30 +0100 (CET) (envelope-from wkb) Date: Sun, 28 Jan 2001 13:17:30 +0100 From: Wilko Bulte To: Nick Sayer Cc: freebsd-multimedia@freebsd.org Subject: Re: DVD playback Message-ID: <20010128131730.B33958@freebie.demon.nl> References: <200101232202.f0NM2l606729@medusa.kfu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200101232202.f0NM2l606729@medusa.kfu.com>; from nsayer@quack.kfu.com on Tue, Jan 23, 2001 at 02:02:47PM -0800 X-OS: FreeBSD 4.2-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jan 23, 2001 at 02:02:47PM -0800, Nick Sayer wrote: > Just upgraded to xine 0.3.6 and it works much, much better now. Most disks Not for me: WKB ~>xine This is xine - a mpeg 1, 2 player v0.3.6 - (c) 2000 by G. Bartsch. testing for audio driver: oss <-(successfully initialized) Using oss audio output driver. XInitThreads failed - looks like you don't have a thread-safe xlib. WKB ~> This is using Xfree-4.something Suggestions? -- | / o / / _ Arnhem, The Netherlands email: wilko@freebsd.org |/|/ / / /( (_) Bulte http://www.freebsd.org http://www.nlfug.nl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Jan 28 4:41:29 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 9999337B402 for ; Sun, 28 Jan 2001 04:41:10 -0800 (PST) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id NAA37421; Sun, 28 Jan 2001 13:41:05 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200101281241.NAA37421@freebsd.dk> Subject: Re: DVD playback In-Reply-To: <20010128131730.B33958@freebie.demon.nl> from Wilko Bulte at "Jan 28, 2001 01:17:30 pm" To: wkb@freebie.demon.nl (Wilko Bulte) Date: Sun, 28 Jan 2001 13:41:04 +0100 (CET) Cc: nsayer@quack.kfu.com (Nick Sayer), freebsd-multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It seems Wilko Bulte wrote: > On Tue, Jan 23, 2001 at 02:02:47PM -0800, Nick Sayer wrote: > > Just upgraded to xine 0.3.6 and it works much, much better now. Most disks > > Not for me: > > WKB ~>xine > This is xine - a mpeg 1, 2 player v0.3.6 - (c) 2000 by G. Bartsch. > testing for audio driver: oss <-(successfully initialized) > Using oss audio output driver. > > XInitThreads failed - looks like you don't have a thread-safe xlib. > WKB ~> You need the latest 4.0.2 port, it works ... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Jan 28 5:46:31 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from quack.kfu.com (quack.kfu.com [205.178.90.194]) by hub.freebsd.org (Postfix) with ESMTP id 691B637B400 for ; Sun, 28 Jan 2001 05:46:14 -0800 (PST) Received: from medusa.kfu.com (medusa.kfu.com [205.178.90.222]) by quack.kfu.com (8.11.1/8.11.1) with ESMTP id f0SDkD758311; Sun, 28 Jan 2001 05:46:13 -0800 (PST) (envelope-from nsayer@quack.kfu.com) Received: from quack.kfu.com (icarus.kfu.com [205.178.90.254]) by medusa.kfu.com (8.11.1/8.11.0) with ESMTP id f0SDkCP58361; Sun, 28 Jan 2001 05:46:13 -0800 (PST) (envelope-from nsayer@quack.kfu.com) Message-ID: <3A7422A4.6050607@quack.kfu.com> Date: Sun, 28 Jan 2001 05:46:12 -0800 From: Nick Sayer User-Agent: Mozilla/5.0 (X11; U; FreeBSD 5.0-CURRENT i386; en-US; 0.7) Gecko/20010123 X-Accept-Language: en MIME-Version: 1.0 To: Soren Schmidt Cc: Wilko Bulte , freebsd-multimedia@FreeBSD.ORG Subject: Re: DVD playback References: <200101281241.NAA37421@freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Soren Schmidt wrote: > It seems Wilko Bulte wrote: > >> On Tue, Jan 23, 2001 at 02:02:47PM -0800, Nick Sayer wrote: >> >>> Just upgraded to xine 0.3.6 and it works much, much better now. Most disks >> >> Not for me: >> >> WKB ~>xine >> This is xine - a mpeg 1, 2 player v0.3.6 - (c) 2000 by G. Bartsch. >> testing for audio driver: oss <-(successfully initialized) >> Using oss audio output driver. >> >> XInitThreads failed - looks like you don't have a thread-safe xlib. >> WKB ~> > > > You need the latest 4.0.2 port, it works More precisely, you need to extract at least libX11* and libXThread* from it and put them in place. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Jan 28 7:51: 2 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from cx344940-a.meta1.la.home.com (cx344940-a.meta1.la.home.com [24.6.21.74]) by hub.freebsd.org (Postfix) with ESMTP id 909EB37B400 for ; Sun, 28 Jan 2001 07:50:44 -0800 (PST) Received: (from cjsabatier@localhost) by cx344940-a.meta1.la.home.com (8.11.1/8.11.1) id f0SFr2v64945; Sun, 28 Jan 2001 09:53:02 -0600 (CST) (envelope-from cjsabatier) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Sun, 28 Jan 2001 09:53:02 -0600 (CST) Organization: @Home Network From: Conrad Sabatier To: Espen Oyslebo Subject: RE: Cd-paranoia Cc: multimedia@FreeBSD.ORG Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 28-Jan-01 Espen Oyslebo wrote: > Anyone get cd-paranoia to work under free-bsd? I used to run linux, and > cd-paranoia was imho by far the best cd `ripper' because it would extract > excellent quality audio even from my sheiz-creative ide cd-rom drive. It's > the only program I really miss after I `upgraded' to FreeBSD 4.2 stable a > couple of weeks ago. > > If not, what is the `best' substitute under FreeBSD. Since programs are often > hard to rate on a worst --> best scale, a nice summery of pros/cons of the > different tools would be appreciated. I prefer cdd, myself. It cannot be built from the ports collection at this time, as it's in need of some updating and is marked as "BROKEN", but if you install from the latest package, it works just fine. A very reliable CD ripper. If cdd can't rip it, nothing can. :-) You'll also want the sox package, to convert the raw pcm data cdd gets to waves. > One more thing whilst I've got your attention: Lame vs Blade (mp3 encoder)? > And is there a significant quality improvement from 128 --> 192? how about > 192 --> 256? I use gogo, myself. Very, very fast. Does variable bit rate (which I've just discovered makes an incredible difference in quality, albeit at a considerable cost of space), etc. And yes, different bit rates do make a difference. I use 160 kbits with variable bit rate encoding, for excellent results. One thing I've noticed, too, is that older recordings often sound better at *lower* bit rates, perhaps because the inferiority of the older technology doesn't show through as much. The best advice is to experiment with different settings and see what you get. It's fun! :-) -- Conrad Sabatier cjsabatier@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Jan 28 10:34:44 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 6D97137B698 for ; Sun, 28 Jan 2001 10:34:25 -0800 (PST) Received: from [212.238.54.101] (helo=freebie.demon.nl) by post.mail.nl.demon.net with smtp (Exim 3.14 #4) id 14MweY-000Lq5-00; Sun, 28 Jan 2001 18:34:19 +0000 Received: (from wkb@localhost) by freebie.demon.nl (8.11.1/8.11.1) id f0SIaFi23055; Sun, 28 Jan 2001 19:36:15 +0100 (CET) (envelope-from wkb) Date: Sun, 28 Jan 2001 19:36:15 +0100 From: Wilko Bulte To: Soren Schmidt Cc: Nick Sayer , freebsd-multimedia@FreeBSD.ORG Subject: Re: DVD playback Message-ID: <20010128193615.C22970@freebie.demon.nl> References: <20010128131730.B33958@freebie.demon.nl> <200101281241.NAA37421@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200101281241.NAA37421@freebsd.dk>; from sos@freebsd.dk on Sun, Jan 28, 2001 at 01:41:04PM +0100 X-OS: FreeBSD 4.2-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Jan 28, 2001 at 01:41:04PM +0100, Soren Schmidt wrote: > It seems Wilko Bulte wrote: > > On Tue, Jan 23, 2001 at 02:02:47PM -0800, Nick Sayer wrote: > > > Just upgraded to xine 0.3.6 and it works much, much better now. Most disks > > > > Not for me: > > > > WKB ~>xine > > This is xine - a mpeg 1, 2 player v0.3.6 - (c) 2000 by G. Bartsch. > > testing for audio driver: oss <-(successfully initialized) > > Using oss audio output driver. > > > > XInitThreads failed - looks like you don't have a thread-safe xlib. > > WKB ~> > > You need the latest 4.0.2 port, it works ... Thanks, just upgraded and xine now works. Which brings me to a question: do we have a 'standard' place were we can specify KLDs to be loaded? Say agp.ko in this case? W/ -- | / o / / _ Arnhem, The Netherlands email: wilko@freebsd.org |/|/ / / /( (_) Bulte http://www.freebsd.org http://www.nlfug.nl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Jan 28 11: 1: 3 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 7A70937B400 for ; Sun, 28 Jan 2001 11:00:45 -0800 (PST) Received: from localhost (cshumway@localhost) by meow.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id f0SIro203926; Sun, 28 Jan 2001 10:53:50 -0800 (PST) (envelope-from cshumway@bsdi.com) X-Authentication-Warning: meow.osd.bsdi.com: cshumway owned process doing -bs Date: Sun, 28 Jan 2001 10:53:50 -0800 (PST) From: Christopher Shumway X-X-Sender: To: Wilko Bulte Cc: Soren Schmidt , Nick Sayer , Subject: Re: DVD playback In-Reply-To: <20010128193615.C22970@freebie.demon.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 28 Jan 2001, Wilko Bulte wrote: > > You need the latest 4.0.2 port, it works ... > > Thanks, just upgraded and xine now works. Which brings me to a question: do > we have a 'standard' place were we can specify KLDs to be loaded? Say agp.ko > in this case? I usually do it in /boot/loader.conf E.g agp_load="YES" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Jan 29 7:25:48 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from webpimps.net (cc889338-a.slbch1.occa.home.com [24.0.207.185]) by hub.freebsd.org (Postfix) with ESMTP id 5E81737B6B3 for ; Mon, 29 Jan 2001 07:25:29 -0800 (PST) Received: from WorldClient [127.0.0.1] by webpimps.net [127.0.0.1] with SMTP (MDaemon.v3.1.2.R) for ; Mon, 29 Jan 2001 07:26:34 -0800 Date: Mon, 29 Jan 2001 07:26:34 -0800 From: "Aaron" To: freebsd-questions@freebsd.org Cc: freebsd-hackers@freebsd.org Subject: X-Mailer: WorldClient Standard 3.1.2 X-MDRcpt-To: freebsd-multimedia@freebsd.org X-MDRemoteIP: 127.0.0.1 X-Return-Path: click46@webpimps.net X-MDaemon-Deliver-To: freebsd-multimedia@freebsd.org Message-Id: <20010129152529.5E81737B6B3@hub.freebsd.org> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I have FreeBSD 4-STABLE running a binary install of XFree86 4.0.2. After installing xine from sources, I get a message saying I dont have Thread-safe X libraries and it wont run. I've scoured google and many newsgroups in search of anything on getting these "thread safe" libraries. Can anyone point me in the right direction as to how to obtain these files, and add them or make sure they are added, for XFree86 4.0.2 binary. I'm not too keen on compiling the whole thing... As always, I tried to do my research before submitting to the list...last ditch effort here. I even tried XFree86's list to no avail. Any help is greatly appriciated. peace - click46 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Jan 29 12:42:12 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from sm10.texas.rr.com (sm10.texas.rr.com [24.93.35.222]) by hub.freebsd.org (Postfix) with ESMTP id 43B3737B6AA for ; Mon, 29 Jan 2001 12:41:54 -0800 (PST) Received: from bleep.craftncomp.com (cs2777-167.houston.rr.com [24.27.77.167]) by sm10.texas.rr.com (8.11.0/8.11.1) with ESMTP id f0TKS6Q11797 for ; Mon, 29 Jan 2001 14:28:06 -0600 Received: from bloop.craftncomp.com (bloop.craftncomp.com [202.12.111.1]) by bleep.craftncomp.com (8.11.1/8.9.3) with ESMTP id f0TKflE00735 for ; Mon, 29 Jan 2001 14:41:47 -0600 (CST) (envelope-from shocking@houston.rr.com) Received: from bloop.craftncomp.com (localhost [127.0.0.1]) by bloop.craftncomp.com (8.11.1/8.9.3) with ESMTP id f0TKfh158547 for ; Mon, 29 Jan 2001 14:41:43 -0600 (CST) (envelope-from shocking@bloop.craftncomp.com) Message-Id: <200101292041.f0TKfh158547@bloop.craftncomp.com> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: multimedia@freebsd.org Subject: Need DRI patches for Linuxulator Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 29 Jan 2001 14:41:43 -0600 From: Stephen Hocking Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I went & clobbered the changes I'd made for the Linux DRI GL programs to work under FreeBSD - does anyone have changes that they've made to /sys/compat/linux/linux_ioctl.[ch]? Stephen -- The views expressed above are not those of PGS Tensor. "We've heard that a million monkeys at a million keyboards could produce the Complete Works of Shakespeare; now, thanks to the Internet, we know this is not true." Robert Wilensky, University of California To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Jan 29 18:23: 0 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from cx587235-a.chnd1.az.home.com (cx587235-a.chnd1.az.home.com [24.11.88.170]) by hub.freebsd.org (Postfix) with ESMTP id 8C18537B402 for ; Mon, 29 Jan 2001 18:22:42 -0800 (PST) Received: from whale.home-net (whale [192.168.1.2]) by cx587235-a.chnd1.az.home.com (8.11.1/8.11.1) with ESMTP id f0U2MfW75733 for ; Mon, 29 Jan 2001 19:22:41 -0700 (MST) (envelope-from jjreynold@home.com) Received: (from jjreynold@localhost) by whale.home-net (8.11.1/8.11.1) id f0U2MeG94792; Mon, 29 Jan 2001 19:22:40 -0700 (MST) (envelope-from jjreynold@home.com) From: John Reynolds MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14966.9584.659172.288600@whale.home-net> Date: Mon, 29 Jan 2001 19:22:40 -0700 To: multimedia@freebsd.org Subject: a "port" of Linux's libusb available now X-Mailer: VM 6.88 under Emacs 20.7.1 Cc: Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all, A freebsd port (in both senses of the word) of the Linux "libusb" is now available. Until it gets commited (hint to anybody with commit priv's for ports: the PR is http://www.freebsd.org/cgi/query-pr.cgi?pr=24703 :) you can get a binary package file from http://www.reynoldsnet.org/libusb-0.1.3b.tgz I've not yet fully tested everything related to this library, but you "should" be able to use it when compiling/linking gphoto2 and other USB-related items. -Jr -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= John Reynolds Chandler Capabilities Engineering, CDS, Intel Corporation jreynold@sedona.ch.intel.com My opinions are mine, not Intel's. Running jjreynold@home.com FreeBSD 4.2-STABLE. FreeBSD: The Power to Serve. http://www.reynoldsnet.org/ Come join us!!! @ http://www.FreeBSD.org/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jan 30 11: 8: 2 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailman.sprintlabs.com (mx.sprintlabs.com [208.30.174.2]) by hub.freebsd.org (Postfix) with ESMTP id 2617B37B6AA for ; Tue, 30 Jan 2001 11:07:45 -0800 (PST) Received: by mailman.sprintlabs.com with Internet Mail Service (5.5.2652.78) id ; Tue, 30 Jan 2001 11:07:38 -0800 Received: from sprintlabs.com (ip199-2-53-135.sprintlabs.com [199.2.53.135]) by mailman.sprintlabs.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2652.78) id DZL72402; Tue, 30 Jan 2001 11:07:28 -0800 From: Steven Davidson Reply-To: Steven Davidson To: Eraldo Jr Cc: freebsd-multimedia@freebsd.org Message-ID: <3A77129E.5C1D0351@sprintlabs.com> Date: Tue, 30 Jan 2001 11:14:38 -0800 X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.1.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 Subject: Re: - i810 in fbsd4.1 RELEASE - References: <20010127215703.3930.qmail@web4402.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Basically, two steps: kldload /modules/agp.ko and install x11-4.0.2, from a (CVS) updated ports collection. Or, (maybe) simpler, install a supported video card. It will save you more time than the i810 is worth. Eraldo Jr wrote: > Hi all ! > > How i can configure my bsd 4.1 RELEASE to use my i810 > Video Card ? because, in www.intel.com i find a patc > to use this Video Card on linux flavors.... but is a > rpm file :( > what i need to do ? > > thanks all ! > > Eraldo Jr > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - Buy the things you want at great prices. > http://auctions.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jan 30 11:23: 0 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from itchy.serv.net (itchy.serv.net [205.153.153.233]) by hub.freebsd.org (Postfix) with ESMTP id DB92F37B6AE for ; Tue, 30 Jan 2001 11:22:41 -0800 (PST) Received: from localhost (utz@localhost) by itchy.serv.net (8.8.5/8.8.5) with SMTP id LAA77042; Tue, 30 Jan 2001 11:22:35 -0800 (PST) Date: Tue, 30 Jan 2001 11:22:33 -0800 (PST) From: The Utz Family To: Steven Davidson Cc: Eraldo Jr , freebsd-multimedia@FreeBSD.ORG Subject: Re: - i810 in fbsd4.1 RELEASE - In-Reply-To: <3A77129E.5C1D0351@sprintlabs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 30 Jan 2001, Steven Davidson wrote: > Basically, two steps: > kldload /modules/agp.ko > > and install x11-4.0.2, from a (CVS) updated ports collection. > > Or, (maybe) simpler, install a supported video card. > It will save you more time than the i810 is worth. geez is it really *that* slow? are we talking 'slow' as in 'quake sux on it!' or slow as in 'it takes 3 seconds to pop up an xterm'? the i810e is the only chipset that i am aware of that ships in the bookPC form factor cases, this is a desirable form factor for me because it's very tiny and efficient. but it is utterly *unupgradeable* because there is no room for any cards in the case. i dont care in the least bit if it's an unacceptable gaming platform, that's not what i am buying them for. i *would* care if X isnt usable on it. tnx! ps. does anybody know of any duron based bookpc's yet? > Eraldo Jr wrote: > > > Hi all ! > > > > How i can configure my bsd 4.1 RELEASE to use my i810 > > Video Card ? because, in www.intel.com i find a patc > > to use this Video Card on linux flavors.... but is a > > rpm file :( > > what i need to do ? > > > > thanks all ! > > > > Eraldo Jr > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Auctions - Buy the things you want at great prices. > > http://auctions.yahoo.com/ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-multimedia" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jan 30 11:34:59 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailman.sprintlabs.com (mx.sprintlabs.com [208.30.174.2]) by hub.freebsd.org (Postfix) with ESMTP id D0E0E37B6B3 for ; Tue, 30 Jan 2001 11:34:41 -0800 (PST) Received: by mailman.sprintlabs.com with Internet Mail Service (5.5.2652.78) id ; Tue, 30 Jan 2001 11:34:40 -0800 Received: from sprintlabs.com (ip199-2-53-135.sprintlabs.com [199.2.53.135]) by mailman.sprintlabs.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2652.78) id DZL72VCG; Tue, 30 Jan 2001 11:34:37 -0800 From: Steven Davidson Reply-To: Steven Davidson To: The Utz Family Cc: Eraldo Jr , freebsd-multimedia@FreeBSD.ORG Message-ID: <3A7718FC.600899E8@sprintlabs.com> Date: Tue, 30 Jan 2001 11:41:48 -0800 X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.1.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 Subject: Re: - i810 in fbsd4.1 RELEASE - References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The Utz Family wrote: > On Tue, 30 Jan 2001, Steven Davidson wrote: > > > Basically, two steps: > > kldload /modules/agp.ko > > > > and install x11-4.0.2, from a (CVS) updated ports collection. > > > > Or, (maybe) simpler, install a supported video card. > > It will save you more time than the i810 is worth. > > geez is it really *that* slow? are we talking 'slow' as in 'quake sux on > it!' or slow as in 'it takes 3 seconds to pop up an xterm'? > > the i810e is the only chipset that i am aware of that ships in the bookPC > form factor cases, this is a desirable form factor for me because it's > very tiny and efficient. but it is utterly *unupgradeable* because there > is no room for any cards in the case. > > i dont care in the least bit if it's an unacceptable gaming platform, > that's not what i am buying them for. i *would* care if X isnt usable on > it. > > tnx! > > ps. does anybody know of any duron based bookpc's yet? > > > Eraldo Jr wrote: > > > > > Hi all ! > > > > > > How i can configure my bsd 4.1 RELEASE to use my i810 > > > Video Card ? because, in www.intel.com i find a patc > > > to use this Video Card on linux flavors.... but is a > > > rpm file :( > > > what i need to do ? > > > > > > thanks all ! > > > > > > Eraldo Jr > > > I didn't mean to suggest that the i810 is slow but rather the effort to get it working is time-consuming. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jan 30 22:43: 6 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from lynx.aba.net.au (lynx.esec.com.au [203.21.84.1]) by hub.freebsd.org (Postfix) with SMTP id 4FE0F37B67D for ; Tue, 30 Jan 2001 22:42:49 -0800 (PST) Received: (qmail 14666 invoked from network); 31 Jan 2001 06:42:45 -0000 Received: from klee.esec.com.au (HELO esec.com.au) (203.21.85.206) by lynx.esec.com.au with SMTP; 31 Jan 2001 06:42:45 -0000 Message-ID: <3A77B476.5CBF914@esec.com.au> Date: Wed, 31 Jan 2001 17:45:10 +1100 From: Kevin LEE X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: "multimedia@FreeBSD.ORG" Subject: Tools to convert wav file back to mp3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi all: I want to know what tool can convert wav file format to a mp3 in FreeBSD port tree ?? Thanks ,. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jan 30 23: 7:34 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id BC8CA37B491 for ; Tue, 30 Jan 2001 23:07:17 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id AAA33498; Wed, 31 Jan 2001 00:07:08 -0700 (MST) (envelope-from ken) Date: Wed, 31 Jan 2001 00:07:08 -0700 From: "Kenneth D. Merry" To: Kevin LEE Cc: "multimedia@FreeBSD.ORG" Subject: Re: Tools to convert wav file back to mp3 Message-ID: <20010131000708.A33466@panzer.kdm.org> References: <3A77B476.5CBF914@esec.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3A77B476.5CBF914@esec.com.au>; from klee@esec.com.au on Wed, Jan 31, 2001 at 05:45:10PM +1100 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jan 31, 2001 at 17:45:10 +1100, Kevin LEE wrote: > Hi all: > > I want to know what tool can convert wav file format to a mp3 in > FreeBSD port tree ?? lame, bladeenc, gogo. All are in ports/audio. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Jan 30 23:53: 5 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.dvart.com (mail.dvart.com [64.79.2.12]) by hub.freebsd.org (Postfix) with ESMTP id 3F06137B69C for ; Tue, 30 Jan 2001 23:52:49 -0800 (PST) Received: from bsd.dvart.com (unknown [64.79.2.4]) by mail.dvart.com (Postfix) with ESMTP id A365ECD0A for ; Tue, 30 Jan 2001 23:53:19 +0000 (GMT) Date: Tue, 30 Jan 2001 23:52:48 -0800 (PST) From: bruno schwander Reply-To: bschwand@dvart.com To: freebsd-multimedia@freebsd.org Subject: mbone: nte success, anyone ? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I installed the Mbone collaborative text editor 'nte' from the ports collection, and it immediately dies with: nt: error opening display: invalid command name "tcl_findLibrary" anybody has a quick answer ? I have both tcl/tk 8.0.5/8.2.3 installed (from the ports too) wb,rat,vic,sdr all work fine. I just need the text editor to convince my boss to let me work from home :-) bruno To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jan 31 12:14:41 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from maildu.Legato.COM (maildu.legato.com [137.69.45.12]) by hub.freebsd.org (Postfix) with ESMTP id 00BA037B699 for ; Wed, 31 Jan 2001 12:14:18 -0800 (PST) Received: from crom (crom.legato.com [137.69.41.80]) by maildu.Legato.COM (8.9.3/8.9.3) with SMTP id MAA17701 for ; Wed, 31 Jan 2001 12:14:07 -0800 (PST) Message-ID: <01e201c08b7f$67a8d840$50294589@legato.com> From: "Michael Carlson" To: Subject: Glide3 ported to freebsd? Date: Wed, 31 Jan 2001 12:14:38 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01DB_01C08B7F.61DA0740" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_01DB_01C08B7F.61DA0740 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a voodoo 5 and I was wondering if there was a port in the making = of Glide3? I have been trying for the past wekk or so to get it to = compile on freebsd 4.2, but there seems to be an error in the fxos.c: icarus# ./build.3dfx Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 248047 99760 128444 44% / Making all in swlibs gmake[1]: Entering directory `/root/Glide3/swlibs' Making all in fxmisc gmake[2]: Entering directory `/root/Glide3/swlibs/fxmisc' /bin/sh ../../libtool --mode=3Dcompile gcc -DX11 -fomit-frame-pointer = -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT - Wall -I../../h5/glide3/src -I../../h5/incsrc -I../../h5/incsrc = -I../../h5/minihwc -I. -I../../swlibs/fxmemmap -I../../ swlibs/fxmisc -I../../swlibs/newpci/pcilib -I../../swlibs/texus2/lib -O6 = -m486 -c fxos.c rm -f .libs/fxos.lo gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations = -ffast-math -DBIG_OPT -Wall -I../../h5/glide3/src -I../../h5 /incsrc -I../../h5/incsrc -I../../h5/minihwc -I. -I../../swlibs/fxmemmap = -I../../swlibs/fxmisc -I../../swlibs/newpci/pcilib -I../../ swlibs/texus2/lib -O6 -m486 -Wp,-MD,.deps/fxos.pp -c fxos.c -fPIC -DPIC = -o .libs/fxos.lo fxos.c: In function `fxTime': fxos.c:72: `HZ' undeclared (first use in this function) fxos.c:72: (Each undeclared identifier is reported only once fxos.c:72: for each function it appears in.) fxos.c:74: warning: control reaches end of non-void function gmake[2]: *** [fxos.lo] Error 1 gmake[2]: Leaving directory `/root/Glide3/swlibs/fxmisc' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/root/Glide3/swlibs' gmake: *** [all-recursive] Error 1 Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 248047 99760 128444 44% / Time Elapsed: 0 Years, 0 Days, 0 Hours, 0 Minutes, 1 Seconds Disk usage: 0.0 Mb I am not much of a programmer or scripter so I was wondering if anyone = had a bit more info on this, I've read all I can find on = glide.sourceforge.net but I have progressed little.=20 Thanks, Mike Carlson mcarlson@m87-blackhole.org ------=_NextPart_000_01DB_01C08B7F.61DA0740 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have a voodoo 5 and I was wondering = if there was=20 a port in the making of Glide3? I have been trying for the past wekk or = so to=20 get it to compile on freebsd 4.2, but there seems to be an error in the=20 fxos.c:
 

icarus# ./build.3dfx

Filesystem 1K-blocks Used Avail Capacity Mounted on

/dev/ad0s1a 248047 99760 128444 44% /

Making all in swlibs

gmake[1]: Entering directory `/root/Glide3/swlibs'

Making all in fxmisc

gmake[2]: Entering directory `/root/Glide3/swlibs/fxmisc'

/bin/sh ../../libtool --mode=3Dcompile gcc -DX11 -fomit-frame-pointer = -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -

Wall -I../../h5/glide3/src -I../../h5/incsrc -I../../h5/incsrc=20 -I../../h5/minihwc -I. -I../../swlibs/fxmemmap -I../../

swlibs/fxmisc -I../../swlibs/newpci/pcilib -I../../swlibs/texus2/lib = -O6=20 -m486 -c fxos.c

rm -f .libs/fxos.lo

gcc -DX11 -fomit-frame-pointer -funroll-loops = -fexpensive-optimizations=20 -ffast-math -DBIG_OPT -Wall -I../../h5/glide3/src -I../../h5

/incsrc -I../../h5/incsrc -I../../h5/minihwc -I. = -I../../swlibs/fxmemmap=20 -I../../swlibs/fxmisc -I../../swlibs/newpci/pcilib -I../../

swlibs/texus2/lib -O6 -m486 -Wp,-MD,.deps/fxos.pp -c fxos.c -fPIC = -DPIC -o=20 .libs/fxos.lo

fxos.c: In function `fxTime':

fxos.c:72: `HZ' undeclared (first use in this function)

fxos.c:72: (Each undeclared identifier is reported only once

fxos.c:72: for each function it appears in.)

fxos.c:74: warning: control reaches end of non-void function

gmake[2]: *** [fxos.lo] Error 1

gmake[2]: Leaving directory `/root/Glide3/swlibs/fxmisc'

gmake[1]: *** [all-recursive] Error 1

gmake[1]: Leaving directory `/root/Glide3/swlibs'

gmake: *** [all-recursive] Error 1

Filesystem 1K-blocks Used Avail Capacity Mounted on

/dev/ad0s1a 248047 99760 128444 44% /

Time Elapsed: 0 Years, 0 Days, 0 Hours, 0 Minutes, 1 Seconds

Disk usage: 0.0 Mb

I am not much of a programmer or scripter so I was = wondering=20 if anyone had a bit more info on this, I've read all I can find on=20 glide.sourceforge.net but I have progressed little.

Thanks,

Mike Carlson

mcarlson@m87-blackhole.org=

 

------=_NextPart_000_01DB_01C08B7F.61DA0740-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jan 31 13: 4:58 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from itchy.serv.net (itchy.serv.net [205.153.153.233]) by hub.freebsd.org (Postfix) with ESMTP id 1691E37B69C for ; Wed, 31 Jan 2001 13:04:37 -0800 (PST) Received: from localhost (utz@localhost) by itchy.serv.net (8.8.5/8.8.5) with SMTP id NAA39166; Wed, 31 Jan 2001 13:04:30 -0800 (PST) Date: Wed, 31 Jan 2001 13:04:28 -0800 (PST) From: The Utz Family To: Michael Carlson Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: Glide3 ported to freebsd? In-Reply-To: <01e201c08b7f$67a8d840$50294589@legato.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org the HZ error is one that comes up in trying to build linux specific code on FreeBSD. i cant recall what i did to fix it when i have bumped into it ( and i have bumped into it 2 or 3 times ), but the 'fixes' have been really hacky. usually involving editing the code every where the error shows up. so in this case the spot in fxos.c needs to be altered. grep for HZ in the freebsd include directoies and replace HZ in fxos.c with whatever you find after the '#define HZ' in whatever header it's in. #define HZ i'd love to know a clean, singlepoint solution . i suspect that it has to do with #ifdef'ing in the correct header, ie systime.h or time.h, but i really cant recall. On Wed, 31 Jan 2001, Michael Carlson wrote: > I have a voodoo 5 and I was wondering if there was a port in the making of Glide3? I have been trying for the past wekk or so to get it to compile on freebsd 4.2, but there seems to be an error in the fxos.c: > > icarus# ./build.3dfx > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/ad0s1a 248047 99760 128444 44% / > > Making all in swlibs > > gmake[1]: Entering directory `/root/Glide3/swlibs' > > Making all in fxmisc > > gmake[2]: Entering directory `/root/Glide3/swlibs/fxmisc' > > /bin/sh ../../libtool --mode=compile gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT - > > Wall -I../../h5/glide3/src -I../../h5/incsrc -I../../h5/incsrc -I../../h5/minihwc -I. -I../../swlibs/fxmemmap -I../../ > > swlibs/fxmisc -I../../swlibs/newpci/pcilib -I../../swlibs/texus2/lib -O6 -m486 -c fxos.c > > rm -f .libs/fxos.lo > > gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffast-math -DBIG_OPT -Wall -I../../h5/glide3/src -I../../h5 > > /incsrc -I../../h5/incsrc -I../../h5/minihwc -I. -I../../swlibs/fxmemmap -I../../swlibs/fxmisc -I../../swlibs/newpci/pcilib -I../../ > > swlibs/texus2/lib -O6 -m486 -Wp,-MD,.deps/fxos.pp -c fxos.c -fPIC -DPIC -o .libs/fxos.lo > > fxos.c: In function `fxTime': > > fxos.c:72: `HZ' undeclared (first use in this function) > > fxos.c:72: (Each undeclared identifier is reported only once > fxos.c:72: for each function it appears in.) > > fxos.c:74: warning: control reaches end of non-void function > > gmake[2]: *** [fxos.lo] Error 1 > > gmake[2]: Leaving directory `/root/Glide3/swlibs/fxmisc' > > gmake[1]: *** [all-recursive] Error 1 > > gmake[1]: Leaving directory `/root/Glide3/swlibs' > > gmake: *** [all-recursive] Error 1 > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/ad0s1a 248047 99760 128444 44% / > > Time Elapsed: 0 Years, 0 Days, 0 Hours, 0 Minutes, 1 Seconds > > Disk usage: 0.0 Mb > > I am not much of a programmer or scripter so I was wondering if anyone had a bit more info on this, I've read all I can find on glide.sourceforge.net but I have progressed little. > > Thanks, > > Mike Carlson > > mcarlson@m87-blackhole.org > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jan 31 13:18:12 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from maildu.Legato.COM (maildu.legato.com [137.69.45.12]) by hub.freebsd.org (Postfix) with ESMTP id 5BDE437B69D for ; Wed, 31 Jan 2001 13:17:48 -0800 (PST) Received: from crom (crom.legato.com [137.69.41.80]) by maildu.Legato.COM (8.9.3/8.9.3) with SMTP id NAA19677; Wed, 31 Jan 2001 13:17:45 -0800 (PST) Message-ID: <027a01c08b88$3e21a7a0$50294589@legato.com> From: "Michael Carlson" To: "The Utz Family" Cc: References: Subject: Re: Glide3 ported to freebsd? Date: Wed, 31 Jan 2001 13:18:03 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Well its all greek to me in there, Im not much of a programmer, but I will show you the fxos.c file and maybe you can spot it. # more fxos.c /* ** THIS SOFTWARE IS SUBJECT TO COPYRIGHT PROTECTION AND IS OFFERED ONLY ** PURSUANT TO THE 3DFX GLIDE GENERAL PUBLIC LICENSE. THERE IS NO RIGHT ** TO USE THE GLIDE TRADEMARK WITHOUT PRIOR WRITTEN PERMISSION OF 3DFX ** INTERACTIVE, INC. A COPY OF THIS LICENSE MAY BE OBTAINED FROM THE ** DISTRIBUTOR OR BY CONTACTING 3DFX INTERACTIVE INC(info@3dfx.com). ** THIS PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER ** EXPRESSED OR IMPLIED. SEE THE 3DFX GLIDE GENERAL PUBLIC LICENSE FOR A ** FULL TEXT OF THE NON-WARRANTY PROVISIONS. ** ** USE, DUPLICATION OR DISCLOSURE BY THE GOVERNMENT IS SUBJECT TO ** RESTRICTIONS AS SET FORTH IN SUBDIVISION (C)(1)(II) OF THE RIGHTS IN ** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 252.227-7013, ** AND/OR IN SIMILAR OR SUCCESSOR CLAUSES IN THE FAR, DOD OR NASA FAR ** SUPPLEMENT. UNPUBLISHED RIGHTS RESERVED UNDER THE COPYRIGHT LAWS OF ** THE UNITED STATES. ** ** COPYRIGHT 3DFX INTERACTIVE, INC. 1999, ALL RIGHTS RESERVED ** ** $Revision: 1.4 $ ** $Date: 2000/10/03 18:31:53 $ */ #include #include #include #ifdef WIN32 #include #include void sleep(int secs) { GdiFlush(); Sleep(secs * 1000); } int fxGethostname(char *name, int n) { return (int)GetComputerName((LPTSTR)name,(LPDWORD)&n); } #else #include #endif #if !macintosh /* return current time in seconds (floating point) */ float fxTime(void) { #if defined ( __sparc__ ) || defined ( __DJGPP__ ) /* times returns 0 in BSD Unix, so we use ftime instead */ # include # include struct timeb tb; static time_t once; // saves first time value ftime(&tb); if (once == 0) // stash away first call once = tb.time; // as float is not big enough return (tb.time - once) + tb.millitm * .001; #else #if defined ( WIN32 ) || ( __DOS__ ) # include # define times(a) clock() # define HZ CLOCKS_PER_SEC #else # include # include # include struct tms foo; #endif return times(&foo)/(float)HZ; #endif } /* returns elapsed time in seconds */ float timer(int flag) { static float starttime,endtime; if (flag == 0) starttime = endtime = fxTime(); else endtime = fxTime(); return endtime - starttime; } #endif //---------------------------------------------------------------------- // open a file thru a search path, first search in the current directory // and then go thru the semicolon separated search path // returns the file handle and the path prefix that was used (if one) //---------------------------------------------------------------------- FILE *fxFopenPath(const char *filename, const char *mode, const char *path, const char **pprefix) { char *psemi; FILE *file; // first try and open up the file in the current directory if (pprefix) *pprefix = NULL; if ((file = fopen(filename,mode))) return file; if (path == NULL) return NULL; while (*path) { // for each chunk of the search path char nameWithPath[1024]; psemi = strchr(path,';'); // find the next semicolon if (psemi) { // if one, copy up to it strncpy(nameWithPath,path,psemi-path); nameWithPath[psemi-path] = '\0'; } else // else copy entire path strcpy(nameWithPath,path); strcat(nameWithPath,"/"); // add directory separator strcat(nameWithPath,filename); // add filename if (pprefix) *pprefix = path; // save the prefix if ((file = fopen(nameWithPath,mode))) return file; path = psemi; // advance to next path element if (path) path++; // if one, then skip semicolon else break; // else all done } return file; } As always, any help is appreciated. Mike C ----- Original Message ----- From: "The Utz Family" To: "Michael Carlson" Cc: Sent: Wednesday, January 31, 2001 9:04 PM Subject: Re: Glide3 ported to freebsd? > the HZ error is one that comes up in trying to build linux specific code > on FreeBSD. > > i cant recall what i did to fix it when i have bumped into it ( and i have > bumped into it 2 or 3 times ), but the 'fixes' have been really hacky. > usually involving editing the code every where the error shows up. > > so in this case the spot in fxos.c needs to be altered. grep for HZ in the > freebsd include directoies and replace HZ in fxos.c with whatever you find > after the '#define HZ' in whatever header it's in. > > #define HZ > > > i'd love to know a clean, singlepoint solution . i suspect that it has to > do with #ifdef'ing in the correct header, ie systime.h or time.h, but i > really cant recall. > > On Wed, 31 Jan 2001, Michael Carlson wrote: > > > I have a voodoo 5 and I was wondering if there was a port in the making of Glide3? I have been trying for the past wekk or so to get it to compile on freebsd 4.2, but there seems to be an error in the fxos.c: > > > > icarus# ./build.3dfx > > > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > > > /dev/ad0s1a 248047 99760 128444 44% / > > > > Making all in swlibs > > > > gmake[1]: Entering directory `/root/Glide3/swlibs' > > > > Making all in fxmisc > > > > gmake[2]: Entering directory `/root/Glide3/swlibs/fxmisc' > > > > /bin/sh ../../libtool --mode=compile gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffa st-math -DBIG_OPT - > > > > Wall -I../../h5/glide3/src -I../../h5/incsrc -I../../h5/incsrc -I../../h5/mi nihwc -I. -I../../swlibs/fxmemmap -I../../ > > > > swlibs/fxmisc -I../../swlibs/newpci/pcilib -I../../swlibs/texus2/lib -O6 -m4 86 -c fxos.c > > > > rm -f .libs/fxos.lo > > > > gcc -DX11 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -ffa st-math -DBIG_OPT -Wall -I../../h5/glide3/src -I../../h5 > > > > /incsrc -I../../h5/incsrc -I../../h5/minihwc -I. -I../../swlibs/fxmemmap -I. ./../swlibs/fxmisc -I../../swlibs/newpci/pcilib -I../../ > > > > swlibs/texus2/lib -O6 -m486 -Wp,-MD,.deps/fxos.pp -c fxos.c -fPIC -DPIC -o .libs/fxos.lo > > > > fxos.c: In function `fxTime': > > > > fxos.c:72: `HZ' undeclared (first use in this function) > > > > fxos.c:72: (Each undeclared identifier is reported only once > > > fxos.c:72: for each function it appears in.) > > > > fxos.c:74: warning: control reaches end of non-void function > > > > gmake[2]: *** [fxos.lo] Error 1 > > > > gmake[2]: Leaving directory `/root/Glide3/swlibs/fxmisc' > > > > gmake[1]: *** [all-recursive] Error 1 > > > > gmake[1]: Leaving directory `/root/Glide3/swlibs' > > > > gmake: *** [all-recursive] Error 1 > > > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > > > /dev/ad0s1a 248047 99760 128444 44% / > > > > Time Elapsed: 0 Years, 0 Days, 0 Hours, 0 Minutes, 1 Seconds > > > > Disk usage: 0.0 Mb > > > > I am not much of a programmer or scripter so I was wondering if anyone had a bit more info on this, I've read all I can find on glide.sourceforge.net but I have progressed little. > > > > Thanks, > > > > Mike Carlson > > > > mcarlson@m87-blackhole.org > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jan 31 14:46:58 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from sm10.texas.rr.com (sm10.texas.rr.com [24.93.35.222]) by hub.freebsd.org (Postfix) with ESMTP id 3DA7A37B4EC for ; Wed, 31 Jan 2001 14:45:33 -0800 (PST) Received: from bleep.craftncomp.com (cs2777-167.houston.rr.com [24.27.77.167]) by sm10.texas.rr.com (8.11.0/8.11.1) with ESMTP id f0VMV7Q05934; Wed, 31 Jan 2001 16:31:07 -0600 Received: from bloop.craftncomp.com (bloop.craftncomp.com [202.12.111.1]) by bleep.craftncomp.com (8.11.1/8.9.3) with ESMTP id f0VMjCE04064; Wed, 31 Jan 2001 16:45:12 -0600 (CST) (envelope-from shocking@houston.rr.com) Received: from bloop.craftncomp.com (localhost [127.0.0.1]) by bloop.craftncomp.com (8.11.1/8.9.3) with ESMTP id f0VMjAg18921; Wed, 31 Jan 2001 16:45:10 -0600 (CST) (envelope-from shocking@bloop.craftncomp.com) Message-Id: <200101312245.f0VMjAg18921@bloop.craftncomp.com> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: "Michael Carlson" Cc: multimedia@freebsd.org Subject: Re: Glide3 ported to freebsd? In-Reply-To: Your message of "Wed, 31 Jan 2001 13:18:03 GMT." <027a01c08b88$3e21a7a0$50294589@legato.com> Reply-To: shocking@houston.rr.com Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_17085496910" Date: Wed, 31 Jan 2001 16:45:10 -0600 From: Stephen Hocking Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multipart MIME message. --==_Exmh_17085496910 Content-Type: text/plain; charset=us-ascii I've already been through this pain - here's a bunch of diffs that you need to apply to your glide3 tree, once you've checked out the cvs version from glide.sourceforge.net. Get the CVS tree by the following, remebering that the password is just . export CVSROOT=":pserver:anonymous@cvs.glide.sourceforge.net:/cvsroot/glide" cvs login cvs co glide3 After you've applied them, you'll need to do the following - ./chores.3dfx --clean --generate --configure=--enable-fx-glide-hw=h3 for the voodoo3 or ./chores.3dfx --clean --generate --configure=--enable-fx-glide-hw=h5 for the voodoo4/5 After that, cd to the build directory and type gmake -f makefile.autoconf MAKE="gmake -f makefile.autoconf" and things should proceed smoothly. There may be a gripe about the file fxlinux.c. Find the appropriate makefile (build/swlibs/newpci/pcilib/makefile.a utoconf) and change it to use fxfreebsd.c instead. There will be another complaint about a missing sqrt function - change the "LIBS =" line in build/swlibs/texus2/cmd/makefile.autoconf to be "LIBS = -lm". Another makefile.autoconf to change is in build/h3/minihwc. You'll have to add a "-I/usr/X11R6/include \" to either the H3_VINCLUDES or H5_VINCLUDES I've got to get all this sorted out so that it's automagically done as part of the autoconf/automake stuff, the I'll submit it as a port. Stephen --==_Exmh_17085496910 Content-Type: text/plain ; name="glide3.diffs"; charset=us-ascii Content-Description: glide3.diffs Content-Disposition: attachment; filename="glide3.diffs" Index: cvg/glide3/src/fxgasm.c =================================================================== RCS file: /cvsroot/glide/glide3x/cvg/glide3/src/fxgasm.c,v retrieving revision 1.1.1.1 diff -c -r1.1.1.1 fxgasm.c *** cvg/glide3/src/fxgasm.c 1999/12/07 21:42:31 1.1.1.1 --- cvg/glide3/src/fxgasm.c 2001/01/31 22:25:07 *************** *** 37,43 **** * macros for creating assembler offset files *----------------------------------------------------------------------*/ ! #ifndef __linux__ #define NEWLINE printf("\n") #define COMMENT printf(";----------------------------------------------------------------------\n") --- 37,43 ---- * macros for creating assembler offset files *----------------------------------------------------------------------*/ ! #if !defined(__linux__) && !defined(__FreeBSD__) #define NEWLINE printf("\n") #define COMMENT printf(";----------------------------------------------------------------------\n") Index: cvg/glide3/src/gsst.c =================================================================== RCS file: /cvsroot/glide/glide3x/cvg/glide3/src/gsst.c,v retrieving revision 1.1.1.1 diff -c -r1.1.1.1 gsst.c *** cvg/glide3/src/gsst.c 1999/12/07 21:42:33 1.1.1.1 --- cvg/glide3/src/gsst.c 2001/01/31 22:25:09 *************** *** 431,437 **** goto BAILOUT; } ! #ifndef __linux__ if (!hWnd) GrErrorCallback("grSstWinOpen: need to use a valid window handle", FXTRUE); --- 431,437 ---- goto BAILOUT; } ! #if !defined(__linux__) && !defined(__FreeBSD__) if (!hWnd) GrErrorCallback("grSstWinOpen: need to use a valid window handle", FXTRUE); Index: cvg/init/sst1init.c =================================================================== RCS file: /cvsroot/glide/glide3x/cvg/init/sst1init.c,v retrieving revision 1.2 diff -c -r1.2 sst1init.c *** cvg/init/sst1init.c 2000/04/20 21:20:22 1.2 --- cvg/init/sst1init.c 2001/01/31 22:25:12 *************** *** 156,162 **** #define SST1INIT_ALLOCATE // Allocate variables in sst1init.h #define FX_DLL_DEFINITION #include ! #if !macintosh && !__linux__ #include #endif #include --- 156,162 ---- #define SST1INIT_ALLOCATE // Allocate variables in sst1init.h #define FX_DLL_DEFINITION #include ! #if !macintosh && !__linux__ && !__FreeBSD__ #include #endif #include *************** *** 236,242 **** } else { sstv2_noremap = 0; } ! #if !macintosh && !__linux__ if (!sstv2_noremap) { fxremap(); /* remap single board SLI */ } --- 236,242 ---- } else { sstv2_noremap = 0; } ! #if !macintosh && !__linux__ && !__FreeBSD__ if (!sstv2_noremap) { fxremap(); /* remap single board SLI */ } *************** *** 940,946 **** INIT_PRINTF(("sst1InitShutdown() WARNING: sst1InitSetGrxClk failed...Continuing...\n")); sst1CurrentBoard->initGrxClkDone = 0; ! #ifndef __linux__ pciUnmapPhysical((FxU32)sst1CurrentBoard->virtAddr[0], 0x1000000UL); #endif if((++n > 1) || !sliEnabled) --- 940,946 ---- INIT_PRINTF(("sst1InitShutdown() WARNING: sst1InitSetGrxClk failed...Continuing...\n")); sst1CurrentBoard->initGrxClkDone = 0; ! #if !defined(__linux__) && !defined(__FreeBSD__) pciUnmapPhysical((FxU32)sst1CurrentBoard->virtAddr[0], 0x1000000UL); #endif if((++n > 1) || !sliEnabled) Index: h3/glide3/src/distate.c =================================================================== RCS file: /cvsroot/glide/glide3x/h3/glide3/src/distate.c,v retrieving revision 1.2 diff -c -r1.2 distate.c *** h3/glide3/src/distate.c 2000/11/24 18:36:48 1.2 --- h3/glide3/src/distate.c 2001/01/31 22:25:15 *************** *** 553,559 **** Return: -------------------------------------------------------------------*/ ! #ifdef __linux__ GR_EXT_ENTRY(grStipplePattern, void , (GrStipplePattern_t stipple)) { #define FN_NAME "grStipplePattern" --- 553,559 ---- Return: -------------------------------------------------------------------*/ ! #if defined(__linux__) || defined(__FreeBSD__) GR_EXT_ENTRY(grStipplePattern, void , (GrStipplePattern_t stipple)) { #define FN_NAME "grStipplePattern" *************** *** 578,584 **** Return: -------------------------------------------------------------------*/ ! #ifdef __linux__ GR_DIENTRY(grStippleMode, void , (GrStippleMode_t mode) ) { #define FN_NAME "grStippleMode" --- 578,584 ---- Return: -------------------------------------------------------------------*/ ! #if defined(__linux__) || defined(__FreeBSD__) GR_DIENTRY(grStippleMode, void , (GrStippleMode_t mode) ) { #define FN_NAME "grStippleMode" *************** *** 952,958 **** _grDepthBufferFunction(LOADARG(grDepthBufferFunction, fnc)); _grDepthBufferMode(LOADARG(grDepthBufferMode, mode)); _grDitherMode(LOADARG(grDitherMode, mode)); ! #ifdef __linux__ _grStippleMode(LOADARG(grStippleMode, mode)); #endif /* __linux__ */ _grSstOrigin(LOADARG(grSstOrigin, origin)); --- 952,958 ---- _grDepthBufferFunction(LOADARG(grDepthBufferFunction, fnc)); _grDepthBufferMode(LOADARG(grDepthBufferMode, mode)); _grDitherMode(LOADARG(grDitherMode, mode)); ! #if defined(__linux__) || defined(__FreeBSD__) _grStippleMode(LOADARG(grStippleMode, mode)); #endif /* __linux__ */ _grSstOrigin(LOADARG(grSstOrigin, origin)); *************** *** 1013,1019 **** reg_cnt++; } ! #ifdef __linux__ if (NOTVALID(stipple)) { gc->state.shadow.stipple = LOADARG(grStipplePattern, stipple); REG_GROUP_BEGIN(BROADCAST_ID, stipple, 1, 0x01); --- 1013,1019 ---- reg_cnt++; } ! #if defined(__linux__) || defined(__FreeBSD__) if (NOTVALID(stipple)) { gc->state.shadow.stipple = LOADARG(grStipplePattern, stipple); REG_GROUP_BEGIN(BROADCAST_ID, stipple, 1, 0x01); *************** *** 1392,1398 **** #undef FN_NAME } /* grViewport */ ! #ifdef __linux__ void _grInvalidateAll() { --- 1392,1398 ---- #undef FN_NAME } /* grViewport */ ! #if defined(__linux__) || defined(__FreeBSD__) void _grInvalidateAll() { Index: h3/glide3/src/ditex.c =================================================================== RCS file: /cvsroot/glide/glide3x/h3/glide3/src/ditex.c,v retrieving revision 1.1.1.1 diff -c -r1.1.1.1 ditex.c *** h3/glide3/src/ditex.c 1999/11/24 21:44:54 1.1.1.1 --- h3/glide3/src/ditex.c 2001/01/31 22:25:16 *************** *** 558,564 **** FXUNUSED(hw); ! #ifndef __linux__ if (!gc->lostContext) return 0; --- 558,564 ---- FXUNUSED(hw); ! #if !defined(__linux__) && !defined(__FreeBSD__) if (!gc->lostContext) return 0; Index: h3/glide3/src/fifo.c =================================================================== RCS file: /cvsroot/glide/glide3x/h3/glide3/src/fifo.c,v retrieving revision 1.1.1.1 diff -c -r1.1.1.1 fifo.c *** h3/glide3/src/fifo.c 1999/11/24 21:44:55 1.1.1.1 --- h3/glide3/src/fifo.c 2001/01/31 22:25:19 *************** *** 694,700 **** GR_BEGIN_NOFIFOCHECK(FN_NAME, 400); if ( gc->windowed ) { ! #if defined( GLIDE_INIT_HWC ) && !defined(__linux__) struct cmdTransportInfo* gcFifo = &gc->cmdTransportInfo; HwcWinFifo --- 694,700 ---- GR_BEGIN_NOFIFOCHECK(FN_NAME, 400); if ( gc->windowed ) { ! #if defined( GLIDE_INIT_HWC ) && !defined(__linux__) && !defined(__FreeBSD__) struct cmdTransportInfo* gcFifo = &gc->cmdTransportInfo; HwcWinFifo *************** *** 827,833 **** * we wrap check the current hw fifo pointer which is going to be the * 2d driver's fifo if we lost our context. */ ! #if defined(GLIDE_INIT_HWC) && !defined(__linux__) gc->contextP = hwcQueryContext(gc->bInfo); #else gc->contextP = 1; --- 827,833 ---- * we wrap check the current hw fifo pointer which is going to be the * 2d driver's fifo if we lost our context. */ ! #if defined(GLIDE_INIT_HWC) && !defined(__linux__) && !defined(__FreeBSD__) gc->contextP = hwcQueryContext(gc->bInfo); #else gc->contextP = 1; *************** *** 1171,1177 **** #endif /* GLIDE_DEBUG */ #endif /* USE_PACKET_FIFO */ ! #ifdef __linux__ void _grImportFifo(int fifoPtr, int fifoRead) { struct cmdTransportInfo* gcFifo; --- 1171,1177 ---- #endif /* GLIDE_DEBUG */ #endif /* USE_PACKET_FIFO */ ! #if defined(__linux__) || defined(__FreeBSD__) void _grImportFifo(int fifoPtr, int fifoRead) { struct cmdTransportInfo* gcFifo; Index: h3/glide3/src/fxglide.h =================================================================== RCS file: /cvsroot/glide/glide3x/h3/glide3/src/fxglide.h,v retrieving revision 1.2 diff -c -r1.2 fxglide.h *** h3/glide3/src/fxglide.h 2000/11/24 18:36:48 1.2 --- h3/glide3/src/fxglide.h 2001/01/31 22:25:21 *************** *** 773,779 **** struct { GrDitherMode_t mode; } grDitherModeArgs; ! #ifdef __linux__ struct { GrStippleMode_t mode; } grStippleModeArgs; --- 773,779 ---- struct { GrDitherMode_t mode; } grDitherModeArgs; ! #if defined(__linux__) || defined(__FreeBSD__) struct { GrStippleMode_t mode; } grStippleModeArgs; *************** *** 829,835 **** */ #define GR_MEMTYPE GR_GET_RESERVED_1 ! #ifndef __linux__ #define TRISETUPARGS const void *a, const void *b, const void *c #else #define TRISETUPARGS const void *g, const void *a, const void *b, const void *c --- 829,835 ---- */ #define GR_MEMTYPE GR_GET_RESERVED_1 ! #if !defined(__linux__) && !defined(__FreeBSD__) #define TRISETUPARGS const void *a, const void *b, const void *c #else #define TRISETUPARGS const void *g, const void *a, const void *b, const void *c *************** *** 1238,1244 **** windowedState; #endif /* GLIDE_INIT_HWC */ } cmdTransportInfo; ! #ifndef __linux__ FxI32 (FX_CALL *triSetupProc)(const void *a, const void *b, const void *c); #else FxI32 (FX_CALL *triSetupProc)(const void *gc, const void *a, const void *b, const void *c); --- 1238,1244 ---- windowedState; #endif /* GLIDE_INIT_HWC */ } cmdTransportInfo; ! #if !defined(__linux__) && !defined(__FreeBSD__) FxI32 (FX_CALL *triSetupProc)(const void *a, const void *b, const void *c); #else FxI32 (FX_CALL *triSetupProc)(const void *gc, const void *a, const void *b, const void *c); *************** *** 1620,1626 **** #else ! #if defined( __linux__ ) #define TRISETUP(a, b, c) (gc->triSetupProc)(gc, a, b, c) --- 1620,1626 ---- #else ! #if defined(__linux__) || defined(__FreeBSD__) #define TRISETUP(a, b, c) (gc->triSetupProc)(gc, a, b, c) *************** *** 1664,1670 **** FxBool invert ); ! #ifdef __linux__ void FX_CALL grStipplePattern( GrStipplePattern_t stipple); --- 1664,1670 ---- FxBool invert ); ! #if defined(__linux__) || defined(__FreeBSD__) void FX_CALL grStipplePattern( GrStipplePattern_t stipple); *************** *** 1712,1718 **** void _grDitherMode( GrDitherMode_t mode ); ! #ifdef __linux__ void _grStippleMode( GrStippleMode_t mode ); #endif /* __linux__ */ --- 1712,1718 ---- void _grDitherMode( GrDitherMode_t mode ); ! #if defined(__linux__) || defined(__FreeBSD__) void _grStippleMode( GrStippleMode_t mode ); #endif /* __linux__ */ *************** *** 1823,1829 **** } #endif ! #ifdef __linux__ extern FxU32 threadValueLinux; #define getThreadValueFast() threadValueLinux #endif --- 1823,1829 ---- } #endif ! #if defined(__linux__) || defined(__FreeBSD__) extern FxU32 threadValueLinux; #define getThreadValueFast() threadValueLinux #endif Index: h3/glide3/src/gglide.c.dri =================================================================== RCS file: /cvsroot/glide/glide3x/h3/glide3/src/gglide.c.dri,v retrieving revision 1.5 diff -c -r1.5 gglide.c.dri *** h3/glide3/src/gglide.c.dri 2000/11/24 18:36:48 1.5 --- h3/glide3/src/gglide.c.dri 2001/01/31 22:25:27 *************** *** 442,448 **** #include "fxcmd.h" #include "fxinline.h" ! #ifdef __linux__ #include #endif --- 442,448 ---- #include "fxcmd.h" #include "fxinline.h" ! #if defined(__linux__) || defined(__FreeBSD__) #include #endif *************** *** 911,917 **** REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 2, 0x3); REG_GROUP_SET(hw, colBufferAddr,gc->buffers[gc->grColBuf]); ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer)? driInfo.stride : gc->state.shadow.auxBufferStride); #else --- 911,917 ---- REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 2, 0x3); REG_GROUP_SET(hw, colBufferAddr,gc->buffers[gc->grColBuf]); ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer)? driInfo.stride : gc->state.shadow.auxBufferStride); #else *************** *** 945,951 **** REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 2, 0x3); REG_GROUP_SET(hw, colBufferAddr, gc->buffers[gc->windowed ? 0 : gc->curBuffer]); ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride); #else --- 945,951 ---- REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 2, 0x3); REG_GROUP_SET(hw, colBufferAddr, gc->buffers[gc->windowed ? 0 : gc->curBuffer]); ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride); #else *************** *** 1917,1923 **** ** grStippleMode */ ! #ifdef __linux__ GR_STATE_ENTRY(grStippleMode, void, (GrStippleMode_t mode)) { #define FN_NAME "_grStippleMode" --- 1917,1923 ---- ** grStippleMode */ ! #if defined(__linux__) || defined(__FreeBSD__) GR_STATE_ENTRY(grStippleMode, void, (GrStippleMode_t mode)) { #define FN_NAME "_grStippleMode" *************** *** 2319,2325 **** ** and the only drawbuffer modes supported by the fbzMode register are 0 ** (back) and 1 (front) */ ! #ifndef __linux__ GR_STATE_ENTRY(grRenderBuffer, void, (GrBuffer_t buffer)) { #define FN_NAME "_grRenderBuffer" --- 2319,2325 ---- ** and the only drawbuffer modes supported by the fbzMode register are 0 ** (back) and 1 (front) */ ! #if !defined(__linux__) && !defined(__FreeBSD__) GR_STATE_ENTRY(grRenderBuffer, void, (GrBuffer_t buffer)) { #define FN_NAME "_grRenderBuffer" Index: h3/glide3/src/glfb.c.dri =================================================================== RCS file: /cvsroot/glide/glide3x/h3/glide3/src/glfb.c.dri,v retrieving revision 1.1.1.1 diff -c -r1.1.1.1 glfb.c.dri *** h3/glide3/src/glfb.c.dri 1999/11/24 21:45:02 1.1.1.1 --- h3/glide3/src/glfb.c.dri 2001/01/31 22:25:29 *************** *** 214,220 **** #include "fxglide.h" #include "fxcmd.h" ! #ifdef __linux__ #include #endif --- 214,220 ---- #include "fxglide.h" #include "fxcmd.h" ! #if defined(__linux__) || defined(__FreeBSD__) #include #endif *************** *** 453,459 **** } if (rv) { ! #ifdef __linux__ if (!colBufferIndex) info->strideInBytes = driInfo.stride; else --- 453,459 ---- } if (rv) { ! #if defined(__linux__) || defined(__FreeBSD__) if (!colBufferIndex) info->strideInBytes = driInfo.stride; else *************** *** 484,490 **** GR_CHECK_SIZE(); info->lfbPtr = (void *)gc->lfb_ptr; ! #ifdef __linux__ info->strideInBytes = 0x1000; #endif --- 484,490 ---- GR_CHECK_SIZE(); info->lfbPtr = (void *)gc->lfb_ptr; ! #if defined(__linux__) || defined(__FreeBSD__) info->strideInBytes = 0x1000; #endif Index: h3/glide3/src/glide.h =================================================================== RCS file: /cvsroot/glide/glide3x/h3/glide3/src/glide.h,v retrieving revision 1.2 diff -c -r1.2 glide.h *** h3/glide3/src/glide.h 2000/11/24 18:36:48 1.2 --- h3/glide3/src/glide.h 2001/01/31 22:25:31 *************** *** 52,58 **** typedef FxU32 GrColor_t; typedef FxU8 GrAlpha_t; typedef FxU32 GrMipMapId_t; ! #ifdef __linux__ typedef FxU32 GrStipplePattern_t; #endif /* __linux__ */ typedef FxU8 GrFog_t; --- 52,58 ---- typedef FxU32 GrColor_t; typedef FxU8 GrAlpha_t; typedef FxU32 GrMipMapId_t; ! #if defined(__linux__) || defined(__FreeBSD__) typedef FxU32 GrStipplePattern_t; #endif /* __linux__ */ typedef FxU8 GrFog_t; *************** *** 253,259 **** #define GR_DITHER_2x2 0x1 #define GR_DITHER_4x4 0x2 ! #ifdef __linux__ typedef FxI32 GrStippleMode_t; #define GR_STIPPLE_DISABLE 0x0 #define GR_STIPPLE_PATTERN 0x1 --- 253,259 ---- #define GR_DITHER_2x2 0x1 #define GR_DITHER_4x4 0x2 ! #if defined(__linux__) || defined(__FreeBSD__) typedef FxI32 GrStippleMode_t; #define GR_STIPPLE_DISABLE 0x0 #define GR_STIPPLE_PATTERN 0x1 *************** *** 709,715 **** FX_ENTRY void FX_CALL grDitherMode( GrDitherMode_t mode ); ! #ifdef __linux__ FX_ENTRY void FX_CALL grStippleMode( GrStippleMode_t mode ); --- 709,715 ---- FX_ENTRY void FX_CALL grDitherMode( GrDitherMode_t mode ); ! #if defined(__linux__) || defined(__FreeBSD__) FX_ENTRY void FX_CALL grStippleMode( GrStippleMode_t mode ); Index: h3/glide3/src/gsst.c.dri =================================================================== RCS file: /cvsroot/glide/glide3x/h3/glide3/src/gsst.c.dri,v retrieving revision 1.1.1.1 diff -c -r1.1.1.1 gsst.c.dri *** h3/glide3/src/gsst.c.dri 1999/11/24 21:45:01 1.1.1.1 --- h3/glide3/src/gsst.c.dri 2001/01/31 22:25:34 *************** *** 531,537 **** #include #endif ! #ifdef __linux__ #include #endif --- 531,537 ---- #include #endif ! #if defined(__linux__) || defined(__FreeBSD__) #include #endif *************** *** 743,749 **** GDBG_INFO(95, FN_NAME"(0x%X)\n", gc); /* Setup the indices of the logical buffers */ ! #ifdef __linux__ gc->curBuffer = (gc->grColBuf > 1) ? 1 : 0; gc->frontBuffer = 0; #else --- 743,749 ---- GDBG_INFO(95, FN_NAME"(0x%X)\n", gc); /* Setup the indices of the logical buffers */ ! #if defined(__linux__) || defined(__FreeBSD__) gc->curBuffer = (gc->grColBuf > 1) ? 1 : 0; gc->frontBuffer = 0; #else *************** *** 936,942 **** struct cmdTransportInfo *gcFifo = 0; GrContext_t retVal = 0; ! #ifndef __linux__ if (!hWnd) GrErrorCallback("grSstWinOpen: need to use a valid window handle", FXTRUE); --- 936,942 ---- struct cmdTransportInfo *gcFifo = 0; GrContext_t retVal = 0; ! #if !defined(__linux__) && !defined(__FreeBSD__) if (!hWnd) GrErrorCallback("grSstWinOpen: need to use a valid window handle", FXTRUE); *************** *** 974,980 **** ? GR_RESOLUTION_640x480 : resolution; ! #ifdef __linux__ gc->state.screen_width = driInfo.screenWidth; gc->state.screen_height = driInfo.screenHeight; #else --- 974,980 ---- ? GR_RESOLUTION_640x480 : resolution; ! #if defined(__linux__) || defined(__FreeBSD__) gc->state.screen_width = driInfo.screenWidth; gc->state.screen_height = driInfo.screenHeight; #else *************** *** 1056,1062 **** gc->hwInitP = FXTRUE; } ! #ifdef __linux__ vInfo->xRes = driInfo.w; vInfo->yRes = driInfo.h; #else --- 1056,1062 ---- gc->hwInitP = FXTRUE; } ! #if defined(__linux__) || defined(__FreeBSD__) vInfo->xRes = driInfo.w; vInfo->yRes = driInfo.h; #else *************** *** 1115,1121 **** /* This actually gets taken in hwcInitVideo */ gc->contextP = FXTRUE; ! #ifndef __linux__ /* CSR - Set up flag for display driver to tell us that context was lost */ if ( !gc->open ) /* If we already have a context open, then lets not re-initialize the pointers */ --- 1115,1121 ---- /* This actually gets taken in hwcInitVideo */ gc->contextP = FXTRUE; ! #if !defined(__linux__) && !defined(__FreeBSD__) /* CSR - Set up flag for display driver to tell us that context was lost */ if ( !gc->open ) /* If we already have a context open, then lets not re-initialize the pointers */ *************** *** 1397,1403 **** gcFifo->fifoPtr = gcFifo->fifoStart; gcFifo->fifoRead = HW_FIFO_PTR( FXTRUE ); ! #ifndef __linux__ if ( (void*)gcFifo->fifoPtr != (void*)gcFifo->fifoRead ) { #ifdef GLIDE_INIT_HWC hwcRestoreVideo( bInfo ); --- 1397,1403 ---- gcFifo->fifoPtr = gcFifo->fifoStart; gcFifo->fifoRead = HW_FIFO_PTR( FXTRUE ); ! #if !defined(__linux__) && !defined(__FreeBSD__) if ( (void*)gcFifo->fifoPtr != (void*)gcFifo->fifoRead ) { #ifdef GLIDE_INIT_HWC hwcRestoreVideo( bInfo ); *************** *** 1439,1445 **** gcFifo->fifoSize, gcFifo->fifoPtr ); ! #ifdef __linux__ _grImportFifo(*driInfo.fifoPtr, *driInfo.fifoRead); #endif --- 1439,1445 ---- gcFifo->fifoSize, gcFifo->fifoPtr ); ! #if defined(__linux__) || defined(__FreeBSD__) _grImportFifo(*driInfo.fifoPtr, *driInfo.fifoRead); #endif *************** *** 1493,1499 **** REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.colBufferAddr); ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride); #else --- 1493,1499 ---- REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.colBufferAddr); ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride); #else *************** *** 1507,1513 **** GDBG_INFO( gc->myLevel, " Setting all Glide state\n" ); assertDefaultState(); ! #ifdef __linux__ if (nColBuffers>1) grRenderBuffer(GR_BUFFER_BACKBUFFER); else --- 1507,1513 ---- GDBG_INFO( gc->myLevel, " Setting all Glide state\n" ); assertDefaultState(); ! #if defined(__linux__) || defined(__FreeBSD__) if (nColBuffers>1) grRenderBuffer(GR_BUFFER_BACKBUFFER); else *************** *** 1575,1581 **** GrGC* gc = (GrGC*)context; GDBG_INFO(80, FN_NAME"(0x%X)\n", context); ! #ifndef __linux__ if (gc->lostContext) { if (*gc->lostContext) return 0; --- 1575,1581 ---- GrGC* gc = (GrGC*)context; GDBG_INFO(80, FN_NAME"(0x%X)\n", context); ! #if !defined(__linux__) && !defined(__FreeBSD__) if (gc->lostContext) { if (*gc->lostContext) return 0; *************** *** 1623,1629 **** * safe everywhere. */ GDBG_INFO(gc->myLevel, " Restore Video"); ! #ifndef __linux__ if (!*gc->lostContext) #endif hwcRestoreVideo(gc->bInfo); --- 1623,1629 ---- * safe everywhere. */ GDBG_INFO(gc->myLevel, " Restore Video"); ! #if !defined(__linux__) && !defined(__FreeBSD__) if (!*gc->lostContext) #endif hwcRestoreVideo(gc->bInfo); *************** *** 1654,1660 **** } _GlideRoot.windowsInit--; ! #ifndef __linux__ if ( gc->bInfo->osNT ) hwcUnmapMemory(); else --- 1654,1660 ---- } _GlideRoot.windowsInit--; ! #if !defined(__linux__) && !defined(__FreeBSD__) if ( gc->bInfo->osNT ) hwcUnmapMemory(); else *************** *** 1728,1734 **** GR_ASSERT((gc >= _GlideRoot.GCs) && (gc <= _GlideRoot.GCs + MAX_NUM_SST)); ! #if defined( GLIDE_INIT_HWC ) && !defined(__linux__) gc->contextP = hwcQueryContext(gc->bInfo); #else gc->contextP = 1; --- 1728,1734 ---- GR_ASSERT((gc >= _GlideRoot.GCs) && (gc <= _GlideRoot.GCs + MAX_NUM_SST)); ! #if defined( GLIDE_INIT_HWC ) && !defined(__linux__) && !defined(__FreeBSD__) gc->contextP = hwcQueryContext(gc->bInfo); #else gc->contextP = 1; *************** *** 1879,1885 **** grFlush(); if ( gc->windowed ) { ! #if defined( GLIDE_INIT_HWC ) && !defined( __linux__ ) struct cmdTransportInfo* gcFifo = &gc->cmdTransportInfo; --- 1879,1885 ---- grFlush(); if ( gc->windowed ) { ! #if defined( GLIDE_INIT_HWC ) && !defined( __linux__ ) && !defined(__FreeBSD__) struct cmdTransportInfo* gcFifo = &gc->cmdTransportInfo; Index: h3/minihwc/gdebug.c =================================================================== RCS file: /cvsroot/glide/glide3x/h3/minihwc/gdebug.c,v retrieving revision 1.1.1.1 diff -c -r1.1.1.1 gdebug.c *** h3/minihwc/gdebug.c 1999/11/24 21:45:04 1.1.1.1 --- h3/minihwc/gdebug.c 2001/01/31 22:25:35 *************** *** 97,103 **** static FILE *gdbg_msgfile; // GDBG info/error file #else /* #ifdef KERNEL */ ! #ifndef __linux__ static FILE *gdbg_msgfile = stdout; // GDBG info/error file #else static FILE *gdbg_msgfile; --- 97,103 ---- static FILE *gdbg_msgfile; // GDBG info/error file #else /* #ifdef KERNEL */ ! #if defined(__linux__) || defined(__FreeBSD__) static FILE *gdbg_msgfile = stdout; // GDBG info/error file #else static FILE *gdbg_msgfile; *************** *** 168,174 **** SIOUXSettings.asktosaveonclose = false; #endif ! #ifdef __linux__ gdbg_msgfile = stderr; #endif --- 168,174 ---- SIOUXSettings.asktosaveonclose = false; #endif ! #if defined(__linux__) || defined(__FreeBSD__) gdbg_msgfile = stderr; #endif Index: h5/glide3/src/distate.c =================================================================== RCS file: /cvsroot/glide/glide3x/h5/glide3/src/distate.c,v retrieving revision 1.4 diff -c -r1.4 distate.c *** h5/glide3/src/distate.c 2000/11/24 18:36:47 1.4 --- h5/glide3/src/distate.c 2001/01/31 22:25:40 *************** *** 840,846 **** Return: -------------------------------------------------------------------*/ ! #ifdef __linux__ GR_EXT_ENTRY(grStipplePattern, void , (GrStipplePattern_t stipple)) { #define FN_NAME "grStipplePattern" --- 840,846 ---- Return: -------------------------------------------------------------------*/ ! #if defined(__linux__) || defined(__FreeBSD__) GR_EXT_ENTRY(grStipplePattern, void , (GrStipplePattern_t stipple)) { #define FN_NAME "grStipplePattern" *************** *** 1016,1022 **** Return: -------------------------------------------------------------------*/ ! #ifdef __linux__ GR_DIENTRY(grStippleMode, void , (GrStippleMode_t mode) ) { #define FN_NAME "grStippleMode" --- 1016,1022 ---- Return: -------------------------------------------------------------------*/ ! #if defined(__linux__) || defined(__FreeBSD__) GR_DIENTRY(grStippleMode, void , (GrStippleMode_t mode) ) { #define FN_NAME "grStippleMode" *************** *** 2071,2077 **** _grDepthBufferFunction(LOADARG(grDepthBufferFunction, fnc)); _grDepthBufferMode(LOADARG(grDepthBufferMode, mode)); _grDitherMode(LOADARG(grDitherMode, mode)); ! #ifdef __linux__ _grStippleMode(LOADARG(grStippleMode, mode)); #endif /* __linux__ */ _grSstOrigin(LOADARG(grSstOrigin, origin)); --- 2071,2077 ---- _grDepthBufferFunction(LOADARG(grDepthBufferFunction, fnc)); _grDepthBufferMode(LOADARG(grDepthBufferMode, mode)); _grDitherMode(LOADARG(grDitherMode, mode)); ! #if defined(__linux__) || defined(__FreeBSD__) _grStippleMode(LOADARG(grStippleMode, mode)); #endif /* __linux__ */ _grSstOrigin(LOADARG(grSstOrigin, origin)); *************** *** 2286,2292 **** REG_GROUP_END(); } ! #ifdef __linux__ if (NOTVALID(stipple)) { gc->state.shadow.stipple = LOADARG(grStipplePattern, stipple); REG_GROUP_BEGIN(BROADCAST_ID, stipple, 1, 0x01); --- 2286,2292 ---- REG_GROUP_END(); } ! #if defined(__linux__) || defined(__FreeBSD__) if (NOTVALID(stipple)) { gc->state.shadow.stipple = LOADARG(grStipplePattern, stipple); REG_GROUP_BEGIN(BROADCAST_ID, stipple, 1, 0x01); *************** *** 2836,2842 **** #undef FN_NAME } /* grViewport */ ! #ifdef __linux__ void _grInvalidateAll() { --- 2836,2842 ---- #undef FN_NAME } /* grViewport */ ! #if defined(__linux__) || defined(__FreeBSD__) void _grInvalidateAll() { Index: h5/glide3/src/ditex.c =================================================================== RCS file: /cvsroot/glide/glide3x/h5/glide3/src/ditex.c,v retrieving revision 1.3 diff -c -r1.3 ditex.c *** h5/glide3/src/ditex.c 2000/11/15 23:32:52 1.3 --- h5/glide3/src/ditex.c 2001/01/31 22:25:42 *************** *** 1444,1450 **** FXUNUSED(hw); ! #ifndef __linux__ if (!gc->lostContext) return 0; --- 1444,1450 ---- FXUNUSED(hw); ! #if !defined(__linux__) && !defined(__FreeBSD__) if (!gc->lostContext) return 0; *************** *** 1510,1516 **** FXUNUSED(hw); ! #ifndef __linux__ if (!gc->lostContext) return 0; --- 1510,1516 ---- FXUNUSED(hw); ! #if !defined(__linux__) && !defined(__FreeBSD__) if (!gc->lostContext) return 0; Index: h5/glide3/src/fifo.c =================================================================== RCS file: /cvsroot/glide/glide3x/h5/glide3/src/fifo.c,v retrieving revision 1.4 diff -c -r1.4 fifo.c *** h5/glide3/src/fifo.c 2000/11/16 19:26:03 1.4 --- h5/glide3/src/fifo.c 2001/01/31 22:25:45 *************** *** 743,749 **** GR_BEGIN_NOFIFOCHECK(FN_NAME, 400); if ( gc->windowed ) { ! #if defined(GLIDE_INIT_HWC) && !defined(__linux__) struct cmdTransportInfo* gcFifo = &gc->cmdTransportInfo; HwcWinFifo --- 743,749 ---- GR_BEGIN_NOFIFOCHECK(FN_NAME, 400); if ( gc->windowed ) { ! #if defined(GLIDE_INIT_HWC) && !defined(__linux__) && !defined(__FreeBSD__) struct cmdTransportInfo* gcFifo = &gc->cmdTransportInfo; HwcWinFifo *************** *** 876,882 **** * we wrap check the current hw fifo pointer which is going to be the * 2d driver's fifo if we lost our context. */ ! #if defined(GLIDE_INIT_HWC) && !defined(__linux__) gc->contextP = !(*gc->lostContext) ; #else /* defined(GLIDE_INIT_HWC) && !defined(__linux__) */ gc->contextP = 1; /* always has context in CSIM */ --- 876,882 ---- * we wrap check the current hw fifo pointer which is going to be the * 2d driver's fifo if we lost our context. */ ! #if defined(GLIDE_INIT_HWC) && !defined(__linux__) && !defined(__FreeBSD__) gc->contextP = !(*gc->lostContext) ; #else /* defined(GLIDE_INIT_HWC) && !defined(__linux__) */ gc->contextP = 1; /* always has context in CSIM */ *************** *** 1366,1372 **** #endif /* GLIDE_DEBUG */ #endif /* USE_PACKET_FIFO */ ! #ifdef __linux__ void _grImportFifo(int fifoPtr, int fifoRead) { --- 1366,1372 ---- #endif /* GLIDE_DEBUG */ #endif /* USE_PACKET_FIFO */ ! #if defined(__linux__) || defined(__FreeBSD__) void _grImportFifo(int fifoPtr, int fifoRead) { Index: h5/glide3/src/fxgasm.c =================================================================== RCS file: /cvsroot/glide/glide3x/h5/glide3/src/fxgasm.c,v retrieving revision 1.3 diff -c -r1.3 fxgasm.c *** h5/glide3/src/fxgasm.c 2000/11/15 23:32:52 1.3 --- h5/glide3/src/fxgasm.c 2001/01/31 22:25:46 *************** *** 37,43 **** * macros for creating assembler offset files *----------------------------------------------------------------------*/ ! #ifndef __linux #define NEWLINE printf("\n") #define COMMENT printf(";----------------------------------------------------------------------\n") --- 37,43 ---- * macros for creating assembler offset files *----------------------------------------------------------------------*/ ! #if !defined(__linux__) && !defined(__FreeBSD__) #define NEWLINE printf("\n") #define COMMENT printf(";----------------------------------------------------------------------\n") Index: h5/glide3/src/fxglide.h =================================================================== RCS file: /cvsroot/glide/glide3x/h5/glide3/src/fxglide.h,v retrieving revision 1.4 diff -c -r1.4 fxglide.h *** h5/glide3/src/fxglide.h 2000/11/24 18:36:47 1.4 --- h5/glide3/src/fxglide.h 2001/01/31 22:25:49 *************** *** 1136,1142 **** struct { GrDitherMode_t mode; } grDitherModeArgs; ! #ifdef __linux__ struct { GrStippleMode_t mode; } grStippleModeArgs; --- 1136,1142 ---- struct { GrDitherMode_t mode; } grDitherModeArgs; ! #if defined(__linux__) || defined(__FreeBSD__) struct { GrStippleMode_t mode; } grStippleModeArgs; *************** *** 1282,1288 **** * the _archXXXX proc list that is selected at grGlideInit time. */ ! #ifndef __linux__ typedef FxI32 (FX_CALL* GrTriSetupProc)(const void *a, const void *b, const void *c); #else /* defined(__linux__) */ typedef FxI32 (FX_CALL* GrTriSetupProc)(const void *g, const void *a, const void *b, const void *c); --- 1282,1288 ---- * the _archXXXX proc list that is selected at grGlideInit time. */ ! #if !defined(__linux__) && !defined(__FreeBSD__) typedef FxI32 (FX_CALL* GrTriSetupProc)(const void *a, const void *b, const void *c); #else /* defined(__linux__) */ typedef FxI32 (FX_CALL* GrTriSetupProc)(const void *g, const void *a, const void *b, const void *c); *************** *** 1339,1345 **** void FX_CSTYLE _grDrawVertexList_3DNow_Clip(FxU32 pktype, FxU32 type, FxI32 mode, FxI32 count, void *pointers); #endif /* GL_AMD3D */ ! #ifdef __linux__ /* Define this structure otherwise it assumes the structure only exists within the function */ struct GrGC_s; --- 1339,1345 ---- void FX_CSTYLE _grDrawVertexList_3DNow_Clip(FxU32 pktype, FxU32 type, FxI32 mode, FxI32 count, void *pointers); #endif /* GL_AMD3D */ ! #if defined(__linux__) || defined(__FreeBSD__) /* Define this structure otherwise it assumes the structure only exists within the function */ struct GrGC_s; *************** *** 1756,1762 **** occur every 64K writes. */ } cmdTransportInfo; ! #ifndef __linux__ FxI32 (FX_CALL *triSetupProc)(const void *a, const void *b, const void *c); #else /* defined(__linux__) */ FxI32 (FX_CALL *triSetupProc)(const void *g, const void *a, const void *b, const void *c); --- 1756,1762 ---- occur every 64K writes. */ } cmdTransportInfo; ! #if !defined(__linux__) && !defined(__FreeBSD__) FxI32 (FX_CALL *triSetupProc)(const void *a, const void *b, const void *c); #else /* defined(__linux__) */ FxI32 (FX_CALL *triSetupProc)(const void *g, const void *a, const void *b, const void *c); *************** *** 2253,2259 **** #elif defined(__POWERPC__) #define TRISETUP(_a, _b, _c) \ ((FxI32 (*)(const void *va, const void *vb, const void *vc, GrGC *gc))*gc->triSetupProc)(_a, _b, _c, gc) ! #elif defined(__linux__) #define TRISETUP(a, b, c) (gc->triSetupProc)(gc, a, b, c) #else /* defined(__linux__) */ #define TRISETUP \ --- 2253,2259 ---- #elif defined(__POWERPC__) #define TRISETUP(_a, _b, _c) \ ((FxI32 (*)(const void *va, const void *vb, const void *vc, GrGC *gc))*gc->triSetupProc)(_a, _b, _c, gc) ! #elif defined(__linux__) || defined(__FreeBSD__) #define TRISETUP(a, b, c) (gc->triSetupProc)(gc, a, b, c) #else /* defined(__linux__) */ #define TRISETUP \ *************** *** 2327,2333 **** void FX_CALL grStencilMask(GrStencil_t write_mask); ! #ifdef __linux__ void FX_CALL grStipplePattern( GrStipplePattern_t stipple); --- 2327,2333 ---- void FX_CALL grStencilMask(GrStencil_t write_mask); ! #if defined(__linux__) || defined(__FreeBSD__) void FX_CALL grStipplePattern( GrStipplePattern_t stipple); *************** *** 2507,2513 **** void _grDitherMode( GrDitherMode_t mode ); ! #ifdef __linux__ void _grStippleMode( GrStippleMode_t mode ); #endif /* __linux__ */ --- 2507,2513 ---- void _grDitherMode( GrDitherMode_t mode ); ! #if defined(__linux__) || defined(__FreeBSD__) void _grStippleMode( GrStippleMode_t mode ); #endif /* __linux__ */ *************** *** 2618,2624 **** } #endif ! #ifdef __linux__ extern FxU32 threadValueLinux; #define getThreadValueFast() threadValueLinux #endif /* defined(__linux__) */ --- 2618,2624 ---- } #endif ! #if defined(__linux__) || defined(__FreeBSD__) extern FxU32 threadValueLinux; #define getThreadValueFast() threadValueLinux #endif /* defined(__linux__) */ Index: h5/glide3/src/gdraw.c =================================================================== RCS file: /cvsroot/glide/glide3x/h5/glide3/src/gdraw.c,v retrieving revision 1.3 diff -c -r1.3 gdraw.c *** h5/glide3/src/gdraw.c 2000/11/15 23:32:53 1.3 --- h5/glide3/src/gdraw.c 2001/01/31 22:25:51 *************** *** 281,287 **** _grDrawLineStrip(GR_VTX_PTR_ARRAY, GR_LINES, 2, verts); } #else ! #ifdef __linux__ if (gc->state.grEnableArgs.primitive_smooth_mode & GR_AA_ORDERED_LINES_MASK) _grAADrawLineStrip(GR_VTX_PTR_ARRAY, GR_LINES, 2, (void *)&a); else --- 281,287 ---- _grDrawLineStrip(GR_VTX_PTR_ARRAY, GR_LINES, 2, verts); } #else ! #if defined(__linux__) || defined(__FreeBSD__) if (gc->state.grEnableArgs.primitive_smooth_mode & GR_AA_ORDERED_LINES_MASK) _grAADrawLineStrip(GR_VTX_PTR_ARRAY, GR_LINES, 2, (void *)&a); else *************** *** 302,308 **** */ #if !defined(__POWERPC__) || GLIDE_USE_C_TRISETUP ! #if !defined(GLIDE_DEBUG) && !defined(__linux__) __declspec( naked ) #endif /* !defined(GLIDE_DEBUG) && !defined(__linux__) */ GR_ENTRY(grDrawTriangle, void, (const void *a, const void *b, const void *c)) --- 302,308 ---- */ #if !defined(__POWERPC__) || GLIDE_USE_C_TRISETUP ! #if !defined(GLIDE_DEBUG) && !defined(__linux__) && !defined(__FreeBSD__) __declspec( naked ) #endif /* !defined(GLIDE_DEBUG) && !defined(__linux__) */ GR_ENTRY(grDrawTriangle, void, (const void *a, const void *b, const void *c)) *************** *** 352,358 **** } lostContext: ; /* <-- my, that's odd, but MSVC was insistent */ } ! #elif defined(__linux__) { GR_BEGIN_NOFIFOCHECK("grDrawTriangle",92); TRISETUP(a, b, c); --- 352,358 ---- } lostContext: ; /* <-- my, that's odd, but MSVC was insistent */ } ! #elif defined(__linux__) || defined(__FreeBSD__) { GR_BEGIN_NOFIFOCHECK("grDrawTriangle",92); TRISETUP(a, b, c); Index: h5/glide3/src/gerror.c =================================================================== RCS file: /cvsroot/glide/glide3x/h5/glide3/src/gerror.c,v retrieving revision 1.3 diff -c -r1.3 gerror.c *** h5/glide3/src/gerror.c 2000/11/15 23:32:53 1.3 --- h5/glide3/src/gerror.c 2001/01/31 22:25:52 *************** *** 254,260 **** } #endif ! #if !__POWERPC__ && !defined(__linux__) void i3(void) { --- 254,260 ---- } #endif ! #if !__POWERPC__ && !defined(__linux__) && !defined(__FreeBSD__) void i3(void) { Index: h5/glide3/src/gglide.c =================================================================== RCS file: /cvsroot/glide/glide3x/h5/glide3/src/gglide.c,v retrieving revision 1.7 diff -c -r1.7 gglide.c *** h5/glide3/src/gglide.c 2000/11/24 18:36:47 1.7 --- h5/glide3/src/gglide.c 2001/01/31 22:25:59 *************** *** 651,657 **** #endif /* !HAL_CSIM */ #endif /* (GLIDE_PLATFORM & GLIDE_SST_SIM) */ ! #ifdef __linux__ #include #endif --- 651,657 ---- #endif /* !HAL_CSIM */ #endif /* (GLIDE_PLATFORM & GLIDE_SST_SIM) */ ! #if defined(__linux__) || defined(__FreeBSD__) #include #endif *************** *** 1768,1774 **** /* tbext */ REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 2, 0x3); REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.auxBufferAddr ); ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer)? driInfo.stride : gc->state.shadow.auxBufferStride); #else /* defined(__linux__) */ --- 1768,1774 ---- /* tbext */ REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 2, 0x3); REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.auxBufferAddr ); ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer)? driInfo.stride : gc->state.shadow.auxBufferStride); #else /* defined(__linux__) */ *************** *** 1819,1825 **** } else { REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 2, 0x3); REG_GROUP_SET(hw, colBufferAddr, gc->buffers0[gc->windowed ? 0 : gc->curBuffer]); ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else --- 1819,1825 ---- } else { REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 2, 0x3); REG_GROUP_SET(hw, colBufferAddr, gc->buffers0[gc->windowed ? 0 : gc->curBuffer]); ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else *************** *** 2303,2309 **** /* tbext */ REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 2, 0x3) ; REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.auxBufferAddr) ; ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.auxBufferStride ); #else --- 2303,2309 ---- /* tbext */ REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 2, 0x3) ; REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.auxBufferAddr) ; ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.auxBufferStride ); #else *************** *** 2353,2359 **** } else { REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 2, 0x3) ; REG_GROUP_SET(hw, colBufferAddr, gc->buffers0[gc->windowed ? 0 : gc->curBuffer]) ; ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else --- 2353,2359 ---- } else { REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 2, 0x3) ; REG_GROUP_SET(hw, colBufferAddr, gc->buffers0[gc->windowed ? 0 : gc->curBuffer]) ; ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else *************** *** 2514,2520 **** } /* grBufferClear */ #endif ! #ifndef __linux__ /*--------------------------------------------------------------------------- ** grBufferSwap ** --- 2514,2520 ---- } /* grBufferClear */ #endif ! #if !defined(__linux__) && !defined(__FreeBSD__) /*--------------------------------------------------------------------------- ** grBufferSwap ** *************** *** 3602,3608 **** ** grStippleMode */ ! #ifdef __linux__ GR_STATE_ENTRY(grStippleMode, void, (GrStippleMode_t mode)) { #define FN_NAME "_grStippleMode" --- 3602,3608 ---- ** grStippleMode */ ! #if defined(__linux__) || defined(__FreeBSD__) GR_STATE_ENTRY(grStippleMode, void, (GrStippleMode_t mode)) { #define FN_NAME "_grStippleMode" *************** *** 4108,4114 **** ** and the only drawbuffer modes supported by the fbzMode register are 0 ** (back) and 1 (front) */ ! #ifndef __linux__ GR_STATE_ENTRY(grRenderBuffer, void, (GrBuffer_t buffer)) { #define FN_NAME "_grRenderBuffer" --- 4108,4114 ---- ** and the only drawbuffer modes supported by the fbzMode register are 0 ** (back) and 1 (front) */ ! #if !defined(__linux__) && !defined(__FreeBSD__) GR_STATE_ENTRY(grRenderBuffer, void, (GrBuffer_t buffer)) { #define FN_NAME "_grRenderBuffer" *************** *** 5111,5117 **** REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.colBufferAddr); ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else --- 5111,5117 ---- REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.colBufferAddr); ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else *************** *** 5136,5142 **** REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.colBufferAddr); ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else --- 5136,5142 ---- REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.colBufferAddr); ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else *************** *** 5159,5165 **** REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.colBufferAddr); ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else --- 5159,5165 ---- REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.colBufferAddr); ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else *************** *** 5172,5178 **** REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->buffers1[gc->curBuffer] | SST_BUFFER_BASE_SELECT); ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else --- 5172,5178 ---- REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->buffers1[gc->curBuffer] | SST_BUFFER_BASE_SELECT); ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else *************** *** 5728,5734 **** gc->gcFuncs.grBufferClear = (void *) GR_DDNAME(grBufferClear); gc->gcFuncs.grBufferNumPending = (void *) GR_DDNAME(grBufferNumPending); ! #ifdef __linux__ gc->gcFuncs.grBufferSwap = (void *) GR_DDNAME(grDRIBufferSwap); #else /* defined(__linux__) */ gc->gcFuncs.grBufferSwap = (void *) GR_DDNAME(grBufferSwap); --- 5728,5734 ---- gc->gcFuncs.grBufferClear = (void *) GR_DDNAME(grBufferClear); gc->gcFuncs.grBufferNumPending = (void *) GR_DDNAME(grBufferNumPending); ! #if defined(__linux__) || defined(__FreeBSD__) gc->gcFuncs.grBufferSwap = (void *) GR_DDNAME(grDRIBufferSwap); #else /* defined(__linux__) */ gc->gcFuncs.grBufferSwap = (void *) GR_DDNAME(grBufferSwap); Index: h5/glide3/src/glfb.c =================================================================== RCS file: /cvsroot/glide/glide3x/h5/glide3/src/glfb.c,v retrieving revision 1.7 diff -c -r1.7 glfb.c *** h5/glide3/src/glfb.c 2000/11/17 21:31:05 1.7 --- h5/glide3/src/glfb.c 2001/01/31 22:26:02 *************** *** 280,286 **** #include "fxglide.h" #include "fxcmd.h" ! #ifdef __linux__ #include #endif /* defined(__linux__) */ --- 280,286 ---- #include "fxglide.h" #include "fxcmd.h" ! #if defined(__linux__) || defined(__FreeBSD__) #include #endif /* defined(__linux__) */ *************** *** 643,649 **** } if (rv) { ! #ifdef __linux__ if (!colBufferIndex) { info->strideInBytes = driInfo.stride; } else { --- 643,649 ---- } if (rv) { ! #if defined(__linux__) || defined(__FreeBSD__) if (!colBufferIndex) { info->strideInBytes = driInfo.stride; } else { *************** *** 699,705 **** } #endif else { ! #ifdef __linux__ /* * For Linux, we just return the correct address and * stride. --- 699,705 ---- } #endif else { ! #if defined(__linux__) || defined(__FreeBSD__) /* * For Linux, we just return the correct address and * stride. *************** *** 709,715 **** #else /* defined(__linux__) */ info->lfbPtr = (void *)gc->lfb_ptr; #endif /* defined(__linux__) */ ! #ifndef __linux__ switch (writeMode) { case GR_LFBWRITEMODE_565_DEPTH: case GR_LFBWRITEMODE_555_DEPTH: --- 709,715 ---- #else /* defined(__linux__) */ info->lfbPtr = (void *)gc->lfb_ptr; #endif /* defined(__linux__) */ ! #if !defined(__linux__) && !defined(__FreeBSD__) switch (writeMode) { case GR_LFBWRITEMODE_565_DEPTH: case GR_LFBWRITEMODE_555_DEPTH: *************** *** 729,735 **** } else /* else !gc->textureBuffer.on */ { if (type == GR_LFB_READ_ONLY) { info->lfbPtr = (void *)gc->lfbBuffers[colBufferIndex]; ! #if defined(__linux__) if (colBufferIndex == 0) { info->strideInBytes = driInfo.stride; } else { --- 729,735 ---- } else /* else !gc->textureBuffer.on */ { if (type == GR_LFB_READ_ONLY) { info->lfbPtr = (void *)gc->lfbBuffers[colBufferIndex]; ! #if defined(__linux__) !! defined(__FreeBSD__) if (colBufferIndex == 0) { info->strideInBytes = driInfo.stride; } else { *************** *** 787,793 **** /* Make sure dither rotation is disabled for 3D LFBs. */ _3dlfb = FXTRUE; ! #if defined(__linux__) /* * For Linux, we just return the correct address and * stride. --- 787,793 ---- /* Make sure dither rotation is disabled for 3D LFBs. */ _3dlfb = FXTRUE; ! #if defined(__linux__) !! defined(__FreeBSD__) /* * For Linux, we just return the correct address and * stride. *************** *** 798,804 **** info->lfbPtr = (void *)gc->lfb_ptr; #endif /* defined(__linux__) */ ! #ifndef __linux__ switch (writeMode) { case GR_LFBWRITEMODE_565_DEPTH: case GR_LFBWRITEMODE_555_DEPTH: --- 798,804 ---- info->lfbPtr = (void *)gc->lfb_ptr; #endif /* defined(__linux__) */ ! #if !defined(__linux__) && !defined(__FreeBSD__) switch (writeMode) { case GR_LFBWRITEMODE_565_DEPTH: case GR_LFBWRITEMODE_555_DEPTH: Index: h5/glide3/src/glide.h =================================================================== RCS file: /cvsroot/glide/glide3x/h5/glide3/src/glide.h,v retrieving revision 1.3 diff -c -r1.3 glide.h *** h5/glide3/src/glide.h 2000/11/24 18:36:47 1.3 --- h5/glide3/src/glide.h 2001/01/31 22:26:04 *************** *** 52,58 **** typedef FxU32 GrColor_t; typedef FxU8 GrAlpha_t; typedef FxU32 GrMipMapId_t; ! #ifdef __linux__ typedef FxU32 GrStipplePattern_t; #endif /* __linux__ */ typedef FxU8 GrFog_t; --- 52,58 ---- typedef FxU32 GrColor_t; typedef FxU8 GrAlpha_t; typedef FxU32 GrMipMapId_t; ! #if defined(__linux__) || defined(__FreeBSD__) typedef FxU32 GrStipplePattern_t; #endif /* __linux__ */ typedef FxU8 GrFog_t; *************** *** 243,249 **** #define GR_DITHER_2x2 0x1 #define GR_DITHER_4x4 0x2 ! #ifdef __linux__ typedef FxI32 GrStippleMode_t; #define GR_STIPPLE_DISABLE 0x0 #define GR_STIPPLE_PATTERN 0x1 --- 243,249 ---- #define GR_DITHER_2x2 0x1 #define GR_DITHER_4x4 0x2 ! #if defined(__linux__) || defined(__FreeBSD__) typedef FxI32 GrStippleMode_t; #define GR_STIPPLE_DISABLE 0x0 #define GR_STIPPLE_PATTERN 0x1 *************** *** 744,750 **** FX_ENTRY void FX_CALL grDepthRange( FxFloat n, FxFloat f ); ! #ifdef __linux__ FX_ENTRY void FX_CALL grStippleMode( GrStippleMode_t mode ); --- 744,750 ---- FX_ENTRY void FX_CALL grDepthRange( FxFloat n, FxFloat f ); ! #if defined(__linux__) || defined(__FreeBSD__) FX_ENTRY void FX_CALL grStippleMode( GrStippleMode_t mode ); Index: h5/glide3/src/gpci.c =================================================================== RCS file: /cvsroot/glide/glide3x/h5/glide3/src/gpci.c,v retrieving revision 1.3 diff -c -r1.3 gpci.c *** h5/glide3/src/gpci.c 2000/11/15 23:32:53 1.3 --- h5/glide3/src/gpci.c 2001/01/31 22:26:07 *************** *** 995,1001 **** chipCount = atoi(envChipNum); ! #ifndef __linux__ if ((hInfo = hwcInit(0x121a, 0x3)) == NULL) goto __errExit; #else /* defined(__linux__) */ --- 995,1001 ---- chipCount = atoi(envChipNum); ! #if !defined(__linux__) && !defined(__FreeBSD__) if ((hInfo = hwcInit(0x121a, 0x3)) == NULL) goto __errExit; #else /* defined(__linux__) */ Index: h5/glide3/src/gsst.c =================================================================== RCS file: /cvsroot/glide/glide3x/h5/glide3/src/gsst.c,v retrieving revision 1.5 diff -c -r1.5 gsst.c *** h5/glide3/src/gsst.c 2000/11/17 21:31:05 1.5 --- h5/glide3/src/gsst.c 2001/01/31 22:26:11 *************** *** 833,839 **** #endif #endif /* (GLIDE_PLATFORM & GLIDE_SST_SIM) */ ! #ifdef __linux__ #include #endif --- 833,839 ---- #endif #endif /* (GLIDE_PLATFORM & GLIDE_SST_SIM) */ ! #if defined(__linux__) || defined(__FreeBSD__) #include #endif *************** *** 1036,1042 **** gc->state.mode2ppcTMU = 0xFFFFFFFF; } /* assertDefaultState */ ! #ifndef __linux__ static void clearBuffers( GrGC *gc ) { --- 1036,1042 ---- gc->state.mode2ppcTMU = 0xFFFFFFFF; } /* assertDefaultState */ ! #if !defined(__linux__) && !defined(__FreeBSD__) static void clearBuffers( GrGC *gc ) { *************** *** 1159,1165 **** GDBG_INFO(95, FN_NAME"(0x%X)\n", gc); /* Setup the indices of the logical buffers */ ! #ifdef __linux__ gc->curBuffer = (gc->grColBuf > 1) ? 1 : 0; gc->frontBuffer = 0; #else /* defined(__linux__) */ --- 1159,1165 ---- GDBG_INFO(95, FN_NAME"(0x%X)\n", gc); /* Setup the indices of the logical buffers */ ! #if defined(__linux__) || defined(__FreeBSD__) gc->curBuffer = (gc->grColBuf > 1) ? 1 : 0; gc->frontBuffer = 0; #else /* defined(__linux__) */ *************** *** 1373,1379 **** GrContext_t retVal = 0; ! #ifndef __linux__ if (!hWnd) GrErrorCallback("grSstWinOpen: need to use a valid window handle", FXTRUE); --- 1373,1379 ---- GrContext_t retVal = 0; ! #if !defined(__linux__) && !defined(__FreeBSD__) if (!hWnd) GrErrorCallback("grSstWinOpen: need to use a valid window handle", FXTRUE); *************** *** 1531,1537 **** GrContext_t retVal = 0; FxU32 tramShift, tmu1Offset; ! #ifndef __linux__ if (!hWnd) GrErrorCallback("grSstWinOpen: need to use a valid window handle", FXTRUE); --- 1531,1537 ---- GrContext_t retVal = 0; FxU32 tramShift, tmu1Offset; ! #if !defined(__linux__) && !defined(__FreeBSD__) if (!hWnd) GrErrorCallback("grSstWinOpen: need to use a valid window handle", FXTRUE); *************** *** 1569,1575 **** ? GR_RESOLUTION_640x480 : resolution; ! #ifdef __linux__ gc->state.screen_width = driInfo.screenWidth; gc->state.screen_height = driInfo.screenHeight; #else /* defined(__linux__) */ --- 1569,1575 ---- ? GR_RESOLUTION_640x480 : resolution; ! #if defined(__linux__) || defined(__FreeBSD__) gc->state.screen_width = driInfo.screenWidth; gc->state.screen_height = driInfo.screenHeight; #else /* defined(__linux__) */ *************** *** 1663,1669 **** } } ! #ifdef __linux__ /* The DRI knows how the framebuffer should be configured */ if (driInfo.cpp==3 || driInfo.cpp==4) { /* 24 or 32bpp modes */ /* XXX Check for AA flags here too */ --- 1663,1669 ---- } } ! #if defined(__linux__) || defined(__FreeBSD__) /* The DRI knows how the framebuffer should be configured */ if (driInfo.cpp==3 || driInfo.cpp==4) { /* 24 or 32bpp modes */ /* XXX Check for AA flags here too */ *************** *** 2181,2187 **** } #endif ! #ifdef __linux__ vInfo->xRes = driInfo.w; vInfo->yRes = driInfo.h; #else /* defined(__linux__) */ --- 2181,2187 ---- } #endif ! #if defined(__linux__) || defined(__FreeBSD__) vInfo->xRes = driInfo.w; vInfo->yRes = driInfo.h; #else /* defined(__linux__) */ *************** *** 2255,2261 **** /* This actually gets taken in hwcInitVideo */ gc->contextP = FXTRUE; ! #ifndef __linux__ /* CSR - Set up flag for display driver to tell us that context was lost */ if ( !gc->open ) /* If we already have a context open, then lets not re-initialize the pointers */ --- 2255,2261 ---- /* This actually gets taken in hwcInitVideo */ gc->contextP = FXTRUE; ! #if !defined(__linux__) && !defined(__FreeBSD__) /* CSR - Set up flag for display driver to tell us that context was lost */ if ( !gc->open ) /* If we already have a context open, then lets not re-initialize the pointers */ *************** *** 2529,2535 **** gc->buffers0[gc->curBuffer], /* board address of beginning of OS */ gc->strideInTiles ); /* distance between scanlines of the OS, in*/ ! #ifndef __linux__ /* ** initialize context checking */ --- 2529,2535 ---- gc->buffers0[gc->curBuffer], /* board address of beginning of OS */ gc->strideInTiles ); /* distance between scanlines of the OS, in*/ ! #if !defined(__linux__) && !defined(__FreeBSD__) /* ** initialize context checking */ *************** *** 2647,2653 **** gc->buffers0[gc->curBuffer], /* board address of beginning of OS */ gc->strideInTiles ); /* distance between scanlines of the OS, in*/ _grReCacheFifo(0); ! #ifndef __linux__ /* ** initialize context checking */ --- 2647,2653 ---- gc->buffers0[gc->curBuffer], /* board address of beginning of OS */ gc->strideInTiles ); /* distance between scanlines of the OS, in*/ _grReCacheFifo(0); ! #if !defined(__linux__) && !defined(__FreeBSD__) /* ** initialize context checking */ *************** *** 2692,2698 **** gcFifo->fifoRead = HW_FIFO_PTR( FXTRUE ); #endif /* USE_PACKET_FIFO */ ! #ifndef __linux__ if ( (void*)gcFifo->fifoPtr != (void*)gcFifo->fifoRead ) { #ifdef GLIDE_INIT_HWC hwcRestoreVideo( bInfo ); --- 2692,2698 ---- gcFifo->fifoRead = HW_FIFO_PTR( FXTRUE ); #endif /* USE_PACKET_FIFO */ ! #if !defined(__linux__) && !defined(__FreeBSD__) if ( (void*)gcFifo->fifoPtr != (void*)gcFifo->fifoRead ) { #ifdef GLIDE_INIT_HWC hwcRestoreVideo( bInfo ); *************** *** 2742,2748 **** gcFifo->fifoSize, gcFifo->fifoPtr ); ! #ifdef __linux__ _grImportFifo(*driInfo.fifoPtr, *driInfo.fifoRead); #endif --- 2742,2748 ---- gcFifo->fifoSize, gcFifo->fifoPtr ); ! #if defined(__linux__) || defined(__FreeBSD__) _grImportFifo(*driInfo.fifoPtr, *driInfo.fifoRead); #endif *************** *** 2800,2806 **** REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.colBufferAddr); ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else --- 2800,2806 ---- REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.colBufferAddr); ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else *************** *** 2816,2822 **** REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->buffers1[gc->curBuffer] | SST_BUFFER_BASE_SELECT); ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else --- 2816,2822 ---- REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->buffers1[gc->curBuffer] | SST_BUFFER_BASE_SELECT); ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else *************** *** 2885,2891 **** REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.colBufferAddr); ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else --- 2885,2891 ---- REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->state.shadow.colBufferAddr); ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else *************** *** 2899,2905 **** REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->buffers1[gc->curBuffer] | SST_BUFFER_BASE_SELECT); ! #ifdef __linux__ REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else --- 2899,2905 ---- REG_GROUP_BEGIN(BROADCAST_ID, colBufferAddr, 4, 0xf); { REG_GROUP_SET(hw, colBufferAddr, gc->buffers1[gc->curBuffer] | SST_BUFFER_BASE_SELECT); ! #if defined(__linux__) || defined(__FreeBSD__) REG_GROUP_SET(hw, colBufferStride, (!gc->curBuffer) ? driInfo.stride : gc->state.shadow.colBufferStride ); #else *************** *** 2940,2946 **** GDBG_INFO( gc->myLevel, " Setting all Glide state\n" ); assertDefaultState(); ! #ifdef __linux__ if (nColBuffers>1) grRenderBuffer(GR_BUFFER_BACKBUFFER); else --- 2940,2946 ---- GDBG_INFO( gc->myLevel, " Setting all Glide state\n" ); assertDefaultState(); ! #if defined(__linux__) || defined(__FreeBSD__) if (nColBuffers>1) grRenderBuffer(GR_BUFFER_BACKBUFFER); else *************** *** 3017,3023 **** hwcRestoreVideo(gc->bInfo); } ! #ifndef __linux__ if (gc->lostContext) { if (*gc->lostContext) return 0; --- 3017,3023 ---- hwcRestoreVideo(gc->bInfo); } ! #if !defined(__linux__) && !defined(__FreeBSD__) if (gc->lostContext) { if (*gc->lostContext) return 0; *************** *** 3069,3075 **** * safe everywhere. */ GDBG_INFO(gc->myLevel, " Restore Video"); ! #ifndef __linux__ if (!*gc->lostContext) { /* disable SLI and AA */ #ifdef FX_GLIDE_NAPALM --- 3069,3075 ---- * safe everywhere. */ GDBG_INFO(gc->myLevel, " Restore Video"); ! #if !defined(__linux__) && !defined(__FreeBSD__) if (!*gc->lostContext) { /* disable SLI and AA */ #ifdef FX_GLIDE_NAPALM *************** *** 3374,3380 **** grFlush(); if ( gc->windowed ) { ! #if defined(GLIDE_INIT_HWC) && !defined(__linux__) struct cmdTransportInfo* gcFifo = &gc->cmdTransportInfo; --- 3374,3380 ---- grFlush(); if ( gc->windowed ) { ! #if defined(GLIDE_INIT_HWC) && !defined(__linux__) && !defined(__FreeBSD__) struct cmdTransportInfo* gcFifo = &gc->cmdTransportInfo; Index: h5/glide3/src/gthread.c =================================================================== RCS file: /cvsroot/glide/glide3x/h5/glide3/src/gthread.c,v retrieving revision 1.3 diff -c -r1.3 gthread.c *** h5/glide3/src/gthread.c 2000/11/15 23:32:53 1.3 --- h5/glide3/src/gthread.c 2001/01/31 22:26:12 *************** *** 157,163 **** { } ! #elif defined(__linux__) #include <3dfx.h> #include --- 157,163 ---- { } ! #elif defined(__linux__) || defined(__FreeBSD__) #include <3dfx.h> #include Index: h5/minihwc/gdebug.c =================================================================== RCS file: /cvsroot/glide/glide3x/h5/minihwc/gdebug.c,v retrieving revision 1.3 diff -c -r1.3 gdebug.c *** h5/minihwc/gdebug.c 2000/11/15 23:32:58 1.3 --- h5/minihwc/gdebug.c 2001/01/31 22:26:15 *************** *** 86,92 **** * and one for the dynamic dfn. For linux they are different. * For Windows they are the same. */ ! #ifdef __linux__ #define INITIAL_STATIC_GDBG_MSGFILE NULL #define INITIAL_GDBG_MSGFILE stderr #else --- 86,92 ---- * and one for the dynamic dfn. For linux they are different. * For Windows they are the same. */ ! #if defined(__linux__) || defined(__FreeBSD__) #define INITIAL_STATIC_GDBG_MSGFILE NULL #define INITIAL_GDBG_MSGFILE stderr #else *************** *** 189,195 **** SIOUXSettings.asktosaveonclose = false; #endif ! #ifdef __linux__ gdbg_msgfile = INITIAL_GDBG_MSGFILE; #endif --- 189,195 ---- SIOUXSettings.asktosaveonclose = false; #endif ! #if defined(__linux__) || defined(__FreeBSD__) gdbg_msgfile = INITIAL_GDBG_MSGFILE; #endif Index: swlibs/fxmisc/fxos.c =================================================================== RCS file: /cvsroot/glide/swlibs/fxmisc/fxos.c,v retrieving revision 1.4 diff -c -r1.4 fxos.c *** swlibs/fxmisc/fxos.c 2000/10/03 18:31:53 1.4 --- swlibs/fxmisc/fxos.c 2001/01/31 22:26:16 *************** *** 69,75 **** --- 69,82 ---- # include struct tms foo; #endif + # if defined(__FreeBSD__) + #include + struct timeval zz; + gettimeofday(&zz, NULL); + return (float)zz.tv_sec + ((float)zz.tv_usec / 100000.0); + # else return times(&foo)/(float)HZ; + # endif #endif } Index: swlibs/newpci/pcilib/fxpci.c =================================================================== RCS file: /cvsroot/glide/swlibs/newpci/pcilib/fxpci.c,v retrieving revision 1.9 diff -c -r1.9 fxpci.c *** swlibs/newpci/pcilib/fxpci.c 2000/11/27 09:49:33 1.9 --- swlibs/newpci/pcilib/fxpci.c 2001/01/31 22:26:17 *************** *** 32,38 **** #include #include "fxpci.h" #include "pcilib.h" ! #ifdef __linux__ #include "fxlinux.h" #endif --- 32,38 ---- #include #include "fxpci.h" #include "pcilib.h" ! #if defined(__linux__) || defined(__FreeBSD__) #include "fxlinux.h" #endif *************** *** 421,427 **** } } ! #ifdef __linux__ FxBool pciOpenLinux(void) { --- 421,427 ---- } } ! #if defined(__linux__) || defined(__FreeBSD__) FxBool pciOpenLinux(void) { *************** *** 468,474 **** ** Scan All PCI device numbers */ ! #ifdef __linux__ if (hasDev3DfxLinux) return pciOpenLinux(); #endif /* defined(__linux__) */ --- 468,474 ---- ** Scan All PCI device numbers */ ! #if defined(__linux__) || defined(__FreeBSD__) if (hasDev3DfxLinux) return pciOpenLinux(); #endif /* defined(__linux__) */ *************** *** 569,575 **** return FXFALSE; } ! #ifdef __linux__ if (hasDev3DfxLinux()) { *data = pciFetchRegisterLinux(reg.regAddress, reg.sizeInBytes, device_bus_func_number); --- 569,575 ---- return FXFALSE; } ! #if defined(__linux__) || defined(__FreeBSD__) if (hasDev3DfxLinux()) { *data = pciFetchRegisterLinux(reg.regAddress, reg.sizeInBytes, device_bus_func_number); *************** *** 614,620 **** * Changing this to return the value returned by * pciUpdateRegisterLinux breaks sst1. */ ! #ifdef __linux__ if (hasDev3DfxLinux()) { pciUpdateRegisterLinux( reg.regAddress, *data, reg.sizeInBytes, device_bus_func_number); --- 614,620 ---- * Changing this to return the value returned by * pciUpdateRegisterLinux breaks sst1. */ ! #if defined(__linux__) || defined(__FreeBSD__) if (hasDev3DfxLinux()) { pciUpdateRegisterLinux( reg.regAddress, *data, reg.sizeInBytes, device_bus_func_number); --==_Exmh_17085496910 Content-Type: text/plain; charset=us-ascii The views expressed above are not those of PGS Tensor. "We've heard that a million monkeys at a million keyboards could produce the Complete Works of Shakespeare; now, thanks to the Internet, we know this is not true." Robert Wilensky, University of California --==_Exmh_17085496910-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jan 31 20:49:25 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from hawk.prod.itd.earthlink.net (hawk.prod.itd.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 0AE4737B491 for ; Wed, 31 Jan 2001 20:49:09 -0800 (PST) Received: from DigitalOx.earthlink.net (user-33qs278.dsl.mindspring.com [199.174.8.232]) by hawk.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id UAA23701 for ; Wed, 31 Jan 2001 20:49:07 -0800 (PST) Message-Id: <5.0.0.25.0.20010131224354.00a2fdc0@mail.earthlink.net> X-Sender: digitalox@mail.earthlink.net X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Wed, 31 Jan 2001 22:46:32 -0600 To: freebsd-multimedia@freebsd.org From: Scott D Subject: is there sonicvibes support or a hack Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I tried adding device pcm to my kernel and recompiling, but had no luck with my s3 sonicvibes card. Is it supported or are there any hacks for it? I have been looking for a solution but found nothing (except to write the device driver.) Thanks, Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Jan 31 23: 1:39 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from baboon.aciri.org (baboon.aciri.org [192.150.187.38]) by hub.freebsd.org (Postfix) with ESMTP id DEC4337B4EC for ; Wed, 31 Jan 2001 23:01:21 -0800 (PST) Received: from baboon.aciri.org (localhost [127.0.0.1]) by baboon.aciri.org (8.11.1/8.11.1) with ESMTP id f1171Km97729 for ; Wed, 31 Jan 2001 23:01:20 -0800 (PST) (envelope-from bkarp@baboon.aciri.org) Message-Id: <200102010701.f1171Km97729@baboon.aciri.org> X-Mailer: exmh version 2.1.1 10/15/1999 From: Brad Karp To: multimedia@freebsd.org Subject: mixer woes on ESS1371 on Tyan S2567 motherboard Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 31 Jan 2001 23:01:20 -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I run 4.2-RELEASE on a new dual 1 GHZ P-III box, with the Tyan 2567 motherboard. The motherboard's ESS1371 is probed fine: pcm0: port 0xdf00-0xdf3f irq 11 at device 2.0 on pci0 # pciconf -l | grep pcm0 pcm0@pci0:2:0: class=0x040100 card=0x13711274 chip=0x13711274 rev=0x08 hdr=0x00 # cat < /dev/sndstat FreeBSD Audio Driver (newpcm) Jan 31 2001 15:56:50 Installed devices: pcm0: at io 0xdf00 irq 11 (1p/1r channels duplex) When I change mixer channel levels, the changes "stick" on some channels but not on others. And I've been unable to generate any sound, even on the speaker channel. Specifically, here's what I get when I look at the mixer levels: # mixer Mixer vol is currently set to 0:0 Mixer pcm is currently set to 0:0 Mixer speaker is currently set to 75:75 Mixer line is currently set to 0:0 Mixer mic is currently set to 0:0 Mixer cd is currently set to 0:0 Mixer rec is currently set to 0:0 Mixer line1 is currently set to 0:0 Mixer phin is currently set to 0:0 Mixer phout is currently set to 0:0 Mixer video is currently set to 0:0 Mixer monitor is currently set to 0:0 Watch what happens when I try to change the level of, say, pcm: # mixer pcm 75 Setting the mixer pcm to 75:75. # mixer Mixer vol is currently set to 0:0 Mixer pcm is currently set to 0:0 Mixer speaker is currently set to 75:75 Mixer line is currently set to 0:0 Mixer mic is currently set to 0:0 Mixer cd is currently set to 0:0 Mixer rec is currently set to 0:0 Mixer line1 is currently set to 0:0 Mixer phin is currently set to 0:0 Mixer phout is currently set to 0:0 Mixer video is currently set to 0:0 Mixer monitor is currently set to 0:0 It turns out that for some channels, my changes are reflected in subsequent runs of mixer, and for others, my changes are not. A summary: changes "stick": speaker, mic, rec, phout changes don't "stick": vol, pcm, line, cd, line1, phin, video, monitor Has anyone seen similar behavior under 4.2? Or better still, is there a fix I'm missing? Many thanks, -Brad, bkarp@icsi.berkeley.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Feb 1 11:23: 9 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from cheddar.netmonger.net (cheddar.netmonger.net [209.54.21.140]) by hub.freebsd.org (Postfix) with ESMTP id E376137B4EC; Thu, 1 Feb 2001 11:22:47 -0800 (PST) Received: (from chris@localhost) by cheddar.netmonger.net (8.8.8/8.8.8) id OAA24071; Thu, 1 Feb 2001 14:22:44 -0500 (EST) Message-ID: <20010201142244.A17951@netmonger.net> Date: Thu, 1 Feb 2001 14:22:44 -0500 From: Christopher Masto To: Andre Albsmeier , cshenton@uucom.com Cc: questions@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: 4.2R pcm/sbc AWE records noise, not audio: 16 bit bug?; gus broken? References: <20010117131850.A3402@cs.mcgill.ca> <3A670CA9.EEC14186@bowtie.nl> <20010119155739.A9580@curry.mchp.siemens.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <20010119155739.A9580@curry.mchp.siemens.de>; from Andre Albsmeier on Fri, Jan 19, 2001 at 03:57:39PM +0100 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Jan 19, 2001 at 03:57:39PM +0100, Andre Albsmeier wrote: > > + 16 bits recording is broken for AWE cards. > > > > So AWE is broken? The hardware or the drivers? > > Same here. It must be the driver since it worked with FreeBSD-3.x :-) > > Maybe the new sb stuff in -current is better... I doubt it. It's been broken for years, and I have no expectation of it ever being fixed. FreeBSD sound support is really sad. I'd get a new sound card, but I don't think that any of them work 100%. -- Christopher Masto Senior Network Monkey NetMonger Communications chris@netmonger.net info@netmonger.net http://www.netmonger.net Free yourself, free your machine, free the daemon -- http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Feb 1 21:41:55 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id 7F57C37B491; Thu, 1 Feb 2001 21:41:35 -0800 (PST) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by david.siemens.de (8.11.0/8.11.0) with ESMTP id f125fUu25485; Fri, 2 Feb 2001 06:41:30 +0100 (MET) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail2.siemens.de (8.11.0/8.11.0) with ESMTP id f125fTY17341; Fri, 2 Feb 2001 06:41:29 +0100 (MET) Received: (from localhost) by curry.mchp.siemens.de (8.11.1/8.11.1) id f125fT858679; Date: Fri, 2 Feb 2001 06:41:29 +0100 From: Andre Albsmeier To: Christopher Masto Cc: Andre Albsmeier , cshenton@uucom.com, questions@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: 4.2R pcm/sbc AWE records noise, not audio: 16 bit bug?; gus broken? Message-ID: <20010202064129.A49028@curry.mchp.siemens.de> References: <20010117131850.A3402@cs.mcgill.ca> <3A670CA9.EEC14186@bowtie.nl> <20010119155739.A9580@curry.mchp.siemens.de> <20010201142244.A17951@netmonger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010201142244.A17951@netmonger.net>; from chris@netmonger.net on Thu, Feb 01, 2001 at 02:22:44PM -0500 X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 01-Feb-2001 at 14:22:44 -0500, Christopher Masto wrote: > On Fri, Jan 19, 2001 at 03:57:39PM +0100, Andre Albsmeier wrote: > > > + 16 bits recording is broken for AWE cards. > > > > > > So AWE is broken? The hardware or the drivers? > > > > Same here. It must be the driver since it worked with FreeBSD-3.x :-) > > > > Maybe the new sb stuff in -current is better... > > I doubt it. It's been broken for years, and I have no expectation of > it ever being fixed. FreeBSD sound support is really sad. Well, Cameron did a lot of work on the sb stuff in -current recently. It might be fixed but I don't have any real evidence... -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Feb 2 4:19:58 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from vilnya.demon.co.uk (vilnya.demon.co.uk [158.152.19.238]) by hub.freebsd.org (Postfix) with ESMTP id 7431A37B503; Fri, 2 Feb 2001 04:19:37 -0800 (PST) Received: from haveblue (haveblue.rings [10.2.4.5]) by vilnya.demon.co.uk (Postfix) with SMTP id EFF23D9B8; Fri, 2 Feb 2001 12:19:34 +0000 (GMT) Message-ID: <003f01c08d12$657a5e60$0504020a@haveblue> From: "Cameron Grant" To: "Christopher Masto" , "Andre Albsmeier" , Cc: , References: <20010117131850.A3402@cs.mcgill.ca> <3A670CA9.EEC14186@bowtie.nl> <20010119155739.A9580@curry.mchp.siemens.de> <20010201142244.A17951@netmonger.net> Subject: Re: 4.2R pcm/sbc AWE records noise, not audio: 16 bit bug?; gus broken? Date: Fri, 2 Feb 2001 12:19:31 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I doubt it. It's been broken for years, and I have no expectation of > it ever being fixed. FreeBSD sound support is really sad. before badmouthing my efforts, please be aware that the sound system is a lot of code for one person to maintain and develop. i have limited time and energy, and i'm not in possession of every soundcard known to man. as such, my priorities are: 1) i have no time to support hardware that i do not have. if you want a card supported, submit a working and tested driver, or send me a card and wait. 2) supporting legacy hardware is lower priority than more recent hardware. 3) -current support will always be far better than -stable. 4) the old pcm api is deprecated since it doesn't buy us much, is barely used and there is no documentation other than code. to be quite honest, i've done very little but sound stuff for the last decade, and attitudes like yours only contribute to my feelings of dissatisfaction with it. i feel honour-boud to finish what i started, and probably will, but you should remember that i'm not being paid for this, so i don't feel that you are in a position to make statements like those. do feel free to take the torch, i've been wanting to pass it on for a while now. -cg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Feb 2 6:45:56 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from smtpproxy1.mitre.org (mb-20-100.mitre.org [129.83.20.100]) by hub.freebsd.org (Postfix) with ESMTP id 802EF37B401 for ; Fri, 2 Feb 2001 06:45:39 -0800 (PST) Received: from avsrv1.mitre.org (avsrv1.mitre.org [129.83.20.58]) by smtpproxy1.mitre.org (8.9.3/8.9.3) with ESMTP id JAA07377 for ; Fri, 2 Feb 2001 09:45:37 -0500 (EST) Received: from mailsrv2.mitre.org (mailsrv2.mitre.org [129.83.221.17]) by smtpsrv1.mitre.org (8.9.3/8.9.3) with ESMTP id JAA25338 for ; Fri, 2 Feb 2001 09:45:35 -0500 (EST) Received: from mitre.org ([128.29.145.140]) by mailsrv2.mitre.org (Netscape Messaging Server 4.15) with ESMTP id G84WZV00.J1T for ; Fri, 2 Feb 2001 09:45:31 -0500 Message-ID: <3A7AC828.A455091F@mitre.org> Date: Fri, 02 Feb 2001 09:46:00 -0500 From: "Andresen,Jason R." X-Mailer: Mozilla 4.75 [en]C-20000818M (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Subject: EMU10k1 level of support Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello all, I'm just wondering what level of support there is for the SB Live in -STABLE. The documentation seems very thin on this card, and the only thing I have is mixed reports of functionality from the mailing lists. Does this card support mixing the audio channels in hardware? Recording? Mixing recording channels? Full Duplex? They look to be fairly nice cards (and not overly expensive for the "Value" model). If all of this is answered elsewhere, could someone please direct me to it? Thanks. -- _ _ _ ___ ____ ___ ______________________________________ / \/ \ | ||_ _|| _ \|___| | Jason Andresen -- jandrese@mitre.org / /\/\ \ | | | | | |/ /|_|_ | Views expressed may not reflect those /_/ \_\|_| |_| |_|\_\|___| | of the Mitre Corporation. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Feb 2 7:29:21 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from habanero.netmonger.net (ool-18b8b39d.dyn.optonline.net [24.184.179.157]) by hub.freebsd.org (Postfix) with ESMTP id E326137B6A2; Fri, 2 Feb 2001 07:28:59 -0800 (PST) Received: (from chris@localhost) by habanero.netmonger.net (8.11.1/8.11.0) id f12FZ5g03092; Fri, 2 Feb 2001 10:35:05 -0500 (EST) (envelope-from chris@netmonger.net) Date: Fri, 2 Feb 2001 10:35:04 -0500 From: Christopher Masto To: Cameron Grant Cc: Andre Albsmeier , cshenton@uucom.com, questions@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: 4.2R pcm/sbc AWE records noise, not audio: 16 bit bug?; gus broken? Message-ID: <20010202103500.A3028@netmonger.net> References: <20010117131850.A3402@cs.mcgill.ca> <3A670CA9.EEC14186@bowtie.nl> <20010119155739.A9580@curry.mchp.siemens.de> <20010201142244.A17951@netmonger.net> <003f01c08d12$657a5e60$0504020a@haveblue> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <003f01c08d12$657a5e60$0504020a@haveblue>; from gandalf@vilnya.demon.co.uk on Fri, Feb 02, 2001 at 12:19:31PM -0000 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Feb 02, 2001 at 12:19:31PM -0000, Cameron Grant wrote: > to be quite honest, i've done very little but sound stuff for the last > decade, and attitudes like yours only contribute to my feelings of > dissatisfaction with it. i feel honour-boud to finish what i started, and > probably will, but you should remember that i'm not being paid for this, so > i don't feel that you are in a position to make statements like those. do > feel free to take the torch, i've been wanting to pass it on for a while > now. Ok, my message was inappropriately rude. I was in a bad mood at the time. On the other hand, I don't think I should have to take over development or buy you a bunch of sound cards just to keep things working. I am a programmer, and I know all too well the temptation to say "this old code sucks, and I'm going to rewrite it from scratch". I also understand that interfaces change, and sometimes it has to be rewritten. And I know that "legacy" usually means "I can't wait to drop support for this". I don't blame you personally for the situation. I'm trying to be honest here about the facts as I have experienced them, not to attack or insult you. I have a SoundBlaster AWE64 in my -current machine, which was a very popular card, and I'm sure there are lots of them around. As far as I know, apart from the AWE stuff (which I couldn't care less about), it should look like a SB16. When I first got the thing, in the 2.2 days, it worked perfectly. Along the way, it stopped working a couple of times due to PnP issues, but fiddling with the configuration brought it back. Then I lost the ability to record anything but static, along with a bunch of other people, and there it has stayed ever since. It also seems much more prone to skipping or glitching under load, which seems odd in a 500MHz PIII. Now, my -current machine is frozen at pre-SMPng, so I am missing any changes that were made that recently. I am also busy, and sound is not important to my work, so I haven't spent the maximal amount of time fiddling with it. It's also possible that I'm using the wrong driver, and complaining about nothing (except perhaps lack of documentation as to which driver is currently preferred). Then there is the Sony 505TX laptop running -stable with an ESS-something (it says 688 when it's probed). This also worked great when I first got it, but some upgrade along the way that changed. I have this interesting problem where half the time when something starts playing, horrible static comes out instead, accompanied. If I stop and re-start it, it may play fine or may play static. Sometimes I get complete silence. Oh, and when I suspend and resume, I occasionally get the input source set to Mic and the volume turned all the way up, so it produces loud feedback that sends me scrambling for the mute button. Let me say again that I am not trying to bash Cameron or his work. I imagine that sound is one of the most annoying things to work on. It is however a fact that of the two machines I have, two of them worked fine in the past and two of them are currently working much less than fine. So occasionally when I say that there are problems with sound on FreeBSD, I am not lying or trying to hurt someone's feelings; I am merely summarizing my experience. From what I see on -multimedia, I am not alone in this experience. Maybe we could use a list of known good/bad sound cards and chips and where they can be found. I'd replace my AWE64 if I knew what was the best supported card. On the laptop though, I don't have that option. -- Christopher Masto Senior Network Monkey NetMonger Communications chris@netmonger.net info@netmonger.net http://www.netmonger.net Free yourself, free your machine, free the daemon -- http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Feb 2 7:29:30 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mukappa.home.com (c576194-a.saltlk1.ut.home.com [24.20.97.5]) by hub.freebsd.org (Postfix) with ESMTP id 2AF9F37B65D for ; Fri, 2 Feb 2001 07:29:13 -0800 (PST) Received: from mukappa.home.com (ronkdq@localhost.home.com [127.0.0.1]) by mukappa.home.com (8.11.1/8.11.1) with SMTP id f12FRrr22320; Fri, 2 Feb 2001 08:27:53 -0700 (MST) (envelope-from mupi@mknet.org) From: Mike Porter Reply-To: mupi@mknet.org To: Scott D , freebsd-multimedia@FreeBSD.ORG Subject: Re: is there sonicvibes support or a hack Date: Fri, 2 Feb 2001 08:27:49 -0700 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="us-ascii" References: <5.0.0.25.0.20010131224354.00a2fdc0@mail.earthlink.net> In-Reply-To: <5.0.0.25.0.20010131224354.00a2fdc0@mail.earthlink.net> MIME-Version: 1.0 Message-Id: <01020208274900.22277@mukappa.home.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have been working on writing a driver off and on for about 2 months as I have time to devote to such a project. Unfortunately, I have very little time to devote to that, and have pretty much only gotten as far as getting the card to probe. If you think you will have more time and/or expertise, I will forward all the info I have (mostly courtesy of a certain Orion Hodson, who deserves a lot of the credit for what I have done so far. mike On Wednesday 31 January 2001 21:46, Scott D wrote: > Hello, > > I tried adding device pcm to my kernel and recompiling, but had no luck > with my s3 sonicvibes card. > Is it supported or are there any hacks for it? I have been looking for a > solution but found nothing (except > to write the device driver.) > > Thanks, > Scott > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.3 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjp60fkACgkQZ7GovTQbIm4twACfcCFeWO8i27ZiPTWqR9vxbMIW pzAAn3a79sfd9VP5Fh93Vf7fS52hvSNt =BGAp -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Feb 2 8: 5: 6 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 6094D37B69D for ; Fri, 2 Feb 2001 08:04:45 -0800 (PST) Received: (qmail 22986 invoked by uid 100); 2 Feb 2001 16:04:44 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14970.55964.411855.5622@guru.mired.org> Date: Fri, 2 Feb 2001 10:04:44 -0600 (CST) To: Christopher Masto Cc: Cameron Grant , Andre Albsmeier , cshenton@uucom.com, questions@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: 4.2R pcm/sbc AWE records noise, not audio: 16 bit bug?; gus broken? In-Reply-To: <20010202103500.A3028@netmonger.net> References: <20010117131850.A3402@cs.mcgill.ca> <3A670CA9.EEC14186@bowtie.nl> <20010119155739.A9580@curry.mchp.siemens.de> <20010201142244.A17951@netmonger.net> <003f01c08d12$657a5e60$0504020a@haveblue> <20010202103500.A3028@netmonger.net> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Christopher Masto types: > I have a SoundBlaster AWE64 in my -current machine, which was a very > popular card, and I'm sure there are lots of them around. As far as I > know, apart from the AWE stuff (which I couldn't care less about), it > should look like a SB16. When I first got the thing, in the 2.2 days, > it worked perfectly. Along the way, it stopped working a couple of > times due to PnP issues, but fiddling with the configuration brought > it back. Then I lost the ability to record anything but static, along > with a bunch of other people, and there it has stayed ever since. It's the recording that gets me. I had a similar SB card originally, and it recorded fine under 3.x. With pcm, I get nothing but static. So I bought two different cards (hey, sound cards are cheap) that the pcm man pages lists as supported, the second also recommended by someone on the multimedia list. Neither one can record worth beans. While the pcm stuff has greatly simplified playback issues, it seems like recording is being given short shrift. Personally, I wish old interface hadn't been ripped out until pcm recording was in better shape. However, I wasn't in a position to support it then - and realisticly I'm still not - so it's as much my fault as anyones. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Feb 2 9:17:13 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [206.29.169.15]) by hub.freebsd.org (Postfix) with ESMTP id 00A7937B4EC; Fri, 2 Feb 2001 09:16:45 -0800 (PST) Received: from tedm.placo.com (nat-rtr.freebsd-corp-net-guide.com [206.29.168.154]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id f12HFKF64513; Fri, 2 Feb 2001 17:15:20 GMT (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Cameron Grant" , "Christopher Masto" , "Andre Albsmeier" , Cc: , Subject: RE: 4.2R pcm/sbc AWE records noise, not audio: 16 bit bug?; gus broken? Date: Fri, 2 Feb 2001 09:15:49 -0800 Message-ID: <003101c08d3b$c9eb45c0$1401a8c0@tedm.placo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <003f01c08d12$657a5e60$0504020a@haveblue> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Importance: Normal Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Cameron, Please don't get bothered by idiotic comments like that. There are people in the world that you can give everything to, hell go set up the PC for them, and they are still going to be complaining. Besides that, people love complaining about the things they like - if this guy really and truly thought that the sound support sucked he wouldn't be using FreeBSD at all. His problem is that he just likes complaining. Sure, everyone has their favorite piece of hardware that isn't completely supported. Me, I'm still concerned that support for some of the older SCSI adapters was killed when we switched to CAM. But, I trust the tradeoffs that developers make. I know that the reason that support for my junky card isn't in there is because some developer somewhere made the decision that it's not as important as something else. Instead of complaining I can add the support myself or buy another card. For every one person out there complaining there are thousands, such as myself, who are perfectly satisfied with the sound support in FreeBSD, and are very grateful that people like you have spent your time to put it in. Our biggest failing is that we don't let you guys know this often enough! View comments like his as a compliment - he obviously has come to use FreeBSD so much that he considers it no different than "commercial" software, of which people take complaining about to a high art form. Ted Mittelstaedt tedm@toybox.placo.com Author of: The FreeBSD Corporate Networker's Guide Book website: http://www.freebsd-corp-net-guide.com > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Cameron Grant > Sent: Friday, February 02, 2001 4:20 AM > To: Christopher Masto; Andre Albsmeier; cshenton@uucom.com > Cc: questions@FreeBSD.ORG; multimedia@FreeBSD.ORG > Subject: Re: 4.2R pcm/sbc AWE records noise, not audio: 16 bit bug?; gus > broken? > > > > I doubt it. It's been broken for years, and I have no expectation of > > it ever being fixed. FreeBSD sound support is really sad. > > before badmouthing my efforts, please be aware that the sound system is a > lot of code for one person to maintain and develop. i have > limited time and > energy, and i'm not in possession of every soundcard known to > man. as such, > my priorities are: > > 1) i have no time to support hardware that i do not have. if you want a > card supported, submit a working and tested driver, or send me a card and > wait. > > 2) supporting legacy hardware is lower priority than more recent hardware. > > 3) -current support will always be far better than -stable. > > 4) the old pcm api is deprecated since it doesn't buy us much, is barely > used and there is no documentation other than code. > > to be quite honest, i've done very little but sound stuff for the last > decade, and attitudes like yours only contribute to my feelings of > dissatisfaction with it. i feel honour-boud to finish what i started, and > probably will, but you should remember that i'm not being paid > for this, so > i don't feel that you are in a position to make statements like those. do > feel free to take the torch, i've been wanting to pass it on for a while > now. > > -cg > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Feb 2 9:53:43 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from bells.cs.ucl.ac.uk (bells.cs.ucl.ac.uk [128.16.5.31]) by hub.freebsd.org (Postfix) with SMTP id 98E9F37B491; Fri, 2 Feb 2001 09:53:23 -0800 (PST) Received: from scary.cs.ucl.ac.uk by bells.cs.ucl.ac.uk with local SMTP id ; Fri, 2 Feb 2001 17:52:22 +0000 From: Orion Hodson X-Organisation: University College London, CS Dept. X-Phone: +44 (0)20 7679 3704 To: Christopher Masto Cc: Cameron Grant , Andre Albsmeier , cshenton@uucom.com, questions@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: 4.2R pcm/sbc AWE records noise, not audio: 16 bit bug?; gus broken? In-reply-to: Your message of "Fri, 02 Feb 2001 10:35:04 EST." <20010202103500.A3028@netmonger.net> Date: Fri, 02 Feb 2001 17:52:19 +0000 Message-ID: <1216.981136339@cs.ucl.ac.uk> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org <20010202103500.A3028@netmonger.net>Christopher Masto writes: > On Fri, Feb 02, 2001 at 12:19:31PM -0000, Cameron Grant wrote: > > to be quite honest, i've done very little but sound stuff for the last > > decade, and attitudes like yours only contribute to my feelings of > > dissatisfaction with it. i feel honour-boud to finish what i started, and > > probably will, but you should remember that i'm not being paid for this, so > > i don't feel that you are in a position to make statements like those. do > > feel free to take the torch, i've been wanting to pass it on for a while > > now. > > Ok, my message was inappropriately rude. I was in a bad mood at the time. > > On the other hand, I don't think I should have to take over > development or buy you a bunch of sound cards just to keep things > working. I am a programmer, and I know all too well the temptation to > say "this old code sucks, and I'm going to rewrite it from scratch". > I also understand that interfaces change, and sometimes it has to be > rewritten. And I know that "legacy" usually means "I can't wait to > drop support for this". I don't blame you personally for the > situation. I'm trying to be honest here about the facts as I have > experienced them, not to attack or insult you. The changes in sound architecture are by no means arbitrary - it really needed work to support more recent audio h/w (pci/ac97). The sound driver architecture that Cameron has put in place is excellent. If you ever consider writing a driver and look at what other platforms offer you'll really appreciate this. It's clean and it's modular; adding new audio drivers is relatively straightforward as a result. It is unfortunate that support for some of the ISA cards got broken in the process, but there's also the tragedy that none of owners of said h/w has motivation to investigate. IMHO, we are in a better position with what we have now than before the ISA stuff broke. > Maybe we could use a list of known good/bad sound cards and chips and > where they can be found. I'd replace my AWE64 if I knew what was the > best supported card. On the laptop though, I don't have that option. This is an excellent idea - perhaps something along the lines of the ALSA soundcard matrix with tested h/w and s/w configurations. I can vouch for SB16PCI working very nicely in 4.x boxes, and CS4281 and CMI8x38 (though the drivers for these are not yet in the tree). Kind Regards - Orion. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Feb 2 10: 9: 1 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from lion-around.at.yiff.net (lion-around.at.yiff.net [209.54.21.199]) by hub.freebsd.org (Postfix) with ESMTP id 8140337B401 for ; Fri, 2 Feb 2001 10:08:41 -0800 (PST) Received: (from chris@localhost) by lion-around.at.yiff.net (8.11.0/8.11.0) id f12I89093564; Fri, 2 Feb 2001 13:08:09 -0500 (EST) (envelope-from chris@netmonger.net) X-Authentication-Warning: lion-around.at.yiff.net: chris set sender to chris@netmonger.net using -f Date: Fri, 2 Feb 2001 13:08:09 -0500 From: Christopher Masto To: Ted Mittelstaedt Cc: multimedia@FreeBSD.ORG Subject: Re: 4.2R pcm/sbc AWE records noise, not audio: 16 bit bug?; gus broken? Message-ID: <20010202130809.D92405@netmonger.net> References: <003f01c08d12$657a5e60$0504020a@haveblue> <003101c08d3b$c9eb45c0$1401a8c0@tedm.placo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <003101c08d3b$c9eb45c0$1401a8c0@tedm.placo.com>; from tedm@toybox.placo.com on Fri, Feb 02, 2001 at 09:15:49AM -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have already apologized for my remarks and clarified my position, but I'm foolishly going to respond to this personal attack. On Fri, Feb 02, 2001 at 09:15:49AM -0800, Ted Mittelstaedt wrote: > Please don't get bothered by idiotic comments like that. Yes, calling me an idiot definately helps to improve the state of FreeBSD's sound drivers. > There are people in the world that you can give everything > to, hell go set up the PC for them, and they are still going > to be complaining. That may be true, but it's completely irrelevant. I don't remember Cameron coming to my house to set up my PC. With your little metaphor, in fact, in fact, he is the guy who came by uninvited and trashed my working PC. (Which is why I dislike metaphors - I don't feel this way at all and as I said in a previous message I am not looking to bash or blame Cameron.) > Besides that, people love complaining about the things they like - That doesn't make any sense at all. You are acting like my statement that there are problems with the sound drivers is an opinion. It's not an opinion that I can't record audio. It's not an opinion that it plays static instead of music half the time. I don't understand why you're so threatened by a statement of fact. If it worked correctly, why would I complain? > if this guy really and truly thought that the sound support sucked > he wouldn't be using FreeBSD at all. That is also nonsense. Have you considered that not being able to record audio is far outweighed by all of the things I CAN do with FreeBSD? Perhaps I have a substantial investment in learning to configure, administer, and hack on FreeBSD? What do you mean, if I "really and truly thought" - again, I am not making this up. Why would I lie about the problems I'm having. (And I'm not the only one - my message was in reply to someone else HAVING THE SAME PROBLEM.) > His problem is that he just likes complaining. You sure know a lot about me. My problem is that two years ago, I could record, and what I was hoping was just another temporary problem went on for months and months. I do not at all enjoy complaining. Most of all, I enjoy not having anything to complain about. > For every one person out there complaining there are thousands, > such as myself, who are perfectly satisfied with the sound > support in FreeBSD Because it works for you. Or should I use your bizarro-world logic and claim that you're just saying it works, and if you really and truly thought that it worked, you would be complaining too. > View comments like his as a compliment I tried to respond to that, but I couldn't avoid the use of sarcasm. > he obviously has come to use FreeBSD so much that he considers it no > different than "commercial" software You don't understand the categories of software. But that aside, if you knew anything about me at all, you'd realize that you could not be more wrong with that stupid remark. > of which people take complaining about to a high art form. You give me too much credit for a couple of sentences I hardly put any effort (or thought) into. -- Christopher Masto Senior Network Monkey NetMonger Communications chris@netmonger.net info@netmonger.net http://www.netmonger.net Free yourself, free your machine, free the daemon -- http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Feb 2 12:23:21 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id 48D0A37B4EC; Fri, 2 Feb 2001 12:23:02 -0800 (PST) Received: from winston.osd.bsdi.com (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.1/8.11.1) with ESMTP id f12KMNP80329; Fri, 2 Feb 2001 12:22:23 -0800 (PST) (envelope-from jkh@winston.osd.bsdi.com) To: "Cameron Grant" Cc: "Christopher Masto" , "Andre Albsmeier" , cshenton@uucom.com, questions@FreeBSD.ORG, multimedia@FreeBSD.ORG Subject: Re: 4.2R pcm/sbc AWE records noise, not audio: 16 bit bug?; gus broken? In-Reply-To: Message from "Cameron Grant" of "Fri, 02 Feb 2001 12:19:31 GMT." <003f01c08d12$657a5e60$0504020a@haveblue> Date: Fri, 02 Feb 2001 12:22:23 -0800 Message-ID: <80325.981145343@winston.osd.bsdi.com> From: Jordan Hubbard Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > before badmouthing my efforts, please be aware that the sound system is a > lot of code for one person to maintain and develop. i have limited time and > energy, and i'm not in possession of every soundcard known to man. as such, > my priorities are: Let me just add mine to the voices who STRONGLY SUPPORT the work that Cameron has been doing for quite some time now and note that before he came along, audio support was something that everybody complained about but almost nobody actually DID anything to improve. Sure, some folks like Soren (thank you) did what they could with the old VOXWARE code but nobody attempted anything like the wholesale cleanup and merging work that Cameron did and sound support is today far, far better than it ever was. He deserves profuse thanks, not insults. Let it also be said that anyone who dismisses any part of FreeBSD as "sad" (or uses words to the same effect) needs to also express such sentiments as part of a proposed fix, e.g. "the foobar code in FreeBSD is really sad, the attached diff contains my proposed fix" or they're not helping things at all. To slam something without proposing a constructive solution in a volunteer project like FreeBSD (or any volunteer project) is totally counter-productive since it only serves to demotivate people from fixing it. Slamming it as a part of your argument for why your much better version should be used instead, on the other hand, is another matter. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Feb 2 13:18:51 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from lion-around.at.yiff.net (lion-around.at.yiff.net [209.54.21.199]) by hub.freebsd.org (Postfix) with ESMTP id 271B837B491 for ; Fri, 2 Feb 2001 13:18:31 -0800 (PST) Received: (from chris@localhost) by lion-around.at.yiff.net (8.11.0/8.11.0) id f12LI7595349; Fri, 2 Feb 2001 16:18:07 -0500 (EST) (envelope-from chris@netmonger.net) X-Authentication-Warning: lion-around.at.yiff.net: chris set sender to chris@netmonger.net using -f Date: Fri, 2 Feb 2001 16:18:07 -0500 From: Christopher Masto To: Jordan Hubbard Cc: multimedia@FreeBSD.ORG Subject: Re: 4.2R pcm/sbc AWE records noise, not audio: 16 bit bug?; gus broken? Message-ID: <20010202161806.F92405@netmonger.net> References: <80325.981145343@winston.osd.bsdi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <80325.981145343@winston.osd.bsdi.com>; from jkh@winston.osd.bsdi.com on Fri, Feb 02, 2001 at 12:22:23PM -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Feb 02, 2001 at 12:22:23PM -0800, Jordan Hubbard wrote: > Let it also be said that anyone who dismisses any part of FreeBSD as > "sad" (or uses words to the same effect) needs to also express such > sentiments as part of a proposed fix, e.g. "the foobar code in FreeBSD > is really sad, the attached diff contains my proposed fix" or they're > not helping things at all. There is a difference between an unsolicited post along the lines of: "Dear freebsd-multimedia, I hate the sound drivers in FreeBSD. They totally suck. Whoever wrote them is obviously a retard." and answering a question (hypothetically less rude version): ">> I get static whenever I try to record something. > Yes, it appears that's been the case for several months at least. It stopped working for me over a year ago. Based on the amount of time this problem has been around, plus the fact that sound is also broken in different ways for other cards I have (and has been for several reases), plus the general traffic I've seen on freebsd-multimedia concerning sound problems, I doubt that it will ever be fixed. It's inevitable that eventually older hardware support will go away as things are rewritten, but it always makes me sad to lose the use of something that was perfectly fine yesterday." As I already said, I was rude and I was wrong for being rude. I think Cameron took it a lot better than most of the people who are jumping on me for my mistake. In any case, I am now more aware of the current situation, that the issue which caused this whole mess has probably been fixed already, and I have the names of some better-supported cards if all else fails. > To slam something without proposing a constructive solution in a > volunteer project like FreeBSD (or any volunteer project) is totally > counter-productive since it only serves to demotivate people from > fixing it. Slamming it as a part of your argument for why your much > better version should be used instead, on the other hand, is another > matter. I'm not a complete jerk. I've contributed patches, testing, and other resources in the past, and will continue to do so. Like everyone else, I have limited resources when it comes to a hobby, which is what FreeBSD is for me. Fixing things, in any form, is one of my favorite activities, but I know that with the time I have available and the amount I'd have to learn about sound cards before even starting, it's not currently an option for me. And until SMPng settles down, I'm not even prepared to test the latest fixes. So the right thing for me to do is probably just shut up. FreeBSD (and other projects) have this long tradition of "put up patches or shut up". There were recently some interesting comments about this in the tcpdump/vendor branch discussion. I'd like to make the point that in a volunteer project the size of FreeBSD, where it is physically impossible for one person to do all the work, it is a given that some problems must be fixed by a different person than the one who reports them. If the only way to get a bug fixed was to fix it yourself, there would be no FreeBSD. Reporting bugs must be understood as a contribution to the project, even when said bug reports do not contain patches. And with that, I'll go back to doing my invisible, unappreciated and somewhat cryptic part for FreeBSD advocacy. -- Christopher Masto Senior Network Monkey NetMonger Communications chris@netmonger.net info@netmonger.net http://www.netmonger.net Free yourself, free your machine, free the daemon -- http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Feb 2 13:27:20 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from winston.osd.bsdi.com (winston.osd.bsdi.com [204.216.27.229]) by hub.freebsd.org (Postfix) with ESMTP id B83AE37B65D for ; Fri, 2 Feb 2001 13:27:03 -0800 (PST) Received: from winston.osd.bsdi.com (jkh@localhost [127.0.0.1]) by winston.osd.bsdi.com (8.11.1/8.11.1) with ESMTP id f12LQhP80619; Fri, 2 Feb 2001 13:26:44 -0800 (PST) (envelope-from jkh@winston.osd.bsdi.com) To: Christopher Masto Cc: Ted Mittelstaedt , multimedia@FreeBSD.ORG Subject: Re: 4.2R pcm/sbc AWE records noise, not audio: 16 bit bug?; gus broken? In-Reply-To: Message from Christopher Masto of "Fri, 02 Feb 2001 13:08:09 EST." <20010202130809.D92405@netmonger.net> Date: Fri, 02 Feb 2001 13:26:43 -0800 Message-ID: <80614.981149203@winston.osd.bsdi.com> From: Jordan Hubbard Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Christopher, I'm sorry if you feel unfairly taken to task by folks like Ted and myself. It's natural to feel protective of someone's work in the project and react adversely to what seems a condemnation of it, but I also respect the fact that there was a legitimate message in what you were trying to say as well. Things that are broken from release to release irritate people profoundly and we've all been on both sides of that equation often enough to remember what it feels like. That said, what clearly needs to happen at this point is for someone who is experiencing such breakage to work with Cameron in resolving the matter. I appreciate that you're busy and that sound is a low-priority issue for you, but I'm sure you also appreciate the fact that things like this often only get fixed as "acts of charity." Somebody who could clearly be doing other more important things nonetheless takes the time to instrument the failing code a bit and correspond with the author in an attempt to give them some more information about what's going wrong. Perhaps this person also helps in testing the author's proposed patches to the problem and serving as his remote eyes and fingers during the problem diagnosis. I've seen few problems withstand that degree of commitment by author and vict^H^H^H^Htester and I'm sure the audio recording problems are no different, somebody simply needs to be willing to step up to the plate and invest the extra work required as an act of charity if for no other reason. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Feb 2 22: 6: 8 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [206.29.169.15]) by hub.freebsd.org (Postfix) with ESMTP id E1F5837B401 for ; Fri, 2 Feb 2001 22:05:47 -0800 (PST) Received: from tedm.placo.com (nat-rtr.freebsd-corp-net-guide.com [206.29.168.154]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id f1365BF68619; Sat, 3 Feb 2001 06:05:12 GMT (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Christopher Masto" Cc: Subject: RE: 4.2R pcm/sbc AWE records noise, not audio: 16 bit bug?; gus broken? Date: Fri, 2 Feb 2001 22:05:42 -0800 Message-ID: <000101c08da7$56ecfac0$1401a8c0@tedm.placo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <20010202130809.D92405@netmonger.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Importance: Normal Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > -----Original Message----- > From: Christopher Masto [mailto:chris@netmonger.net] > Sent: Friday, February 02, 2001 10:08 AM > To: Ted Mittelstaedt > Cc: multimedia@FreeBSD.ORG > Subject: Re: 4.2R pcm/sbc AWE records noise, not audio: 16 bit bug?; gus > broken? > > > I have already apologized for my remarks and clarified my position, > but I'm foolishly going to respond to this personal attack. > > On Fri, Feb 02, 2001 at 09:15:49AM -0800, Ted Mittelstaedt wrote: > > Please don't get bothered by idiotic comments like that. > > Yes, calling me an idiot definately helps to improve the state of > FreeBSD's sound drivers. > Excuse me? I didn't call YOU an idiot. I called your COMMENTS idiotic. I accept that intelligent people can make stupid comments, I do it like anybody else. > > There are people in the world that you can give everything > > to, hell go set up the PC for them, and they are still going > > to be complaining. > > That may be true, but it's completely irrelevant. I don't remember irrelevant to a discussion of sound drivers, yes. Not to Cameron's feelings, though. His response wasn't about the technical aspects of the sound drivers, it was that your comments were thoughtless. > Cameron coming to my house to set up my PC. With your little > metaphor, in fact, in fact, he is the guy who came by uninvited and > trashed my working PC. (Which is why I dislike metaphors - I don't > feel this way at all and as I said in a previous message I am not > looking to bash or blame Cameron.) > > > Besides that, people love complaining about the things they like - > > That doesn't make any sense at all. You are acting like my statement > that there are problems with the sound drivers is an opinion. It's once again, no I wasn't talking about the state of the sound drivers, (except to say that many people are satisfied with them, such as myself) I accept that you have problems with them, and that I don't. > not an opinion that I can't record audio. It's not an opinion that it > plays static instead of music half the time. I don't understand why > you're so threatened by a statement of fact. If it worked correctly, > why would I complain? > I'll answer that - your complaining because you have a piece of hardware that isn't working quite properly, and you want it fixed, and it's human nature to complain about something that's broken. That's fine. What's NOT fine is that you did it in front of the guy that wrote the drivers, and it hurt his feelings because of the way you did it. If I feel threatened by anything it's my fear that the people actually producing code, like Cameron, are going to get disgusted with reading complaints and are going to go away. Then we will have lots of people complaining and nobody writing anything. > > if this guy really and truly thought that the sound support sucked > > he wouldn't be using FreeBSD at all. > > That is also nonsense. Have you considered that not being able to > record audio is far outweighed by all of the things I CAN do with > FreeBSD? Perhaps I have a substantial investment in learning to > configure, administer, and hack on FreeBSD? What do you mean, if I > "really and truly thought" - again, I am not making this up. Why > would I lie about the problems I'm having. (And I'm not the only one > - my message was in reply to someone else HAVING THE SAME PROBLEM.) > Instead of posting about problems your having and expecting someone to fix them, why not try fixing them yourself? If you don't want to write code, then do what I do - I replace the hardware with diferent hardware that DOES work. Perhaps you have a substantial investment...? What kind of question is that? Obviously you have an investment or you wouldn't be here. Certainly it must be a greater investment than the money in your soundcard, so it seems fairly plain that in a contest between jettisoning the investment in FreeBSD and jettisoning the sound card, that the sound card is going to lose. > > His problem is that he just likes complaining. > > You sure know a lot about me. My problem is that two years ago, I > could record, and what I was hoping was just another temporary problem > went on for months and months. I do not at all enjoy complaining. > Most of all, I enjoy not having anything to complain about. > > > For every one person out there complaining there are thousands, > > such as myself, who are perfectly satisfied with the sound > > support in FreeBSD > > Because it works for you. Or should I use your bizarro-world logic > and claim that you're just saying it works, and if you really and > truly thought that it worked, you would be complaining too. > > > View comments like his as a compliment > > I tried to respond to that, but I couldn't avoid the use of sarcasm. > > > he obviously has come to use FreeBSD so much that he considers it no > > different than "commercial" software > > You don't understand the categories of software. I probably phrased that sentence incorrectly. What I was trying to say is that you don't consider FreeBSD experimental, because people that have software packages they view as experimental (ie: beta) generally understand that beta software is supposed to have parts of it broken. With commercial software, you have every right to call the software vendor a criminal ring of thieves (if you so desire) when you find bugs in it because you have PAID for the software. In short, the software has been represented to you as being solid, production-level software, ie: a defined product that has value and you have given the developer money for it. There's a contractual relationship there which if you knew anything about consumer product laws you will understand what I'm talking about. It's illegal to misrepresent broken products as working then go sell them. When you find a bug or defect, that defect violates that contractual relationship, and under the law the producer is still liable even if they swear that they wern't aware of the defect. In short, the law places a burden on the software vendor to immediately fix defects in their software when those defects are discovered. I can't help it that companies like Microsoft tell clueless idiots that they aren't liable for software defects, and the clueless idiots believe them, that doesen't change product law. With Free software, on the other hand, there's absolutely no merchantability or liability of fitness because no contractual relationship is formed by the user and the producer, because no money changes hands. Therefore, as a user you have zero rights to say squat if you find a defect. But that aside, if > you knew anything about me at all, you'd realize that you could not be > more wrong with that stupid remark. > > > of which people take complaining about to a high art form. > > You give me too much credit for a couple of sentences I hardly put any > effort (or thought) into. And you obviously consider my comments to be written about you, they were not. I do care that people who have produced code for the Project in the past are bothered by what you wrote. My comments were trying to make them feel better, they were not about you at all. Ted To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Feb 2 23:19:51 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from grok.example.net (a0g1355ly34tj.bc.hsia.telus.net [216.232.252.235]) by hub.freebsd.org (Postfix) with ESMTP id 1295437B401 for ; Fri, 2 Feb 2001 23:19:34 -0800 (PST) Received: by grok.example.net (Postfix, from userid 1000) id F1DC2213397; Fri, 2 Feb 2001 23:19:25 -0800 (PST) Date: Fri, 2 Feb 2001 23:19:25 -0800 From: Steve Reid To: Espen Oyslebo Cc: multimedia@FreeBSD.ORG Subject: Re: Cd-paranoia Message-ID: <20010202231925.A3346@grok.bc.hsia.telus.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Espen Oyslebo on Sat, Jan 27, 2001 at 09:19:15PM -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Jan 27, 2001 at 09:19:15PM -0500, Espen Oyslebo wrote: > Anyone get cd-paranoia to work under free-bsd? [snip] > If not, what is the `best' substitute under FreeBSD. Since programs > are often hard to rate on a worst --> best scale, a nice summery of > pros/cons of the different tools would be appreciated. As far as I can tell there are two CDDA rippers that work with IDE CDROM drives: dagrab and cdd. I generally prefer cdd. Ripping scratched CDs, dagrab reads right through and gets a scratchy result. I have _never_ seen dagrab do a retry. cdd will retry when it thinks there is a problem. However, some really scratched disks may be totally un-rippable with cdd because after a lot of errors it gives up and restarts, repeatedly. dagrab will read right through and at least give you _something_. Cdd's error checking, while better than dagrab's, is certainly not perfect. I have had good results grabbing multiple samples (with either ripper) and then using a simple "count the number of samples that agree with each other" ("voting"?) algorithm to merge the multiple rips. I've thought about hacking cdd or dagrab to take multiple samples until there is a clear majority (which would be much better than grabbing the whole track dozens of times just to handle a single scratchy part like I was doing) but I figured I'd just end up re-inventing cdparanoia. Note that I am using a cheap "EPO/Lite-On" 48x IDE CDROM. > One more thing whilst I've got your attention: Lame vs Blade (mp3 > encoder)? And is there a significant quality improvement from 128 --> > 192? how about 192 --> 256? I've found some interesting analysis here: http://www.r3mix.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Feb 3 2:36:21 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id A2C4A37B401 for ; Sat, 3 Feb 2001 02:36:03 -0800 (PST) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id LAA71367; Sat, 3 Feb 2001 11:34:43 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200102031034.LAA71367@freebsd.dk> Subject: Re: Cd-paranoia In-Reply-To: <20010202231925.A3346@grok.bc.hsia.telus.net> from Steve Reid at "Feb 2, 2001 11:19:25 pm" To: sreid@sea-to-sky.net (Steve Reid) Date: Sat, 3 Feb 2001 11:34:42 +0100 (CET) Cc: oys@powertech.no (Espen Oyslebo), multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It seems Steve Reid wrote: > On Sat, Jan 27, 2001 at 09:19:15PM -0500, Espen Oyslebo wrote: > > > Anyone get cd-paranoia to work under free-bsd? > [snip] > > If not, what is the `best' substitute under FreeBSD. Since programs > > are often hard to rate on a worst --> best scale, a nice summery of > > pros/cons of the different tools would be appreciated. > > As far as I can tell there are two CDDA rippers that work with IDE > CDROM drives: dagrab and cdd. Hmm, if you have a decent ATAPI CDROM drive, you can just read off the audio data by doing: dd if=/dev/acdNtY of=file bs=2352 N=drive number Y=track number No need for a ripper anymore :) This works for FreeBSD-4.2 and later, enjoy.... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Feb 3 4:15:46 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from wolf.istc.kiev.ua (wolf.istc.kiev.ua [193.193.221.1]) by hub.freebsd.org (Postfix) with ESMTP id BB40937B401 for ; Sat, 3 Feb 2001 04:15:27 -0800 (PST) Received: from localhost (kunia@localhost) by wolf.istc.kiev.ua ( . . / . . ) with ESMTP id OAA31138; Sat, 3 Feb 2001 14:12:14 +0200 Date: Sat, 3 Feb 2001 14:12:14 +0200 (EET) From: Olexander Kunytsa To: Soren Schmidt Cc: Steve Reid , Espen Oyslebo , multimedia@FreeBSD.ORG Subject: Re: Cd-paranoia In-Reply-To: <200102031034.LAA71367@freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 3 Feb 2001, Soren Schmidt wrote: > Hmm, if you have a decent ATAPI CDROM drive, you can just read off > the audio data by doing: > dd if=/dev/acdNtY of=file bs=2352 > N=drive number Y=track number how can i create such devices -- /dev/acdNtY? I have none of them nor in /dev/ neither in /dev/MAKEDEV;( > No need for a ripper anymore :) > This works for FreeBSD-4.2 and later, enjoy.... kunia# uname -a FreeBSD xxxx.aaa.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Sat Jan 20 17:04:25 EET 2001 root@tam.zhe.ua:/usr/src/sys/compile/SUMRAK i386 Olexander To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Feb 3 8:19: 5 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 7E13237B503 for ; Sat, 3 Feb 2001 08:18:48 -0800 (PST) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id RAA55343; Sat, 3 Feb 2001 17:18:27 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200102031618.RAA55343@freebsd.dk> Subject: Re: Cd-paranoia In-Reply-To: from Olexander Kunytsa at "Feb 3, 2001 02:12:14 pm" To: kunia@wolf.istc.kiev.ua (Olexander Kunytsa) Date: Sat, 3 Feb 2001 17:18:27 +0100 (CET) Cc: sreid@sea-to-sky.net (Steve Reid), oys@powertech.no (Espen Oyslebo), multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It seems Olexander Kunytsa wrote: > > > On Sat, 3 Feb 2001, Soren Schmidt wrote: > > Hmm, if you have a decent ATAPI CDROM drive, you can just read off > > the audio data by doing: > > dd if=/dev/acdNtY of=file bs=2352 > > N=drive number Y=track number > > how can i create such devices -- /dev/acdNtY? I have none of them nor in > /dev/ neither in /dev/MAKEDEV;( Hmm, seems the device entries in MAKEDEV never got committed in -stable.. Now they are :) -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Feb 3 11:25:55 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from cx344940-a.meta1.la.home.com (cx344940-a.meta1.la.home.com [24.6.21.74]) by hub.freebsd.org (Postfix) with ESMTP id EBEDF37B491 for ; Sat, 3 Feb 2001 11:25:37 -0800 (PST) Received: (from cjsabatier@localhost) by cx344940-a.meta1.la.home.com (8.11.1/8.11.1) id f13JQFC88477; Sat, 3 Feb 2001 13:26:15 -0600 (CST) (envelope-from cjsabatier) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200102031034.LAA71367@freebsd.dk> Date: Sat, 03 Feb 2001 13:26:15 -0600 (CST) Organization: @Home Network From: Conrad Sabatier To: Soren Schmidt Subject: Re: Cd-paranoia Cc: multimedia@FreeBSD.ORG, (Espen Oyslebo) , (Steve Reid) Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 03-Feb-01 Soren Schmidt wrote: > It seems Steve Reid wrote: >> >> As far as I can tell there are two CDDA rippers that work with IDE >> CDROM drives: dagrab and cdd. > > Hmm, if you have a decent ATAPI CDROM drive, you can just read off > the audio data by doing: > > dd if=/dev/acdNtY of=file bs=2352 > > N=drive number Y=track number > > No need for a ripper anymore :) > > This works for FreeBSD-4.2 and later, enjoy.... > > -Søren Fantastic! Thanks for pointing this out! -- Conrad Sabatier cjsabatier@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Feb 3 11:42:17 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 2A57537B401 for ; Sat, 3 Feb 2001 11:41:59 -0800 (PST) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id UAA05547; Sat, 3 Feb 2001 20:40:32 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200102031940.UAA05547@freebsd.dk> Subject: Re: Cd-paranoia In-Reply-To: from Conrad Sabatier at "Feb 3, 2001 01:26:15 pm" To: cjsabatier@home.com (Conrad Sabatier) Date: Sat, 3 Feb 2001 20:40:32 +0100 (CET) Cc: multimedia@FreeBSD.ORG, oys@powertech.no, sreid@sea-to-sky.net X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It seems Conrad Sabatier wrote: > On 03-Feb-01 Soren Schmidt wrote: > > It seems Steve Reid wrote: > >> > >> As far as I can tell there are two CDDA rippers that work with IDE > >> CDROM drives: dagrab and cdd. > > > > Hmm, if you have a decent ATAPI CDROM drive, you can just read off > > the audio data by doing: > > > > dd if=/dev/acdNtY of=file bs=2352 > > > > N=drive number Y=track number > > > > No need for a ripper anymore :) > > > > This works for FreeBSD-4.2 and later, enjoy.... > > > > -Søren > > Fantastic! Thanks for pointing this out! This has been possible since late august last year :) -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Feb 3 16:13:37 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from grumpy.dyndns.org (user-24-214-56-129.knology.net [24.214.56.129]) by hub.freebsd.org (Postfix) with ESMTP id CE63D37B503 for ; Sat, 3 Feb 2001 16:13:18 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by grumpy.dyndns.org (8.11.1/8.11.1) with ESMTP id f140C0N22052; Sat, 3 Feb 2001 18:12:00 -0600 (CST) (envelope-from dkelly@grumpy.dyndns.org) Message-Id: <200102040012.f140C0N22052@grumpy.dyndns.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Soren Schmidt Cc: multimedia@FreeBSD.ORG From: David Kelly Subject: Re: Cd-paranoia In-reply-to: Message from Soren Schmidt of "Sat, 03 Feb 2001 17:18:27 +0100." <200102031618.RAA55343@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Sat, 03 Feb 2001 18:12:00 -0600 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Soren Schmidt writes: > It seems Olexander Kunytsa wrote: > > how can i create such devices -- /dev/acdNtY? I have none of them nor= in > > /dev/ neither in /dev/MAKEDEV;( > = > Hmm, seems the device entries in MAKEDEV never got committed in -stable= =2E. > = > Now they are :) And please add to the man pages? Maybe acd(4) needs to be a separate man page now? Oh, and wouldn't it be nice if SCSI cd(4) behaved the same? Or is that undocumented too? -- David Kelly N4HHE, dkelly@hiwaay.net =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Feb 3 18: 5:23 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from wolf.istc.kiev.ua (wolf.istc.kiev.ua [193.193.221.1]) by hub.freebsd.org (Postfix) with ESMTP id 0C31B37B67D for ; Sat, 3 Feb 2001 18:05:03 -0800 (PST) Received: from localhost (kunia@localhost) by wolf.istc.kiev.ua ( . . / . . ) with ESMTP id EAA26253; Sun, 4 Feb 2001 04:02:40 +0200 Date: Sun, 4 Feb 2001 04:02:40 +0200 (EET) From: Olexander Kunytsa To: David Kelly Cc: Soren Schmidt , multimedia@FreeBSD.ORG Subject: Re: Cd-paranoia In-Reply-To: <200102040012.f140C0N22052@grumpy.dyndns.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 3 Feb 2001, David Kelly wrote: > > It seems Olexander Kunytsa wrote: > > > how can i create such devices -- /dev/acdNtY? I have none of them nor in > > > /dev/ neither in /dev/MAKEDEV;( > > > > Hmm, seems the device entries in MAKEDEV never got committed in -stable.. > > > > Now they are :) Hm.... kunia# dd if=/dev/acd0t1 of=/tmp/we.wav bs=2352 dd: /dev/acd0t1: Device not configured what to do?:( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Feb 3 20:25:13 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from grumpy.dyndns.org (user-24-214-56-129.knology.net [24.214.56.129]) by hub.freebsd.org (Postfix) with ESMTP id C50A837B491 for ; Sat, 3 Feb 2001 20:24:55 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by grumpy.dyndns.org (8.11.1/8.11.1) with ESMTP id f144MwN09008; Sat, 3 Feb 2001 22:22:59 -0600 (CST) (envelope-from dkelly@grumpy.dyndns.org) Message-Id: <200102040422.f144MwN09008@grumpy.dyndns.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Olexander Kunytsa Cc: Soren Schmidt , multimedia@FreeBSD.ORG From: David Kelly Subject: Re: Cd-paranoia In-reply-to: Message from Olexander Kunytsa of "Sun, 04 Feb 2001 04:02:40 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 03 Feb 2001 22:22:58 -0600 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Olexander Kunytsa writes: > > Hm.... > kunia# dd if=/dev/acd0t1 of=/tmp/we.wav bs=2352 > dd: /dev/acd0t1: Device not configured > > what to do?:( % su # cd /dev # ./MAKEDEV acd0t0 Makes 99 device files. I can understand why "MAKEDEV all" didn't make them. But it does further emphasize the need to document it in the man pages. And won't it be grand when the audio CD tools incorporate this? -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message