From owner-freebsd-emulation Thu May 3 15:43:50 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from daemon.za.org (net-31-011.mweb.co.za [196.2.31.11]) by hub.freebsd.org (Postfix) with ESMTP id 5277437B422 for ; Thu, 3 May 2001 15:43:34 -0700 (PDT) (envelope-from adriaan@ittc.co.za) Received: from [196.31.185.68] (helo=Insomnia.daemon.za.org) by daemon.za.org with smtp (Exim 3.20 #1) id 14vRpf-0006Z7-00 for freebsd-emulation@freebsd.org; Fri, 04 May 2001 00:44:24 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Adriaan Rossouw Reply-To: adriaanr@abraxas365.com To: freebsd-emulation@freebsd.org Subject: The sordid tale of Quake3Arena, DRI and the Linuxulator Date: Fri, 4 May 2001 00:43:47 +0200 X-Mailer: KMail [version 1.2] MIME-Version: 1.0 Message-Id: <01050400434702.02452@Insomnia.daemon.za.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Well, the topic says it all, this is what ive been sinking my last few days into, and it has been a grand experiment at that. Every answer leads to more questions, but you'll see why in a second. I own a matrox g450, which i bought mainly for the dual head features. I dont really play games (QuakeC got me hooked on programming way back, and it all went downhill from there) , but I enjoy a fresh challenge.. and after several months of using this card for X (4.0.1/2 if you must know) , i FINALLY decided to get hardware 3d up and running ( the challenges associated with this were numerous , before someone kindly patched the XFree86-4 port) , I also managed to get most of the GL ports in /usr/ports/games compiling (with the exception of XRacer.. kind of) Now, i have a working install of XFree86 4.0.3 + DRI on FreeBSD 4.3-Stable /usr/ports/games/quakeforge, compiles PERFECTLY runs as well as can be expected (50+fps at 1024X768X16bpp) considering i dont have a nvidia ge(nital)Force or something similiar. Now, onto the next Experiment, i spy the quake3demo in ports, i go now that's a nice test. Activision requires me to have a valid credit card, where is a 19 year old in a third world country (south africa) supposed to find a credit card, magically create one with a generator (yeah, right). I go, screw this. borrow a friend's quake3arena cd. (win) i go through the motions, as detailed in the numerous q3a + freebsd install faqs. by numerous i mean 3, and all aimed at XF86 3.3.6 + Utah GLX I cull the neccesary info for installing, copying and upgrading quake3 to the most recent patch , etc Now, comes the test , running it .. it requires a libGL, i link the freebsd libGL (which works) and it says wrong OS ABI. i go "makes sense.. it is 'emulating linux'. Off we go hunting for a rpm with the latest libGL, it takes me SEVERAL DAYS to find a rpm (i absolutely , totally friggin HATE RPM'S , they were one of the major reasons for me starting to use slackware (again) and then trying freebsd ) from mandrake (for 7.2) which has the neccesary file. obviously .. i dont want to install all the files.. learn how to use rpm2cpio, copy the files.. no comprende.. needs glibc 2.1.3 (linux_base 6.1 comes with glibc 2.1.2) , i go finding rpm's again (did i mention that i hate rpms?) i end up getting the update rpm to RH 6.2 i try installing. unsuccessfull , some kind of cpio error. (if you want the error ill drudge it up for you) i also manage to find a compiled version of the DRI libGL for my card (mga) on the dri site (in tgz format, go figure) i use rpm2cpio to extract the entire tree, copy it over /compat/linux/ , then run sbin/ldconfig (the compat one) now!, i finally start quake3 .. seeing the intro screen .. i go YAY!, 30 second later, im still staring at the first frame. UH OH. i get in a game (painfull, yes.. but i had t know) the space between frames gets longer.. but everything is pretty. ive tried this with a number of different libGL.so's ... same results. This is where i am currently, but I *think* i know what's going on. : *DISCLAIMER, THIS IS BASED ON MY SOMEWHAT LIMITED UNDERSTANDING OF THE FREEBSD/LINUX BINARY COMPATIBILITY LAYER* I would love for you to prove me wrong. Since the linuxulator is a binary compatibility layer, and the libGL.so's i found, were intended to be used via the linux kernel modules (which dont exist , duh) , it is basically falling back on software, without knowing it does so. It has no concept of the freebsd kernel modules (in this case mga.ko and drm.ko , and prolly agp.ko too) SO, it will run , but not with direct hardware access,, since it can't break through the abstraction layer. NOW, my first thought on this is, to write a wrapper library, which simply forwards all requests from quake3 (which is written to look like libGL ) then it sends those requests to the FreeBSD libGL, but this begs the question can one link a FreeBSD library to a Linux library (same arch however). It is doubtfull considering the state of abstraction Now, my question to this forum is, is there such a feature/functionality in the linuxulator (possibly via the linux.ko file itself) if not, should such code be written, because when the base does finally go to XF4 , i do see this becoming an issue. i have no problem writing a wrapper lib , but deeper kernel module stuff is beyond me. Yes, that's it.. ive ranted and raved long enough , any pieces of info or opinion on this subject will be appreciated. Regards Adriaan Rossouw To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu May 3 16:17:22 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from asmodean.nks.net (asmodean.nks.net [216.139.201.16]) by hub.freebsd.org (Postfix) with ESMTP id 207F837B423 for ; Thu, 3 May 2001 16:17:20 -0700 (PDT) (envelope-from joeo@cracktown.com) Received: from localhost (joeo@localhost) by asmodean.nks.net (8.9.3/8.9.3) with ESMTP id TAA04450; Thu, 3 May 2001 19:16:39 -0400 Date: Thu, 3 May 2001 19:16:39 -0400 (EDT) From: X-Sender: To: Cc: Subject: Re: The sordid tale of Quake3Arena, DRI and the Linuxulator In-Reply-To: <01050400434702.02452@Insomnia.daemon.za.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The patched up DRI stuff in the XFree86-4 port does not include the kernel level linux compatability ioctl's for the DRI. If you are half way handy with C code you should be able to kluge up that stuff for your dri install; If you grab the source for the dri kernel modules (for the DRI head branch, non-working for the G400 right now) from http://www.teleport.com/~anholt/devel/dri/ there should be some simple usable example code in there for pushing the extra ioctl handlers into the linuxulator. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Thu May 3 17:54: 8 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from postmaster.enron.com (outbound5.enron.com [192.152.140.9]) by hub.freebsd.org (Postfix) with ESMTP id 3453E37B43F for ; Thu, 3 May 2001 17:54:05 -0700 (PDT) (envelope-from srubio@azurix.com) Received: from mailman.enron.com (mailman.enron.com [192.168.189.66]) by postmaster.enron.com (8.10.1/8.10.1/external_corp-1.08) with ESMTP id f440rs606310 for ; Thu, 3 May 2001 19:53:54 -0500 (CDT) Received: from aztxhou1nml02.azxglobal.com ([172.27.240.17]) by mailman.enron.com (8.10.1/8.10.1/corp-1.05) with ESMTP id f440rsL28954 for ; Thu, 3 May 2001 19:53:54 -0500 (CDT) Received: from srubio ([148.244.109.251]) by aztxhou1nml02.azxglobal.com (Lotus Domino Release 5.0.6a) with SMTP id 2001050319540776:4616 ; Thu, 3 May 2001 19:54:07 -0500 Message-ID: <000a01c0d42c$41e2b540$26808080@azurix.com> From: "Sergio Rubio" To: Subject: ayuda Date: Thu, 3 May 2001 18:53:29 -0500 MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-MIMETrack: Itemize by SMTP Server on AZTXHOU1NML02/AZURIX(Release 5.0.6a |January 17, 2001) at 05/03/2001 07:54:08 PM, Serialize by Router on AZTXHOU1NML02/AZURIX(Release 5.0.6a |January 17, 2001) at 05/03/2001 07:54:09 PM, Serialize complete at 05/03/2001 07:54:09 PM Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C0D402.581A0FE0" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C0D402.581A0FE0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Tengo un problema, tengo foxpro for unix el cual instale en un nuevo = servidor, pero al accesar a la aplicaci=F3n mas de 20 usuarios, me manda = un error de "EXCEDE NUMLOCKS SYSTEM" Como puedo configurar el NUMLOCKS en foxpro para ampliarlos. ------=_NextPart_000_0007_01C0D402.581A0FE0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1"
Tengo un problema, tengo foxpro for = unix el cual=20 instale en un nuevo servidor, pero al accesar a la aplicaci=F3n mas de = 20=20 usuarios, me manda un error de "EXCEDE NUMLOCKS SYSTEM"
 
Como puedo configurar el NUMLOCKS en = foxpro para=20 ampliarlos.
------=_NextPart_000_0007_01C0D402.581A0FE0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Fri May 4 1:54: 0 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from asmodean.nks.net (asmodean.nks.net [216.139.201.16]) by hub.freebsd.org (Postfix) with ESMTP id EA2C637B423 for ; Fri, 4 May 2001 01:53:56 -0700 (PDT) (envelope-from joeo@cracktown.com) Received: from localhost (joeo@localhost) by asmodean.nks.net (8.9.3/8.9.3) with ESMTP id EAA06933; Fri, 4 May 2001 04:52:50 -0400 Date: Fri, 4 May 2001 04:52:50 -0400 (EDT) From: X-Sender: To: Adriaan Rossouw Cc: Subject: Re: The sordid tale of Quake3Arena, DRI and the Linuxulator In-Reply-To: <01050400434702.02452@Insomnia.daemon.za.org> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-1948774199-917094152-988966370=:6401" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---1948774199-917094152-988966370=:6401 Content-Type: TEXT/PLAIN; charset=US-ASCII Apply this patch to; /usr/ports/x11/XFree86-4/programs/hw/xfree86/os-support/bsd/drm/kernel eg, gzip -d drm_linux.diff.gz cd /usr/ports/x11/XFree86-4/programs/hw/xfree86/os-support/bsd/drm/ patch < /drm_linux.diff rebuild the mga drm kernel module restart your machine, load the linux emualtor, fire up X. ---1948774199-917094152-988966370=:6401 Content-Type: APPLICATION/x-gzip; name="drm_linux.diff.gz" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="drm_linux.diff.gz" H4sICM1s8joCA2RybV9saW51eC5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cG+NWVIK7VRxYQ9w94jZPws/Wu40Det4sJ//54oASb2RfQIvuN6vAb4yA wBa4aldhsW/jBrQ6BmswLk/VURDgbXZ1N6TaHu4wm63z30esjRJvJFZAsf0T t5pXgS1w1arCahqhb0htgR2p2qe1EZ0qcDETTjf7XR9f0J8RxV/ScdecMC+V pylc1VC93u0LeWPIFyCOoObBazvgUjn1+qC8bqS5/Bu8dMaIfYz/JkFyX/OL R4M7A8Vzxp2BvVPDTqd3ei5PDfdOGsuk2s1eu/v6WeNZs6OcNbvbE0fxoNOV Z44A3/DHv8X3Ff5WNg3n7G3vPH/dm9EG913hqPU7GZCUn375UJCZTFeRzw+s JhlwsgpDH7YCaZbwQ6ai3J0XBXN+doZC6/t/wm97OpSX0k55Kae+8emcG4cX NcCh0JuwWZhmLFFwKXToxBn3J58MXeH3lq0TG5XpuoGv10XD1kJrqxT4R8HG o3wafFXCieQ0q2g70Zun2QqVTFQ4nja4LLDFai4PIIXzmzfxnOcw4mefexzC YU4/JoN/DEvlpXB4ySzl58Kz9Ag1/MYV4ycH8rTcbCCPp0sM1PLk43IyDU4+ ToNJzMfTf3Nh/v9/PuTSq8k8jmaw8/EXAUpLKN6voaI3BUGCWVT8BF7mIfww HzvKBfH6QfotZfMbZGnkpanoYdLzGNtHFkO8SjhDUcDbX85vbSO01pOwbJVE h9NYUnI4RabQRGU7/WZ2BZZHIkDfZJDwzWZskIlORsTUD5H/PNYKNAF/+F2H 89Wutj2MedbX9oaKnW1v6Hlva79/sbdVyDX4kc/r3a19js2sVehu/EH3/P+7 u20Pyn5PexNShf62r+WPNzih6c/qcEUz91ucGPvzetyzqf5Yk9sn8n+jy/3N OhUn8aVWJev3vzQG2//iHQAA ---1948774199-917094152-988966370=:6401-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat May 5 7:47:28 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 3957337B423 for ; Sat, 5 May 2001 07:47:26 -0700 (PDT) (envelope-from randy@psg.com) Received: from randy by rip.psg.com with local (Exim 3.16 #1) id 14w3L7-0003rV-00 for freebsd-emulation@freebsd.org; Sat, 05 May 2001 07:47:21 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: freebsd emulator list Subject: vmware and natd for multiple interfaces Message-Id: Date: Sat, 05 May 2001 07:47:21 -0700 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org running win98se under vmware on 4.3-stable and bringing up the net stuff which i presume needs natd. as my laptoy wanders, sometimes the 'public' interface is wi0, sometimes xl0, sometimes tun0. is there a nice hack for natd so i don't have to get manual about this? randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message From owner-freebsd-emulation Sat May 5 22:59:54 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by hub.freebsd.org (Postfix) with ESMTP id AA62737B423 for ; Sat, 5 May 2001 22:59:52 -0700 (PDT) (envelope-from randy@psg.com) Received: from randy by rip.psg.com with local (Exim 3.16 #1) id 14wHaC-0003G0-00 for freebsd-emulation@freebsd.org; Sat, 05 May 2001 22:59:52 -0700 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: freebsd emulator list Subject: w98 guest wants access to non-virt hardware Message-Id: Date: Sat, 05 May 2001 22:59:52 -0700 Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org dell latitude c600 vmware linux workstation 2.0.3-799 (fully licensed) host freebsd 4.3-stable with linux emulation guest win98se, the dell native partition freebsd does not support the winmodem or the irda. i really want to use the irda to sync my palm pilot, manage my nokia 8890, transfer files to windoze friends, ... i really want to use my winmodem for winfax pro. as these devices are not supported by the host os, i can not virtualize them for the win98se guest. so how about just letting them punch through to real hardwhere? or is there a hack i am not missing? --- also, if i am running full screen, is there any key combo that is not trapped by vmware (other than ctl-alt-esc) that i can use to tell my window manager (tvtwm) to switch to a non-grabbed place on the virtual desktop? randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message