From darxus@Op.Net Tue Dec 7 09:33:00 1999 From: darxus@Op.Net (Darxus) Date: Tue, 07 Dec 1999 09:33:00 -0000 Subject: free win32 X server Message-ID: http://www.op.net/~darxus/mix.zip I'm sure many of you have also been looking for this for some time. A number of you have probably also found references to this free MicroImages X server, and excitedly followed the links, only to find that it is nolonger free. Well, at the above url, you'll find the old, free version. I would love to see a full Linux distribution released under cygwin (I'm partial to Debian). I'm not the only person who thinks an X server usable under win32 is one of the biggest hurdles. So I hope the cygwin/xfree86 project has some good success. I got it from a friend who had it on his hard drive from when he installed it. The .zip file contains the original install files. I'm glad I finally found somebody who had it and didn't delete it. I feel obligated to mention that I have not had the opportunity to virus-scan this thing, and can make no promises that it is actually a pristine, untainted copy of the original. But it hasn't eaten my computer yet, and has actually done what I wanted it to. I haven't used it w/ cygwin yet, since i haven't yet installed cygwin on this machine -- I've only tested it by remotely running X apps on Linux boxes on this lan. Somebody should be curious... to do apps remotely, telnet into the remote unix box, set your environment variable "DISPLAY" equal to YourIP:0 where "YourIP" is the IP address of the machine running the X server. Then just run your X apps. Using the bash shell: export DISPLAY=YourIP:0 Using csh: setenv DISPLAY YourIP:0 __________________________________________________________________ PGP fingerprint = 03 5B 9B A0 16 33 91 2F A5 77 BC EE 43 71 98 D4 darxus@op.net / http://www.op.net/~darxus Find the next largest prime, be famous: http://www.mersenne.org/prime.htm From hans.de.bok@philips.com Wed Dec 8 02:26:00 1999 From: hans.de.bok@philips.com (hans.de.bok@philips.com) Date: Wed, 08 Dec 1999 02:26:00 -0000 Subject: Xvnc ported to Windows Message-ID: <0056890007289019000002L992*@MHS> I just finished the first version of a port of Xvnc to Windows. Combined with the standard Vncviewer for Windows you get a X server running under Windows. Although this is not intended to be a high performance X server, I do it just for the fun of it, it seems to perform reasonable well. I am currently solving a few bugs that prevent xclock and twm from working. If anyone is interested in the executable I can send it by email or maybe it is possible to put it on the xfree ftp server ? The sources will be available soon, it was just a quick hack, I first have to clean the code before I can make a diff. Hans de Bok From darxus@Op.Net Thu Dec 9 06:46:00 1999 From: darxus@Op.Net (Darxus) Date: Thu, 09 Dec 1999 06:46:00 -0000 Subject: free win32 X server References: <000101bf4213$110957a0$61239ec2@megabyte.net> Message-ID: On Thu, 9 Dec 1999, Ramon Casha wrote: > The free MIX server is distributed with RedHat Linux - you can also probably > get it from their FTP or FTP mirror sites. Can you tell me what the filename is ? I'm trying to find it on ftp.redhat.com. __________________________________________________________________ PGP fingerprint = 03 5B 9B A0 16 33 91 2F A5 77 BC EE 43 71 98 D4 darxus@op.net / http://www.op.net/~darxus Find the next largest prime, be famous: http://www.mersenne.org/prime.htm From antonr@msil.sps.mot.com Thu Dec 9 09:07:00 1999 From: antonr@msil.sps.mot.com (Anton Rapp) Date: Thu, 09 Dec 1999 09:07:00 -0000 Subject: java xserver implementation under GPL Message-ID: <384FE1D6.5D9563E0@msil.sps.mot.com> http://www.jcraft.com/weirdx/ From joegi@geocities.com Sun Dec 12 17:14:00 1999 From: joegi@geocities.com (Joel Guerrero) Date: Sun, 12 Dec 1999 17:14:00 -0000 Subject: compiling help Message-ID: <3854425D.CAF75C54@geocities.com> Hi there, I'm trying to compile an X program, I install the xfree libraries, but i get this error: . . . . . . //d/cygnus/cygwin-b20/usr/x11r6.4/include/x11/xutil.h:898: ANSI C++ forbids declaration 'XXorRegion" with no type make: *** [Xrgraph_g.o] Error 1 What could be? I succesful compiled another application that uses ths xutil.h include file Can anyone help me? Thanks, Joel GUERRERO __________________________________________________ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com From khan@NanoTech.Wisc.EDU Sun Dec 12 18:09:00 1999 From: khan@NanoTech.Wisc.EDU (Mumit Khan) Date: Sun, 12 Dec 1999 18:09:00 -0000 Subject: compiling help References: <3854425D.CAF75C54@geocities.com> Message-ID: On Sun, 12 Dec 1999, Joel Guerrero wrote: > Hi there, > I'm trying to compile an X program, I install the xfree libraries, but i > get this error: > . > . > . > . > . > . > //d/cygnus/cygwin-b20/usr/x11r6.4/include/x11/xutil.h:898: ANSI C++ > forbids declaration 'XXorRegion" with no type > make: *** [Xrgraph_g.o] Error 1 > What could be? > I succesful compiled another application that uses ths xutil.h include > file > Can anyone help me? You can upgrade to a newer version of X11R6 that has the prototypes fixed so that it's legal C++ (I don't know if that exists for Cygwin or not). Until then, you can use -isystem /usr/local/X11R6.4/include instead of -I /usr/local/X11R6.4/include to compile. You can also use -fpermissive, but I recommend against it. Substitute the real include path with /usr/local/X11R6.4/include of course. Regards, Mumit From joegi@geocities.com Sun Dec 19 21:30:00 1999 From: joegi@geocities.com (Joel Guerrero) Date: Sun, 19 Dec 1999 21:30:00 -0000 Subject: window manager Message-ID: <385DB8EE.705B3704@geocities.com> I trying to run the window manager mwm that comes with xfree86, but i get this error: another window manager is running. How can i make run this window manager? Thanks, Joel __________________________________________________ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one place. Yahoo! Shopping: http://shopping.yahoo.com From mmacdonald@tsi.gte.com Tue Dec 21 07:10:00 1999 From: mmacdonald@tsi.gte.com (Mike MacDonald) Date: Tue, 21 Dec 1999 07:10:00 -0000 Subject: XFree under alien systems - the XF86Sup.sys approach and Windows NT Message-ID: I am starting to recover from my dental surgery. What a MESS!! Christmas may hang me up though. Whats up with the cygwin-xfree mailing list? I haven't seen anything on there.. Making the X server a DOS app would not be a terrible idea. I've done direct screen writes in Win 9x from a dos prompt, and I know it can be done that way in win 9x. Sounds like NT is similar. I upgraded my machine to win2000 though.. I guess the only thing that that effects is Direct X. If NT command prompt works like Win 9x command prompt, then an xf86sup.sys driver might not be necessary. Win 9x let me access video memory directly from the dos prompt without any argument. I'm fairly (not 100%) sure that I wrote to ports like that also.. > -----Original Message----- > From: cygwin-xfree-owner@sourceware.cygnus.com > [ mailto:cygwin-xfree-owner@sourceware.cygnus.com]On Behalf Of Matt > Lewandowsky > Sent: Tuesday, October 12, 1999 8:39 PM > To: Federico Bianchi; Suhaib Siddiqi > Cc: XFree86 over CygWin mailing list > Subject: RE: XFree under alien systems - the XF86Sup.sys approach and > Windows NT > > > Well, AFAIK, only DOS Console apps are allowed to directly access video > hardware in NT. (And therefore change VESA modes.) I use a DPMS screen > saver that takes advantage of this "loophole" by running a DOS app that > essentially does a "mode co40" in full-screen mode and then performing > the VESA call. I'm not sure how helpful this is, but it's about all I > know about video in NT. (And still more than I wanted to know...) Just > out of curiosity, did the mentioned code run in Win 9x? The mentioned code runs on OS/2 and OS/2 is similar story as WinNT. i trhink a device driver guru could definitely hack it to work on NT too Regards Suhaib > > My $0.02, > > Matt Lewandowsky > > -----Original Message----- > From: Federico Bianchi [ mailto:bianchi@www.arte.unipi.it ] > Sent: Tuesday, October 05, 1999 6:32 AM > To: Suhaib Siddiqi > Cc: XFree86 over CygWin mailing list > Subject: XFree under alien systems - the XF86Sup.sys approach and > Windows NT > > > I had a discussion thread with Suhaib a couple of months ago about both > the XFree86 port to Win32 and the XF86Sup.sys approach chosen for the > OS/2 > one. I used (and modified) the files he gave me to work with two generic > drivers available under NT, i.e., PortIO.sys and MapMem.sys (the names > are > pretty explainatory: PortIO lets user mode apps perform IN and OUTs to > devices, while MapMem maps a chunk of physical memory into an app > virtual > space), but so far my test applications consistently give BSOD on an NT > 4.0SP5, S3 equipped machine. I had a similar trouble at the end of 1997 > (I had to access SVGA/VESA under the NT VDM/DPMI subsystem), and I found > > it was due to the optimizations the NT display driver used when > switching > modes. > > From ssiddiqi@inspirepharm.com Thu Dec 23 10:14:00 1999 From: ssiddiqi@inspirepharm.com (Suhaib Siddiqi) Date: Thu, 23 Dec 1999 10:14:00 -0000 Subject: Windows manager Message-ID: Sorry, I was out of country enjoying my vacations since november 26th therefore I had not been following any thread. To answer your questions: The error message is clear, that you are runing another windows manager? Which X-server are you using? Perhaps your X-server starts a windows manager. You need to shutdown your windows manager then you can use mwm.exe which comes with xfree86 Suhaib ------------- I trying to run the window manager mwm that comes with xfree86, but i get this error: another window manager is running. How can i make run this window manager? Thanks, Joel From ssiddiqi@ipass.net Thu Dec 23 17:43:00 1999 From: ssiddiqi@ipass.net (Suhaib M. Siddiqi) Date: Thu, 23 Dec 1999 17:43:00 -0000 Subject: X11 References: Message-ID: I am not sure what are you trying to do? ./configure --with-x --x-libraries=/usr/X11R6/lib (or whatever yur path is) normally work GGI could not be found can occur only if you are attempting to compile a GGI program and link against GGI DLLs. Suhaib > -----Original Message----- > From: Ken N. Seergobin [ mailto:ken@psych.utoronto.ca ] > Sent: Tuesday, December 14, 1999 10:32 PM > To: ssiddiqi@inspirepharm.com > Subject: X11 > > > > > Dr. Siddiqi, > > If you can spare a few moments I have quick question regarding > the X11 libraries. I'm interested in being able to compile > various X programmes. However, I'm not sure which of your > distributions to use. I have downloaded the following packages, > > 1. x11r6_4-cygwin-ss-dev_tar.gz > 2. pre-alpha-xfree-cygwin-b20_1_tar.bz2 > 2b. ggi- > > On my first pass I installed package (1) under /usr/local/X11R6.4. > Unfortunately, the configure script for a test packaged (i.e., FLTK) could > not find the libraries. This may be a function of my .bashrc, which looks > like the following, > > > export PATH=/usr/local/bin:/usr/local/X11R6.4/bin: > /usr/local/X11R6.4/LessTif/Motif1.2/lib:$PATH > export PS1="[\u@\h] \W [\!] " > alias ls='ls --color' > alias less='less -m' > DISPLAY=localhost:0.0; export DISPLAY > > LIBRARY_PATH=/usr/local/X11R6.4/lib:/usr/local/X11R6.4/LessTif/Mot > if1.2/lib; > export LIBRARY_PATH > C_INCLUDE_PATH=/usr/local/X11R6.4/include/X11 > :/usr/local/X11R6.4/LessTif/Motif1.2/include; export C_INCLUDE_PATH > > [I've wrapped the lines.] > > > Later I installed package (2) under /usr/local/X11R6, and the configure > script could find the libraries and headers. In this instance some of > the programmes ran correctly, but others asked for ggi*.dll. Should > I be using package (2) and then installing the ggi package? > > Note: I'm using B20.1, with a relatively recent cygwin1.dll, plus the > latest compiler upgrade from Mumit's page. > > Thanks, > Ken > From ssiddiqi@inspirepharm.com Fri Dec 24 05:55:00 1999 From: ssiddiqi@inspirepharm.com (Suhaib Siddiqi) Date: Fri, 24 Dec 1999 05:55:00 -0000 Subject: X11 References: Message-ID: You can subscribe to cygwin-xfree mailing list and ask questions at cygwin-xfree@sourceware.cygnus.com. Suhaib > -----Original Message----- > From: Ken N. Seergobin [ mailto:ken@psych.utoronto.ca ] > Sent: Thursday, December 23, 1999 10:39 PM > To: ssiddiqi@inspirepharm.com > Subject: RE: X11 > > > > > Well, mostly I was interested in what is the current preferred > route to install the Xlibs. While downloading I was unable to > find any pointers as to what is current and recommended. However, > now that I know that an X11 mailing list exists, I'll browse > that. > > Thanks, > Ken > > > On Thu, 23 Dec 1999, Suhaib M. Siddiqi wrote: > > > I am not sure what are you trying to do? > > > > ./configure --with-x --x-libraries=/usr/X11R6/lib (or > whatever yur path is) > > > > normally work > > > > GGI could not be found can occur only if you are > attempting to compile > > a GGI program and link against GGI DLLs. > > > > Suhaib > > > From mmacdonald@tsi.gte.com Mon Dec 27 09:24:00 1999 From: mmacdonald@tsi.gte.com (Mike MacDonald) Date: Mon, 27 Dec 1999 09:24:00 -0000 Subject: XFree over Cygwin (Win9x, NT, Win2K) Message-ID: Thanx. Well, I've just gotta dive into the code.. I'll look for the design doc, that sounds to be something that could help me. Unfortunately, I was trying to attack a small isolated area - and logic kinda swept me into a big mess. I think that I only need a few specific bits of information though right now. I have to find out where main() is for one of the Xservers, so I know where to start. And I need to find out at a high level (1 paragraph at most) how the xaa stuff works.. Anyway, I'll dig and find it.. I know what pieces of code I need to write, and where.. I just am having trouble with fitting some of the pieces back into the puzzle. -----Original Message----- From: Koen Gadeyne [ mailto:koen.gadeyne@barco.com ] Sent: Thursday, December 23, 1999 2:26 AM To: devel@XFree86.Org Subject: RE: XFree over Cygwin (Win9x, NT, Win2K) At 01:39 PM 22-12-1999 -0500, you wrote: >I've read alot about that, and am working with Suhaib and Cygwin-XFree on >this.. > >I'm just pissing and moaning about some of the responses I've read to these >issues.. I think most of us all fell the same when we start working on XFree86. >Really, I'm just asking for help in understanding how the XFree86 server >code is layed out.. The DESIGN document in the XFree86 code tree is a very good start. It will give you an idea of how the big pieces fit together. More or less. But as for a more general "tour" of XFree86, I think you will not find anyone who will want to do that. You see, that is nearly impossible to do. Only a few people at XFree86 know the ins and outs of the entire XFree86 code tree, and those are exactly the people who would need 48 hours in one day just to be able to keep up, let alone train others. So what you're asking is very normal, but in XFree86 it is in fact almost impossible to achieve. You'll just have to walk the path everyone has to take: plunge in, and ask detailed questions on this list when you run into a wall. As long as the answer won't take 10 pages, someone will take the time to help you. Just don't expect a full-blown technical manual from anyone (nobody has it). Also don't forget to consult the archives, so as to not offend the old bunch with questions that have been answered already :-) >I'm a little new to X, but pretty old hat at doing low >level device type stuff.. > >I don't see any problems with getting this to work. I just need to get a >feel for the code. If there is anyone that can help me to learn my way >around, it would save me alot of time. If not, I will figure out the code >sooner or later.. Most people start by attacking a small isolated problem in XFree86, which doesn't require you to know the entire XFree86 code. You'll see such problems mentionned now and then on the devel list. When you see one that looks like something you'd like to tackle: JUMP! K. From mmacdonald@tsi.gte.com Mon Dec 27 11:36:00 1999 From: mmacdonald@tsi.gte.com (Mike MacDonald) Date: Mon, 27 Dec 1999 11:36:00 -0000 Subject: XFree over Cygwin (Win9x, NT, Win2K) Message-ID: Thank you for the info!! I'll try that! I'm stuck on NT here for now, and it sucks! -----Original Message----- From: Andy Isaacson [ mailto:adisaacs@mr-happy.com ] Sent: Monday, December 27, 1999 2:28 PM To: Mike MacDonald Subject: Re: XFree over Cygwin (Win9x, NT, Win2K) On Mon, Dec 27, 1999 at 02:01:22PM -0500, Mike MacDonald wrote: > Thanx huge!! > > I'm writing a direct X windows server.. I just want to take an existing > Xserver, with no hardware acceleration, and set it up to use DX to set the > mode, and return a frame buffer. > > Later I want to add in DX and GDI accel functions.. Prolly blt first, then > whatever is most used, and on down from there.. > > I know what code to change to make it work, I just have to figure out what > to copy over to make a new XServer, with no hw accel functions. OK, I have at least a slight idea of what to do here. You want to make a new driver. Look in hw/xfree86/drivers; make a new directory (win32dx perhaps?); use mga as a template perhaps for which files you need to copy. At the least you'll need Imakefile (this is used to make the Makefile) and some source. Then add the appropriate stuff to drivers/Imakefile and xc/config/cf/xfree86.cf (you need to add a directory to XF86CardDrivers). Make sure you support ShadowFB. MGA does, so use that for a template. ShadowFB keeps a copy of the framebuffer in system memory, and uses the CPU to do everything, simply writing the updated pixels to the video memory. I understand it's fairly speedy (but it does suck down an extra 4MB or so of RAM). That way you'll get a "fast enough" X server with a minimum of work. When you start working on acceleration, be aware that Win32 and X11 disagree on what a line looks like, so you can't just map X11's Line onto Win32's Line. (But I think XAA can use Win32 lines if you set the appropriate flag.) Good luck... I guess I'll be spending some time on NT boxes in the near future so I have a vested interest in helping you get this done soon. :) -andy -- Andy Isaacson http://web.mr-happy.com/~adisaacs/ Fight Spam, join CAUCE: adi@acm.org adisaacs@mr-happy.com isaacson@cs.umn.edu www.cauce.org From ssiddiqi@ipass.net Mon Dec 27 17:15:00 1999 From: ssiddiqi@ipass.net (Suhaib M. Siddiqi) Date: Mon, 27 Dec 1999 17:15:00 -0000 Subject: X-server using Win32 GDI? References: <3866E8C0.3F5875FA@eng.sun.com> Message-ID: If you are willing to volunteer, your GDI contribution would be appreciated. Regards Suhaib > -----Original Message----- > From: Ioi Lam [ mailto:Ioi.Lam@eng.sun.com ] > Sent: Sunday, December 26, 1999 11:19 PM > To: ssiddiqi@inspirepharm.com; fortinj@ibm.net; mmacdona@tsi.gte.com > Cc: Ioi Lam > Subject: X-server using Win32 GDI? > > > Hi, > > As I understand, the XFree86/GNUwin32 project ports the stock XFree > distribution to Windows, using raw I/O port and video memory access. > Wouldn't it be easier to just write to the GDI library instead? > > Just curious. > > - Ioi Lam > From mmacdonald@tsi.gte.com Tue Dec 28 06:40:00 1999 From: mmacdonald@tsi.gte.com (Mike MacDonald) Date: Tue, 28 Dec 1999 06:40:00 -0000 Subject: XFree over Cygwin (Win9x, NT, Win2K) Message-ID: Yeah, I found a good doc in there.. Right now I don't know what they mean by 'Link Kit'.. Apparently there are 2 places where the source code for a VGA driver can go - depending on wether or not I'm working in the 'Link Kit'?? main() is actualy in a different directory, its in xc/programs/Xserver/dix/main.c. Things are going well, I'm starting to feel better again, and I'm putting the info together that I need to actually put a dx server together. Almost there :). Someone gave me some info on an existing server (mga) that uses only framebuffer, and no acceleration. He says that its done very well though, so it should be fast enough for an initial server. -----Original Message----- From: Suhaib M. Siddiqi [ mailto:ssiddiqi@ipass.net ] Sent: Monday, December 27, 1999 8:13 PM To: mmacdonald@tsi.gte.com Subject: RE: XFree over Cygwin (Win9x, NT, Win2K) Mike, I need to follow your Cygwin thread at xfree86-devel. I was away for almost a month therefore, I am out of loop. The main() should be in xc/programs/Xserver/xfree86/vga265 for example. As Koen wrote most (almost all except 3) of the xfree86 developers do not know the real ins and outs of xfree86 code. Design document should give you basic understanding about design of X-servers. That is where I looked when I patched the code for Cygwin. Suhaib > -----Original Message----- > From: owner-devel@XFree86.Org [ mailto:owner-devel@XFree86.Org]On Behalf > Of Mike MacDonald > Sent: Monday, December 27, 1999 12:24 PM > To: 'devel@XFree86.Org' > Cc: 'cygwin-xfree@sourceware.cygnus.com' > Subject: RE: XFree over Cygwin (Win9x, NT, Win2K) > > > Thanx. Well, I've just gotta dive into the code.. I'll look for > the design > doc, that sounds to be something that could help me. Unfortunately, I was > trying to attack a small isolated area - and logic kinda swept me > into a big > mess. I think that I only need a few specific bits of information though > right now. > > I have to find out where main() is for one of the Xservers, so I > know where > to start. And I need to find out at a high level (1 paragraph at > most) how > the xaa stuff works.. Anyway, I'll dig and find it.. > > I know what pieces of code I need to write, and where.. I just am having > trouble with fitting some of the pieces back into the puzzle. > > -----Original Message----- > From: Koen Gadeyne [ mailto:koen.gadeyne@barco.com ] > Sent: Thursday, December 23, 1999 2:26 AM > To: devel@XFree86.Org > Subject: RE: XFree over Cygwin (Win9x, NT, Win2K) > > > At 01:39 PM 22-12-1999 -0500, you wrote: > >I've read alot about that, and am working with Suhaib and Cygwin-XFree on > >this.. > > > >I'm just pissing and moaning about some of the responses I've read to > these > >issues.. > > I think most of us all fell the same when we start working on XFree86. > > >Really, I'm just asking for help in understanding how the XFree86 server > >code is layed out.. > > The DESIGN document in the XFree86 code tree is a very good start. It will > give you an idea of how the big pieces fit together. More or less. > > But as for a more general "tour" of XFree86, I think you will not find > anyone who will want to do that. > > You see, that is nearly impossible to do. Only a few people at > XFree86 know > the ins and outs of the entire XFree86 code tree, and those are > exactly the > people who would need 48 hours in one day just to be able to keep up, let > alone train others. > > So what you're asking is very normal, but in XFree86 it is in fact almost > impossible to achieve. > > You'll just have to walk the path everyone has to take: plunge in, and ask > detailed questions on this list when you run into a wall. As long as the > answer won't take 10 pages, someone will take the time to help you. Just > don't expect a full-blown technical manual from anyone (nobody has it). > Also don't forget to consult the archives, so as to not offend the old > bunch with questions that have been answered already :-) > > >I'm a little new to X, but pretty old hat at doing low > >level device type stuff.. > > > >I don't see any problems with getting this to work. I just need to get a > >feel for the code. If there is anyone that can help me to learn my way > >around, it would save me alot of time. If not, I will figure > out the code > >sooner or later.. > > Most people start by attacking a small isolated problem in XFree86, which > doesn't require you to know the entire XFree86 code. You'll see such > problems mentionned now and then on the devel list. When you see one that > looks like something you'd like to tackle: JUMP! > > K. > From ssiddiqi@inspirepharm.com Tue Dec 28 06:49:00 1999 From: ssiddiqi@inspirepharm.com (Suhaib Siddiqi) Date: Tue, 28 Dec 1999 06:49:00 -0000 Subject: XFree over Cygwin (Win9x, NT, Win2K) References: Message-ID: Link Kit was in older versions of XFree86. It is not there any more -- starting 3.3.3. The documents have not been updated yet. If you wish to look at the Link Kit code, you could at ftp.xfree86.org under 3.2.x, Suhaib > -----Original Message----- > From: Mike MacDonald [ mailto:mmacdonald@tsi.gte.com ] > Sent: Tuesday, December 28, 1999 9:40 AM > To: 'ssiddiqi@inspirepharm.com' > Cc: 'cygwin-xfree@sourceware.cygnus.com' > Subject: RE: XFree over Cygwin (Win9x, NT, Win2K) > > > Yeah, I found a good doc in there.. Right now I don't > know what they mean > by 'Link Kit'.. Apparently there are 2 places where the > source code for a > VGA driver can go - depending on wether or not I'm > working in the 'Link > Kit'?? main() is actualy in a different directory, its in > xc/programs/Xserver/dix/main.c. > > Things are going well, I'm starting to feel better again, > and I'm putting > the info together that I need to actually put a dx server > together. Almost > there :). Someone gave me some info on an existing > server (mga) that uses > only framebuffer, and no acceleration. He says that its > done very well > though, so it should be fast enough for an initial server. > > > > -----Original Message----- > From: Suhaib M. Siddiqi [ mailto:ssiddiqi@ipass.net ] > Sent: Monday, December 27, 1999 8:13 PM > To: mmacdonald@tsi.gte.com > Subject: RE: XFree over Cygwin (Win9x, NT, Win2K) > > > > Mike, > I need to follow your Cygwin thread at xfree86-devel. I > was away for almost > a month > therefore, I am out of loop. The main() should be in > xc/programs/Xserver/xfree86/vga265 > for example. As Koen wrote most (almost all except 3) of > the xfree86 > developers do not > know the real ins and outs of xfree86 code. Design > document should give you > basic > understanding about design of X-servers. That is where > I looked when I > patched the code > for Cygwin. > > Suhaib > > > -----Original Message----- > > From: owner-devel@XFree86.Org > [ mailto:owner-devel@XFree86.Org]On Behalf > > Of Mike MacDonald > > Sent: Monday, December 27, 1999 12:24 PM > > To: 'devel@XFree86.Org' > > Cc: 'cygwin-xfree@sourceware.cygnus.com' > > Subject: RE: XFree over Cygwin (Win9x, NT, Win2K) > > > > > > Thanx. Well, I've just gotta dive into the code.. > I'll look for > > the design > > doc, that sounds to be something that could help me. > Unfortunately, I was > > trying to attack a small isolated area - and logic > kinda swept me > > into a big > > mess. I think that I only need a few specific bits of > information though > > right now. > > > > I have to find out where main() is for one of the Xservers, so I > > know where > > to start. And I need to find out at a high level (1 > paragraph at > > most) how > > the xaa stuff works.. Anyway, I'll dig and find it.. > > > > I know what pieces of code I need to write, and where.. > I just am having > > trouble with fitting some of the pieces back into the puzzle. > > > > -----Original Message----- > > From: Koen Gadeyne [ mailto:koen.gadeyne@barco.com ] > > Sent: Thursday, December 23, 1999 2:26 AM > > To: devel@XFree86.Org > > Subject: RE: XFree over Cygwin (Win9x, NT, Win2K) > > > > > > At 01:39 PM 22-12-1999 -0500, you wrote: > > >I've read alot about that, and am working with Suhaib > and Cygwin-XFree on > > >this.. > > > > > >I'm just pissing and moaning about some of the > responses I've read to > > these > > >issues.. > > > > I think most of us all fell the same when we start > working on XFree86. > > > > >Really, I'm just asking for help in understanding how > the XFree86 server > > >code is layed out.. > > > > The DESIGN document in the XFree86 code tree is a very > good start. It will > > give you an idea of how the big pieces fit together. > More or less. > > > > But as for a more general "tour" of XFree86, I think > you will not find > > anyone who will want to do that. > > > > You see, that is nearly impossible to do. Only a few people at > > XFree86 know > > the ins and outs of the entire XFree86 code tree, and those are > > exactly the > > people who would need 48 hours in one day just to be > able to keep up, let > > alone train others. > > > > So what you're asking is very normal, but in XFree86 it > is in fact almost > > impossible to achieve. > > > > You'll just have to walk the path everyone has to take: > plunge in, and ask > > detailed questions on this list when you run into a > wall. As long as the > > answer won't take 10 pages, someone will take the time > to help you. Just > > don't expect a full-blown technical manual from anyone > (nobody has it). > > Also don't forget to consult the archives, so as to not > offend the old > > bunch with questions that have been answered already :-) > > > > >I'm a little new to X, but pretty old hat at doing low > > >level device type stuff.. > > > > > >I don't see any problems with getting this to work. I > just need to get a > > >feel for the code. If there is anyone that can help > me to learn my way > > >around, it would save me alot of time. If not, I will figure > > out the code > > >sooner or later.. > > > > Most people start by attacking a small isolated problem > in XFree86, which > > doesn't require you to know the entire XFree86 code. > You'll see such > > problems mentionned now and then on the devel list. > When you see one that > > looks like something you'd like to tackle: JUMP! > > > > K. > > > From kdmurthy@vsnl.com Wed Dec 29 01:12:00 1999 From: kdmurthy@vsnl.com (kdmurthy@vsnl.com) Date: Wed, 29 Dec 1999 01:12:00 -0000 Subject: DirectX based X Server (coming soon...) Message-ID: <199912290910.OAA19957@mypage.vsnl.com> Greetings, Currently, I am working on DirectX based XServer for Windows. The server is functional - the current status is as follows: a. Based on X11R6.4 source tree from x.org. b. I used VC 6 and should be moving to cygwin soon. Ofcourse, the server will be GPLed. c. Server works perfectly well using fvwm/twm window managers. With kwm (KDE) - the window manager hangs sometimes. This is a reproducable bug and I will explain it below. d. 24bit mode is still not supported - I need some help in understanding how I can use cfb32 with 24 bit mode. e. X -query works with Linux boxes, but does not work with Solaris. For porting the server to cygwin, I need to know the porting status of X11R6.4 (XServer) directory. Could anyone please enligthen me. The code is based on Xvfb server (which incidentally get compiled with VC-6). I should be announcing the release of the server once it stabilises a little bit more. Bugs ---- 1. KWM - this happens when I use the default theme which comes along with Corel Linux. I start gimp->script-fu->misc->sphere. OK. The sphere is displayed. When I close the window, the confirmation dialog is displayed. When I click OK, the confirmation dialog-box hangs. The dialog is cleared, but the window does not go away. Killing kwm (with -HUP) gives X_GetProperty not implimented by server messages from kwm. Seems kwm thinks that the window still exists, but the server does not have the window. When I kill kwm, the server becomes active again. I can start kwm and start using the system. If I use any other theme, except for the default the server works fine. 2. X -query On the solaris server log, the following message appears: /usr/openwin/bin/xset: bad font path element (#37), possible causes are: Directory does not exist or has wrong permissions Directory missing fonts.dir Incorrect font server address or syntax /usr/openwin/bin/xset: bad font path element (#37), possible causes are: Directory does not exist or has wrong permissions Directory missing fonts.dir Incorrect font server address or syntax Wed Dec 29 04:16:06 1999 error (pid 26573): display 172.16.10.8:0 could not be initialized, server may be grabbed. Any help in this regard will be appreciated. Regards KD From ssiddiqi@inspirepharm.com Wed Dec 29 06:36:00 1999 From: ssiddiqi@inspirepharm.com (Suhaib Siddiqi) Date: Wed, 29 Dec 1999 06:36:00 -0000 Subject: DirectX based X Server (coming soon...) References: <199912290910.OAA19957@mypage.vsnl.com> Message-ID: Interesting!!!! You had been following the cygwin-xfree list also working on an X-server. Xvfb does compile with MSVC 6 and I had done it a long time ago. Xnest compiles too with Xvfb. To port your DX code to Cygwin, we can help you, if you are willing to give us access to your code base. Of course Cygwin-xfree is GPled therefore it would meet your GPL requiremnts. The X11R6.4/Xserver directory was ported to Cygwin and also MSVC by me almost a year ago. The cygwin-xfree code available from sourceware.cygnus.com/cygwin/xfree, also contains patches for XFree86 4.0 Snapshots, which is basically X11R6.4. X11R6.4/Xserver code ported to MSVC 6.0 is at my URL at http://siddiqi.webjump.com If you are willing to share your code with us (John Fortin, Mike, and me) would be helpfull. Suhaib > Greetings, > > Currently, I am working on DirectX based XServer for > Windows. The server > is functional - the current status is as follows: > > a. Based on X11R6.4 source tree from x.org. > b. I used VC 6 and should be moving to cygwin soon. > Ofcourse, the server > will be GPLed. > c. Server works perfectly well using fvwm/twm window > managers. With kwm > (KDE) - the window manager hangs sometimes. This is a > reproducable bug > and I will explain it below. > d. 24bit mode is still not supported - I need some help > in understanding > how I can use cfb32 with 24 bit mode. > e. X -query works with Linux boxes, but does not work with > Solaris. > > For porting the server to cygwin, I need to know the > porting status of > X11R6.4 (XServer) directory. Could anyone please > enligthen me. >The code > is based on Xvfb server (which incidentally get compiled > with VC-6). > > I should be announcing the release of the server once it > stabilises a > little bit more. > > Bugs > ---- > > 1. KWM - this happens when I use the default theme which > comes along > with Corel Linux. I start gimp->script-fu->misc->sphere. > OK. The sphere > is displayed. When I close the window, the confirmation dialog is > displayed. When I click OK, the confirmation dialog-box hangs. The > dialog is cleared, but the window does not go away. > Killing kwm (with > -HUP) gives X_GetProperty not implimented by server > messages from kwm. > Seems kwm thinks that the window still exists, but the > server does not > have the window. When I kill kwm, the server becomes > active again. I can > start kwm and start using the system. > If I use any other theme, except for the default the > server works fine. > > 2. X -query > > On the solaris server log, the following message appears: > /usr/openwin/bin/xset: bad font path element (#37), > possible causes > are: > Directory does not exist or has wrong permissions > Directory missing fonts.dir > Incorrect font server address or syntax > /usr/openwin/bin/xset: bad font path element (#37), > possible causes > are: > Directory does not exist or has wrong permissions > Directory missing fonts.dir > Incorrect font server address or syntax > > Wed Dec 29 04:16:06 1999 > error (pid 26573): display 172.16.10.8:0 could not be initialized, > server may be grabbed. > > > Any help in this regard will be appreciated. > > > Regards > KD > From mmacdonald@tsi.gte.com Wed Dec 29 09:53:00 1999 From: mmacdonald@tsi.gte.com (Mike MacDonald) Date: Wed, 29 Dec 1999 09:53:00 -0000 Subject: XFree over Cygwin (Win9x, NT, Win2K) Message-ID: Hmm.. Ok.. I may be using older source.. There is no mga_shadow.c in the source version I have.. I think I might be using 6.3 source.. -----Original Message----- From: Andy Isaacson [ mailto:adisaacs@mr-happy.com ] Sent: Tuesday, December 28, 1999 11:26 AM To: Mike MacDonald Subject: Re: XFree over Cygwin (Win9x, NT, Win2K) On Tue, Dec 28, 1999 at 10:41:34AM -0500, Mike MacDonald wrote: > Ok, I don't know how to get to the archives, so I can look for more info on > ShadowFB, and linear framebuffer stuff. http://www.xfree86.org/devel/ The username is devel; the password is the one you were sent in the mail that welcomed you to the devel list. > If I'm not mistaken, DX returns a > linear framebuffer - and theres not much that can be done about that. Can I > make the ShadowFB a pointer to a DX surface? That would be the best > solution, then DX could do the blt itself pretty easily, and quickly, to the > primary screen. Having a linear framebuffer should make it easy. I don't know exactly the mechanics of how shadowfb works, but I think I just figured it out in about 30 seconds of looking at the source. Take a look at drivers/mga/mga_shadow.c and drivers/mga/mga_driver.c (search for ShadowFB). All you have to do is write a RefreshArea function and call ShadowFBInit() with it in your ScreenInit function. (The MGARefreshArea8/24/32 and MGAPointerMoved functions are just for the rotated case.) -andy -- Andy Isaacson http://web.mr-happy.com/~adisaacs/ Fight Spam, join CAUCE: adi@acm.org adisaacs@mr-happy.com isaacson@cs.umn.edu www.cauce.org From mmacdonald@tsi.gte.com Wed Dec 29 10:21:00 1999 From: mmacdonald@tsi.gte.com (Mike MacDonald) Date: Wed, 29 Dec 1999 10:21:00 -0000 Subject: DX server.. Message-ID: I'm starting to look at ShadowFB for use with DirectX.. There may be a quick easy way to speed up a DX server using it. Though I don't know how fast kdmurthy's server is.. From kd@blr.vsnl.net.in Wed Dec 29 10:35:00 1999 From: kd@blr.vsnl.net.in (Dakshinamurthy Karra) Date: Wed, 29 Dec 1999 10:35:00 -0000 Subject: DX server.. References: Message-ID: <99123000051100.01138@indica> On Wed, 29 Dec 1999, Mike MacDonald wrote: > I'm starting to look at ShadowFB for use with DirectX.. There may be a > quick easy way to speed up a DX server using it. Though I don't know how > fast kdmurthy's server is.. I am currently using it on a PII 350 - 64 MB with NT 4.0 SP4. It is good. Did I mention that this server currently works only in full-screen mode? DX in fullscreen mode does not use Win16 lock on 95/98. So the OS does not come to a halt. If I get some time tomorrow, I will post the patches against X-consortium X sources. May be we can take it up from there? Mike, there is an excellent document (unfortunately not updated for X11R6) called "Strategies for Porting X v11 Sample Server". It is in unsupported/doc directory somewhere in ftp.x.org. DX supports functionality for fast blitting. Once the server is stable, we need to take DX routines and put them in ScreenRec in the server. So, selectively we override the functionality - moving slow functions to directly use DX calls. Regards KD From ssiddiqi@inspirepharm.com Wed Dec 29 10:37:00 1999 From: ssiddiqi@inspirepharm.com (Suhaib Siddiqi) Date: Wed, 29 Dec 1999 10:37:00 -0000 Subject: DX server.. References: Message-ID: > -----Original Message----- > From: Mike MacDonald [ mailto:mmacdonald@tsi.gte.com ] > Sent: Wednesday, December 29, 1999 1:21 PM > To: 'Suhaib Siddiqi'; cygwin-xfree@sourceware.cygnus.com > Subject: DX server.. > > > I'm starting to look at ShadowFB for use with DirectX.. > There may be a > quick easy way to speed up a DX server using it. Though > I don't know how > fast kdmurthy's server is.. > You would know better then me regarding DX. I do not know about Murthy server. I have offered him to give access to his code under GPL. He wrote that he needs to organize the code first. Suhaib From ssiddiqi@inspirepharm.com Wed Dec 29 10:39:00 1999 From: ssiddiqi@inspirepharm.com (Suhaib Siddiqi) Date: Wed, 29 Dec 1999 10:39:00 -0000 Subject: XFree over Cygwin (Win9x, NT, Win2K) References: Message-ID: > > Hmm.. Ok.. I may be using older source.. There is no > mga_shadow.c in the > source version I have.. I think I might be using 6.3 source.. Are you using 3.3.5 or 3.9.16? 3.3.5 is X11R6.3 and 3.9.xx are X11R6.4 based. Suhaib > > -----Original Message----- > From: Andy Isaacson [ mailto:adisaacs@mr-happy.com ] > Sent: Tuesday, December 28, 1999 11:26 AM > To: Mike MacDonald > Subject: Re: XFree over Cygwin (Win9x, NT, Win2K) > > > On Tue, Dec 28, 1999 at 10:41:34AM -0500, Mike MacDonald wrote: > > Ok, I don't know how to get to the archives, so I can > look for more info > on > > ShadowFB, and linear framebuffer stuff. > > http://www.xfree86.org/devel/ > > The username is devel; the password is the one you were > sent in the > mail that welcomed you to the devel list. > > > If I'm not mistaken, DX returns a > > linear framebuffer - and theres not much that can be > done about that. Can > I > > make the ShadowFB a pointer to a DX surface? That > would be the best > > solution, then DX could do the blt itself pretty > easily, and quickly, to > the > > primary screen. > > Having a linear framebuffer should make it easy. I don't > know exactly > the mechanics of how shadowfb works, but I think I just > figured it out > in about 30 seconds of looking at the source. Take a look at > drivers/mga/mga_shadow.c and drivers/mga/mga_driver.c (search for > ShadowFB). All you have to do is write a RefreshArea function and > call ShadowFBInit() with it in your ScreenInit function. > > (The MGARefreshArea8/24/32 and MGAPointerMoved functions > are just for > the rotated case.) > > -andy > -- > Andy Isaacson http://web.mr-happy.com/~adisaacs/ Fight > Spam, join CAUCE: > adi@acm.org adisaacs@mr-happy.com isaacson@cs.umn.edu www.cauce.org From ssiddiqi@inspirepharm.com Wed Dec 29 10:42:00 1999 From: ssiddiqi@inspirepharm.com (Suhaib Siddiqi) Date: Wed, 29 Dec 1999 10:42:00 -0000 Subject: DX server.. References: <99123000051100.01138@indica> Message-ID: > > On Wed, 29 Dec 1999, Mike MacDonald wrote: > > I'm starting to look at ShadowFB for use with DirectX.. > There may be a > > quick easy way to speed up a DX server using it. > Though I don't know how > > fast kdmurthy's server is.. > > I am currently using it on a PII 350 - 64 MB with NT 4.0 > SP4. It is > good. Did I mention that this server currently works only > in full-screen > mode? DX in fullscreen mode does not use Win16 lock on > 95/98. So the OS does > not come to a halt. > > If I get some time tomorrow, I will post the patches > against X-consortium X > sources. May be we can take it up from there? I look forward to it. > > Mike, there is an excellent document (unfortunately not > updated for X11R6) > called "Strategies for Porting X v11 Sample Server". It > is in unsupported/doc > directory somewhere in ftp.x.org. I have an Acrobat Reader file on writing X-server, originally written by HP. I need to find it and could mail it if you need it. > > DX supports functionality for fast blitting. Once the > server is stable, we need > to take DX routines and put them in ScreenRec in the > server. So, selectively we > override the functionality - moving slow functions to > directly use DX calls. > > Regards > KD > From kd@blr.vsnl.net.in Thu Dec 30 10:19:00 1999 From: kd@blr.vsnl.net.in (Dakshinamurthy Karra) Date: Thu, 30 Dec 1999 10:19:00 -0000 Subject: DX Xserver Message-ID: <99123023502200.01565@indica> Greetings, Could any one confirm whether FBDev X Server can support 24bpp. I was struggling to get the X Server to run at 24bpp (works fine in 8/16/32bpp) :-( Regards KD From ssiddiqi@inspirepharm.com Thu Dec 30 12:32:00 1999 From: ssiddiqi@inspirepharm.com (Suhaib Siddiqi) Date: Thu, 30 Dec 1999 12:32:00 -0000 Subject: DX Xserver References: <99123023502200.01565@indica> Message-ID: FBDev is a simple frame buffer server. I am not sure it can 24 bit. Also FBDev is Linux specific and needs linux kenernel headers to compile. What happen to your DX server based upon xvfb? Suhaib > -----Original Message----- > From: cygwin-xfree-owner@sourceware.cygnus.com > [ mailto:cygwin-xfree-owner@sourceware.cygnus.com]On Behalf Of > Dakshinamurthy Karra > Sent: Friday, December 31, 1999 2:44 AM > To: cygwin-xfree@sourceware.cygnus.com > Subject: DX Xserver > > > Greetings, > > Could any one confirm whether FBDev X Server can support > 24bpp. I was > struggling to get the X Server to run at 24bpp (works > fine in 8/16/32bpp) :-( > > Regards > KD > From kdmurthy@vsnl.com Thu Dec 30 21:00:00 1999 From: kdmurthy@vsnl.com (kdmurthy@vsnl.com) Date: Thu, 30 Dec 1999 21:00:00 -0000 Subject: DX Xserver Message-ID: <199912310458.KAA29726@mypage.vsnl.com> Sorry for the confusion the way I worded this question. I am developing the DX Server on a NT machine with SiS 6326 video card which supports 8/16/24 bpp. Since the DX Server is also based on a frame buffer, I was looking at xfree86 sources to find how to use 24 bit, but could not find anywhere. The X-consortium's sample server supports 8/16/32 bit using the cfb, cfb16 and cfb32 drivers. Suhaib, I could not get time to cleanup the sources to create a patch (a compilation of the whole tree takes > 30mins on my machine). I will release the source during this weekend. Meanwhile, I found the causes of the problems I reported earlier. 1. Solaris: the problem is with xset fp+ in the xdm setup. The fc client code need to be cleaned up. 2. KDE: the problem is to do with an entry in .kderc (background=. Looks like this is used in some palette mapping. Regards KD Suhaib Siddiqi wrote: > What happen to your DX server based upon xvfb? > > Could any one confirm whether FBDev X Server can support > > 24bpp. I was > > struggling to get the X Server to run at 24bpp (works > > fine in 8/16/32bpp) :-( From ssiddiqi@inspirepharm.com Fri Dec 31 07:11:00 1999 From: ssiddiqi@inspirepharm.com (Suhaib Siddiqi) Date: Fri, 31 Dec 1999 07:11:00 -0000 Subject: DX Xserver References: <386C3572.12933E5B@blr.vsnl.net.in> Message-ID: > Sorry for the confusion the way I worded this question. I > am developing > the DX Server on a NT machine with SiS 6326 video card > which supports > 8/16/24 bpp. Since the DX Server is also based on a frame > buffer, I was > looking at xfree86 sources to find how to use 24 bit, but > could not find > anywhere. The X-consortium's sample server supports > 8/16/32 bit using > the cfb, cfb16 and cfb32 drivers. Have a look at xc/prgrams/Xserver/cfb24 in XFree86 3.9.16. The source for of 3.9.16 is available from ft.xfree86.org and cygwin patches from ftp://sourceware.cygnus.com/pub/cygwin/xfree > > Suhaib, I could not get time to cleanup the sources to > create a patch (a > compilation of the whole tree takes > 30mins on my > machine). I will > release the source during this weekend. Look forward to it. I think your patches could be merged into XFree86 4.0 Snapshots. Xfree86.40 support 8/16/24/32 bits using cfb, cfb16, cfb24 and cfb32 > > Meanwhile, I found the causes of the problems I reported earlier. > > 1. Solaris: the problem is with xset fp+ in > the xdm setup. > The fc client code need to be cleaned up. > 2. KDE: the problem is to do with an entry in .kderc > (background=. Looks like this is used in some palette > mapping. > Cool!!! Regards Suhaib > Regards > KD > > Suhaib Siddiqi wrote: > > > > FBDev is a simple frame buffer server. I am not sure it can > > 24 bit. Also FBDev is Linux specific and needs linux kenernel > > headers to compile. > > > > What happen to your DX server based upon xvfb? > > > > Suhaib > > > > > -----Original Message----- > > > From: cygwin-xfree-owner@sourceware.cygnus.com > > > [ mailto:cygwin-xfree-owner@sourceware.cygnus.com]On Behalf Of > > > Dakshinamurthy Karra > > > Sent: Friday, December 31, 1999 2:44 AM > > > To: cygwin-xfree@sourceware.cygnus.com > > > Subject: DX Xserver > > > > > > > > > Greetings, > > > > > > Could any one confirm whether FBDev X Server can support > > > 24bpp. I was > > > struggling to get the X Server to run at 24bpp (works > > > fine in 8/16/32bpp) :-( > > > > > > Regards > > > KD > > > >