xc/programs/mkcfm/cidchar.c doesn't compile

2006-12-18 Thread Dr Andrew C Aitchison
xc/programs/mkcfm/cidchar.c doesn't compile
Oddly this is a link to xc/lib/font/Type1/cidchar.c which *does* compile

gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -Wall 
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef   -I. 
-I../../lib/font/Type1 -I../../lib/font/include 
-I../../programs/Xserver/include  -I../../exports/include-Dlinux 
-D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE 
-D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO   
-DBUILDCID -DCID_ALL_CHARS-c -o cidchar.o cidchar.c
cidchar.c: In function `CIDGetGlyphInfo':
cidchar.c:122: structure has no member named `CIDsize'
cidchar.c:191: structure has no member named `CIDsize'
cidchar.c:268: structure has no member named `CIDsize'
cidchar.c:306: structure has no member named `CIDsize'
cidchar.c:348: structure has no member named `CIDsize'
cidchar.c:360: structure has no member named `CIDsize'
make: *** [cidchar.o] Error 1


-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-26 Thread Dr Andrew C Aitchison
On Wed, 26 Oct 2005, Stefan Strobl wrote:

 Andrew C Aitchison wrote:
 
 On Tue, 25 Oct 2005, Stefan Strobl wrote:
   
 
 There are some more messages which I'm not able to capture. Logging to a 
 file didn't work. After restarting the file's empty...
 
 
 
 How hard is the restart - power button, or just ctrl-alt-delete
 (or ctrl-alt-f1, ctrl-alt-delete) ?
   
 
 I have to power cycle the machine...

In that case the following is less likely to help.
 
 When working with lockups I sometimes set a 5 minute cron job to sync the 
 disks:
 0,10,20,30,40,50 * * * * /bin/sync
 5,15,25,35,45,55 * * * * /bin/sync
 
 then when it locks up I wait five minutes before pressing the power 
 button. This often gives the machine a chance to write the log to disk.

 I don't quite understand?

Sometimes the graphics card is locked up, but the cpu is still running;
it is just that you can't see what it is doing.
If the Xserver is chewing cycles you might not have a keyboard either.
In these cases, syncing the disk can flush buffers so that the
log file does contain useful info on reboot.

You did redirect stdin *and* stderr (  in bash) to the logfile ?
I can't remember now, does XF_SVGA have options to increase
its verbosity ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: _X11TransSocketUNIXConnect: Can't connect: errno = 111

2005-10-25 Thread Dr Andrew C Aitchison
On Tue, 25 Oct 2005, Stefan Strobl wrote:

 Loic Grenie wrote:
 
 You should have a XFree86 binary installed somewhere (/usr/X11R6/bin
   usually) by make install. Just run the binary, it should work. To come
   back to a text terminal, hit Ctrl-Alt-F1.
 
   Lo�c Greni�
   
 
 Thanks.
 I've no binary called XFree86. When executing XF86_SVGA, that's the 
 server I want to use,

Is this XFree86 v3 or v4 ?

I think XF86_SVGA went out with v3, which was about 6 years ago
(and more like 8 for developers).

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Problems with xf86Globals.c

2005-03-05 Thread Dr Andrew C Aitchison
I'm not sure why this change from January
to xc/programs/Xserver/hw/xfree86/common/xf86Globals.c
is only biting now but:
xf86Globals.c:236: warning: missing braces around initializer
xf86Globals.c:236: warning: (near initialization for `xf86Info.grabInfo')
xf86Globals.c:237: warning: braces around scalar initializer
xf86Globals.c:237: warning: (near initialization for 
`xf86Info.grabInfo.override')
xf86Globals.c:237: warning: excess elements in scalar initializer
xf86Globals.c:237: warning: (near initialization for 
`xf86Info.grabInfo.override')
xf86Globals.c:237: warning: excess elements in scalar initializer
xf86Globals.c:237: warning: (near initialization for 
`xf86Info.grabInfo.override')
xf86Globals.c:237: warning: excess elements in scalar initializer
xf86Globals.c:237: warning: (near initialization for 
`xf86Info.grabInfo.override')
xf86Globals.c:238: warning: initialization makes integer from pointer without a 
cast
xf86Globals.c:239: warning: initialization makes integer from pointer without a 
cast
xf86Globals.c:241: incompatible types in initialization
xf86Globals.c:241: initializer element is not constant
xf86Globals.c:241: (near initialization for 
`xf86Info.grabInfo.server.grabstate')
xf86Globals.c:243: initializer element is not constant
xf86Globals.c:243: (near initialization for `xf86Info.grabInfo.server')
xf86Globals.c:243: initializer element is not constant
xf86Globals.c:243: (near initialization for `xf86Info.grabInfo')

This is Red Hat 9, gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: DRM kernel source broken/incomplete

2005-02-08 Thread Dr Andrew C Aitchison
On Tue, 8 Feb 2005, David Dawes wrote:

 It looks like the DRM kernel source in xc/extras/drm is broken and
 incomplete, especially for BSD platforms.  The Linux version only
 appears to build for a narrow range of kernels, and this either
 needs to be fixed, or the minimum kernel requirements enforced in
 the Makefile.
 
 Perhaps we'll have to roll back to an older version that does build?

How often does the Xserver / DRM binary interface change - 
is it viable to just use the DRM in the running kernel ?

I suppose this is really a question for one of the DRM lists but,
is it a forlorn hope that the DRM could have a static binary
interface to either the kernel or the X server ?
(I guess that a moving kernel puts the former outside the control
of the DRM project ?)

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


drm uses revpath before we had built it

2005-02-02 Thread Dr Andrew C Aitchison
With the i810 kernel module build fixes, a make World fails with:

make[7]: Entering directory 
`/home/XFree86/4.2/std/xc/programs/Xserver/hw/xfree86/os-support/linux/drm'
+ mkdir -p kernel_source
/bin/sh: line 1: ../../../../../../../config/util/revpath: No such file or 
directory
make[7]: *** [includes] Error 1


-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: DRI on i810

2005-01-31 Thread Dr Andrew C Aitchison
David Dawes [EMAIL PROTECTED]:
 Has anyone tried DRI on an i810 with the current tree?  I get a
 ring buffer lockup almost immediately after running glxgears.  This
 is with the current i810 DRM module built and loaded against an
 otherwise stock 2.4.24 kernel.

Can you remind me how to build the i810 DRM module ?
makefile.linux seems to have disappeared.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: How do I debug modules/drivers symbolically in the X server?

2004-09-24 Thread Dr Andrew C Aitchison
On Fri, 24 Sep 2004, Barry Scott wrote:

 I'm trying to debug a problem with the Unichrome VIA
 driver in XFree86 4.4.0.
 
 How do you debug in the X server given that loadmod.c that
 seems to be loading all the code is not using mechanisms
 that allow gdb to know where the code is?
 
 So far I've patched in a call to add messages to the XFree86 log
 detailing the address that each module is loaded at.
 
 Surely there is an easier way?

There have been several patches to add xfree86 module support to gdb,
and talk of these patches going back into the gdb code-base.
Googling XFree86 module gdb found me this patch
http://www.logix.cz/michal/devel/gdb-xfreemod/
and this reminder from 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg05907.html

 With the special gdb you need to explicitly load the modules
 in order to get a backtrace.  Ie, before you get the backtrace enter
module /usr/X11R6/lib/modules
 at the gdb prompt to indicate where to get the modules from.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: UseFBDev makes X-display in several wide bars, each 110 degree rotated, unusable

2004-09-16 Thread Dr Andrew C Aitchison
On Thu, 16 Sep 2004, [ISO-8859-2] Martin MOKREJ© wrote:

 Martin MOKREJ© wrote:
 
 Actually, I didn't know earlier but the radeon should not continue but make X 
 rather die as I have AGP 9200 card, and that's actually the reason why I have to use 
 ati as driver. The naming is bad, but empirically I have figured out which drier 
 works and aslo gives DRI.
 
 The credit goes to Philipp Klaus Krause from dri-users list:
 
 radeon is the driver for the Radeon 7000 series cards. ati is the
 one for Radeon 8500 to 9200.


Last time I looked, ati was a wrapper driver which used one of
the drivers mach64, r128 or radeon as appropriate,
and  radeon was appropriate for all Radeon cards.

Has someone been playing around ?
Or have you got different versions of the ati and radeon drivers ?

There is also the drver from ATI, I've forgotten what that is called.
Come to thing of it, the XFree86 radeon driver only support hardware 
3D/GL/DRI for older Radeon cards; maybe that is what Philipp Klaus Krause
meant ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


tinyx breaks build on RedHat 6.2

2004-07-23 Thread Dr Andrew C Aitchison
tinyx breaks build on RedHat 6.2 / egcs-1.1.2 / glibc-2.1.3

many .c files break in /usr/include/sys/io.h because of the combination of
the inline derective  and the -ansi compiler option.
sis530/sis.h has the definition
#define inline __inline__

This definiton would appear to be needed more widely throughout
tinyx

Any ideas how more modern compilers/libcs avoid this problem ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: How the screen to be Rotate 90deg

2004-07-14 Thread Dr Andrew C Aitchison
On Wed, 14 Jul 2004 11:52:42 +0530, NaggarajaVignesh.R [EMAIL PROTECTED] wrote:
 Hi
 
   Iam trying to Rotate the Screen 90 in Red Hat Linux 9.0 with System
 Configuration intel 845 graphics card .The error msg is
 
 X Error of failed request:  BadMatch (invalid parameter attributes)
   Major opcode of failed request:  156 (RANDR)
   Minor opcode of failed request:  2 (RRSetScreenConfig)
   Serial number of failed request:  12
   Current serial number in output stream:  12

(In spite of the name) RANDR does not do rotation (at least not in XFree86
the people who wrote it have moved to Xorg, so it might do rotation
there).

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: cvs compile failed

2004-06-28 Thread Dr Andrew C Aitchison
On Mon, 28 Jun 2004, Andrew C Aitchison wrote:

 CVS compile works for me since this change
   revision 3.479
   date: 2004/06/23 16:58:39;  author: dawes;  state: Exp;  lines: +2 -2
   Turn XItsyServer off by default (it doesn't build).
 in xc/config/cf/xfree86.cf
 
 You probably need to do a make World (or at least make Makefiles)
 in the top level to get this change to take effect.

... However make install fails with
install -c -m 0444 SecurityPolicy /usr/X11R6/lib/X11/xserver/SecurityPolicy
install: cannot stat `SecurityPolicy': No such file or directory
make[5]: *** [install] Error 1
make[5]: Leaving directory `/home/XFree86/4.4/std/xc/programs/Xserver/Xext/tiny'

Work-around appears to be
make -k install

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: Adding DMX to XFree86

2004-06-23 Thread Dr Andrew C Aitchison
On Tue, 22 Jun 2004, Kevin E Martin wrote:

 We would like to include DMX in the next XFree86 release.

 7. Add DMX and GLX Proxy support to Xinerama
 9. Add protocol and structures to support GLX Proxy (from SGI)

Does GLX Proxy allow hardware accelerated GLX ?
Does it allow  hardware accelerated GLX from remote machines
independent of DMX ?
If so GLX Proxy seems desireable on its own account.

(I have nothing against DMX, just remote GLX is something I've wished
for for nearly a decade).

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: cvs compile failed

2004-06-23 Thread Dr Andrew C Aitchison
On Wed, 23 Jun 2004, Jeff Chua wrote:

 Just downloaded the lastest cvs. Failed to compile.

The error lines before the ones Jeff quoted seem more illuminating:
  In file included from itsy.c:70:
  itsy.h:27:27: linux/itsy_fb.h: No such file or directory
  itsy.h:28:27: linux/itsy_ts.h: No such file or directory
  itsy.h:29:32: linux/itsy_buttons.h: No such file or directory
  itsy.h:30:32: linux/itsy_session.h: No such file or directory

kbd.c also has missing files
  kbd.c:25:21: kkeymap.h: No such file or directory
  kbd.c:27:32: linux/itsy_buttons.h: No such file or directory


-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: i2c bus and/or DDC control

2004-04-29 Thread Dr Andrew C Aitchison
On Thu, 29 Apr 2004, Ben Guthro wrote:

 I'm looking into writing an app to be able to control display 
 controls via DDC - DDC2ci, or SoftDDC
 
 I've been going through the 4.4.0 sourcebase, and while I have seen
 numerous references on how to implement DDC control at the driver level
 over the i2c bus.
 
 Is there an API, or server extension which exposes this interface?
 
 Mac OSX 10.3 exposes the I2C bus at the user level via a
 IOI2CSendRequest command. 
 
 Is there an equivalent for X?

Jablonka Ivan [EMAIL PROTECTED] was asking about ddc/ci recently.

There is as yet no intereface in XFree86 to use DDC for control
(just the XFree86_DDC_EDID1_RAWDATA X property which makes the
EDID information available).

Some linux kernel frame-buffer modules may make DDC available  
through the kernel I2C machanisms.

Do you have DDC2ci specs ? I'd be interested in seeing what
we would need to put into a control API.
(Google shows no hits for SoftDDC).

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: function definition isn't a prototype

2004-04-02 Thread Dr Andrew C Aitchison
On Fri, 2 Apr 2004, Terry R. Friedrichsen wrote:

 From a March 31 CVS update, there are 2714 of the above warnings in a
 make World when compiling under FreeBSD 5.2 on an Alpha.
 
 With some guidance from the committers, I'd like to take on the task of
 eliminating the vast majority of these.  I'll provide context diffs and
 submit them to the bug tracker as time permits, but I'd like to know whe-
 ther you feel that the declarations in question should be wrapped in some-
 thing like #ifdef __STDC__ / #endif or not first.

I'm not a committer, just someone who has been around long enough to 
remember the discussions about ansifying the code.

I don't think we need #ifdef __STDC__ or similar.

The ansification work is progressing very slowly because we need to be 
sure that we don't change the types of any arguements when we do this -
remember that the default type promotions rules changed between KR and 
ANSI C.
This means that the could be binary incompatibilities in the interfaces
we we do this with a dummy script, rather than a thinking brain.

Thomas Dickey has done bits in the past, and has email suggestions about 
how to verify that binary compatibility isn't broken.

Thanks for offering to help.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: Multiple Monitors

2004-03-02 Thread Dr Andrew C Aitchison
On Tue, 2 Mar 2004, Alan Hourihane wrote:

 I mentioned in a reply to Alex, that maybe the ScreenLayout section should
 use Monitor's rather than Screens. I think that should fix the orientation
 issues, as the ScreenLayout is really describing the monitor positions.

I didn't spot this the first time around.
At present there is no need for two monitor sections when you have
two identical monitors, as each Screen can use the same Monitor.
Don't know whether that change is important.

 So you'd only use the modes for the second monitor that is described for 
 the primary monitor ? 

I'm not keen on that. Some people will have two very different monitors,
and many of the Matrox cards support more modes (RAMdac bandwidth 
limits) on one head than the other.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


broken xf86PciInfo.h and xf86cfg/config.h

2004-02-15 Thread Dr Andrew C Aitchison

The licence updates to xf86PciInfo.h haven't patched cleanly, and
are mis-commented, breaking the build. The attached patch fixes this.

--

xc/programs/Xserver/hw/xfree86/xf86cfg/config.h is also broken; it 
includes the lines:

 config.h
#include unistd.h
===
#ifdef sun
#undef index
#undef rindex
#include strings.h
#endif
#include unistd.h
 1.20

I'm not clear which version we wish to keep.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna
Index: xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h
===
RCS file: /home/CVS/XFree86/xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h,v
retrieving revision 1.157
diff -u -r1.157 xf86PciInfo.h
--- xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h 2004/02/13 23:58:38 1.157
+++ xc/programs/Xserver/hw/xfree86/common/xf86PciInfo.h 2004/02/15 08:46:04
@@ -2,7 +2,7 @@
 
 /*
  * Copyright (c) 1995-2003 by The XFree86 Project, Inc.
- */
+ *
  * All rights reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining
@@ -46,6 +46,7 @@
  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
 
 /*
  * This file contains macros for the PCI Vendor and Device IDs for video


Re: [Linux-fbdev-devel] Re: [forum] Re: Announcement: Modification to the base XFree86(TM) license.

2004-02-02 Thread Dr Andrew C Aitchison
On Sat, Jan 31, 2004 at 09:10:22AM +, Andrew C Aitchison wrote:
 On Fri, 30 Jan 2004, Sven Luther wrote:
  Yeah, that would be rather problematic, but anyway, most of the things
  move from the XFree86 code to fbdev code, and most often, it is not code
  that is copied, but the register information and such. It is always
  easier to get specs if you are working for XFree86 than if you plan to
  do some kernel driver work.
 
 On Sat, 31 Jan 2004, Benjamin Herrenschmidt wrote:
  The fact that it is mostly a one way is mostly due to the fact that the
  main problem here is seeking for HW informations.

 For several years the mga fb kernel driver has supported dual head and/or
 dvi on cards which aren't supported by the XFree86 driver (unless you
 use the mga_hal). I've wanted to use kernel code to add this support to 
 XFree86, but been put off by the licence problem.

On Sat, 31 Jan 2004, Sven Luther wrote:
   And, have you asked the mgafb driver author about this ?
   
   You can hardly complain about lack of back traffic if you didn't ask him
   about it, and if you did, it would be interesting to this discussion to
   know what the problems where.

On Sat, Jan 31, 2004 at 01:06:23PM +, Andrew C Aitchison wrote:
 The Author ?
 This is open source code; there may be 27 authors of the relevant file.
 In XFree86 code I wouldn't know how to find the author of a file without
 looking at that file. My {limited ,mis}understanding of clean room coding 
 makes me wary of reading any source unless I know that its licence will 
 allow me to do what I wish.
 
On Mon, 2 Feb 2004, Sven Luther wrote:
 This is not acceptable. You are making wild accusations, and didn't even
 try to contact the relevant people. To my knowledge, Petr is the sole
 author of matroxfb, and there should not have been any problem in at
 least asking him about this.

I didn't intend to make *any* accusations, and don't understand what
accusations I'm supposed to have made.
I clearly have to explain my starting position more clearly;
it is probably wrong, and almost certainly the cause of most of the 
confusion, however it is how I came into this arguement, and maybe seeing 
how I'm thinking will let you see that I wasn't making accusations.

My understanding of copyright/patents/plagarism (I'm vague and confused 
about which this covers) is that merely by reading your document,
I am allowing the possibility that I may use that information in something
which I later write.
 This is the principle behind cleanroom development, see
http://en.wikipedia.org/wiki/Cleanroom, 
meaning 2.

If my licence to use your document doesn't allow me to do what I wish,
it is therefore better for me not to read your document.

My understanding about fbdev was that it was GPL-licenced, and that
it is *not* OK to incorporate GPL-ed code into XFree86.
Since I can't read the source code, I can't see who owns the bit I'm 
interested in and can't therefore ask permission to use it under a 
different licence.

I merely wished to point out that the GPL-licence *had* affected my
decision not to copy anything from fdbdev into XFree86.
Call me lazy, mis-informed, confused and paranoid, but I resent the
suggestion that I've been making accusations, wild or tame.

  OK. So I've probably been paranoid and lazy, but if the fbdev licence 
  had been compatible with the XFree86 one, I would have done the work.
  As it is the bar was raised high enough to stop me.
 
 Yeah, whatever, but with you asking that the fbdev drivers change their
 licence, it is the same thing as the GPL zealots not liking the new
 XFree86 licence. 
 
 The way to solve this is by cooperation, not by staying aloft and
 pointing the finger to the opposite side.

I didn't intend to ask that fbdev change their licence (although I wish
they would). I merely intended to point out that, however much the fault
was mine, the perception of the licence conflict had blocked transfer
from fbdev to XFree86.
Since Sven and Benjamin both suggested that transfer from fbdev to
XFree86 wasn't important, I thought it reasonable to relate my
experience showing that transfer in that direction was desirable and
that the GPL-licence was a hinderance.

I also realize that I have a habit of using complex and precise English.
As many people in this discussion are not native English speakers,
that is not smart, and may be why some of my intended meaning has
not got through. I apologize for this.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: Question regarding dual headed machines with two keyboards and two mice

2004-01-16 Thread Dr Andrew C Aitchison
On Fri, 16 Jan 2004, Mark Cuss wrote:

 Okay - thanks!  I did find the link you sent, but was wondering if this was
 supported in the new 4.4.0 release...  Is there support planned in a future
 release?

You can run a single X server with two screens, two mice (mice, not 
pointers/cursors) and (I think) two keyboards.
You could run two X servers each with a screen keyboard and mouse,
the problem is that normally there is only a single console, and
only one *active* virtual terminal (I'm thinking Linux, but this is
true for most if not all supported OSes).
Try this; it works but you have to switch VTs with CtlAltFn
to see both X servers.

As I see it this is an OS issue, not an XFree86 issue -
XFree86 turns a text head into a graphics head.
If the OS only provides one text console at a time, XFree86 only gives you 
one graphics head at a time.
(OK maybe it would be possible for an Xserver not to use a VT).

I understand that 2.5.x kernels can support multiple text consoles,
and I understand that in this case two X head can be done.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: Mozilla assumes unassigned chars in iso10646-1 FreeType fonts as assigned with XF4.4.0 trunk

2003-12-12 Thread Dr Andrew C Aitchison
On Fri, 12 Dec 2003, Roland Mainz wrote:

 Hi!
 
 
 
 Is anyone else seeing the problem that Mozilla now renders glyphs in
 iso10646-1 fonts which are not assigned (normally Mozilla scans
 iso10646-1 encoded fonts for valid glyphs via looking at non-zero width
 metrics and puts those glyphs into it's internal CCMap), e.g. the glyph
 0 is rendered.
 
 I am getting lots of these little square boxes when viewing
 http://www.google.co.il/search?as_q=mozillanum=100hl=iwie=UTF-8oe=UTF-8btnG=%D7%97%D7%99%D7%A4%D7%95%D7%A9+%D7%91%D7%92%D7%95%D7%92%D7%9Cas_epq=as_oq=as_eq=lr=as_ft=ias_filetype=as_qdr=allas_occt=anyas_dt=ias_sitesearch=?
 on SuSE 8.2 + XF4.0.0 todays CVS trunk (original Xfree86 shipped with
 SuSE 8.2 is OK).

I'm not seeing little square boxes, and the page looks ok to my 
uninitiated eye.

I've seen fonts which have little square boxes rather than gylphs
with zero-width metrics. If you have one of these, the algorithm
you describe wont help :-(

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Aiptek driver doesn't build on Red Hat 6.2

2003-12-11 Thread Dr Andrew C Aitchison
Fixing bug 940 breaks the build on Red Hat 6.2.

I believe that the aiptek driver should only work with LINUX_INPUT,
in which case, the patch I've submitted in bug 972
will stop the attempt to build aiptek on systems without LINUX_INPUT.

(Please use the second patch - the first one isn't good enough).

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


RE: FW: RE: [Bug 537] wacom usb tablet uses wrong screen borders

2003-11-26 Thread Dr Andrew C Aitchison
On Tue, 25 Nov 2003, Ping Cheng wrote:

 For example, my application needs to get the tablet's model from the driver.
 But the driver only knows the model after it communicates with the tablet.
 So, the model can not be assigned into an option in the config file. 
 
 Basically, I don't have problem to sent data to the driver from client. I
 use xfWcmDevChangeControl(), which is assigned as local's control_proc to
 send data to the driver. I have problem to pass data from driver back to the
 app. That's why I let driver write to a file so the app can read from there.

Sorry, I should have suggested this earlier.
The driver can set window properties via xf86RegisterRootWindowProperty()
(xc/programs/Xserver/hw/xfree86/common/xf86Helper.c)
Then any client can read these properties from the server -
use the command-line app xprop, or see how it does it.

I'm not sure how well static property names will represent 
information about zero, one or more tablets - perhaps you need
properties like:
WACOM_TABLET_COUNT
WACOM_TABLET0_MODEL
...
WACOM_TABLET1_MODEL
...

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


[XFree86] Re: Matrox G550 with one DVI, 1 CRT

2003-11-26 Thread Dr Andrew C Aitchison
On Wed, 26 Nov 2003, Stephen CS Howe wrote:

 Hi, I found your very interesting XFree config file on the mailing list.
 
 Note:If you can't be bothered reading all this, just post me your latest 
 Xfre86config, and I will look at it for hints.
 
 I am trying to get my matrox dual -head card working with a Samsung 
 Syncmaster 191T FPD and a Philips 105S 19 inch CRT monitor.
 I have got quite close, but my main problems stem from the fact that the 
 head allocation from the card is not clear, as it apparently 
 reconfigures the head allocation depending on what you connect to it.

The card calls the DVI monitor head 0, if it finds it at power on, 
otherwise the VGA head is head 0.

There is the config file 
Option SwappedHeadtrue
which reverses the head allocation.


 Anyway, I have a number of questions:-
 1Do I need Xinerama  to spread my desktop across 2 monitors ?
With the mga_drv.o driver from XFree86 yes.
If I remember correctly, the XFree86 driver on the CD that comes with the card
will do 
 2Do I need DPI working to get my LCD monitor working ? If so, are 
 Xinerama and DPI mutually exclusive?

DPI ? Do you mean DVI ?
There shouldn't be a conflict between Xinerama and DVI.
(The DVI socket will actually do DVI-A (analog) if you use the DVI-VGA 
adaptor; for some monitors the picture quality may be as good.)

If you do mean DPI, as in dots-per-inch, yes there is a problem with 
dual-head setups. If you rely on DPMS to provide the server with the
screen size, then the driver only asks the first head, and reports
those values for both screens.
I would recommend that you put a line like
DisplaySize 376 301 # millimeters
in each monitor section of the config file.
The size doesn't have to be the correct one, it may be best to multiply 
the number of pixels on each screen by the DPI, so that both monitors 
report say 75 or 100 DPI.

 3. I have the following plan to discover good settings for my monitors:-
 1. Plug in monior one only, autoconfigure from redhat GUI and save 
 XFree86 config.
 2. Remove Monitor 1 and plug in monitor 2, then rerun redhat GUI to 
 configure second monitor.
 3. Plug in both monitors, cut n paste each monitor configs from 
 individual files, and add the bits necessary for dual head to my 
 xfree86config.
 does this sound like a good plan for a no-brainer like myself ?

Seems worth a try.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: 2D Acceleration not used using ATI Rage Mobility P/M AGP 2x

2003-11-17 Thread Dr Andrew C Aitchison
On Mon, 17 Nov 2003, Salvio wrote:

 On Sun, 16 Nov 2003, Salvio wrote:
 
 I have attached the latest config file and log.

What happens if you disable 3D acceleration by commenting out
Load DRI
in the Module section ?

Section Module
Load  dbe
Load  extmod
Load  fbdevhw
Load  glx
Load  record
Load  freetype
Load  type1
#Load  dri
EndSection

3D acceleration on the Mach64 isn't standard: I'm not sure that
anyone has tested that 2D and 3D accleration work well together.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Fix for dri_util.o

2003-11-14 Thread Dr Andrew C Aitchison

The attached patch fixes the dri_util build failure:

../../../../../../lib/GL/dri/dri_util.c:1322: `PFNGLXGETMSCRATEOMLPROC' 
undeclared (first use in this function)

Removing the explict inclusion of inttypes.h means that some of the 
includes need to be reordered. 

PFNGLXGETMSCRATEOMLPROC is defined in xc/extras/Mesa/include/GL/glxext.h

Feel free to use a different reordering;
I've only tested this on RedHat 6.2

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

Index: xc/lib/GL/dri/dri_util.c
===
RCS file: /home/CVS/XFree86/xc/lib/GL/dri/dri_util.c,v
retrieving revision 1.11
diff -u -r1.11 dri_util.c
--- xc/lib/GL/dri/dri_util.c2003/11/13 17:22:49 1.11
+++ xc/lib/GL/dri/dri_util.c2003/11/14 09:24:35
@@ -25,10 +25,10 @@
 #include Xext.h
 #include extutil.h
 #include stdio.h
+#include dri_util.h
 #include glxclient.h
 #include xf86dri.h
 #include sarea.h
-#include dri_util.h
 
 
 /* forward declarations */


Re: Capturing events from the root window

2003-10-30 Thread Dr Andrew C Aitchison
On Thu, 30 Oct 2003, Gerhard W. Gruber wrote:

 Thanks for your explanation though. I wonder why such a thing never has been
 implemented. From what I saw brwosing the web I'm not the only one who could
 use this for some desktop tools. Also I wonder how event recorder will do
 their job under X? Or is there nos such application for X? Tools similar to
 WinRunner which capture all events and play them back later.

I believe that the RECORD extension is what people use for that sort of 
thing.
xc/doc/hardcopy/Xext/record.PS.gz
xc/doc/hardcopy/Xext/recordlib.PS.gz
xc/doc/specs/Xext/record.ms
xc/doc/specs/Xext/recordlib.ms

Don't know whether it will help you at all.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna



___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: Detecting Monitor mode from AutoConfig

2003-10-07 Thread Dr Andrew C Aitchison
On Mon, 6 Oct 2003, Kirk Haderlie wrote:

 Is there an interface available to enumerate the video modes supported by a
 monitor?  It would be nice to get this information for use in auto config.
 We have a dual head configuration with one monitor which supports up to 1024
 x 768 and the second up to 800 x 600.  The problem is that X tries to drive
 the second monitor at 1024 x 768.  If I configure XF86 manually I can get
 the first to run 1024 X 768 and the second in 800 x 600.  I want to
 customize the monitor sections of auto config.  I have already modified auto
 config to support multiply heads but now would like to implement custom
 monitor configurations.  Any help or suggestions would be appreciated.

In principle the full DDC information is available from each monitor,
but in practice for most dual-head cards we don't kow how to ask for
the information about both heads.
If this is a laptop with a builtin screen and an external monitor socket, 
we don't even have a consensus as to whether the builtin screen has DDC
info.

Once the server has started, if you are *not* using Xinerama or similar
methods of making the displays appear as one, the DDC data is available as
a root window property; usually XFree86_DDC_EDID1_RAWDATA, which can be 
printed out with:
xprop -display $DISPLAY -root 0x XFree86_DDC_EDID1_RAWDATA


-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: mulitple pointers

2003-10-07 Thread Dr Andrew C Aitchison
On Tue, 7 Oct 2003, Grant Wallace wrote:

 Earlier this year there was a mail thread about
 multiple pointers. I'm wondering if there is any new
 information on this topic. 
 
 We would like to have a collaborative desktop on a
 display wall where multiple people can work
 simultaneously. In particular it would be nice to have
 multiple top level windows (one per cursor) where that
 cusror's keyboard and mouse events are sent.
 
 Earlier it was suggested that this should be handled
 by the collaborative software. But in our case we'd
 rather not write specific software, but rather let
 people run their current applications unmodified on
 the desktop.
 
 Are there any extensions or suggestions on how to
 develop a scenario like this?

This doesn't really fit into the design philosophy of X11.
I don't know anything about the code at window focus level,
or the window management protocols, so the followinbg suggestion might 
not be smart:

IIRC X will happy support many non-core pointer devices;
so write a window manager which listens to all the non-core pointers
and does with them what you want.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: Debugging XFree86 on a single machine

2003-10-02 Thread Dr Andrew C Aitchison
On Wed, 1 Oct 2003, Kirk Haderlie wrote:

 Is it possible to debug XFree86 using a dual monitor setup on a single
 machine.  I tried using -keeptty but this doesn't do what I would expect.
 Can X be run on one monitor and a debug console on the other?

You need two video cards (as Andrew Bevitt mentioned).
You must make sure that the server under test doesn't grab the
keyboard or mouse from the debug console; giving it dummy devices
with the void input device driver (you could use a second mouse
but I've never got a second keyboard to work with 2.4.small kernels).

All in all, telnet/ssh from a second machine is usually less hassle.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: pkg-config support for libs

2003-09-22 Thread Dr Andrew C Aitchison
On Mon, 22 Sep 2003, Mike A. Harris wrote:

 We move the XFree86 supplied .pc files into /usr/lib/pkgconfig/ 
 where the default pkgconfig configuration can find them.  A 
 better fix would be either making XFree86 install them into 
 /usr/lib/pkg-config by default, or making the default 
 configuration file for pkgconfig contain the X11 pkgconfig 
 directory.
 
 Thoughts?

(Under most normal circumstances) XFree86 tries not to install
anything outside of /usr/X11R6/
I'm not clear whether it should be the job of the XFree86 installer,
or whoever packages it for a distribution to put files into  
/usr/lib/pkgconfig
?
-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Linking Xprt, Xnest and Xvfb fails - undefined reference to `xf86Msg'

2003-09-07 Thread Dr Andrew C Aitchison
Change 423. Add a writing of some Xserver XKB module error messages
into a servers log file (Ivan Pascal)
seems to have broken linking Xprt, Xnest and Xvfb:

gcc -o Xprt -O2 -fno-strength-reduce -ansi -pedantic -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls 
-Wnested-externs -Wundef -L../../exports/lib   Xprint/ddxInit.o Xprint/miinitext.o 
Xprint/dpmsstubs.o  dix/libdix.a os/libos.a ../../exports/lib/libXau.a 
../../exports/lib/libXdmcp.a  Xprint/libprinter.aXprint/raster/libraster.a 
Xprint/pcl/libpcl.a  Xprint/ps/libps.a mfb/libmfb.a cfb/libcfb.a
cfb32/libcfb32.a mfb/libmfb.a dix/libxpstubs.a mi/libmi.a Xext/libexts.a xkb/libxkb.a 
Xi/libxinput.a   lbx/liblbx.a   
../../lib/lbxutil/liblbxutil.a  randr/librandr.a render/librender.a Xext/libext.a 
dbe/libdbe.a record/librecord.a GL/glx/libglx.a
GL/mesa/GLcore/libGLcore.a XTrap/libxtrap.a os/libcwrapper.o 
../../lib/font/libXfont.a -lfreetype dix/libxpstubs.a  -lz -lm
-Wl,-rpath-link,../../exports/lib
xkb/libxkb.a(xkbInit.o): In function `XkbInitDevice':
xkbInit.o(.text+0xb92): undefined reference to `xf86Msg'
xkbInit.o(.text+0xb9e): undefined reference to `xf86Msg'
xkbInit.o(.text+0xc10): undefined reference to `xf86Msg'
xkb/libxkb.a(xkbInit.o): In function `XkbInitKeyboardDeviceStruct':
xkbInit.o(.text+0x141d): undefined reference to `xf86Msg'
xkb/libxkb.a(xkbInit.o): In function `XkbProcessArguments':
xkbInit.o(.text+0x18de): undefined reference to `xf86Msg'
xkb/libxkb.a(ddxLoad.o)(.text+0x977): more undefined references to `xf86Msg' follow
collect2: ld returned 1 exit status
make[4]: *** [Xprt] Error 1
--
gcc -o Xnest -O2 -fno-strength-reduce -ansi -pedantic -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls 
-Wnested-externs -Wundef -L../../exports/lib   hw/xnest/miinitext.o   
dix/libdix.a os/libos.a ../../exports/lib/libXau.a ../../exports/lib/libXdmcp.a  
hw/xnest/libxnest.a Xext/libexts.a xkb/libxkb.a Xi/libxinput.a   
lbx/liblbx.a   ../../lib/lbxutil/liblbxutil.a  randr/librandr.a 
render/librender.a dix/libxpstubs.a mi/libmi.a Xext/libexts.a xkb/libxkb.a 
Xi/libxinput.a   lbx/liblbx.a   
../../lib/lbxutil/liblbxutil.a  randr/librandr.a render/librender.a 
hw/xnest/libxnest.a Xext/libext.a dbe/libdbe.a record/librecord.a GL/glx/libglx.a  
  GL/mesa/GLcore/libGLcore.a XTrap/libxtrap.a os/libcwrapper.o 
../../lib/font/libXfont.a -lfreetype dix/libxpstubs.a -L../../exports/lib   -lXext 
-lX11 -lz -lm -Wl,-rpath-link,../../exports/lib
xkb/libxkb.a(xkbInit.o): In function `XkbInitDevice':
xkbInit.o(.text+0xb92): undefined reference to `xf86Msg'
xkbInit.o(.text+0xb9e): undefined reference to `xf86Msg'
xkbInit.o(.text+0xc10): undefined reference to `xf86Msg'
xkb/libxkb.a(xkbInit.o): In function `XkbInitKeyboardDeviceStruct':
xkbInit.o(.text+0x141d): undefined reference to `xf86Msg'
xkb/libxkb.a(xkbInit.o): In function `XkbProcessArguments':
xkbInit.o(.text+0x18de): undefined reference to `xf86Msg'
xkb/libxkb.a(ddxLoad.o)(.text+0x977): more undefined references to `xf86Msg' follow
collect2: ld returned 1 exit status
make[4]: *** [Xnest] Error 1
--
gcc -o Xvfb -O2 -fno-strength-reduce -ansi -pedantic -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls 
-Wnested-externs -Wundef -L../../exports/lib   hw/vfb/stubs.o hw/vfb/miinitext.o 
hw/vfb/dpmsstubs.odix/libdix.a os/libos.a ../../exports/lib/libXau.a 
../../exports/lib/libXdmcp.a  hw/vfb/libvfb.a fb/libfb.a mfb/libmfb.a dix/libxpstubs.a 
mi/libmi.a Xext/libexts.a xkb/libxkb.a Xi/libxinput.a   lbx/liblbx.a   
../../lib/lbxutil/liblbxutil.a  randr/librandr.a render/librender.a 
mi/libmi.a Xext/libext.a dbe/libdbe.a record/librecord.a GL/glx/libglx.a   
 GL/mesa/GLcore/libGLcore.a XTrap/libxtrap.a os/libcwrapper.o 
../../lib/font/libXfont.a -lfreetype dix/libxpstubs.a -lz -lm 
-Wl,-rpath-link,../../exports/lib
xkb/libxkb.a(xkbInit.o): In function `XkbInitDevice':
xkbInit.o(.text+0xb92): undefined reference to `xf86Msg'
xkbInit.o(.text+0xb9e): undefined reference to `xf86Msg'
xkbInit.o(.text+0xc10): undefined reference to `xf86Msg'
xkb/libxkb.a(xkbInit.o): In function `XkbInitKeyboardDeviceStruct':
xkbInit.o(.text+0x141d): undefined reference to `xf86Msg'
xkb/libxkb.a(xkbInit.o): In function `XkbProcessArguments':
xkbInit.o(.text+0x18de): undefined reference to `xf86Msg'
xkb/libxkb.a(ddxLoad.o)(.text+0x977): more undefined references to `xf86Msg' follow
collect2: ld returned 1 exit status
make[4]: *** [Xvfb] Error 1

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

Re: DPI with multiple heads and virtual desktops

2003-08-20 Thread Dr Andrew C Aitchison
On Wed, 20 Aug 2003, Alex Deucher wrote:

 this is a semi-fix, but it still does not deal with monitors that have
 different DPI.  Perhaps this is something that needs to be looked at
 for xfree 5.

Almost certainly not before XFree86 v5.
Even then I don't think a solution to your problem is actually possible 
for Xinerama; I don't know whether it would be for MergedFB.

Xinerama *hides* the fact that there are two heads, so there is no 
way for the app to be told a different DPI debending which head it is 
currently on - what should it be told if it is on both ?

Are you sure you actually want the problem solved anyway ?
We have a laptop with a 125dpi screen and a lecture room projector
with about 8dpi.
If I were to make it run a two screen desktop, and my slide viewer
honoured the true screen DPI, on one screen 12pt letters would be
20 pixels tall, and on the other they would be about one pixel.

IMO either you want the same DPI on both screens (fake whatever
value you want with DisplaySize or X -dpi NN) or you want two
non-xinerama heads - display:0.0 and display:0.1, which allows
apps on each head to get the right answer for that screen*, and
stops the DPI changes which would occur if the window was allowed to 
move between screens.


* Ignoring ctlalt+/- mode changes.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: SiliconMotion Rotation

2003-08-18 Thread Dr Andrew C Aitchison
On Mon, 18 Aug 2003, Chris Edgington wrote:

 The siliconmotion driver has its own internal rotation option. It appears
 that this works by enabling ShadowFB, then using the hardware rotation
 capabilities to rotate-blt the changed areas. This worked fine with XF
 4.2.0. However, with the same hardware, this is broken with XF 4.3.0. I
 diffed the smi_driver.c code between those versions and nothing seems to
 have been changed in the driver code that would have affected rotation.

I have heard that the addition of the RandR (Rotate and Resize)
extension into 4.3 broke some drivers which already did rotation.
 
 One thing that is not clear to me is how the X system in general is
 notified of the rotated resolution. In the driver, when rotation is
 enabled, the only apparent swapping of width and height that goes to
 anything outside of the driver is the initialization of the framebuffer
 layer's ScreenInit. Is this enough to communicate the rotated resolution?

If I heard correctly, one of the features of RandR is that it allows
this sort of notification.

Unfortunately this area suffered in the political fight which happened 
around the time of the 4.3 release.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: [I18n] Re: Some thoughts on XKB symbols

2003-08-15 Thread Dr Andrew C Aitchison
On Fri, 15 Aug 2003, Frank Murphy wrote:

  If systems are single-user, which defeats the purpose of X network
  transparency. In multi-user environments, you cannot expect every user
  to use the same language in every occasion.
 
 I imagine that most X deployments are single-user. Plus I imagine that nearly 
 all the multi-user environments (with X-terminals with no local storage) all 
 have the same keyboard layout -- probably the same keyboard *model* as well.

The multi-user X deployments I know are mostly same keyboard model,
but the typical multi-user deployments I'm aware of are bunches of
machines with disks, running multiple operating systems.
Since this could be say a mixture of Sun, Mac and PC (with and without
the Windows keys) you can't say that they are all the same layout;
although I would be happy with the assumption that they would all the 
same nationality.

As your unattributed quote (possibly from Danilo Segan) says,
the users may wish to use different default languages.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n


Re: old Mach32 and Mach64 servers

2003-08-14 Thread Dr Andrew C Aitchison
On Wed, 13 Aug 2003 [EMAIL PROTECTED] wrote:

 Can anyone tell me how good a job the old Mach32 and Mach64
 servers did of taking advantage of the hardware capabilities
 of their respective silicon engines? Put another way, were
 there capabilities in the silicon that we did not use? If
 there are transistors not pulling their weight, are docs
 available to remedy the situation should one be so inclined to
 do so?

I don't have access to the docs, but there are many chipsets with the 
mach64 core, going from (iirc) isa to agp (or at least gart). Also iirc
it is used on laptop chipsets released after the radeon (ATI Mobility 
M1 springs to mind, but I can't easily confirm). Since these are based 
on the Mach64 they all use the mach64 driver although there possess
very different features.

There is a GATOS project to add 3D to those mach64 chips which
support 3D; it has never been merged into the XFree86 driver.

Xv may or may not have made it into the mach64 driver too.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: [I18n] Re: Some thoughts on XKB symbols

2003-08-14 Thread Dr Andrew C Aitchison
On Thu, 14 Aug 2003, Danilo Segan wrote:

 For the sake of difference, I would recommend the following:
 - National keymaps should use ISO 3166 code in all UPPERCASE (eg. US)
 - Linguistic keymaps should use ISO 639 code in all lowercase (eg. en)

Is this going to cause us to run into CVS problem we had resentily, 
where we couldn't rename file hp to directory HP (or similar) ?

 In your example, CA (if that's the code for 
 Canada) would have CA(en), CA(fr), while fr would have fr(CA), 
 fr(FR),... It's up to the implementor to choose and see where to put 
 the actual definitions, and where to simply include them from the other.

Is there a difference between CA(fr) and fr(CA)*
Does the user care about it ? Should we make them mean the same thing ?
*FR(ca) would be different, although possibly unimportant or meaningless.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n


CVS service on cvsup.xfree86.org not available

2003-07-25 Thread Dr Andrew C Aitchison
cvsup.xfree86.org isn't providing a CVS service today.
anoncvs.xfree86.org is, so this isn't urgent.

Is this a technical problem, or is cvsup.xfree86.org being phased out ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Hardware overlays (8+24?) on Intel i830

2003-07-24 Thread Dr Andrew C Aitchison
I see from
http://www.xig.com/Pages/PrReleases/PRMay03-830-O'lays.pdf
that hardware overlays (possibly similar to what we currently do
in the mga and glint drivers) are possible on the Intel i830 chipset.

Does anyone know anything more, or is anyone actually working on
adding support to our drivers ?

If anyone with a suitable machine is interested in testing for me,
and I can get chip-level details, I *might* be interested in writing
the code myself.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: IPv6 problems on Linux

2003-07-24 Thread Dr Andrew C Aitchison
On Thu, 24 Jul 2003, Egbert Eich wrote:

   Can we just declare that inet and inet6 both match tcp ?
 
 The way the code is currently written aliases like tcp alias
 to exactly one transport type. There is no fallback mechanism.
 
 The easiest way would be to alias tcp to inet instead of inet6.

Agreed.

That will at least give us backwards compatibility.
inet6 is new; people using it can cope with asking for it explicitly.

 Or somebody designes a fallback mechansim. 

When we release XFree86 4.4 or 5.0 we need 
machinename:display to work on any appropriate transport protocol
(probably tcp/ as it is now) and tcp/machinename:display to work for
inet/ and inet6/

-nolisten tcp  should block inet and inet6.

---
Aside:
Which operating systems are shipping with IPv6 enabled by default ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: IPv6 problems on Linux

2003-07-23 Thread Dr Andrew C Aitchison
On Wed, 23 Jul 2003, Egbert Eich wrote:

 I've made the patch below which takes care of the problem for me.

make[3]: Entering directory `/home/XFree86/4.2/std/xc/lib/ICE'
rm -f transport.o
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi -pedantic 
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef
-I../.. -I../../exports/include   -Dlinux -D__i386__ 
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE 
-D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO 
-I../../lib/xtrans -DUNIXCONN -DTCPCONN -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN 
-DIPv6 -DICE_t -DTRANS_CLIENT -DTRANS_SERVER-fPIC transport.c
In file included from transport.c:85:
../../lib/xtrans/Xtrans.c: In function `_IceTransMakeAllCOTSServerListeners':
../../lib/xtrans/Xtrans.c:1041: `Bool' undeclared (first use in this function)
../../lib/xtrans/Xtrans.c:1041: (Each undeclared identifier is reported only once
../../lib/xtrans/Xtrans.c:1041: for each function it appears in.)
../../lib/xtrans/Xtrans.c:1041: parse error before ipv6_succ
../../lib/xtrans/Xtrans.c:1074: `ipv6_succ' undeclared (first use in this function)
../../lib/xtrans/Xtrans.c:1112: `TRUE' undeclared (first use in this function)
make[3]: *** [transport.o] Error 1

Should that be BOOL, TRUE (and FALSE) as defined I don't know where
(or Bool, True and False as defiend in ICElib.h) ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


More IPv6 RedHat 6.2 problems compiles but doesn't work

2003-07-21 Thread Dr Andrew C Aitchison
This is with RedHat 6.2.
The latest IPv6 fixes allow X to compile, but remote connections
no longer work on a machione without IPv6 configured.
I've recompiled with XTRANSDEBUG set high (5 I think):

% xbiff -display localhost:0
_X11TransOpenCOTSClient(tcp/localhost:0)
_X11TransOpen(1,tcp/localhost:0)
_X11TransParseAddress(tcp/localhost:0)
_X11TransSelectTransport(tcp)
_X11TransSocketOpenCOTSClient(tcp,localhost,0)
_X11TransSocketSelectFamily(tcp)
_X11TransSocketOpen(1,1)
_X11TransSocketOpen: socket() failed for tcp
_X11TransSocketOpenCOTSClient: Unable to open socket for tcp
_X11TransOpen: transport open failed for tcp/localhost:0
Error: Can't open display: localhost:0
%

strace shows
 socket(PF_INET6, SOCK_STREAM, 0)  = -1 ENOSYS (Function not implemented)
 socket(PF_INET6, SOCK_STREAM, 0)  = -1 ENOSYS (Function not implemented)
 socket(PF_INET6, SOCK_STREAM, 0)  = -1 EAFNOSUPPORT 
(Address family not supported by protocol)


For comparison, local connections succeed and report:
% xbiff
_X11TransOpenCOTSClient(local/:0)
_X11TransOpen(1,local/:0)
_X11TransParseAddress(local/:0)
_X11TransSelectTransport(local)
_X11TransSocketOpenCOTSClient(local,harrier,0)
_X11TransSocketSelectFamily(local)
_X11TransSocketOpen(4,1)
_X11TransSocketOpen: returning for local
_X11TransConnect(3,local/:0)
_X11TransParseAddress(local/:0)
_X11TransSocketUNIXConnect(3,harrier,0)
... ...

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: GetImage with 8 bit pseudocolor on a 24/32 bit display

2003-07-10 Thread Dr Andrew C Aitchison
 Date: Wed, 09 Jul 2003 16:51:59 -0400
 From: Matthew Tippett [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: GetImage with 8 bit pseudocolor on a 24/32 bit display
 
 Hello,
 
 Trying to work through some problems that I am seeing with X.
 
 I have got a TrueColor Display running with 24 bit color (depth 32 bit). 
 Among the visuals available is an 8 bit pseudocolor.  A customer has a 
 requirement to use a legacy application that requires the pseudocolor 
 visual.

 When I run good old 'xv' with the 8 bit pseudocolor, GetImage does some 
 interesting things.  The net result is a SEGV in the server.  I am using 
 'xmag' to grab the

I'm not having this problem with a Matrox G550 in overlay mode.
Can I see your xdpyinfo ?
 
-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


MGA fixes don't compile

2003-07-01 Thread Dr Andrew C Aitchison

 260. Disabled mode writeback to client program from MGA driver (Egbert 
Eich).

This doesn't compile on RedHat 6.2 / egcs-2.91.66

mga_driver.c:3542: warning: preprocessing directive not recognized within macro arg
mga_driver.c:3542: warning: preprocessing directive not recognized within macro arg
mga_driver.c:3542: warning: preprocessing directive not recognized within macro arg
mga_driver.c:3542: warning: preprocessing directive not recognized within macro arg
mga_driver.c:3542: warning: preprocessing directive not recognized within macro arg
mga_driver.c:3542: warning: preprocessing directive not recognized within macro arg
mga_driver.c: In function `MGASwitchMode':
mga_driver.c:3503: undefined or invalid # directive
mga_driver.c:3505: undefined or invalid # directive
mga_driver.c:3507: undefined or invalid # directive
mga_driver.c:3509: undefined or invalid # directive
mga_driver.c:3523: undefined or invalid # directive
mga_driver.c:3527: undefined or invalid # directive
mga_driver.c: In function `MGAAdjustFrame':
mga_driver.c:3609: warning: implicit declaration of function `HALSetDisplayStart'
make: *** [mga_driver.o] Error 1

This patch expands the macro MGA_HAL() thus allowing the code to compile.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna
Index: mga_driver.c
===
RCS file: /home/CVS/XFree86/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_driver.c,v
retrieving revision 1.234
diff -u -r1.234 mga_driver.c
--- mga_driver.c2003/06/30 16:52:56 1.234
+++ mga_driver.c2003/07/01 07:32:12
@@ -3490,15 +3490,18 @@
 char sCmdIn[256];
 char sCmdOut[256];
 FILE* fdIn;
+#ifdef MATROX_WRITEBACK
 FILE* fdOut;
 #endif
+#endif
 MGAPtr pMga;
 ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
 pMga = MGAPTR(pScrn);
  
 if  (mode-Flags  0x8000) {
 #ifdef USEMGAHAL
- MGA_HAL(
+  MGAPtr pMga = MGAPTR(pScrn);
+  if (pMga-HALLoaded  HAL_CHIPSETS) {
fdIn = fopen(/tmp/mgaDriverIn, rt);
 #ifdef MATROX_WRITEBACK
fdOut = fopen(/tmp/mgaDriverOut, wt);
@@ -3539,7 +3542,7 @@
mode-Flags = 0x7FFF;
return FALSE;
}
-   )
+  }
 #endif
return FALSE; 
 }   else


Re: MGA fixes don't compile

2003-07-01 Thread Dr Andrew C Aitchison
On Tue, 1 Jul 2003, Egbert Eich wrote:

 Dr Andrew C Aitchison writes:
   
260. Disabled mode writeback to client program from MGA driver (Egbert 
   Eich).
   
   This doesn't compile on RedHat 6.2 / egcs-2.91.66
   
 
 Hi Andrew,
 
 Yes, thanks!
 Mattieu already told me. 
 It builds with gcc 3.3 (however issues warnings). I'll 
 commit a little different fix later.
 I have been thinking to remove the Matrox HAL stuff completely
 and tell Matrox to ship this stuff in their binary only driver.
 
 I had to program around so many things in the HALlib.
 Furthermore using our driver with this lib is quite rediculous.
 
 This lib does allmost all initialization. Only the hw cursor, dri
 and accel functions are taken from our driver. 

I'd be very unhappy to lose the HAL;
it helps a lot when getting a G550 to work with DVI monitors.
Some monitors work without it, but others just don't seem to work
unless I use mga_hal_drv.o

I believe that the /tmp/mgaDriverIn/Out stuff is only used by the
MGA PowerDesktop, and I can live without that, but please don't remove 
the HAL.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: mkfontscale strikes again

2003-07-01 Thread Dr Andrew C Aitchison
On Tue, 1 Jul 2003, Egbert Eich wrote:

 Having build options for all kinds of experimental stuff doesn't
 sound like a realistic solution. Better to have some sandbox
 separate from the main tree.

True.
If we had known that this was experimental, a branch of the CVS tree
would have made sense.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: xterm resize fails

2003-05-29 Thread Dr Andrew C Aitchison
On Wed, 28 May 2003, Dr Andrew C Aitchison wrote:

 On Wed, 28 May 2003, Thomas Dickey wrote:
 
  On Wed, May 28, 2003 at 07:16:08AM -0600, Marc Aurele La France wrote:
   On Wed, 28 May 2003, Dr Andrew C Aitchison wrote:
   
Patch 3.62 to xc/programs/xterm/screen.c breaks xterm resizing.
The call to SET_TTYSIZE no longer happens when TRACE isn't enabled.
Fix is to revert to version 3.61
   
   OK.  I'll fix it.
  
  presumably not by simply rolling back the change...
 
 Why not ?
 
 Old, working code:
 -code = SET_TTYSIZE(screen-respond, ts);
 -TRACE((return %d from SET_TTYSIZE %dx%d\n, code, rows, cols));
 
 New, broken code:
 +TRACE((return %d from SET_TTYSIZE %dx%d\n,
 + SET_TTYSIZE(screen-respond, ts), rows, cols));
 
 in the broken version since TRACE(...) is a null macro, cpp removes 
 the call to SET_TTYSIZE.

I take some ofthat back.
The version without code is definitely wrong.
The version with code is working, but is susceptible to optimization.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: IBM port replicator noise?

2003-05-28 Thread Dr Andrew C Aitchison
On Tue, 27 May 2003, Michael B Allen wrote:

   Additional information
   DVI resolution higher than 1280x1024 is not supported on A30, A31,
   and T30 ThinkPads.
 
 But this doesn't say explicitly that it's a hardware problem. The noise
 isn't that bad. It's very very close but not quite. Any ideas?

That is pretty close to saying it is a hardware problem.

As others have said, hi-res DVI is a suck-it-and-see; basically the DVI 
spec doesn't go above 1280x1024, so manufacturers have a harder target
supporting anything higher.
I have a Matrox G550 driving an iiyama flat screen at 1600x1200 with 
DVI-D, even though the card is only supported upto 1280x1024.
The picture is good, but there is some shadowing.

The analog-to-digital on good quality flat screens has improved
a lot over the years. Can you get an acceptable picture using the 
analog signal on the DVI port (you may need a DVI-A cable instead 
of the DVI-D cable you are probably using) ?
It is sad, but analog signals may outlast DVI-D :-(

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: [XFree86] linux kernel 2.5.x, XFree86 4.3.0, video card i845and DRI

2003-04-04 Thread Dr Andrew C Aitchison
On Fri, 28 Mar 2003, Éric Brunet wrote:

 Hello all,
 
 Is there somewhere a DRM module for the i830/i845 intel chipsets for the
 2.5.x linux kernels that works with XFree86 4.3.0 ?
 
 The version on dri.sf.net compiles only for the 2.4.x kernels and the
 version shipped with the 2.5.66 kernel is outdated and won't work with
 XFree 4.3.0...

Does the one that comes with XFree86 4.3.0 source compile on 2.5.x
kernels ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Problems with external connection

2003-04-04 Thread Dr Andrew C Aitchison
On Thu, 27 Mar 2003, Grosswiler Roger wrote:

 
  From what I remember x forwarding looks more complicated than it is.  I
  just enabled it on the server, set up putty with just the tick box for x
  forwarding, connected and it works.  DISPLAY is set for you, so no need
  to do anything else.  Just start the x server on the client box if it's
  not already done.
 
  Tom
 
 Thanks Tom, i tried this too, but did not work at all. You started your
 x-server with startx? didn't you had to open ports on your firewall if you
 connected from the outside??

Putty runs on windows.
Unless you have cygwin, startx runs on linux (and similar).

You can't run putty, connect to your linux machine and then type
startx; you have to have an X server on the machine you are sitting 
infront of (ie your windows machine).

Although it is called a server, the X server is more like a client
in this circumstance.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Problems while build XFree86 4.3.0 using GCC 3.2.

2003-04-04 Thread Dr Andrew C Aitchison
On Wed, 26 Mar 2003, Brian [Big5] Hsu(¥j¹Ó¼C¥P) wrote:

 Hello everybody, I'm trying to build XFree86 4.3.0 based on
 LFS 4.0[1] which was using GCC 3.2 and glibc 2.2.5.
 
 [1]http://www.linuxfromscratch.org
 
 Following are the steps that I build XFree86 4.3.0
 
 1.Obtain X430src-*.tar.gz and extra them.
 2.Edit xc/cf/site.def in order to change the directory where 
   XFree86 should be installed.
 3.Commented define BuildDocDir $(BUILDINCROOT)/doc in xc/config/Motif.tmpl
   since I got an error when I build xc/doc,it says there is no target to 
   make clean
 4.make World
 5.make install
 
 When I make World, there is no error totally.But when I try
 to make install, it comes up with following error messages
 and then stoped.

make World is really make -k World.
That is why the make appeared to succeed.

I seem some warnings from X code, but all your errors
appear to be in system header files; your includes are out of step with 
your compiler.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] crash in XFree86 4.2.0

2003-04-04 Thread Dr Andrew C Aitchison
On Fri, 4 Apr 2003, Sogor, Laszlo (MED) wrote:

 Dear XFree86 development team,
 
 As far as we understand the Xlib specification 
 (ftp://ftp.x.org/pub/R6.6/xc/doc/hardcopy/X11/xlib.PS.gz),
 we can pass any integer coordinate value to the XCopyArea(), so the 
 following line should be valid
 if the dis, src, dst, gc parameters are valid:
 XCopyArea(dis,src,dst,gc, 32768, 32768, 32, 31, 0, 0);
 If it is true then there is a problem with the XFree86 4.2.0 package,
 we can crash it with the following code (executed as normal user, 
 included below).

Can you try this with XFree86 4.3 ?

I have no problem with XFree86 4.2.99.901 on a neomagic chipset (Red Hat 
7.3) or XFree86 with 4.3.99.1 on a Matrox G550 (Red Hat 6.2)
Both single processor.

 $ cat crash_xfree86.c
 #include X11/Xlib.h
 #include X11/Xutil.h
 #include X11/Xos.h
 #include X11/Xatom.h
 #include X11/keysym.h
 Display *dis;
 GC gc;
 Pixmap src,dst;
 
 int main(int argc, char *argv[]) {
 dis = XOpenDisplay(NULL);
 gc = XCreateGC(dis, RootWindow(dis, 0), 0, 0);
 src = XCreatePixmap(dis, RootWindow(dis, 0), 512, 512, 24);
 dst = XCreatePixmap(dis, RootWindow(dis, 0), 32, 32, 24);
 
 XCopyArea(dis,src,dst,gc, 32768, 32768, 32, 31, 0, 0);
 XFlush(dis);
 return 0;
 }


-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: Colormap Problems in Matrox G450 under FreeBSD 4.8

2003-04-03 Thread Dr Andrew C Aitchison
On Thu, 3 Apr 2003, Peter Gervais wrote:

 I have an application which requires it uses it own colormap.
 
 I'm using the 8+24 mode in the mga driver where the colormap has to be 
 installed in the 8 Pseudo color
 plane. This application works well unchanged in HP-UX and Solaris 8.
 
 When i load the colormap , it affects all other applications on that 
 screen. The xwininfo result indicates the color map
 has been successfully installed.

This is true for most PC hardware in any 8-bit mode*
Typically PC graphics hardware only has one palette storing the colormap;
many HP and Sun systems have hardware with more than one palette,
which solves the problem.

In your particular case the 8bit visuals use the palette, but the
24 bit visuals ignore it, so any applications which use 24bit visuals
should be unaffected by your unsociable application.
Unfortunately the default visual in 8+24 is 8bit, and many applications
just use the default, so most applications are affected.

You may be able to get around this by starting X with something like:
startx -- -cc 4
which will make the 24bit visual the default, 
although I believe that this stops many 8bit apps. from working;
if they are too ignorant to support a 24buit visual they may be
unable to find the 8bit pseudocolor visual when it is not the default :-(

*The problem also affects any dynamic visual -
GrayScale, PseudoColor and DirectColor, and any other visuals 
implemented the same way; eg TrueColor when gamma-correction is 
available.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: [XFree86] [Bug 84] MGA driver missing symbols in referencedsymbol list

2003-04-03 Thread Dr Andrew C Aitchison
On Thu, 3 Apr 2003, Tim vor der Brueck wrote:

 I would like to know how to get this patch because I also have this problem.
 I did not find it under fixes on the XFree-ftp server.
 
 Thanks,
 
 Tim.

It is in the current CVS tree.

You don't actually need this patch since it just stops some warnings, but 
here it is:

-
Index: mga_driver.c
===
RCS file: 
/home/CVS/XFree86/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_driver.c,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -r1.231 -r1.232
--- mga_driver.c
2003/01/29 19:29:49 1.231
+++ mga_driver.c
2003/04/02 17:33:30 1.232
@@ -45,7 +45,7 @@
  * Added digital 
screen option for first head
  */
  
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/mga/mga_driver.c,v 1.231 
2003/01/29 19:29:49 eich Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/mga/mga_driver.c,v 1.232 
2003/04/02 17:33:30 alanh Exp $ */
 
 /*
  * This is a first cut at a non-accelerated version to work with the
@@ -304,7 +304,10 @@
 drmAgpVendorId,
 drmCommandNone,
 drmCommandWrite,
+drmCtlInstHandler,
+drmCtlUninstHandler,
 drmFreeVersion,
+drmGetInterruptFromBusID,
 drmGetLibVersion,
 drmGetVersion,
 drmMap,
-

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Problems with G550,overlay,KDE

2003-04-02 Thread Dr Andrew C Aitchison
On Fri, 28 Mar 2003, Frank Sill wrote:

 Hello,
 
 i have a Marox G550 and use the XFree86 4.30-Version under SuSE with KDE. If I 
 set 
   Option Overlay 

I use
Option Overlay
in my driver section

 and the type 
   startx
 I get with xdpyinfo the info, that I have two planes (8,24) und on my root 
 window I have 8Bit. Does anybody know, how I can set, that I primarily work 
 with 24Bit depth and 8bit are only an exeception (.. for a tool that only can 
 work with 8-Bit) ?
 
 (in my /etc/X11/xdm/xservers I set X to start with:
-depth 24 -fbbpp 32 -cc4 

-cc4 gives me a sntax error;
 startx -depth 24 -fbbpp 32 -cc 4
gives me 8 and 24 bit visuals with a 24bit default visual.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] PROBLEM ABOUT STARTX - RH8.0

2003-04-02 Thread Dr Andrew C Aitchison
On Tue, 25 Mar 2003, sleon wrote:

 On Tuesday 25 March 2003 13:22, sleon wrote:
 to make it start on at the boottime you must make this command:
 
 ln -s /etc/rc.d/init.d/xfs /etc/rc.d/rc5.d/S90xfs

Better would be
chkconfig --add xfs
chkconfig xfs on
then use
chkconfig --list xfs
to confirm; I get:
xfs 0:off   1:off   2:on3:on4:on5:on6:off

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] How do I compile a single driver - and not all of X ?

2003-04-01 Thread Dr Andrew C Aitchison
On Mon, 24 Mar 2003, Josh Brooks wrote:

 2. If not, is there a slackware -devel package of some kind I can download
 and point to to do this ?  I am tryingto avoid compiling all of X because
 the libretto is so slow...

If you have another, faster, machine you could compile on that, and copy 
the driver over.
For driver modules the other machine doesn't even have to be running 
the same OS - anything that can compile XFree86 will do.
For best results use the same version of XFree86 as on the libretto,
the module/server interface does change from time to time.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Your buglist for The XFree86 Project's Bugzilla needsattention.

2003-03-31 Thread Dr Andrew C Aitchison
On Mon, 31 Mar 2003 [EMAIL PROTECTED] wrote:

 [This e-mail has been automatically generated.] 
  
 You have one or more bugs assigned to you in the Bugzilla  
 bugsystem (http://bugs.xfree86.org/) that require 
 attention. 
  
 All of these bugs are in the NEW state, and have not been touched 
 in 7 days or more.  You need to take a look at them, and  
 decide on an initial action. 
  
 Generally, this means one of three things: 
... ... ... ...

Do we really want these daily reports cluttering up this mailing list ?

If so, I'd prefer that they came from an xfree86.org address rather
than [EMAIL PROTECTED] (are they hosting bugs.xfree86.org/
or just some [insult deleted] individual who things that hassling
volounteers gets things fixed ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] mga 1600x1200 DVI [scanned]

2003-03-21 Thread Dr Andrew C Aitchison
On Thu, 20 Mar 2003, Thomas Winischhofer wrote:

 Dr Andrew C Aitchison wrote:
  Thanks for clarifying. On my other G550 I have a 1600x1024 monitor on what 
  appears to be a single-link cable. If I switch from DVI-digital to 
  DVI-analog *on the monitor* the picture goes away, so I was getting
  very confused.
  This is [EMAIL PROTECTED] with a 108MHz clock, well under the 165MHz limit.
 
 There is something else:
 
 The *analog* signal (speak: DVI-A) is (partly) transferred on the extra 
 pins, outside of this 8x3 block. There are (up to) four pins in a 
 square, with a ~2mm wide key pin in the middle. If these pins around 
 the key pin are missing, this is a digital-only cable.

Ah. That settles it. The cards and monitors have those pins, but the 
cables I'm using do not, so I am using DVI-I signals on both monitors.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] mga 1600x1200 DVI [scanned]

2003-03-20 Thread Dr Andrew C Aitchison
On Thu, 20 Mar 2003, Thomas Winischhofer wrote:

 Ken Marx wrote:
   Right. Veit also pointed out this limitation. Perhaps it's
   *doable*, but just isn't supported? [EMAIL PROTECTED]
   claims to have it working under linux; I know I have 1600x1200
   working on 4.2.1 (Freebsd-4.7) for both the G400/550 on a
   the viewsonic vp230mb (at 56hz v-refresh).
 
 I have to clarify/correct my original post:
 
 Single Link is not directly limited as regards resolution, but clock 
 speed. Single link cards/cables have a max clock speed of 165Mhz. All 
 above this needs dual link.
 
 165Mhz should last for up to 1920x1080-60Hz or 1280x1024-85Hz.

Thanks for clarifying. On my other G550 I have a 1600x1024 monitor on what 
appears to be a single-link cable. If I switch from DVI-digital to 
DVI-analog *on the monitor* the picture goes away, so I was getting
very confused.
This is [EMAIL PROTECTED] with a 108MHz clock, well under the 165MHz limit.
 
  The monitor reports it's in 'digitial' in the onscreen displays.
  Plus, I'm using a (single link) DVI/D cable. I can't
  even force it to analog on that cable via DigitalScreen{,1,2} False.
  (Could it still be fooling me and doing analog somehow?)
 
 Don't think so.
 
  I really like your point about the dual-link card/cable.
  I may go get a dual-link cable and see if it has an effect
  on the Iiyama au4831d.
  (And/or if Dr.Aitchison could report on his cable?)

I have pins 123..678 in each row, ie I am missing a 2x3 block in the 
middle of an 8x3. I take it this is single-link.
My clock is 162MHz, which is just within the single-link limit.
Option NoDigitalScreen makes no difference, so maybe the option is
not available without mga_hal, and I am in fact using an analog signal.
I wouldn't trust the on screen display to report the signal type - it 
reports no signal - digital port or no signal - analog port when I 
switch to an input with no cable connected.
 
 Erm, I don't think this will help. Since Matrox always and everywhere 
 states that the maximum resolution is 1280x1024 the card is very 
 probably a single link card. Hence, a dual link cable will not help you 
 either.

I should probably stop thinking about what my G550 will do on my
SGI 1600SW+MLA. 1600x1024 seems to break all the rules.
 
  Lastly, how can I know if a card is dual/single link?
 
 Good question. Card manufacturers generally don't seem to like or use 
 these terms. Typically, they target on Windows users who think in 
 resolutions only.
 
  p.s. Re: Veit's question about 60hz vs 56hz: I'm sure.
  I went and double checked: at 60Hz I get a blank screen
  for 1600x1200 and see this in the log:
 
 Look at the dotclock. If it exceeds 165Mhz, the DVI connection very 
 probably will fail to be stable.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] mga 1600x1200 DVI

2003-03-19 Thread Dr Andrew C Aitchison
On Tue, 18 Mar 2003, Ken Marx wrote:

 Dr Andrew C Aitchison wrote:
  
  http://www.dpmms.cam.ac.uk/~werdna/xfree86-devel/xf86config.iiyama19TFT
  is my config for exactly that hardware under Red hat 8.0.
  1600x1200 works fine on the DVI port.
 
 Thanks. I've been playing around with this config.
 Adding (or not) extra modules that I was loading,
 and adding (or not) a Load drm to resolve some
 externals, I still get the same behavior as before.
 
 The only remaining salient difference I can see
 is a Load fbdevhw, which doesn't seem to exist
 for FreeBSD.
 
 Could that be why yours works and mine doesn't?

I suppose it is possible. I don't have fbdevhw
in the config for my other G550 attached to a 1600x1024 DVI monitor,
but that one does need the mga_hal_drv.o shipped by Matrox
(and the mga_drv.o shipped with Red Hat 8.0 doesn't support
mga_hal_drv.o - it needs a 4.3 version).

 If so, is there a way to get fbdevhw for FreeBSD?

No idea.

With the iiyama monitor I installed Red Hat 8.0, configured the
modeline and it just worked - I haven't needed to do anything else.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Intel845 / SyncMaster 191T / RH8.0 / XFree86 /Configuration

2003-03-19 Thread Dr Andrew C Aitchison
On Tue, 18 Mar 2003 [EMAIL PROTECTED] wrote:

 I've looked around through the archives but haven't found
 an answer to my problem, so I hope someone here has an answer.
 
 I'm installing RedHat 8.0 with Xfree 4.2.0-72 with an
 Intel 845G video card and a Samsung SyncMaster 191T screen.

The Intel 845G will work much better with XFree86 4.3.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] mga 1600x1200 DVI [scanned]

2003-03-19 Thread Dr Andrew C Aitchison
On Wed, 19 Mar 2003, Ken Marx wrote:

 p.s. Re: Veit's question about 60hz vs 56hz: I'm sure.
 I went and double checked: at 60Hz I get a blank screen
 for 1600x1200 and see this in the log:
 
   (WW) (1600x1200,ViewSonic LCD-23) mode clock 162MHz exceeds DDC maximum 160MHz
 
 This even with NoDDC, NoDDC1, NoDDC2.

I'm prepared to believe that vbeddc doesn't honour NoDDC in 4.2.
Option noVBE
or
Option noVBEDDC
might turn it off, but I'd have to grovel in obsolete code to be sure.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] mga 1600x1200 DVI

2003-03-18 Thread Dr Andrew C Aitchison
On Mon, 17 Mar 2003, Ken Marx wrote:

 Hi,
 
 FreeBSD 4.7-STABLE, Xfree86 4.3.
 Matrox G550, Iiyama AU4831D (DVI cable).
 
 Problem: X comes up with seemingly little/no
 complaints. But screen is blank (with no
 signal digital port message) in native
 1600x1200 resolution.

http://www.dpmms.cam.ac.uk/~werdna/xfree86-devel/xf86config.iiyama19TFT
is my config for exactly that hardware under Red hat 8.0.
1600x1200 works fine on the DVI port.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: DDC Atoms Xinerama

2003-03-17 Thread Dr Andrew C Aitchison
On 17 Mar 2003, Ben Guthro wrote:

 However, I'm still left with the dilemma of being unable to inventory
 all the monitors on the system. I realize that the network transarency
 schema says that in some instances this does not make sense to do.
 However, in Windows, Mac OS9, and OS X there is a mechanism to retrieve
 information on the monitors on the desktop (like each one's EDID), be it
 virtual or not. Is there no equivalent in X?

If you want to inventory all monitors connected to a machine,
ddcprobe (ships with Red Hat 8.0) should do that independently of X.
I suspect that it doesn't handle multiple monitors very well.

If you want to inventory the monitors on a desktop,
xprop -root 0x XFree86_DDC_EDID1_RAWDATA
should work even across the network.
However I haven't tried it on a dual head with two graphics cards.

I know that drivers for several dual head cards don't correctly return
the EDID info for both displays; do the other OSes you mention get this
right ?
What does EDID info even mean on a laptop display - my laptop BIOS
doesn't return  EDID info for the builting screen, but does return the
EDID from an external monitor if connected.

 (II) Loading sub module vbe
 (II) LoadModule: vbe
 (II) Loading /usr/X11R6/lib/modules/libvbe.a
 (II) Module vbe: vendor=The XFree86 Project
   compiled for 4.2.0, module version = 1.0.0
   ABI class: XFree86 Video Driver, version 0.5
 (II) Loading sub module int10
 (II) LoadModule: int10
 (II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
 (II) I810(1): initializing int10
 (EE) I810(1): Cannot read V_BIOS
 (II) I810(1): this driver cannot do DDC without VBE

This looks like a driver problem - does the DDC work if you
driver this card as a single head ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: DDC Atoms Xinerama

2003-03-17 Thread Dr Andrew C Aitchison
On 17 Mar 2003, Ben Guthro wrote:

  This looks like a driver problem - does the DDC work if you
  driver this card as a single head ?
 
 yes. When I remove the ATI Radeon 7500, the i810 correctly gets an EDID.

Do you get both EDIDs if you make the i810 the first head in your
XF86Config ?

---

I've hooked up a dual head system with two ATI cards (r128 and mach64)
and confirmed that
xprop -display :0.0 -root 8x XFree86_DDC_EDID1_RAWDATA
and
xprop -display :0.1 -root 8x XFree86_DDC_EDID1_RAWDATA
do report the correct EDID info for each monitor.

Of course this wont work for Xinerama, since that deliberately hides
the display distinction.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: Build failure on RedHat 6.2 - setjmp again

2003-03-14 Thread Dr Andrew C Aitchison
 Date: Thu, 13 Mar 2003 14:53:10 -0700 (MST)
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Build failure on RedHat 6.2 - setjmp again
 
 On Thu, 13 Mar 2003, Dr Andrew C Aitchison wrote:
 
  The setjmp changes on 2003/03/12 break build on Red Hat 6.2.
  It built fine the day before

Marc Aurele La France [EMAIL PROTECTED]
 
 OK.  `cvs update` and try again this now.

Thanks Marc, it works again now on Red Hat 6.2 (and still builds on RH8).

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: [XFree86] ATI Radeon 7500 PCI : complete lock up when DRI is on

2003-03-14 Thread Dr Andrew C Aitchison
On Thu, 13 Mar 2003, Philippe Moutarlier wrote:

 I have 2 cards : ATI 8500 DV AGP and ATI 7500 PCI running RH 8.0 and Xfree 
 from the HEAD as of today.
 
 - if I try to run the PCI card only with DRI loaded (glx+dri), the box gets 
 totally locked up and needs a hard reset. 
 In this last case, could it be that the driver is still trying to use AGP mode 
 to address the card ? Is there anyway to force PCI mode ? (I think I saw 
 that option at some point, cannot remember where ...) The log after reboot is 
 below (xfree_lock.log)

I've heard people talk about a PCI gart to replace agpgart for PCI cards.
It may now be integrated with agpgart - if not I can imagine problems
if you have both modules and both type of card.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Limit Xfree86 memory usage

2003-03-14 Thread Dr Andrew C Aitchison
On Fri, 14 Mar 2003, Branko Tanovic wrote:

 I am running an remote client stations (LTSP)
 I do not use SWAP on this station pecose there are
 netboots and i have to use NFS_SWAP from the server.
 
 Whats is the problem anyway
 On netboot clients I have only 32MB of ram and what
 happens is that when I work in X last say open
 lot of mozilla browsers.
 The Xfree86 mem usage starts to grow
 and finaly rich its limit and crash.
 The soulution to this is workourund use_the_nfs_swap
 but my booting is then slow and i do not wanna to use
 nfs_swap.
 
 Is there anyway how can stop my Xfree86 from using more
 memory (not to cache something in ram like fonts pixmap etc..)?
 and not crushing with out of use of nfs_swap.

I don't think there is anything you can do.

It sounds as though the memory is used up by the windows and 
pictures created by mozilla.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: DDC Atoms Xinerama

2003-03-13 Thread Dr Andrew C Aitchison
On 13 Mar 2003, Ben Guthro wrote:

 I am in the process of writing hardware / software monitor color
 calibration software for linux under Qt. In doing so, determining the
 monitor hardware that is currently running is quite paramount. The DDC
 seems to probe the monitors, then store this EDID data in an atom called
 XFree86_DDC_EDID1_RAWDATA
 
 While this method seems to work great in a single monitor environment, a
 Xinerama environment seems to be different. 
 
 Since there seems to be a shared Screen between the Xinerama displays -
 is this EDID data still stored somewhere?
 
 Though the full EDID data would be nice, ultimately, I merely need a way
 off accociating specific screen coordinates to a monitor Vendor / Model
 / serial number triplet
 
 Any insight into this matter would be greatly apprecated

Xcms is an existing industry standard color management scheme for X 
servers. It also uses atoms (such as XDCCC_LINEAR_RGB_MATRICES) to 
maintain state and make it available to applications/libraries.
See man xcmsdb for the way one implementation handles these atoms.
I haven't looked at the Xcms code for creating these atoms,
so I don't know whether it copes with Xinerama.
(I do have a program which can be used with xcmsdb to read
XFree86_DDC_EDID1_RAWDATA and create the XDCCC_ atoms, but
conventional wisdom is that the color data in many monitor EDIDs
is worse than using established defaults - and I've seen figures
to prove that).

Xinerama didn't exist when I wrote the code for the atoms
XFree86_DDC_EDID1_RAWDATA and XFree86_DDC_EDID2_RAWDATA,
and I've never got around to looking at what to do.

As you say, Xinerama presents a single screen, and thus properties
on a single root window, but there are multiple sets of EDID data to 
present. I've heard talk of ways of refering to the separate heads
for use in commands which take a display as argument, but I haven't
seen anything working.

With Xinerama, since a window may be moved between screens at any time
(or appear on more than one at the same time) it isn't really appropriate
for a client to ask about the monitor it is displayed on, but I can see
that it may be sensible for configuration type applications to have 
access to both sets of monitor information at the same time.


The X log file contains most of the EDID data (and I have a program
which can parse most of it) so that might be the easiest way to get
what you need.
I haven't tried very hard, but I can't remember ever seeing correct
EDID data for two monitors into the XFree86_DDC_EDID1_RAWDATA atoms
of a dual head setup, and I would definitely not like to rely on it
for a dual-head card.

Sorry I can't be very positive.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: [XFree86] Overly long startup?

2003-03-12 Thread Dr Andrew C Aitchison
On Tue, 11 Mar 2003, Ken Marx wrote:

 Hi.
 
 Thanks for the suggestion, but after playing with
 various placements (just in case your 'iirc' wasn't)
 of novbe and noddc, I still get the sporadic
 1-2 minute hangup described below. 

 Anyway, here's more or less what I found, for
 what it's worth (doing egrep -i 'ddc' of the logfile):
 
 WithOUT noddc or novbe set, or if
 noddc is in ServerFlags section:
 
 
 (II) Loading sub module ddc
 (II) LoadModule: ddc
 (II) Loading /usr/X11R6/lib/modules/libddc.a
 (II) Module ddc: vendor=The XFree86 Project
 (II) MGA(0): I2C bus DDC initialized.
 (II) MGA(0): I2C device DDC:ddc2 registered.
 (II) MGA(0): I2C device DDC:ddc2 removed.
 (II) MGA(0): I2C device DDC:ddc2 registered.
 (II) MGA(0): I2C device DDC:ddc2 removed.
 
 With noddc in Monitor or card's Device section:
 ---
 (II) Loading sub module ddc
 (II) LoadModule: ddc
 (II) Loading /usr/X11R6/lib/modules/libddc.a
 (II) Module ddc: vendor=The XFree86 Project
 (II) MGA(0): I2C bus DDC initialized. 
 (**) MGA(0): Option NoDDC
 (II) MGA(0): DDC Monitor info: 0x0
 (II) MGA(0): end of DDC Monitor info

So noDDC works in monitor or device sections. Good.
(The code prints the DDC info even if there is none, hence the two
DDC Monitor info lines).
 
 novbe:
 ---
 In Monitor, card's Device section:
 
 (WW) MGA(0): Option novbe is not used
 
 In ServerFlags section, no warning, but no
 diagnostic is given at all.

IIRC novbe is broken in 4.2.x
I may or may not have implemented a novbeddc at some point.

 I'm happy to try other ideas if anyone has
 any. Does nobody else see this in 4.2.1
 with dvi cards/monitor combinations? (esp., mga)

In 4.2.x novbe should make no difference, since the mga driver doesn't
use VBE for DDC at run time (it does use it with X -configure).
In 4.3 the mga driver tries vbe if ddc2 and ddc1 fail.

In DVI mode, my MGA G550 was slow to start, until I added
noDDC1 and noDDC2, but I don't remember trying noDDC.

However you say that even with noDDC you get the delay.

 My current headache is with a Matrox g400 and Iiyama AU4831D
 19 lcd (max 1600x1200) [BTW, has anyone seen this work
 in digital full res? I'd love to see a config for it].

A colleague has an Iiyama AU4831D working fine on the DVI port of
a Matrox G550, with the config at
http://www.dpmms.cam.ac.uk/~werdna/xfree86-devel/xf86config.iiyama19TFT

It isn't on my desk, so I haven't noticed whether it has the delay.

  
 (==) MGA(0): Write-combining range (0xe400,0x4000) was already clear
 (==) MGA(0): Write-combining range (0xe800,0x200)
 (==) MGA(0): Write-combining range (0xe500,0x80) was already clear
 (II) MGA(0): vgaHWGetIOBase: hwp-IOBase is 0x03d0, hwp-PIOOffset is 0x
 (==) MGA(0): Write-combining range (0xa,0x1) was already clear
 
 !   ...90-120+ second wait
 
 (--) MGA(0): 16 DWORD fifo
 (==) MGA(0): Default visual is TrueColor
 (II) MGA(0): Using 4042 lines for offscreen memory.
 (II) MGA(0): Using XFree86 Acceleration Architecture (XAA)
 Screen to screen bit blits
 Solid filled rectangles
 etc.

My logfiles have two vgaHWGetIOBase lines, but if there is nothing
missing in the 90-120 second wait that is after DDC happens.

(The two DVI monitors we have on G550 cards behave very differently,
the iiyama AU4831D works with the XFree86 shipped with Red Hat 8.0,
but my SGI 1600SW+MLA requires the matrox hal).

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: TV switch

2003-03-10 Thread Dr Andrew C Aitchison
On Mon, 10 Mar 2003, Lawrence Lee (Shanghai) wrote:

 Hi,all
   Does xfree86 provide interface about TV switching? I mean that the
 application can send some requests about TV , then  the Xserver receive them
 and delivery them to DDX driver. The driver can handle the hardware
 correspondingly. 

I believe that most (all?) TV input is done via video4linux.
xc/programs/Xserver/hw/xfree86/drivers/v4l/README
might be the place to start reading.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: [XFree86] XFree86 PPC on a PC Matrox Millenium II

2003-03-10 Thread Dr Andrew C Aitchison
On Mon, 10 Mar 2003, Neal Murphy wrote:

 Also, the MGA driver (correctly?) recognizes that it can't run acceleration
 on the MMII, but then usually hangs the system, whereas if I specify
 NoAccel, it starts up, most often with the afore-mentioned problems.

??? The MMII should have no problem with 2D acceleration, which is what 
NoAccel turns off. XFree86 doesn't do 3D (DRI) accel on the MMII, which
might be what it is saying. I disable it with
Option  DRI false

 
 I'd try Matrox's drivers, but they're only compiled for Intel (at least
 I haven't seen any PPC versions). And I'm not sure I have the patience
 to compile the kernel and all of X, then figure out where Matrox's
 source is supposed to go to be compiled, then compile all of X yet again
 all on this slow-ish 200MHz, 96MB Starmax...
 
 If it matters at all, I'm running Debian's 2.2.20-pmac kernel. I've tried
 their 2.4.19 kernel, but that one always boots up using the on-board
 video, even though OF tells it to use the MMII.
 
 Again, MacOS 9.x uses the MMII just fine.
 
 Any suggestions? Perhaps I'm too persistent and should simple drop the
 MMII into the circular file as 'not very well supported' and buy a new
 card that *is* well supported? Dump the Starmax and get a real computer?
 Thoughts?
 
 Thanks,
 Fest3er
 
 ___
 XFree86 mailing list
 [EMAIL PROTECTED]
 http://XFree86.Org/mailman/listinfo/xfree86
 

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Symbol xf86SetDDCproperties from module radeon_drv.o unresolved

2003-03-08 Thread Dr Andrew C Aitchison
On Sat, 8 Mar 2003, Mathey, Nicolas wrote:

 Hello,
 
 I've got a problem during lunching of my X, with a ATI Radeon Mobility M9
 Lf.
 Here is what I can see when i try to lunch X:
 
 Symbol xf86SetDDCproperties from module
 /usr/X11R6/lib/modules/drivers/radeon_drv.o is unresolved!

xf86SetDDCproperties should bve defined in the file
/usr/X11R6/lib/modules/libddc.a
which should be loaded without anything in the config file to request it.
Do you have that file ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: Multiple video consoles

2003-03-07 Thread Dr Andrew C Aitchison
On Fri, 7 Mar 2003, Sven Luther wrote:

 On Fri, Mar 07, 2003 at 12:31:18PM +, Dr Andrew C Aitchison wrote:
  On Fri, 7 Mar 2003, Sven Luther wrote:
  
   I don't really agree here, modes are for the outgoing resolution, not
   the input viewport. it would be far simpler to keep this simple
   acceptation, and add a new keyword for defining the input viewport.
  
  Have you looked at the Stretch option on say the NeoMagic driver ?
  I have a 1024x768 laptop display, and by default (ie unless I use
  option noStretch) all modes are stretched to fill the screen.
  Thus the modes (and modelines) describe the viewport size, not the
  output resolution.
 
 Interesting, i suppose the scaling is also done in the driver then, i will
 have a look at how it works when i get some free time.
 
 I wonder how the driver knows what the laptop display size is ? do you
 specify or does the monitor tell the driver about it with ddc ?

The driver gets it from the graphics chip.
DDC info on these systems comes from an external mointor if one is 
connected. DDC for the builtin screen does not exist.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: [XFree86] RedHat-8.0/ViewSonic/Intel 815 problem

2003-03-07 Thread Dr Andrew C Aitchison
On Thu, 6 Mar 2003, Jesse Burkhardt wrote:

 OK, I have made some progess.  I went to the Intel site and downloaded 
 the appropriate driver RPM for the 82815 CGC:
 
 xfcom_i810-1.2-3.i386.rpm

IIRC correctly that is an XFree86 v3.3.x *server* (dated 2000),
not an XFree86 v4.x driver.
 
 This took care of modes greater than 1024x768.  However, I am still 
 suffering from a horrible screen squiggle.  Any ideas about these 
 setting to effect relief?
 
 HorizSync30.0 - 115.0
 VertRefresh  50.0 - 160.0

Can you tell us more about your squiggle, and send the log file
(usually /var/log/XFree86.0.log, but may be /var/log/xdm.log
if you are using xdm with a v3.3 server) ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


RE: [XFree86] RedHat-8.0/ViewSonic/Intel 815 problem

2003-03-07 Thread Dr Andrew C Aitchison
 From: Jesse Burkhardt [mailto:[EMAIL PROTECTED]
 This took care of modes greater than 1024x768.  However, I am still 
 suffering from a horrible screen squiggle.  Any ideas about these 
 setting to effect relief?
 
 HorizSync30.0 - 115.0
 VertRefresh  50.0 - 160.0

On Thu, 6 Mar 2003, Grove, Darren V wrote:
 Your high end of the range for both Sync and Refresh rates seem high. I know
 it's monitor dependent but most monitors I've dealt with are on the order
 of...
 
 HorizSync 30.0 - 90.0 Hz
 VertRefresh   55.0 - 85.0 Hz

I've seen lots of low-medium spec monitor that support
VertRefresh up to 160, so I wouldn't worry about that.
HorizSync 115kHz does sound high, I'd try reducing it.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] RedHat-8.0/ViewSonic/Intel 815 problem

2003-03-06 Thread Dr Andrew C Aitchison
On Thu, 6 Mar 2003, Jesse Burkhardt wrote:

 Your suggestion to change the modes entry in the XF86Config, I had 
 already tried before posting this. Adding this option crashes my X 
 server. I will include the entire contents of  my XF86Config file below 
 (thanks anyway):

Sorry, I'd forgotten that my i815 machines have the config line
DacSpeed 230
in the Device Section of their config files; the i810 driver assumes
that the i815 is the same speed as the i810 unless you tell it otherwise.
The memory configuration of your motherboard may affect what value you
should use as this is describing how quickly the RAMdac part of 
the graphics chip can read system memory.

 Section Device
   # no known options
 #BusID
   Identifier  Intel 815
   Driver  i810
   VendorName  Intel 815
   BoardName   Intel 815
   VideoRam4096
 EndSection

Someone else did hint at this solution this morning, sorry for not 
remembering it first time around.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] [XFree86(TM) Bug Report] Problem with XFree86configuration

2003-03-05 Thread Dr Andrew C Aitchison
On Wed, 5 Mar 2003, Visotheary Riviere-Ung wrote:

 Regarding: Problem with XFree86 configuration
 Email: [EMAIL PROTECTED]
 
 XFree86 Version: XFree86-3.3.6-11

 [...] Config Error: /usr/X11R6/lib/X11/XF86Config
 Section ServerLayout
 not a recognised section

ServerLayout is a new feature in XFree86 4.0

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] [XFree86(TM) Bug Report] Cannot open x-window afterthe installation of redhat 8.0 connection graphic

2003-03-04 Thread Dr Andrew C Aitchison
On Tue, 4 Mar 2003, Lionel Lecoq wrote:

 This is not the first time this thing with XF86_S3 is mentioned within RH 8.0 
 problems, I believe
 it even appeared in the XF86Config of one of the people concerned. Which is why I 
 did not answer
 the mail (I would have said the same thing as Oisin)...  
 Has RH renamed something? Is there still an X 3.3.6 lurking in the background as 
 with RH 7.x?
 Lionel

I wonder if these are machines which have been upgraded to RH 8.0 ?
In previous versions Red Hat supplied both XFree86 v3 and XFree86 v4,
with the former using /etc/X11/XFree86 and the later using 
/etc/X11/XFree86-v4.
In RH 8.0 XFree86 v4 uses /etc/X11/XFree86, which might well refer
to XF86_S3 if the config hasn't been rebuilt (and it might well not be).

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Font server question

2003-03-03 Thread Dr Andrew C Aitchison
On Mon, 3 Mar 2003, Jesse Hutton wrote:

 My test scenario consists of enabling only these fontpaths in XF86Config-4
 and commenting out the local font servers unix/:7100 and unix/:7110 (I'm
 using XFree86-4.2.1-6 from debian unstable, btw):
 
 FontPath/usr/lib/X11/fonts/misc/:unscalled

:unscalled should probably be :unscaled like the other lines

 FontPath/usr/lib/X11/fonts/75dpi/:unscaled
 FontPath/usr/lib/X11/fonts/100dpi/:unscaled

 
 Another thing I noticed is that the fonts in Mozilla, my test application
 of choice, get uglier when I uncomment these two lines in XF86Config-4.
 
 #FontPath/usr/lib/X11/fonts/Type1
 #FontPath/usr/lib/X11/fonts/Speedo
 
 I've tried allowing xfs-xtt to serve up my TrueType and CID directories
 as well, but I get the same result--uglier fonts in Mozilla.  Is this just
 because those unscaled fonts in /misc, /75dpi, and /100dpi are cleaner
 under X, and when X is forced to use them only, everything looks good?
 I'm pretty confused.

I don't know what extra fonts you have in /misc but for the 
:unscaled versions of the standard fonts in those three directories
it shouldn't be possible to make anything else look better, nor
possible to make them look worse. I'm confused too, unless there
is a bug in xfs.

 And this gives me the best results I've been able to achieve so far.  But,
 I thought using xfs was a *good* thing to do, and that truetype fonts made
 things prettier...Does not using xfs hurt performance much in X?  Font
 gurus, please help.

Both the X server and Xfs are supposed to use the same font rendering
technologies (although there are many versions of each, and many options).

As I understand it, technically TrueType fonts aren't as good as Type1
fonts, but it is harder to code great Type1 font hints.
Bitmapped fonts (shipped in misc, 75dpi and 100dpi) with the :unscaled
option should always look at least as good as any scalable fonts,
but if the system ever scales them (try removing the :unscaled from the
config file) they can look awful.

Both TrueType and Type1 have hinting mechanisms; one or both is
covered by patents and FreeType is often compiled in a way that makes
the fonts look less good to avoid infringing the patent. If your font 
server uses FreeType compiled one way and your X server uses FreeType
the other way, that would make a big difference for some fonts.

If you have large fonts (think unicode) then your font mechnism will be 
slow to start; xfs allows this startup delay to be separated from
the X server startup. Beyond that I don't think there is aperformance 
difference.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Dual-head video card recommendations sought

2003-03-03 Thread Dr Andrew C Aitchison
On Mon, 3 Mar 2003, Nik Clayton wrote:

   Can someone recommend any video cards that fit the following criteria:
   
 * Has dual-head support
 * Can run each head at different resolutions / depths (1 head at
   1600x1200, 1 head at 1280x1024)
 * Supports mixed analogue / DVI output (1 head analogue, 1 head DVI)
 * Works with XFree86 (obviously)
   
   I'm planning on obtaining a TFT screen, and running it alongside my
   existing CRT, hence these requirements.
  
  The Matrox G550 does all this.
 
 Right.  I've done some research on this, and it turns out that it has (I
 think) a problem I hadn't anticipated (which is why it's not in the list
 of requirements above).
 
 If I understand http://www.matrox.com/mga/products/tech_info/g550_factsheet.cfm
 properly, the bit of the 2D  display features section that says:
 
 ---
 Max resolution (primary RGB monitor or analog flat panel) 2048x1536 @ 32bpp
 
 Max resolution (secondary RGB monitor, analog flat panel or TV) 1600x1200 @ 32bpp
 
 Max resolution (primary + secondary digital flat panel) 1280x1024 @ 32bpp
 ---
 
 means that I'll only be able to run the TFT at 1280x1024.  Since the
 TFT I've got my eye on as a native resolution of 1600x1200, this would
 be a bit of a waste.

I've got a G550 driving a flat panel at 1600x1200 via the DVI, and
another machine with a G550 driving a flat panel at 1600x1024 via DVI
and a flat panel at 1024x768 via the VGA output. All at 32bpp.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna



___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Re: [XFree86(TM) Bug Report] xcursorgen: No such fileor directory

2003-03-02 Thread Dr Andrew C Aitchison
On Sun, 2 Mar 2003, Charles Curley wrote:

  Question: are you expecting me to compile as root? 

  The make install phase includes some compilation, which I thought
  a bit odd.
 
 There are still some compilations going on during the installation
 phase.

Ah.
The make World must have failed - it does a make -k, so if one part fails
it keeps going.
Since some parts have failed, when you do make install as root, it tries
again; sometimes this rewrites bits that worked before, so effectively
chowning them to root.
The next time you try to run make World as an ordinary user, you
can't write to these files because the ownership has changed.

In summary, you should *not* need to build as root, but you do need to be 
root to install.

IIRC root does need write access on the build tree while doing make 
install, which is not ideal.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] does 4.3 have better matrox g550 support?

2003-03-01 Thread Dr Andrew C Aitchison
On Fri, 28 Feb 2003, B. Levin wrote:

 I have a dual dvi (special version, sort of) matrox g550.  many times when I
 startx it seems to hang for a minute and then you eventually get video.
 
 (not sure if its related or random but when I startx as root I -think- it
 starts faster, but I might be wrong.)
 
 and the startup time after a fresh coldstart seems to be different than a warm
 restart.  maybe there are some modes set in the card that cause confusion after
 X exits and restarts again, later on?
 
 at any rate, it seems that there's some vesa probing going on and it takes a
 long time to learn the modes before starting X.

There are 3 ways of trying to get the monitor info out of a G550.
With 4.2 the mga driver didn't actually try the third method when starting 
the server (it was only used by X -configure) so although 4.3 wont speed 
things up it will at least end up by getting the data.

With 4.2 or 4.3 try putting the following into *both* Device sections
of your config file:
Option noDDC1
Option noDDC2
In my experience these two don't provide info from DVI monitors,
so disabling them should speed things up without losing you anything.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] driver for ATI Xpert98 AGP under Xfree86 4.3?

2003-03-01 Thread Dr Andrew C Aitchison
On Fri, 28 Feb 2003, Reid Vail wrote:

 I have this older ATI card (Xpert 98 AGP) and am wondering if theATI 
 driver that runs under Xfree86 4.3 supports the AGP functionality?  The 
 Xfree86 site which references this seems pretty ambigious to me.  It 
 says it supports the Rage classd. But the old Xfree 3.3.6 looks more 
 comprehensive, but am not sure if I need to get that Xfree86 version loaded.

Use 4.3.
I'm not sure whether the 4.3 driver will use the extra functionality 
of the AGP bus, but if it doesn't 3.3.6 certainly wont.

I have an Xpert98 PCI and an Xpert99 AGP running with 4.2 and 4.3 -
I'm reasonable certain that 4.3 supports the Xpert98 AGP as well.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Dual-head video card recommendations sought

2003-03-01 Thread Dr Andrew C Aitchison
On Sat, 1 Mar 2003, Nik Clayton wrote:

 Can someone recommend any video cards that fit the following criteria:
 
   * Has dual-head support
   * Can run each head at different resolutions / depths (1 head at
 1600x1200, 1 head at 1280x1024)
   * Supports mixed analogue / DVI output (1 head analogue, 1 head DVI)
   * Works with XFree86 (obviously)
 
 I'm planning on obtaining a TFT screen, and running it alongside my
 existing CRT, hence these requirements.

The Matrox G550 does all this.

The open source purist might have a problem though;
I have tried 3 brands of monitor in DVI mode, and two of them
needed the binary mga_hal_drv.o (available on the CD that comes with the
G550). 
 
-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Top 10 list of Most Linux Friendly Video Card Vendors?

2003-02-28 Thread Dr Andrew C Aitchison
On Fri, 28 Feb 2003, Gideon Go wrote:

 Hi,
 
 I plan to upgrade my video card and wonder which vendor I should choose, 
 as I run a Linux-only system.  Is anyone aware of a nice overview of the 
 best supported cards?  I know about the Driver Status for XFree86[tm] 
 page, but it is still hard to pick the best one from that list.  (Ok, I 
 am a bit lazy at this point: in fact, ideally, I would just pick the top 
 one from a list such as mentioned in the subject line. ;-))

The most important point to remember is that graphics cards
are replaced by newer models about as fast as new XFree86
releases come out.

This means that it for a hassle free life, it is probably not a good
idea to buy the latest card.

IIRC, the nv driver in 4.3 attempts to solve this problem by 
supporting chips that haven't been released yet.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


date.def

2003-02-27 Thread Dr Andrew C Aitchison
xc/config/cf/Imakefile now refers to date.def, and xfree86.cf includes
it, but I can't find it in the latest CVS, nor can I find a rule which 
builds it on the fly.

Without this file make World does very little.

The Imakefile change appears to be before the 4.2 tag, so we may need
to add the file to both branches ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: date.def

2003-02-27 Thread Dr Andrew C Aitchison
On Thu, 27 Feb 2003, Alan Hourihane wrote:

 On Thu, Feb 27, 2003 at 12:55:21 +, Dr Andrew C Aitchison wrote:
  xc/config/cf/Imakefile now refers to date.def, and xfree86.cf includes
  it, but I can't find it in the latest CVS, nor can I find a rule which 
  builds it on the fly.
  
  Without this file make World does very little.
  
  The Imakefile change appears to be before the 4.2 tag, so we may need
  to add the file to both branches ?
 
 The rule to build it is in xc/Makefile.

Thanks.

It seems that my xc/Imakefile and xc/Makefile
are not being updated by cvs -q update -A -d in the directory
above xc, although I am successfully cvsup'ing xc/Imakefile,v

I cvsup collections
cvs-base/cvs
cvs-src/cvs
and
xc-all/cvs
Am I missing something to control the bootstrap ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: [XFree86] Mouse repeater annoyance

2003-02-27 Thread Dr Andrew C Aitchison
On Thu, 27 Feb 2003, Dr Andrew C Aitchison wrote:

 Log file available at 
 http://www.dpmms.cam.ac.uk/~werdna/free86-devel/log.debug.mouse.delay

Sorry, 
  http://www.dpmms.cam.ac.uk/~werdna/xfree86-devel/log.debug.mouse.delay
  ^
-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: Multiple video consoles

2003-02-26 Thread Dr Andrew C Aitchison
On Wed, 26 Feb 2003, Yitzhak Bar Geva wrote:

 What is the status of simultaneous multiple video console operation for
 full multiuser X on one machine?

Someone reported that X works with the multi-head console  support
in Linux 2.5 kernels.

As far as I am concerned, that is the right way to go:
get multi-heads working on the console, then run X on top of that.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: [XFree86] Mouse repeater annoyance

2003-02-26 Thread Dr Andrew C Aitchison
On Wed, 26 Feb 2003, Peter Berg Larsen wrote:

 I am currently using RC2 (upgraded yesterday from 4.2.1) and is irritated
 by a 8-9 second freeze of X when switching to X from the console. This
 seems to happen because X is set to use a mouse repeater (that does not
 respond to commands), combined with that X resets the mouse when swithing
 to X from the console. This (long) freeze did not happen in 4.2.1, but
 probably changed with these:

I have the same long freeze, but am not, as far as I am aware, using a 
repeater. I do have two mice, which doubles the delay.

 Why reset the mouse when switching to X in the first place ? How
 can it be turned off? (It can't if I have read the code correct, so the
 actual question is whether it is to late to do anything about it)

It isn't so much turning it off, but while the X server is switched
away, something else may have put the mouse into some other state;
eg most wheel mice can speak either PS/2 or IMPS/2.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna


___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] vgaHWLock(), vgaHWUnlock()

2003-02-25 Thread Dr Andrew C Aitchison
On Mon, 24 Feb 2003, Marc Aurele La France wrote:

 On 24 Feb 2003, Nat Ersoz wrote:
 
  While tracking down a bug, I encoutered these functions in:
  programs/Xserver/hw/xfree86/vgahw/vgaHW.c:
 
  void vgaHWLock(vgaHWPtr hwp)
  {
  /* Protect CRTC[0-7] */
  hwp-writeCrtc(hwp, 0x11, hwp-readCrtc(hwp, 0x11)  ~0x80);
  }
 
  void vgaHWUnlock(vgaHWPtr hwp)
  {
  /* Unprotect CRTC[0-7] */
   hwp-writeCrtc(hwp, 0x11, hwp-readCrtc(hwp, 0x11) | 0x80);
  }
 
  Every reference I can find on the sbuject, (specifically Ferraro's book,
  3rd ed, along with many HTML references) indicate that this logic is
  reversed.  That is, for CRTC reg 0x11 bit 7: 1=disable, 0=enable writing
  to CRTC regs[0-7].
 
  Comments?
 
 You are absolutely correct.  I've just committed a change to correct this.
 Thanks for pointing out the problem.

Is it safe to do that this close to a release ?
There could be bugs that didn't get a chance to do anything because
the hardware was locked.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Linux drivers for SGI 1600SW flat panel

2003-02-25 Thread Dr Andrew C Aitchison
On Tue, 25 Feb 2003, sean fatourchi wrote:

 Hello,
 I am new to Linux. I was wondering if any of you good people has
 successfully configured Number Nine Revolution 4 video card to work with
 SliconGraphics 1600sw flat panel lcd ? If so I would appreciate it if you
 can tell me how.

This is from the config file on a machine I have with that hardware:
---
Section Monitor
Identifier   SG panel
VendorName   Silicon Graphics
ModelName1600SW 

HorizSync   27.0-96.0   # kHz
VertRefresh 29-31, 50.0-80.0, 119-124   # Hz

Option  DPMS

# From http://www.xfree86.org/3.3.6/I1284.html
Modeline 1600x1024d32 103.125 1600 1600 1656 1664 1024 1024 1029 1030 HSkew 7 +Hsync 
+Vsync
Modeline 1600x1024d16 103.125 1600 1600 1656 1664 1024 1024 1029 1030 HSkew 5 +Hsync 
+Vsync
Modeline 1600x1024d08 103.125 1600 1600 1656 1664 1024 1024 1029 1030 HSkew 1 +Hsync 
+Vsync
Modeline 800x512d32 54.375 800 800 840 848 512 512 514 515 HSkew 7 DoubleScan +Hsync 
+Vsync
Modeline 800x512d16 54.375 800 800 840 848 512 512 514 515 HSkew 5 DoubleScan +Hsync 
+Vsync
Modeline 800x512d08 54.375 800 800 840 848 512 512 514 515 HSkew 1 DoubleScan +Hsync 
+Vsync

# 1600x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 136.36 MHz
Modeline 1600x1024_60.00  136.36  1600 1704 1872 2144  1024 1025 1028 
1060  -HSync +Vsync

Modeline 1600x2048d32i 103.125 1600 1600 1656 1664 2048 2048 2058 2059 
HSkew 7 Interlace +Hsync +Vsync
Modeline 1600x2048d32  103.125 1600 1600 1656 1664 2048 2048 2058 2059 
HSkew 7 +Hsync +Vsync

EndSection

Section Device
# Option Debug
Identifier  Card0
Driver  i128
VendorName  Number Nine
BoardName   Imagine 128 T2R4
# BusID   PCI:2:0:0
EndSection
Section Screen
Identifier Screen0
Device Card0
MonitorSG panel
DefaultColorDepth 24
SubSection Display
Depth 24
Modes   1600x1024d32 800x512d32
EndSubSection
EndSection
---


-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] DisplaySize ignored

2003-02-23 Thread Dr Andrew C Aitchison
On Mon, 24 Feb 2003, Russell Shaw wrote:

 In XF86Config-4, i have the display set to 31.2cm wide:
 
 Section Monitor
   Identifier  Philips
   VendorName  Philips
   ModelName   C20 (CM0500)
   HorizSync   31.5,35.2,37.8,48,56,64
   DisplaySize 312 234
   VertRefresh 50-90
   Option  DPMS
   Gamma   2.4 2.5 2.6
 EndSection

 When the default vesa mode of 1024x768 is started,
 XFree86.0.log says that the resolution is set at 100dpi
 when it should be 83dpi 25.4*(1024/312). This is an analog
 monitor.

 (++) NV(0): DPI set to (100, 100)

(++) Means that the DPI was set on the command line with something like
startx -- -dpi 100
Perhaps xdm/xdm or gdm does this for you ?
The command line overrides the config file and the config file overrides
what is probed via DDC.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] where is /usr/bin/cc being set?

2003-02-23 Thread Dr Andrew C Aitchison
On Sat, 22 Feb 2003, Fred Heitkamp wrote:

 I get the message
 sh: line 1: /usr/bin/cc: No such file or directory when
 I run make World.
 
 Where in the xfree tree is this /usr/bin/cc being set?
 I searched and grepped around the source tree but I can't
 seem to find where it is.  Thanks!

Possibly
xc/config/cf/Makefile
unless it is being overridden by one of the other xc/config/cf/* files.
Look for definitions of CC.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] Attempting to multihead with Matrox G550 + 2xG450PCI

2003-02-22 Thread Dr Andrew C Aitchison
On Sat, 22 Feb 2003, Gary Whitehead wrote:

 Hi,
 
 I have been battling with this for a while, and it is now time to look for 
 some help.  XF86Config, dmesg, /proc/pci and X -verbose o/p appended to the 
 end of the mail.


 Anyone have any good ideas...

You don't mention that you tried Option noDDC.
Don't see why it should help, but some people claim it causes problems.

I remembering someone claiming that we didn't handle lots of PCI buses 
very well at one time; could it be related to that rather than the mga 
driver.

 (--) MGA(0): BIOS at 0xFC7C
 (--) MGA(0): Video BIOS info block at offset 0x07CE0
 (WW) MGA(0): Video BIOS info block not detected!

 (--) MGA(1): BIOS at 0xFFFE
 (--) MGA(1): Video BIOS info block at offset 0x07CE0
 (WW) MGA(1): Video BIOS info block not detected!

 (--) MGA(2): BIOS at 0xFFFE
 (--) MGA(2): Video BIOS info block at offset 0x07CE0
 (WW) MGA(2): Video BIOS info block not detected!

Video BIOS info block not detected! isn't usually fatal, but it
isn't a good sign.
I don't know whether having two VB blocks at the same address is
a problem, or whether they are in different address spaces.
I don't see any mention of success with just two cards;
it might be worth trying without one of the clashing cards.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna




___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: I'm stuck: font-related crash with current CVS

2003-02-20 Thread Dr Andrew C Aitchison
On Thu, 20 Feb 2003, Egbert Eich wrote:

 Guys, please bear with me: why do we need this typedef for
 xf86jmp_buf at all? This buffer is normally allocated with 
 something like:
 
 buf = malloc(sizeof(jmp_buf));
 
 When setjmp.h is included this size is known at compile time.
 We'd just have to get rid of the defines for xf86jmp_buf
 in xf86_libc.h (as well as the defines for xf86set/longjmp)
 and everything should be OK. The the alias isn't needed either.

I may not know what I'm talking about.

I thought that the problem was that modules are supposed to work
across operating system and compiler, so the compile-time size
might not be big enough when the module is run on a different system.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel



RE: [XFree86] Sis 650GL

2003-02-20 Thread Dr Andrew C Aitchison
On Thu, 20 Feb 2003, Gustav H Meyer wrote:

  -Original Message-
  From: Hanro Viviers [mailto:[EMAIL PROTECTED]]
  Sent: 20 February 2003 10:26 AM
  To: [EMAIL PROTECTED]
  Subject: [XFree86] Sis 650GL
  
  
  Hi I am in need of help with a Sis 650GL onboard chipset. Driver etc.
  
  I am a bit lost being a newbie but determined to make a success of
  Linux.
  

 Have the same problem... Have not had the time to test this yet but try the
 following:
 Use Internet Explorer (because of ASP pages) to go to the following link:
 http://downloadfinder.intel.com/scripts-df/support_intel.asp

 Netscape 7 can handle that page.

 Move your mouse onto Graphics and select your system (Intel® 82845G Graphics
 Controller). Choose Linux as your OS. Donwload the Intel(R) Extreme Graphics
 - Linux* [i830-20030120-i386-Linux.tar.gz] driver and follow the
 instructions in the Readme.

How will that help Hanro ? His chip is from SIS, not Intel ?
Or have I missed something about a collaboration between SIS and Intel ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86



Software cursors - was RE: FW: [Xpert]2 mice - 2 pointer ?!?

2003-02-19 Thread Dr Andrew C Aitchison
On Wed, 19 Feb 2003, Rob Taylor wrote:

 XFree86 still has framework for soft cursors, no?

The framework yes, but drivers seem to have problems with DRI and XV
and software cursurs, and seem to be trying to disable software cursors.

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel



  1   2   3   4   5   >