Re: IPv6 problems on Linux

2003-07-23 Thread Andrew C Aitchison
On Tue, 22 Jul 2003, Alan Coopersmith wrote:

 Egbert Eich wrote:
  When I switch the order of initialization around and skip the IPv4
  protocol if IPv6 initialization was successful, everything works: 
  I can connect thru IPv6 and IPv4. 
 
 This was one of the patches suggested to the X.org IPv6 review which
 we declined to include in our patch set, but which got checked into
 the XFree86 CVS anyway.   We were told that separately binding to both is
 the usual habit on OpenBSD, while simply binding to IPv6 and letting it
 handle both was the way we coded it to work, and had it working on both
 Solaris and Linux.

The source code for exim, a mail transport agent which supports IPv6
on a significant number of platforms, contains the following comment
(in src/daemon.c):

 /* Otherwise we set up things to listen on all interfaces. In an IPv4 world,
 this is just a single, empty address. On systems with IPv6, several different
 implementation approaches have been taken. This code is now supposed to work
 with all of them. The point of difference is whether an IPv6 socket that is
 listening on all interfaces will receive incoming IPv4 calls or not.

 . On Solaris, an IPv6 socket will accept IPv4 calls, and give them as mapped
   addresses. However, if an IPv4 socket is also listening on all interfaces,
   calls are directed to the appropriate socket.

 . On (some versions of) Linux, an IPv6 socket will accept IPv4 calls, and
   give them as mapped addresses, but an attempt also to listen on an IPv4
   socket on all interfaces causes an error.

 . On OpenBSD, an IPv6 socket will not accept IPv4 calls. You have to set up
   two sockets if you want to accept both kinds of call.

 . FreeBSD is like OpenBSD, but it has the IPV6_V6ONLY socket option, which
   can be turned off, to make it behave like the versions of Linux described
   above.

 . I heard a report that the USAGI IPv6 stack for Linux has implemented
   IPV6_V6ONLY.

So, what we do is as follows:

 (1) At this point we set up two addresses, one containing : to indicate
 an IPv6 wildcard address, and an empty one to indicate an IPv4 wildcard
 address.

 (2) Later, when we create the IPv6 socket, we set IPV6_V6ONLY if that option
 is defined.

 (3) We listen on the v6 socket first. If that fails, there is a serious
 error.

 (4) We listen on the v4 socket second. If that fails with the error
 EADDRINUSE, assume we are in the situation where just a single socket is
 permitted, and ignore the error. */


---
I'm suprised at how broken the X.Org IPv6 code has proven.

-- 
Andrew C Aitchison

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


X KeyRelease problem

2003-07-23 Thread David Snyder
Hello all,

I'll try to make this short and to the point, but I can't promise 
anything.  If someone on this list thinks this question shouldn't be on 
this list, let me know, and I'll drop it.  Thanks.

The problem concerns my tweaking of a window manager (evilwm).  Now, I 
don't want everyone to go off on a 'my window manager is better than 
yours' rant -- my question has to do the way X handles a key release. 
Now, the thing I'm trying to do is make the cycling through the windows 
re-order themselves after all the Alt+Tab's have done (kinda like 
Windows).  The reason I want to do this, is that it's a major pain in 
the arse to cycle through all the windows to get to the one I want. 
Plus, if I want to flip through two in quick succession, I don't want to 
have to cycle through _all_ the rest to get to the one I want.  Just a 
little background here, but as you may guess, the window list is in a 
linked-list format.  Which means that the you go through the list 
whenever you go through the windows linked-list with Alt+Tab. 
Basically, what I want to do is re-order the list when the Alt and Tab 
are released.

Now, my problem is that X isn't notifying the program, evilwm, that the 
Alt key has been released.  What I do is, at the first Tab KeyPress, I 
grab the Alt key with:

XGrabKey(dpy, XKeysymToKeycode(dpy, \
XK_Alt_L), AnyModifier, \
screens[0].root, False, \
GrabModeAsync, GrabModeAsync);
Then at the Alt KeyRelease event, I ungrab the Alt key.  Pretty easy, 
right?  However, the Alt KeyRelease isn't always sent (sometimes it is, 
with particular combinations of Alt+Tab which I won't go into, but 
usually not).  I've been able to work around part of the problem. 
Whenever another KeyPress comes in, I see if it's _not_ Tab and if the 
Alt has been grabbed, then I ungrab the Alt key, re-order the windows, 
and XTEST the key again.  That seems to handle the major problem. 
However, that just leaves me with a thornier one.  If the user wants to 
flip back and forth between windows, they'll come back with a Alt+Tab 
combo.  This means the above work-around _doesn't_ work.  The Alt won't 
be released, the windows won't be re-ordered, and the XTEST doesn't get 
sent.  So my questions are:

1) Why doesn't X send the Alt KeyRelease?  And how can I (without 
changing the X server) get it to?  Is my GrabKey incorrect?  Do I have 
to redo the key repeat setting for the Alt key?  BTW, this 
non-KeyRelease sending on Alt release happens on Slack9.0 (X ver. 4.3.0) 
and OpenBSD 3.2 (X ver. 4.2.1), so I'd say it's not an OS-specific prob.

2) If someone knows a window manager which does window re-ordering on 
the X level (KDE and Gnome are too abstracted from X to help me) after 
window switching, I'd like to know it.  I've take a look at weewm, aewm, 
and many others besides, so if you've got any suggestions, I'd be glad 
to hear'em.

BTW, if there's anything that'll help you help me figure this out, I'll 
be glad to get it to you.

Thanks.

David

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


Re: IPv6 problems on Linux

2003-07-23 Thread Matthias Scheler
On Wed, Jul 23, 2003 at 07:38:11AM +0100, Andrew C Aitchison wrote:
 So, what we do is as follows:
 
  (1) At this point we set up two addresses, one containing : to indicate
  an IPv6 wildcard address, ...

That should read ::.

  (2) Later, when we create the IPv6 socket, we set IPV6_V6ONLY if that option
  is defined.

That's not really necessary because ...

  (4) We listen on the v4 socket second. If that fails with the error
  EADDRINUSE, assume we are in the situation where just a single socket is
  permitted, and ignore the error. */

... of this.

Kind regards

-- 
Matthias Scheler  http://scheler.de/~matthias/
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: IPv6 problems on Linux

2003-07-23 Thread Egbert Eich
Matthias Scheler writes:
  On Tue, Jul 22, 2003 at 09:14:08PM +0200, Egbert Eich wrote:
   As I tried to explain binding to an IPv6 socket implicitely binds to
   an IPv4 socket.
  
  That's a bug.
  
According to what I've heared it is intended and 
therefore considered a feature.
I'm not going to argue about this, I just observed
this behavior.

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


Re: IPv6 problems on Linux

2003-07-23 Thread Egbert Eich
Fabio Massimo Di Nitto writes:
  On Tue, 22 Jul 2003, Matthias Scheler wrote:
  
   On Tue, Jul 22, 2003 at 08:03:35PM +0200, Egbert Eich wrote:
The current CVS code produces the error:
   
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
   
Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already 
running
   
bind() returns an EADDRINUSE error when binding to the second IP
protocol (in CVS it is IPv6).
   
When I switch the order of initialization around and skip the IPv4
protocol if IPv6 initialization was successful, everything works:
I can connect thru IPv6 and IPv4.
  
   This sounds like a bug in Linux's socket implementation.
  
  Not really. Linux has been always working like this. the USAGI patch for
  linux kernel implements a runtime configurable option to separate ipv6 and
  ipv4 bindings.


Something like:

int off = 0;
 [...]
if (setsockopt(listen_socket, IPPROTO_IPV6, IPV6_V6ONLY, off,
sizeof (off))  0) {

? 
This of course would help, however it wouldn't address the problem on
the existing systems.

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


Re: IPv6 problems on Linux

2003-07-23 Thread Egbert Eich
Matthias Scheler writes:
  
  I wasn't suggesting to use it on Linux. My suggestion was to revert to
  using a single socket on all platforms and use the above code to enable
  accepting IPv4 connections on *BSD.
  

Yes, I understand. I was just looking for a decend way of making
things work on Linux.

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


Frame rate

2003-07-23 Thread Nitin Mahajan
Hello !
Can any one please tell me,how will I measure the frame rate in this
case.
How will I test my driver for the frame rate?
Regards
Nitin

-Original Message-
From: Nitin Mahajan 
Sent: Wednesday, July 23, 2003 8:41 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Driver for 69030


Hello Everyone!
Thank u so much for replying.

1.I meant the chips and technnologies 69030.

2.When I say a frame rate of 30fps is required,that means I want to
play the MPEG4 software decoded movies at the rate of 30fps and at
present Iam getting RGB(24 bpp) as the input.I should be able to display
on screen 30fps. My question was can I get this rate with the help of
BitBLT alone(which has a limitation of 64K)or I don't have any other
alternative other than programming the multimedia engine which takes YUV
or 16bit RGB as input.

Please write if  more clarification is needed from my side.
I again very much thankful to the gentlemen who replied so fast to the
mail. Waiting to hear from u , Regards,

Nitin Mahajan
mail:[EMAIL PROTECTED]
Ph:51101667. Mobile : 9886099925 ==
The Lord gave us two ends -- one to sit on and the other to think with.
Success depends on which one we use the most.


-Original Message-
From: Egbert Eich [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2003 12:52 AM
To: Tim Roberts
Cc: [EMAIL PROTECTED]
Subject: Re: Driver for 69030


Yes, I'm sure the posting refers to a ChipsTechnologies 69030. This is
already supported in 4.3, including video playback. Capture isn't
supported as I never had anything to test it with.

I would have replied to the original email if I had been able to
understand it better.

Egbert.


Tim Roberts writes:
  On Tue, 22 Jul 2003 10:27:44 +0530, Nitin Mahajan wrote:
  
   Hello Everyone!
  
   Iam writing a driver for 69030 card.
   I have to support CIF and QCIF formats.
  
  WHICH 69030?  Surely you must realize that chip numbers are not
unique 
  industry-wide.
  
  If you are talking about the Asiliant 69030, are you aware that a
Linux 
  driver already exists?  It is a renamed version of the old Chips  
  Technologies 65550, which was supported in XFree86 3.x.
  
 http://www.humboldt.co.uk/matc.html
  
  1. The format says that a frame rate of 30fps is required for both.
  
  2.Each frame should have
 a. 144 lines and 176 pixels/line for QCIF.
 b. 288 lines and 352 pixels/line for CIF.
   
  Now my interpretation is that the second point above refers to the
frame   size and the driver implementation (video modes)has nothing to
do with it.   Is this interpretation of mine is correct?   
  I doubt it, but I'm confused by your mixing of graphics and video.
When you 
  say a frame rate of 30fps is required, what are you talking about?
Do you 
  mean video coming in through the zoom video port?  Or are you talking
about 
  ordinary software-decoded movies?  Tells us WHAT you have to support
at 
  30fps, and perhaps we can offer suggestions.
  
  Second question is that, how do I achive the frame rate of 30fps?  

  30fps for what?
  
  I have
  programmed the BitBLT engine for the card,but that also puts only
64Kb data   on screen in on shot,so always I need to divide the Image
into 64KB parts.   
  Are you talking about system-memory-to-video-memory transfers?  I'm
surprised 
  to hear there is a 64K limitation in any relatively modern graphics
card.  
  Are you sure about that?
  
  --
  - Tim Roberts, [EMAIL PROTECTED]
Providenza  Boekelheide, Inc.
  
  
  ___
  Devel mailing list
  [EMAIL PROTECTED]
  http://XFree86.Org/mailman/listinfo/devel
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel
Scanned by SecureSynergy VirusScreen Service. 
For more information log on to : http://www.securesynergyonline.com or 
http://www.securesynergy.com

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


Forwarded from Jun-ichiro itojun Hagino: Re: IPv6 problems on Linux

2003-07-23 Thread Matthieu Herrb
---BeginMessage---
(todd and matthieu, if this does not go through please forward it)

I wasn't suggesting to use it on Linux. My suggestion was to revert to
using a single socket on all platforms and use the above code to enable
accepting IPv4 connections on *BSD.

there is security risk in using single socket, as outlined in
draft-cmetz-v6ops-v4mapped-api-harmful-00.txt
draft-itojun-v6ops-v4mapped-harmful-01.txt
therefore, there are platforms which does not have IPV6_V6ONLY sysctl,
and there are platforms which does not work at all with single socket
(IPv4 packet does not get routed to IPv6).

therefore, i suggest
- on all platforms try to open 2 sockets, AF_INET6 then AF_INET
- ignore error from socket(2) and bind(2) on both cases
- raise error only if both attempt fails

by doing this,
- userland code works with IPv4-only kernel, IPv6-only kernel or
  IPv4/v6 dual stack kernel (independence from kernel configuration)
- with linux IPv4/v6 dual stack case, it will use single AF_INET6
  socket (with security risk described above)
- other platforms should work with two sockets

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


Re: IPv6 problems on Linux

2003-07-23 Thread Fabio Massimo Di Nitto
On Wed, 23 Jul 2003, Egbert Eich wrote:

 Fabio Massimo Di Nitto writes:
   On Tue, 22 Jul 2003, Matthias Scheler wrote:
  
On Tue, Jul 22, 2003 at 08:03:35PM +0200, Egbert Eich wrote:
 The current CVS code produces the error:

 _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
 _XSERVTransMakeAllCOTSServerListeners: server already running

 Fatal server error:
 Cannot establish any listening sockets - Make sure an X server isn't already 
 running

 bind() returns an EADDRINUSE error when binding to the second IP
 protocol (in CVS it is IPv6).

 When I switch the order of initialization around and skip the IPv4
 protocol if IPv6 initialization was successful, everything works:
 I can connect thru IPv6 and IPv4.
   
This sounds like a bug in Linux's socket implementation.
  
   Not really. Linux has been always working like this. the USAGI patch for
   linux kernel implements a runtime configurable option to separate ipv6 and
   ipv4 bindings.


 Something like:

   int off = 0;
  [...]
   if (setsockopt(listen_socket, IPPROTO_IPV6, IPV6_V6ONLY, off,
   sizeof (off))  0) {

 ?
 This of course would help, however it wouldn't address the problem on
 the existing systems.


I didn't check/produce any code but the easiest way to implement in linux
is something like (if the user does not specify --nolisten):

bind to ipv6
if it works ok
otherwise fail silently
bind to ipv4
if it works ok
otherwise fail with error message.

specifing --nolisten the fail conditions might change their behaviour.

This is basically what i did when i first tried the ipv6 kame patch for X.

Fabio

-- 
Our mission: make IPv6 the default IP protocol
We are on a mission from God - Elwood Blues

http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp4.html
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: IPv6 problems on Linux

2003-07-23 Thread Egbert Eich

I've made the patch below which takes care of the problem for me.
I have tried several different versions, I didn't really like any
of them. 
This code is one of the rare pieces of code that is rather well
structured and relatively free of any ugly hacks. This fix makes
it a lot uglier, what I particularly don't like is that it now
depends on the order in which the listeners for the different 
protocols are created.

I've tried several different solutions including the use if
getaddrinfo(), everything made this code more ugly.

Any better solutions are welcome. If there are none, I'll commit this
code.

Egbert.

Index: Xtrans.c
===
RCS file: /home/x-cvs/xc/lib/xtrans/Xtrans.c,v
retrieving revision 3.31
diff -u -w -r3.31 Xtrans.c
--- Xtrans.c20 Jul 2003 16:12:15 -  3.31
+++ Xtrans.c23 Jul 2003 13:35:40 -
@@ -90,10 +90,10 @@
 #endif /* STREAMSCONN */
 #if defined(TCPCONN)
 { TRANS(SocketTCPFuncs),  TRANS_SOCKET_TCP_INDEX },
-{ TRANS(SocketINETFuncs), TRANS_SOCKET_INET_INDEX },
 #if defined(IPv6)  defined(AF_INET6)
 { TRANS(SocketINET6Funcs),TRANS_SOCKET_INET6_INDEX },
 #endif /* IPv6 */
+{ TRANS(SocketINETFuncs), TRANS_SOCKET_INET_INDEX },
 #endif /* TCPCONN */
 #if defined(DNETCONN)
 { TRANS(DNETFuncs),   TRANS_DNET_INDEX },
@@ -768,10 +768,10 @@
 #ifdef TRANS_SERVER
 
 int
-TRANS(CreateListener) (XtransConnInfo ciptr, char *port)
+TRANS(CreateListener) (XtransConnInfo ciptr, char *port, unsigned int flags)
 
 {
-return ciptr-transptr-CreateListener (ciptr, port);
+return ciptr-transptr-CreateListener (ciptr, port, flags);
 }
 
 int
@@ -1037,6 +1037,9 @@
 char   buffer[256]; /* ??? What size ?? */
 XtransConnInfo ciptr, temp_ciptrs[NUMTRANS];
 intstatus, i, j;
+#if defined (linux)  defined(IPv6)  defined(AF_INET6)
+Bool   ipv6_succ = FALSE;
+#endif
 
 PRMSG (2,MakeAllCOTSServerListeners(%s,%p)\n,
   port ? port : NULL, ciptrs_ret, 0);
@@ -1046,6 +1049,7 @@
 for (i = 0; i  NUMTRANS; i++)
 {
Xtransport *trans = Xtransports[i].transport;
+   unsigned int flags = 0;
 
if (trans-flagsTRANS_ALIAS || trans-flagsTRANS_NOLISTEN)
continue;
@@ -1065,8 +1069,13 @@
  trans-TransName, 0, 0);
continue;
}
+#if defined (linux)  defined(IPv6)  defined(AF_INET6)
+   if ((Xtransports[i].transport_id == TRANS_SOCKET_INET_INDEX
+ ipv6_succ))
+   flags |= ADDR_IN_USE_ALLOWED;
+#endif
 
-   if ((status = TRANS(CreateListener (ciptr, port)))  0)
+   if ((status = TRANS(CreateListener (ciptr, port, flags)))  0)
{
if (status == TRANS_ADDR_IN_USE)
{
@@ -1098,6 +1107,11 @@
}
}
 
+#if defined (linux)  defined(IPv6)  defined(AF_INET6)
+   if (Xtransports[i].transport_id == TRANS_SOCKET_INET6_INDEX)
+   ipv6_succ = TRUE;
+#endif
+   
PRMSG (5,
  MakeAllCOTSServerListeners: opened listener for %s, %d\n,
  trans-TransName, ciptr-fd, 0);
@@ -1165,7 +1179,7 @@
continue;
}
 
-   if ((status = TRANS(CreateListener (ciptr, port)))  0)
+   if ((status = TRANS(CreateListener (ciptr, port, 0)))  0)
{
if (status == TRANS_ADDR_IN_USE)
{
Index: Xtrans.h
===
RCS file: /home/x-cvs/xc/lib/xtrans/Xtrans.h,v
retrieving revision 3.21
diff -u -w -r3.21 Xtrans.h
--- Xtrans.h20 Jul 2003 16:12:15 -  3.21
+++ Xtrans.h23 Jul 2003 13:35:41 -
@@ -339,7 +339,8 @@
 
 int TRANS(CreateListener)(
 XtransConnInfo,/* ciptr */
-char * /* port */
+char *,/* port */
+unsigned int   /* flags */
 );
 
 int TRANS(NoListen) (
Index: Xtransint.h
===
RCS file: /home/x-cvs/xc/lib/xtrans/Xtransint.h,v
retrieving revision 3.35
diff -u -w -r3.35 Xtransint.h
--- Xtransint.h 26 Nov 2002 01:12:30 -  3.35
+++ Xtransint.h 23 Jul 2003 13:35:41 -
@@ -26,7 +26,7 @@
 from The Open Group.
 
 */
-/* $XFree86: xc/lib/xtrans/Xtransint.h,v 3.35 2002/11/26 01:12:30 dawes Exp $ */
+/* $XFree86: xc/lib/xtrans/Xtransint.h,v 3.34 2002/11/20 23:00:36 dawes Exp $ */
 
 /* Copyright 1993, 1994 NCR Corporation - Dayton, Ohio, USA
  *
@@ -283,10 +283,13 @@
 );
 
 #ifdef TRANS_SERVER
+/* Flags */
+# define ADDR_IN_USE_ALLOWED   1
 
 int(*CreateListener)(
XtransConnInfo, /* connection */
-   char *  /* port */
+   char *, /* port */
+   unsigned int/* flags */
 );
 
 int(*ResetListener)(
Index: Xtranssock.c
===
RCS file: 

Full screen page flip

2003-07-23 Thread Nitin Mahajan
Title: Message



Hello 
!
As regards CT 
69030 ,can anyone please tell ,what instant full screen page FLIP 
means
What part of the 
driver code in xfree86 is handling this???
regards

Nitin Mahajan

mail:[EMAIL PROTECTED]
Ph:51101667. Mobile : 
9886099925
==
The Lord gave us two ends -- one to 
sit on and the other to think with. Success depends on which one we use the 
most.



Re: Full screen page flip

2003-07-23 Thread Loic Grenie
From: Nitin Mahajan [EMAIL PROTECTED]
 Hello !
 As regards CT 69030 ,can anyone please tell ,what instant full screen
 page FLIP means

It usually means that you render something to be displayed on the screen
  in some offscreen part of the video memory, then you tell the chipset that
  the screen starts at the new position. It's usefull for any fullscreen thing.
  Example:

- Video memory starts at byte 0 and is 2MB long.
- There is a red dragon drawn on the screen.
- You render a blue fish from the 2MB-4MB region of the video memory.
- You wait for the scanline to reach the end of the screen (this is the dodgy
  part).
- You tell the chipset that the video memory starts at 2MB. And presto ! a blue
  fish is drawn on the screen.
- You can start to render a green mountain at 0MB.
- You wait for the scanline to reach the end of the screen.
- You tell the chipset that the video memory starts at 0MB. A green mountain is
  now drawn on the screen.

 What part of the driver code in xfree86 is handling this???

Usually you have something in the code handling the viewport position.


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


RE: Full screen page flip

2003-07-23 Thread Nitin Mahajan
Hi! Loic,

Thanx for the reply.
I think I got the concept.

1.Is this the double buffering???
2.I guess can be achieved by a frame buffer to framebuffer copy using the BitBLT 
engine??? 
  Am I right??
3.Will this help me in achieving a frame rate of 30fps to play a software decoded 
video.

Regards,

Nitin Mahajan
Socrates Software India Pvt Ltd...
mail:[EMAIL PROTECTED]
Ph:51101667. Mobile : 9886099925
==
The Lord gave us two ends -- one to sit on and the other to think with. Success 
depends on which one we use the most.


-Original Message-
From: Loic Grenie [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2003 9:21 PM
To: [EMAIL PROTECTED]
Subject: Re: Full screen page flip


From: Nitin Mahajan [EMAIL PROTECTED]
 Hello !
 As regards CT 69030 ,can anyone please tell ,what instant full screen 
 page FLIP means

It usually means that you render something to be displayed on the screen
  in some offscreen part of the video memory, then you tell the chipset that
  the screen starts at the new position. It's usefull for any fullscreen thing.
  Example:

- Video memory starts at byte 0 and is 2MB long.
- There is a red dragon drawn on the screen.
- You render a blue fish from the 2MB-4MB region of the video memory.
- You wait for the scanline to reach the end of the screen (this is the dodgy
  part).
- You tell the chipset that the video memory starts at 2MB. And presto ! a blue
  fish is drawn on the screen.
- You can start to render a green mountain at 0MB.
- You wait for the scanline to reach the end of the screen.
- You tell the chipset that the video memory starts at 0MB. A green mountain is
  now drawn on the screen.

 What part of the driver code in xfree86 is handling this???

Usually you have something in the code handling the viewport position.


   Loïc
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel
Scanned by SecureSynergy VirusScreen Service. 
For more information log on to : http://www.securesynergyonline.com or 
http://www.securesynergy.com

___
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


RE: Full screen page flip

2003-07-23 Thread Loic Grenie
 Hi! Loic,

 Thanx for the reply.
 I think I got the concept.

 1.Is this the double buffering???
Yes indeed. Triple would be to have one more buffer:
  1 displayed
  1 waiting to be displayed
  1 in which you render
 2.I guess can be achieved by a frame buffer to framebuffer copy using the BitBLT 
 engine??? 
   Am I right??

   Nope. Thats the whole trick: you do not copy anything. You change one
  (or two or three) register(s) and you are done. No bitblitting, no copy.
  Fast and efficient. This works only for fullscreen because you need to render
  the whole screen.

   You can also copy the second buffer in the image, if you are not fullscreen,
  using bitblitting, but that's not the same concept (and it's usually far
  slower).

 3.Will this help me in achieving a frame rate of 30fps to play a software decoded 
 video.

This highly depends on your hardware. You did not say anything about your
  hardware: processor, memory, FSB (of processor and memory). If your processor
  can produce 30 frames of RGB images per second, double buffering is THE way
  to go if you can afford it: you hardly slow the rendering while doing so. If
  you copy the image from offscreen memory to onscreen memory, you slow things
  down (usually). If you render your images is system memory, then copy them
  to offscreen video memory then blit them onscreen, you make a lot of copies.
  (and one more if you do not use shared memory extension). Now if your system
  is fast enough, it can render 30fps with many image copies in between. You
  should try to see how many frames per second you get with a simple approach:
  render in a pixmap and display it.

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


RE: Full screen page flip

2003-07-23 Thread Tim Roberts
On Wed, 23 Jul 2003 21:36:43 +0530, Nitin Mahajan wrote:

1.Is this the double buffering???

Yes; while one offscreen buffer is being displayed, you draw into a second 
offscreen buffer.  When that buffer is finished, you flip them so that the 
second becomes visible and the first is free for drawing.

2.I guess can be achieved by a frame buffer to framebuffer copy using the
 BitBLT engine??? 
  Am I right??

Not at 30 fps, no.  A 1024x768 RGB24 image is 2.4 megabytes.  Drawing that 30 
times per second exceeds the practical capacity of the PCI bus.

3.Will this help me in achieving a frame rate of 30fps to play a 
 software decoded video.

What application software are you using to do the drawing?  Programs like xine 
and mplayer expect to decode their frames into an overlay surface, using the 
xvideo extension in XFree86.  The applications decode the frames directly into 
a surface in the frame buffer outside of the visible region, usually in a YUV 
format.  The xvideo code in the driver sets up the overlay hardware to display 
this on the screen.  Most overlay hardware can scale the overlay image as it 
displays, so a 320x240 decoded movie can be viewed at 1024x768.

That can be done at 30fps.

--
- Tim Roberts, [EMAIL PROTECTED]
  Providenza  Boekelheide, Inc.


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


Re: IPv6 problems on Linux

2003-07-23 Thread Egbert Eich
Fabio Massimo Di Nitto writes:
  
  I didn't check/produce any code but the easiest way to implement in linux
  is something like (if the user does not specify --nolisten):
  
  bind to ipv6
  if it works ok
  otherwise fail silently
  bind to ipv4
  if it works ok
  otherwise fail with error message.
  
  specifing --nolisten the fail conditions might change their behaviour.
  
  This is basically what i did when i first tried the ipv6 kame patch for X.
  

The Xserverallows one or more protocols to fail unless the -nopn 
option is given. You are pretty much suggesting to make this 
option the default with allowing ipv6 to fail silently.

That's possible. I'd like to hear more opinions on that.

Egbert.

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


Re: IPv6 problems on Linux

2003-07-23 Thread Egbert Eich
Oops, I haven't rebuilt the server.
Maybe this should be changed to int, 0 and 1.

Egbert.


Dr Andrew C Aitchison writes:
  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
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: Rant (was Re: ATI Drivers.)

2003-07-23 Thread Allen Akin
On Tue, Jul 22, 2003 at 06:56:58PM -0700, Mark Vojkovich wrote:
| The interest, at least as far as the press is concerned, seems to
| be almost totally in the chipset performance.  nForce2 is available
| without internal graphics.  If I recall correctly, nForce3 (I believe
| there were some reviews out today) has no internal graphics.

I'll take a look.

|I do not expect graphics hardware to become a commodity.  

As Joel Spolsky mentioned, Microsoft tries hard to make such things
happen. :-)

| It is something that graphics hardware vendors fight hard against,

Understandably.

| and commoditization has not been the trend.

In the PC, workstation, and simulator spaces there are fewer graphics
hardware vendors today, and their products are more compatible, than at
any time in the past five to ten years.  I agree that graphics hardware
hasn't been completely commoditized, but it sure looks like the trend is
strong in that direction.  I'd expect the same trend to carry through to
embedded devices (as the PC folks leverage their technologies in the new
markets).

I'd also argue that programmable GPUs with a common programming
interface increase the tendency toward commoditization.  The business
model for graphics apps running on various vendors' GPUs begins to look
a lot like that of ordinary application software running on various
implementations of the x86.  This isn't accidental.

|  There is at least one very significant incentive -- driving down system
|  cost and enlarging the market by commoditizing the software
| 
|This is something graphics vendors will fight hard against.
| They don't want to commoditize the software.  ...

If you believe that lower device/system costs lead to higher volumes of
sales, and software cost is an appreciable fraction of the device/system
cost, then commoditizing the software leads to higher revenue for the
hardware vendors.  That's one reason Linux gained a foothold in the
embedded space.

Maybe you're thinking primarily about driver software.  Graphics vendors
do add a tremendous amount of value in their drivers, but even there
parts of the software are commoditized when it makes economic sense.
Perhaps the commonly-used code in XAA is a good example.

| The goal is to have your graphics kill your competitors, and that
| is done by preventing commoditization of software and hardware.
| It involves outfeaturing and outperforming your competitor and protecting 
| your software and hardware IP. 

Certainly that used to be true.

Judging by what I hear from app developers, it's getting less true all
the time.  They really want to stick to standardized functionality
that's available with decent performance on all platforms.  Their
return-on-investment is highest if the hardware is commoditized.

And Microsoft maintains its position in part by playing the hardware
vendors off against one another.  MS wants the best price and
performance for the features in its APIs, not for features that aren't
part of those APIs.  That leaves less room for the hardware vendors to
compete on features.

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


Re: IPv6 problems on Linux

2003-07-23 Thread Egbert Eich
Marc Aurele La France writes:
  
  I don't like the peppering of this code with more OS #ifdef's.  I think
  the approach espoused by Itojun, Todd, Matthieu and Andrew is better.
  
So maybe you can tell what the big difference is?
It tries to preserve more of the old behavoir with 
respect to the -nolisten and -pn/-nopn option.

You can of course remove the 'defined (Linux)' as this
patch should work for all systems as it allows
bind() for ipv4 to fail silently.

I've attached a corrected version below.

Egbert.

Index: Xtrans.c
===
RCS file: /home/x-cvs/xc/lib/xtrans/Xtrans.c,v
retrieving revision 3.31
diff -u -w -r3.31 Xtrans.c
--- Xtrans.c20 Jul 2003 16:12:15 -  3.31
+++ Xtrans.c23 Jul 2003 13:35:40 -
@@ -90,10 +90,10 @@
 #endif /* STREAMSCONN */
 #if defined(TCPCONN)
 { TRANS(SocketTCPFuncs),  TRANS_SOCKET_TCP_INDEX },
-{ TRANS(SocketINETFuncs), TRANS_SOCKET_INET_INDEX },
 #if defined(IPv6)  defined(AF_INET6)
 { TRANS(SocketINET6Funcs),TRANS_SOCKET_INET6_INDEX },
 #endif /* IPv6 */
+{ TRANS(SocketINETFuncs), TRANS_SOCKET_INET_INDEX },
 #endif /* TCPCONN */
 #if defined(DNETCONN)
 { TRANS(DNETFuncs),   TRANS_DNET_INDEX },
@@ -768,10 +768,10 @@
 #ifdef TRANS_SERVER
 
 int
-TRANS(CreateListener) (XtransConnInfo ciptr, char *port)
+TRANS(CreateListener) (XtransConnInfo ciptr, char *port, unsigned int flags)
 
 {
-return ciptr-transptr-CreateListener (ciptr, port);
+return ciptr-transptr-CreateListener (ciptr, port, flags);
 }
 
 int
@@ -1037,6 +1037,9 @@
 char   buffer[256]; /* ??? What size ?? */
 XtransConnInfo ciptr, temp_ciptrs[NUMTRANS];
 intstatus, i, j;
+#if defined (linux)  defined(IPv6)  defined(AF_INET6)
+Bool   ipv6_succ = FALSE;
+#endif
 
 PRMSG (2,MakeAllCOTSServerListeners(%s,%p)\n,
   port ? port : NULL, ciptrs_ret, 0);
@@ -1046,6 +1049,7 @@
 for (i = 0; i  NUMTRANS; i++)
 {
Xtransport *trans = Xtransports[i].transport;
+   unsigned int flags = 0;
 
if (trans-flagsTRANS_ALIAS || trans-flagsTRANS_NOLISTEN)
continue;
@@ -1065,8 +1069,13 @@
  trans-TransName, 0, 0);
continue;
}
+#if defined (linux)  defined(IPv6)  defined(AF_INET6)
+   if ((Xtransports[i].transport_id == TRANS_SOCKET_INET_INDEX
+ ipv6_succ))
+   flags |= ADDR_IN_USE_ALLOWED;
+#endif
 
-   if ((status = TRANS(CreateListener (ciptr, port)))  0)
+   if ((status = TRANS(CreateListener (ciptr, port, flags)))  0)
{
if (status == TRANS_ADDR_IN_USE)
{
@@ -1098,6 +1107,11 @@
}
}
 
+#if defined (linux)  defined(IPv6)  defined(AF_INET6)
+   if (Xtransports[i].transport_id == TRANS_SOCKET_INET6_INDEX)
+   ipv6_succ = TRUE;
+#endif
+   
PRMSG (5,
  MakeAllCOTSServerListeners: opened listener for %s, %d\n,
  trans-TransName, ciptr-fd, 0);
@@ -1165,7 +1179,7 @@
continue;
}
 
-   if ((status = TRANS(CreateListener (ciptr, port)))  0)
+   if ((status = TRANS(CreateListener (ciptr, port, 0)))  0)
{
if (status == TRANS_ADDR_IN_USE)
{
Index: Xtrans.h
===
RCS file: /home/x-cvs/xc/lib/xtrans/Xtrans.h,v
retrieving revision 3.21
diff -u -w -r3.21 Xtrans.h
--- Xtrans.h20 Jul 2003 16:12:15 -  3.21
+++ Xtrans.h23 Jul 2003 13:35:41 -
@@ -339,7 +339,8 @@
 
 int TRANS(CreateListener)(
 XtransConnInfo,/* ciptr */
-char * /* port */
+char *,/* port */
+unsigned int   /* flags */
 );
 
 int TRANS(NoListen) (
Index: Xtransint.h
===
RCS file: /home/x-cvs/xc/lib/xtrans/Xtransint.h,v
retrieving revision 3.35
diff -u -w -r3.35 Xtransint.h
--- Xtransint.h 26 Nov 2002 01:12:30 -  3.35
+++ Xtransint.h 23 Jul 2003 13:35:41 -
@@ -26,7 +26,7 @@
 from The Open Group.
 
 */
-/* $XFree86: xc/lib/xtrans/Xtransint.h,v 3.35 2002/11/26 01:12:30 dawes Exp $ */
+/* $XFree86: xc/lib/xtrans/Xtransint.h,v 3.34 2002/11/20 23:00:36 dawes Exp $ */
 
 /* Copyright 1993, 1994 NCR Corporation - Dayton, Ohio, USA
  *
@@ -283,10 +283,13 @@
 );
 
 #ifdef TRANS_SERVER
+/* Flags */
+# define ADDR_IN_USE_ALLOWED   1
 
 int(*CreateListener)(
XtransConnInfo, /* connection */
-   char *  /* port */
+   char *, /* port */
+   unsigned int/* flags */
 );
 
 int(*ResetListener)(
Index: Xtranssock.c
===
RCS file: /home/x-cvs/xc/lib/xtrans/Xtranssock.c,v
retrieving revision 3.59
diff -u -w -r3.59 Xtranssock.c
--- Xtranssock.c18 Jul 2003 

Re: IPv6 problems on Linux

2003-07-23 Thread Egbert Eich

I've accidently sent the wrong file before. Sorry.

Egbert.

Index: Xtrans.c
===
RCS file: /home/x-cvs/xc/lib/xtrans/Xtrans.c,v
retrieving revision 3.31
diff -u -r3.31 Xtrans.c
--- Xtrans.c20 Jul 2003 16:12:15 -  3.31
+++ Xtrans.c23 Jul 2003 18:17:17 -
@@ -90,10 +90,10 @@
 #endif /* STREAMSCONN */
 #if defined(TCPCONN)
 { TRANS(SocketTCPFuncs),  TRANS_SOCKET_TCP_INDEX },
-{ TRANS(SocketINETFuncs), TRANS_SOCKET_INET_INDEX },
 #if defined(IPv6)  defined(AF_INET6)
 { TRANS(SocketINET6Funcs),TRANS_SOCKET_INET6_INDEX },
 #endif /* IPv6 */
+{ TRANS(SocketINETFuncs), TRANS_SOCKET_INET_INDEX },
 #endif /* TCPCONN */
 #if defined(DNETCONN)
 { TRANS(DNETFuncs),   TRANS_DNET_INDEX },
@@ -768,10 +768,10 @@
 #ifdef TRANS_SERVER
 
 int
-TRANS(CreateListener) (XtransConnInfo ciptr, char *port)
+TRANS(CreateListener) (XtransConnInfo ciptr, char *port, unsigned int flags)
 
 {
-return ciptr-transptr-CreateListener (ciptr, port);
+return ciptr-transptr-CreateListener (ciptr, port, flags);
 }
 
 int
@@ -1037,6 +1037,9 @@
 char   buffer[256]; /* ??? What size ?? */
 XtransConnInfo ciptr, temp_ciptrs[NUMTRANS];
 intstatus, i, j;
+#if defined(IPv6)  defined(AF_INET6)
+intipv6_succ = 0;
+#endif
 
 PRMSG (2,MakeAllCOTSServerListeners(%s,%p)\n,
   port ? port : NULL, ciptrs_ret, 0);
@@ -1046,6 +1049,7 @@
 for (i = 0; i  NUMTRANS; i++)
 {
Xtransport *trans = Xtransports[i].transport;
+   unsigned int flags = 0;
 
if (trans-flagsTRANS_ALIAS || trans-flagsTRANS_NOLISTEN)
continue;
@@ -1065,8 +1069,13 @@
  trans-TransName, 0, 0);
continue;
}
+#if defined(IPv6)  defined(AF_INET6)
+   if ((Xtransports[i].transport_id == TRANS_SOCKET_INET_INDEX
+ ipv6_succ))
+   flags |= ADDR_IN_USE_ALLOWED;
+#endif
 
-   if ((status = TRANS(CreateListener (ciptr, port)))  0)
+   if ((status = TRANS(CreateListener (ciptr, port, flags)))  0)
{
if (status == TRANS_ADDR_IN_USE)
{
@@ -1098,6 +1107,11 @@
}
}
 
+#if defined(IPv6)  defined(AF_INET6)
+   if (Xtransports[i].transport_id == TRANS_SOCKET_INET6_INDEX)
+   ipv6_succ = 1;
+#endif
+   
PRMSG (5,
  MakeAllCOTSServerListeners: opened listener for %s, %d\n,
  trans-TransName, ciptr-fd, 0);
@@ -1165,7 +1179,7 @@
continue;
}
 
-   if ((status = TRANS(CreateListener (ciptr, port)))  0)
+   if ((status = TRANS(CreateListener (ciptr, port, 0)))  0)
{
if (status == TRANS_ADDR_IN_USE)
{
Index: Xtrans.h
===
RCS file: /home/x-cvs/xc/lib/xtrans/Xtrans.h,v
retrieving revision 3.21
diff -u -r3.21 Xtrans.h
--- Xtrans.h20 Jul 2003 16:12:15 -  3.21
+++ Xtrans.h23 Jul 2003 18:17:18 -
@@ -339,7 +339,8 @@
 
 int TRANS(CreateListener)(
 XtransConnInfo,/* ciptr */
-char * /* port */
+char *,/* port */
+unsigned int   /* flags */
 );
 
 int TRANS(NoListen) (
Index: Xtransint.h
===
RCS file: /home/x-cvs/xc/lib/xtrans/Xtransint.h,v
retrieving revision 3.35
diff -u -r3.35 Xtransint.h
--- Xtransint.h 26 Nov 2002 01:12:30 -  3.35
+++ Xtransint.h 23 Jul 2003 18:17:18 -
@@ -26,7 +26,7 @@
 from The Open Group.
 
 */
-/* $XFree86: xc/lib/xtrans/Xtransint.h,v 3.35 2002/11/26 01:12:30 dawes Exp $ */
+/* $XFree86: xc/lib/xtrans/Xtransint.h,v 3.34 2002/11/20 23:00:36 dawes Exp $ */
 
 /* Copyright 1993, 1994 NCR Corporation - Dayton, Ohio, USA
  *
@@ -283,10 +283,13 @@
 );
 
 #ifdef TRANS_SERVER
+/* Flags */
+# define ADDR_IN_USE_ALLOWED   1
 
 int(*CreateListener)(
XtransConnInfo, /* connection */
-   char *  /* port */
+   char *, /* port */
+   unsigned int/* flags */
 );
 
 int(*ResetListener)(
Index: Xtranssock.c
===
RCS file: /home/x-cvs/xc/lib/xtrans/Xtranssock.c,v
retrieving revision 3.59
diff -u -r3.59 Xtranssock.c
--- Xtranssock.c18 Jul 2003 15:39:48 -  3.59
+++ Xtranssock.c23 Jul 2003 18:17:18 -
@@ -783,7 +783,8 @@
 
 static int
 TRANS(SocketCreateListener) (XtransConnInfo ciptr, 
-struct sockaddr *sockname, int socknamelen)
+struct sockaddr *sockname,
+int socknamelen, unsigned int flags)
 
 {
 intnamelen = socknamelen;
@@ -803,7 +804,10 @@
 
 while (bind (fd, (struct sockaddr *) sockname, namelen)  0)
 {
-   if (errno == 

Re: IPv6 problems on Linux

2003-07-23 Thread Marc Aurele La France
On Wed, 23 Jul 2003, Egbert Eich wrote:

 Marc Aurele La France writes:
   I don't like the peppering of this code with more OS #ifdef's.  I think
   the approach espoused by Itojun, Todd, Matthieu and Andrew is better.

 So maybe you can tell what the big difference is?

So maybe not.  I've already stated I cannot test IPv6 function.  As such,
I'm here more as an overseer, and in that capacity I am of the opinion
that this code need not be unnecessarily OS-#ifdef'ed.  Take that as you
see fit.

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Computing and Network Services  |  fax:1-780-492-1729   |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]  |
|  University of Alberta   +---+
|  Edmonton, Alberta   |   |
|  T6G 2H1 | Standard disclaimers apply|
|  CANADA  |   |
+--+---+
XFree86 Core Team member.  ATI driver and X server internals.

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


Re: IPv6 problems on Linux

2003-07-23 Thread Matthieu Herrb
Here's a patch to allow multiple '-nolisten' options on the command
line. To disable both IPv4 and IPv6 transports, one needs to say:

  X -nolisten tcp -nolisten inet6 

I'll add a documentation patch too later. 

Index: xc/programs/Xserver/include/os.h
===
RCS file: /cvs/xf86/xc/programs/Xserver/include/os.h,v
retrieving revision 3.45
diff -u -r3.45 os.h
--- xc/programs/Xserver/include/os.h4 Jul 2003 16:24:29 -   3.45
+++ xc/programs/Xserver/include/os.h23 Jul 2003 20:34:47 -
@@ -480,5 +480,12 @@
 extern void AbortDDX(void);
 extern void ddxGiveUp(void);
 extern int TimeSinceLastInputEvent(void);
+
+typedef struct NoListenList {
+   char *name;
+   struct NoListenList *next;
+} *NoListenListPtr;
+
+extern NoListenListPtr noListenList;
 
 #endif /* OS_H */
Index: xc/programs/Xserver/os/connection.c
===
RCS file: /cvs/xf86/xc/programs/Xserver/os/connection.c,v
retrieving revision 3.61
diff -u -r3.61 connection.c
--- xc/programs/Xserver/os/connection.c 16 Jul 2003 01:39:00 -  3.61
+++ xc/programs/Xserver/os/connection.c 23 Jul 2003 20:34:47 -
@@ -186,7 +186,7 @@
 
 Bool RunFromSmartParent;   /* send SIGUSR1 to parent process */
 Bool PartialNetwork;   /* continue even if unable to bind all addrs */
-char *protNoListen; /* don't listen on this protocol */
+NoListenListPtr noListenList;  /* don't listen on these protocols */
 static Pid_t ParentProcess;
 #ifdef __UNIXOS2__
 Pid_t GetPPID(Pid_t pid);
@@ -309,6 +309,7 @@
 inti;
 intpartial;
 char   port[20];
+NoListenListPtr p;
 
 FD_ZERO(AllSockets);
 FD_ZERO(AllClients);
@@ -323,13 +324,13 @@
 
 FD_ZERO (WellKnownConnections);
 
-sprintf (port, %d, atoi (display));
+snprintf (port, sizeof(port), %d, atoi (display));
 
-if (protNoListen)
-if (_XSERVTransNoListen(protNoListen))
-{
-   FatalError (Failed to disable listen for %s, protNoListen);
-   }
+for (p = noListenList; p != NULL; p = p-next) {
+   if (_XSERVTransNoListen(p-name)) {
+   FatalError(Failed to disable listen for %s, p-name);
+   }
+}
 
 if ((_XSERVTransMakeAllCOTSServerListeners (port, partial,
ListenTransCount, ListenTransConns) = 0) 
Index: xc/programs/Xserver/os/utils.c
===
RCS file: /cvs/xf86/xc/programs/Xserver/os/utils.c,v
retrieving revision 3.89
diff -u -r3.89 utils.c
--- xc/programs/Xserver/os/utils.c  9 Jul 2003 15:27:35 -   3.89
+++ xc/programs/Xserver/os/utils.c  23 Jul 2003 20:34:47 -
@@ -602,6 +602,7 @@
 {
 int i, skip;
 
+noListenList = NULL;
 defaultKeyboardControl.autoRepeat = TRUE;
 
 #ifdef PART_NET
@@ -816,8 +823,13 @@
 #endif
else if ( strcmp( argv[i], -nolisten) == 0)
{
-if(++i  argc)
-   protNoListen = argv[i];
+   if(++i  argc) {
+   NoListenListPtr p = 
+   (NoListenListPtr)xalloc(sizeof(struct NoListenList));
+   p-name = argv[i];
+   p-next = noListenList;
+   noListenList = p;
+   }
else
UseMsg();
}


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


Re: IPv6 problems on Linux

2003-07-23 Thread Alan Coopersmith
Maybe I'm missing something, but I always thought the XFree86 nolisten
code was overly complicated, and this just seems to make it worse.  When
we added -nolisten to Xsun, we got multiple listeners for free with a
simpler implementation, contained entirely in utils.c:
else if ( strcmp( argv[i], -nolisten) == 0)
{
if(++i  argc) {
if (_XSERVTransNoListen(argv[i])) {
FatalError (Failed to disable listen for %s transport,
  argv[i]);
}
} else
UseMsg();
}
--
-Alan Coopersmith-  [EMAIL PROTECTED]
 Sun Microsystems, Inc. - Sun Software Group
 Quality / User Experience (QUE)   -   Globalization
 Platform Globalization Engineering: X11 Development
Matthieu Herrb wrote:
Here's a patch to allow multiple '-nolisten' options on the command
line. To disable both IPv4 and IPv6 transports, one needs to say:
  X -nolisten tcp -nolisten inet6 

I'll add a documentation patch too later. 

Index: xc/programs/Xserver/include/os.h
===
RCS file: /cvs/xf86/xc/programs/Xserver/include/os.h,v
retrieving revision 3.45
diff -u -r3.45 os.h
--- xc/programs/Xserver/include/os.h	4 Jul 2003 16:24:29 -	3.45
+++ xc/programs/Xserver/include/os.h	23 Jul 2003 20:34:47 -
@@ -480,5 +480,12 @@
 extern void AbortDDX(void);
 extern void ddxGiveUp(void);
 extern int TimeSinceLastInputEvent(void);
+
+typedef struct NoListenList {
+	char *name;
+	struct NoListenList *next;
+} *NoListenListPtr;
+
+extern NoListenListPtr noListenList;
 
 #endif /* OS_H */
Index: xc/programs/Xserver/os/connection.c
===
RCS file: /cvs/xf86/xc/programs/Xserver/os/connection.c,v
retrieving revision 3.61
diff -u -r3.61 connection.c
--- xc/programs/Xserver/os/connection.c	16 Jul 2003 01:39:00 -	3.61
+++ xc/programs/Xserver/os/connection.c	23 Jul 2003 20:34:47 -
@@ -186,7 +186,7 @@
 
 Bool RunFromSmartParent;	/* send SIGUSR1 to parent process */
 Bool PartialNetwork;		/* continue even if unable to bind all addrs */
-char *protNoListen; /* don't listen on this protocol */
+NoListenListPtr noListenList;	/* don't listen on these protocols */
 static Pid_t ParentProcess;
 #ifdef __UNIXOS2__
 Pid_t GetPPID(Pid_t pid);
@@ -309,6 +309,7 @@
 int		i;
 int		partial;
 char 	port[20];
+NoListenListPtr p;
 
 FD_ZERO(AllSockets);
 FD_ZERO(AllClients);
@@ -323,13 +324,13 @@
 
 FD_ZERO (WellKnownConnections);
 
-sprintf (port, %d, atoi (display));
+snprintf (port, sizeof(port), %d, atoi (display));
 
-if (protNoListen)
-if (_XSERVTransNoListen(protNoListen))
-{
-	FatalError (Failed to disable listen for %s, protNoListen);
-	}
+for (p = noListenList; p != NULL; p = p-next) {
+	if (_XSERVTransNoListen(p-name)) {
+		FatalError(Failed to disable listen for %s, p-name);
+	}
+}
 
 if ((_XSERVTransMakeAllCOTSServerListeners (port, partial,
 	ListenTransCount, ListenTransConns) = 0) 
Index: xc/programs/Xserver/os/utils.c
===
RCS file: /cvs/xf86/xc/programs/Xserver/os/utils.c,v
retrieving revision 3.89
diff -u -r3.89 utils.c
--- xc/programs/Xserver/os/utils.c	9 Jul 2003 15:27:35 -	3.89
+++ xc/programs/Xserver/os/utils.c	23 Jul 2003 20:34:47 -
@@ -602,6 +602,7 @@
 {
 int i, skip;
 
+noListenList = NULL;
 defaultKeyboardControl.autoRepeat = TRUE;
 
 #ifdef PART_NET
@@ -816,8 +823,13 @@
 #endif
 	else if ( strcmp( argv[i], -nolisten) == 0)
 	{
-if(++i  argc)
-	protNoListen = argv[i];
+	if(++i  argc) {
+		NoListenListPtr p = 
+		(NoListenListPtr)xalloc(sizeof(struct NoListenList));
+		p-name = argv[i];
+		p-next = noListenList;
+		noListenList = p;
+	}
 	else
 		UseMsg();
 	}

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


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


Re: IPv6 problems on Linux

2003-07-23 Thread Elliott Mitchell
 From: Matthias Scheler [EMAIL PROTECTED]
 On Wed, Jul 23, 2003 at 01:48:08PM +0200, Egbert Eich wrote:
I wasn't suggesting to use it on Linux. My suggestion was to revert to
using a single socket on all platforms and use the above code to enable
accepting IPv4 connections on *BSD.
  Yes, I understand. I was just looking for a decend way of making
  things work on Linux.
 
 Using a single socket should work on Linux according to your observations.
 And it definitely works on Solaris. So adding some conditional code which
 uses setsockopt() with IPV6_V6ONLY on platforms which have IPV6_V6ONLY
 defined should work arround the platform.

The danger is that on systems where V4-mapped addresses are disabled an
attacker might just manage to bind to either the V6 socket, or the V4
socket and possibly execute a MitM attack.

 But we would get complaints from the IPv6 folks which consider accepting
 IPv4 connections on IPv6 listeners a problem. See here:
 
 http://www.ietf.org/internet-drafts/draft-itojun-v6ops-v4mapped-harmful-01.txt
 
 So we probably need to implement heuristics similar to the one described
 by Andrew Aitchison.

The issues that the draft brings up are irrelevant to XFree86. They are
strictly OS/firewall issues. If those problems can occur on a system, the
system is already swiss cheese; and nothing XFree86 can do will
alleviate things.

The draft was sent to BugTraq, and everyone who responded brought the
exact same issue up:

http://www.securityfocus.com/archive/1/289420/2002-08-20/2002-08-26/2
http://www.securityfocus.com/archive/1/289409/2002-08-20/2002-08-26/2
http://www.securityfocus.com/archive/1/289375/2002-08-20/2002-08-26/2
http://www.securityfocus.com/archive/1/289364/2002-08-20/2002-08-26/2

If you want to see both sides and the rest of the thread:
http://www.securityfocus.com/archive/1/288622/2002-08-20/2002-08-26/1


-- 
(\___(\___(\__  --= 8-) EHM =--  __/)___/)___/)
 \   (| [EMAIL PROTECTED] PGP 8881EF59 |)   /
  \_  \   |  _  -O #include stddisclaimer.h O-   _  |   /  _/
\___\_|_/82 04 A1 3C C7 B1 37 2A*E3 6E 84 DA 97 4C 40 E6\_|_/___/


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


Re: Rant (was Re: ATI Drivers.)

2003-07-23 Thread Jon Leech
On Sun, Jul 20, 2003 at 03:10:14AM -0400, Mike A. Harris wrote:
...
 Anyone in my position who has to deal with these types of support
 questions or customer/user feedback, will very likely know
 exactly where I am coming from, and will strongly back up my
 statement that it is often better to just shut the hell up and
 not say anything to a customer/user about something than it is to
 be honest and then upset them even more, possibly getting them to
 spread their negativity around and generate more bad publicity or
 angst toward your company.

I'll back that up. Besides which, after a few years of being bitched
at (and in one case involving a friend who's a senior software engineer
at a commodity graphics vendor, physically threatened) because their
company wasn't doing enough for Linux/OSS, I know a number of folks in
industry who have moved well away from their initial pro-Linux/OSS
position. It would be foolish to think that the personal views of
important individuals inside a company do not have an effect on that
company's official policies.

It definitely DOES NOT WORK to harangue, Slashdot, or otherwise
abuse the people responsible for the product you care about. At best you
and others like you will be tuned out in the future. At worst you will
be responsible for creating hostility towards you and your needs. There
is no upside to this behavior.

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


Re: Rant (was Re: ATI Drivers.)

2003-07-23 Thread Kendall Bennett
Jon Leech [EMAIL PROTECTED] wrote:

 I'll back that up. Besides which, after a few years of being bitched
 at (and in one case involving a friend who's a senior software engineer at
 a commodity graphics vendor, physically threatened) because their company
 wasn't doing enough for Linux/OSS, I know a number of folks in industry
 who have moved well away from their initial pro-Linux/OSS position. It
 would be foolish to think that the personal views of important individuals
 inside a company do not have an effect on that company's official
 policies.
 
 It definitely DOES NOT WORK to harangue, Slashdot, or otherwise
 abuse the people responsible for the product you care about. At best you
 and others like you will be tuned out in the future. At worst you will be
 responsible for creating hostility towards you and your needs. There is no
 upside to this behavior.

I agree with that 100%. We actually would have had a release version of 
our Linux product at least three years ago, except for the massive amount 
of negative feedback we received during our initial public beta cycle on 
slashdot etc. Most of the complaints were along the lines of it ain't 
free, where's the source etc. It left such a bad taste in our mouths 
that when the original intern working on the project went home, we 
basically canned the product and only recently got back to working on it 
again. Thankfully the Linux community seems much more receptive to our 
products now (but then again we haven't announced anything on slashdot in 
years ;-).

Regards,

---
Kendall Bennett
Chief Executive Officer
SciTech Software, Inc.
Phone: (530) 894 8400
http://www.scitechsoft.com

~ SciTech SNAP - The future of device driver technology! ~

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


Re: IPv6 problems on Linux

2003-07-23 Thread Keith Packard
Around 23 o'clock on Jul 23, Matthieu Herrb wrote:

 Here's a patch to allow multiple '-nolisten' options on the command
 line. To disable both IPv4 and IPv6 transports, one needs to say:
 
   X -nolisten tcp -nolisten inet6 

While supporting multiple -nolisten arguments is good, I suggest that the
current '-nolisten tcp' should include both inet4 and inet6 tcp options; 
most people use '-nolisten tcp' to avoid exposing an open port to the X 
server to the network.

-nolisten inet4 don't listen for TCP/IPv4 connections
-nolisten inet6 don't listen for TCP/IPv6 connections
-nolisten tcp   don't listen for any TCP connections

-keith


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


Re: IPv6 problems on Linux

2003-07-23 Thread Todd T. Fries
I'd like to say this was a head scratcher for me.  I like Keith's thouhts
on this.
-- 
Todd Fries .. [EMAIL PROTECTED]


Free Daemon Consulting, LLCLand: 405-748-4596
http://FreeDaemonConsulting.com  Mobile: 405-203-6124
..in support of free software solutions.

Key fingerprint: 37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
Key: http://todd.fries.net/pgp.txt

(last updated 2003/03/13 07:14:10)

Penned by Keith Packard on Wed, Jul 23, 2003 at 11:34:53PM -0400, we have:
| Around 23 o'clock on Jul 23, Matthieu Herrb wrote:
| 
|  Here's a patch to allow multiple '-nolisten' options on the command
|  line. To disable both IPv4 and IPv6 transports, one needs to say:
|  
|X -nolisten tcp -nolisten inet6 
| 
| While supporting multiple -nolisten arguments is good, I suggest that the
| current '-nolisten tcp' should include both inet4 and inet6 tcp options; 
| most people use '-nolisten tcp' to avoid exposing an open port to the X 
| server to the network.
| 
|   -nolisten inet4 don't listen for TCP/IPv4 connections
|   -nolisten inet6 don't listen for TCP/IPv6 connections
|   -nolisten tcp   don't listen for any TCP connections
| 
| -keith
| 
| 
| ___
| Devel mailing list
| [EMAIL PROTECTED]
| http://XFree86.Org/mailman/listinfo/devel
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


[Fonts] opening core fonts with XftFontOpenXlfd

2003-07-23 Thread Matthias Neubauer
Hi,

I try to make my first moves with Xft, and yet I am struggeling with
the handling of core fonts ...

If a pass a XLFD-pattern for a specific (core) font to
XftFontOpenXlfd, it seems that I *always* only get back Xft fonts, no
matter how good or bad they match. Even if a core font would match the
XLFD much much better ...

Here is some output of a small toy program that I wrote, that opens a
font using XftFontOpenXlfd and shows the according Xft pattern using
XftNameUnparsed:

(gdb) run -*-*-*-*-*-*-*-60-*-*-*-*-iso8859-*
unparsed: Courier 10 
Pitch-6:style=Regular:slant=0:weight=100:pixelsize=8.33641:encoding=iso8859-1:core=False:antialias=True:xlfd=-*-*-*-*-*-*-*-60-*-*-*-*-iso8859-*:index=0:outline=True:scalable=True:rgba=0:render=True:minspace=False

(gdb) run -*-charter-*-*-*-*-*-100-*-*-*-*-iso8859-*
unparsed: Bitstream 
Charter-10:style=Regular:slant=0:weight=100:pixelsize=13.894:encoding=iso8859-1:core=False:antialias=True:xlfd=-*-charter-*-*-*-*-*-100-*-*-*-*-iso8859-*:index=0:outline=True:scalable=True:rgba=0:render=True:minspace=False

(gdb) run -bh-lucidatypewriter-bold-r-normal-sans-10-100-75-75-m-60-iso8859-1
unparsed: Courier 10 
Pitch-10:style=Bold:slant=0:weight=200:pixelsize=10:encoding=iso8859-1:foundry=bh:core=False:antialias=True:xlfd=-bh-lucidatypewriter-bold-r-normal-sans-10-100-75-75-m-60-iso8859-1:index=0:outline=True:scalable=True:rgba=0:render=True:minspace=False

All of the selected fonts are antialiased non-core fonts. Especially
for the third pattern, I'd rather get the specified core font ... :-)

So is there any way to tell Xft that *only* core fonts (i.e. old and
ugly non-antialiased Xlib fonts) should be opened when using
XftFontOpenXlfd?

Cheers,

  Matthias

P.S. I'm using the Xft lib shipped with XFree 4.1.0.1 which was
preinstalled on my PC here.

-- 
Matthias Neubauer   |
Universität Freiburg, Institut für Informatik   | tel +49 761 203 8060
Georges-Köhler-Allee 79, 79110 Freiburg i. Br., Germany | fax +49 761 203 8052
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts


Re: [XFree86] Problems with GL library (HELP!)

2003-07-23 Thread Francisco J. Reyna
On Wed, 2003-07-23 at 00:38, Jesse Hutton wrote: 
 Just out of curiosity, what kernel, distro, and version of XFree86 are
 you using?  Have you tried Ati's binary driver to see if that works (if
 they provide one)?

XFree86 Version 4.3.0 (Debian 4.3.0)
Linux 2.4.20-ac2 i686 [ELF] 

I just got the same result as with trying the driver radeon. Still wierd
libGL error: InitDriver failed message with any application.


 Jesse
 
 On 22 Jul 2003, Francisco J. Reyna [ISO-8859-1] Seplveda wrote:
 
  Hi,
 
  I cant make my Radeon Mobility work with 3d acceleration, I DONE
  EVERYTHING please read.
 
  1) Install XFree 4.x.x. Make sure it works. Backup !
 
  DONE
 
  2) Check kernel messages to make sure agpgart and mtrr are being loaded
  and work. DRM module (like radeon.o or r128.o) must be loaded after
  agpgart, which must be loaded after mtrr. It is possible to compile
  these in.
 
  #Keeping same order of output
  ...
  mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED])
  mtrr: detected mtrr type: Intel
  ...
  Linux agpgart interface v0.99 (c) Jeff Hartmann
  agpgart: Maximum main memory to use for agp memory: 262M
  agpgart: Detected Intel i830M chipset
  agpgart: AGP aperture is 256M @ 0xd000
  ...
  [drm] AGP 0.99 on Unknown @ 0xd000 256MB
  [drm] Initialized radeon 1.2.0 20011231 on minor 0
  [drm:radeon_unlock] *ERROR* Process 357 using kernel context 0
  [drm:radeon_unlock] *ERROR* Process 622 using kernel context 0
  ...
 
  I dont know what those 2 errors mean, but Ill continue...
 
  3) Start XFree 4.x.x. Check /var/log/XFree86.0.log for messages about
  dri. Does it say dri enabled in the end ?
 
  Yup.
 
  ...
  (II) RADEON(0): X context handle = 0x000b
  (II) RADEON(0): [drm] installed DRM signal handler
  (II) RADEON(0): [DRI] installation complete
  (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
  (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
  (II) RADEON(0): [dri] RADEONDRISAREAInit.
  (II) RADEON(0): Direct rendering enabled
  ...
 
  4) make sure that your cards drm module (r128.o or radeon.o) is being
  loaded by the kernel. If not, try modprobe or recompile linux kernel.
 
  #lsmod ouput
  ...
  radeon 94560   1
  ...
 
  5) Start XFree 4.x.x again. Does the log say dri enabled in the end ?
  Check dmesg do you see output of drm module ? Does XFree log complain
  about wrong drm module version ? If so obtain a newer drm module,
  compile it and install. Try again.
 
  No, everything is Ok.
 
  6) By this time XFree log file should say dri enabled. Open a
  terminal and run glxgears. It will print out a frames per second count
  each 5 seconds. If you are using hardware GL it should give you at least
  500 FPS. With software 3d you are unlikely to get more than 300 FPS.
  Both figures, of course, depend on video card and cpu.
 
  Glxgears gives me the following:
 
  ...
  glxgears
  libGL error: InitDriver failed
  423 frames in 6.0 seconds = 70.500 FPS
  ...
  HERE is where I get that wierd error of libGL error: InitDriver failed
  And i get it again and again with all the programs that require GL.
 
  7) If glxgears shows small frame rates try using ldd glxgears to find
  out which GL library is being used. If it is the wrong one move it out
  of the way and run ldconfig.
 
  #ldd glxgears output
 
  ...
  libGL.so.1 = /usr/X11R6/lib/libGL.so.1 (0x4001d000)   -
  ...
 
  #ldconfig -v /usr/X11R6/bin/glxgears output
 
  ...
  libGL.so.1 - libGL.so.1.2
  ..
   I Think here is the problem, but i have no clue how to solve it! HELP
  PLEASE!
 
  8) It is possible that hardware rendering is used only when glxgears is
  run by root. To allow all users to use hardware 3d you need to adjust
  DRI permissions in XF86Config using Section 'DRI'. You might need to
  manually delete /dev/dri directory after changing these permissions.
 
  Same as #6, the problem is in number 7 with the GL library, but I dont
  know what to do, I been looking so much time for the answer.
 
  THANKS!
 
  --
  Francisco J. Reyna Seplveda [EMAIL PROTECTED]
 
  ___
  XFree86 mailing list
  [EMAIL PROTECTED]
  http://XFree86.Org/mailman/listinfo/xfree86
 
 
 
 
 
 ___
 XFree86 mailing list
 [EMAIL PROTECTED]
 http://XFree86.Org/mailman/listinfo/xfree86

-- 

Francisco J. Reyna Sepúlveda [EMAIL PROTECTED]

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


[XFree86] Problem in starting Xserver (No Screens found)

2003-07-23 Thread Naresh








Hi,



I am new to Linux O/S. I have installed Linux Version 7.3 on
my server. 

I have encountered problems while running startx .



Below mentioned steps I have followed.




 Installed
 XFree86 using binaries (Sh Xinstall.sh)
 
 Run the
 xf86config file and selected following options



 Mouse 
 PS/2
 Monitor
  31.5 - 35.1 ; Super VGA, [EMAIL PROTECTED] Hz
 Vertical Sync Range of
 Monitor  50-70
 Video
 Card  Intel 810
 ( I am not sure what video card my system has, as its a remote
 server)
 Video
 Memory  512K 




After finishing configuring xf86config , when I run the startx command the system displays following error.



on 4.2.0 / X
Window System

(protocol
Version 11, revision 0, vendor release 6600)

Release Date: 18 January 2002

If the server is older than 6-12
months, or if your card is

newer than the
above date, look for a newer version before 

reporting
problems. (See
http://www.XFree86.Org/)

Build Operating System: Linux
2.4.9-13smp i686 [ELF]

Module Loader present

Markers: (--) probed, (**) from config file, (==) default setting,


(++) from command line, (!!) notice, (II) informational,


(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

(==) Log file:
/var/log/XFree86.0.log, Time: Tue Jul 22 23:04:26 2003

(==) Using config
file: /etc/X11/XF86Config

(EE) No devices detected.

Fatal server error:

no screens
found

When reporting a problem related to
a server crash, please send

the full server
output, not just the last messages.

This can be found in the log file
/var/log/XFree86.0.log.

Please report problems to
[EMAIL PROTECTED]

XIO: fatal IO error 104 (Connection reset by
peer) on X server :0.0

 after 0 requests (0 known processed) with 0 events
remaining.



Please help me on this



Thankig you,

 
 Naresh Kumar
 System Manager
 Bytech India Private Limited
 511, Arunachal Building
 19, Barakhamba
  Road
 New Delhi - 110 001
 Phone : 011-23326077 / 23350695
 Extn : 247
 Fax : 011-23327653

***
This email, and any attachments thereon, are intended only for use by the
addressee(s) and may contain privileged and/or confidential information. 
If you are not the intended recipient of this email, you are hereby notified
that any dissemination, distribution or copying of this email,
and any attachments, is strictly prohibited. If you have received this
email in error,please notify me by replying to this message and permanently 
delete the original and any copies or printouts.

If you have trouble in reaching through Email, please visit our web site www.bytechindia.com for all contact
numbers and postal addresses.











[XFree86] 5.0 features list question

2003-07-23 Thread Berge, Harry ten
Hi,

I saw a list with 5.0 features mentioned on the wiki. There was an entry
'pseudo color emulation', but without detailed info. Can anyone tell me what
this actually is? We have *HUGE* problems with an old pseudo color
application and I was wondering if this could fix it for us...

 Met vriendelijke groet / Mit freundlichen Grüßen / Kind Regards,
 
H.J. ten Berge
Test Engineer

HITT Traffic
Oude Apeldoornseweg 41-45
P.O. Box 717
NL-7300 AS, APELDOORN
The Netherlands
Telephone   +31-55-543 26 34
Fax +31-55-543 25 53  
E-mail  mailto:[EMAIL PROTECTED]
Internethttp://www.hitt-traffic.nl



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


[XFree86] ATI Radeon 9700

2003-07-23 Thread Rickard Asplund
Hi everyone!

I hope someone can give me an answer or maybe help me with this problem.

I dont actually know where to start, but i'll make myself short and give
you some technical facts.

I am running Gentoo linux 1.4 with kernel 2.4.21 on a Dell Dimension 8250.

The problem i have with X is only related to my graphic cards, which is a ATI Radeon 
9700.

First of all X works fine, all my apps works without problem BUT when I am exiting X i 
get this message:

(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found

I dont know how to get rid of it, and i think this output gives me a clue about why 3D 
HD acc. dont work for me. I've followed the simple steps on the Docs link for enable 
3D HD for X on Gentoo official page:

http://www.gentoo.org/doc/en/dri-howto.xml

Plz help me with enabling 3D hardware for X and getting that No matching Device 
problem away.

Forgive me for my poor English.

Best regards towb

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


[XFree86] HEEELP!

2003-07-23 Thread Eyroo
Help me... pleease! :))


XFree86.0.log
Description: XFree86.0.log


[XFree86] pls help....

2003-07-23 Thread Meul
can nybody help me out???

Mehul TrivediDeveloperwww.gg2.net Asian Marketing Group Publishers of Garavi Gujarat, GG2, Asian Trader, Pharmacy Business, Asian Hospitality, Coupon Book and GG2 Jobs==
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

XFree86.0.log
Description: XFree86.0.log


Re: [XFree86] pls help....

2003-07-23 Thread Craig Ringer
can nybody help me out???
http://www.google.com/search?hl=enlr=ie=ISO-8859-1q=%22could+not+open+default+font+%27fixed%27%22btnG=Google+Search

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


[XFree86] [XFree86 4.2.0] Problem in starting Xserver

2003-07-23 Thread Naresh
Thanks for the help,

As suggested by you, I have given driver = vesa in XF86Config file.

I am getting different error screen when I run startx and the cursor
also does not return back to command prompt ( Do I need to run any other
setup before running startx).

Please help
Naresh Kumar

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sudev Barar
Sent: Wednesday, July 23, 2003 2:19 PM
To: XFree
Subject: Re: [XFree86] Problem in starting Xserver (No Screens found)

On Wed, 2003-07-23 at 12:33, Naresh wrote:

 Below mentioned steps I have followed.

   * Installed XFree86 using binaries (Sh Xinstall.sh) 
   * Run the xf86config file and selected following options
  1. Mouse - PS/2
  2. Monitor - 31.5  -  35.1 ; Super VGA, [EMAIL PROTECTED] Hz
  3. Vertical Sync Range of Monitor - 50-70
  4. Video Card - Intel 810 ( I am not sure what video card my
 system has, as it's a remote server)

If you are not sure which card you ave then try giving driver = vesa
in your XF86Config file. Path should be /etc/X11/XF86Config I could not
understand remote server ??


  1. Video Memory - 512K

 (EE) No devices detected.
 
 Fatal server error:
 
 no screens found
-- 
Sudev Barar [EMAIL PROTECTED]

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86
on 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.9-13smp i686 [ELF]
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/XFree86.0.log, Time: Wed Jul 23 02:32:41 2003
(==) Using config file: /etc/X11/XF86Config
(WW) VESA(0): Failed to set up write-combining range (0xf006,0x7)
(WW) VESA(0): Failed to set up write-combining range (0xf005,0x8)
(WW) VESA(0): Failed to set up write-combining range (0xf004,0x9)
(WW) VESA(0): Failed to set up write-combining range (0xf003,0xa)
(WW) VESA(0): Failed to set up write-combining range (0xf002,0xb)
(WW) VESA(0): Failed to set up write-combining range (0xf001,0xc)
(WW) VESA(0): Failed to set up write-combining range (0xf000,0xd)
Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Warning: locale not supported by Xlib, locale set to C
Warning: locale not supported by Xlib, locale set to C
Warning: locale not supported by Xlib, locale set to C

Re: [XFree86] [XFree86 4.2.0] Problem in starting Xserver

2003-07-23 Thread Craig Ringer
As suggested by you, I have given driver = vesa in XF86Config file.

I am getting different error screen when I run startx and the cursor
also does not return back to command prompt ( Do I need to run any other
setup before running startx).
It actually looks like X started up fine, but one of the programs being 
run by startx is hanging instead of continuing. Try 'startx `which 
xterm`' (replace xterm with whatever terminal emulator you have 
installed) and see if that starts up fine.

If you have a custom ~/.xinitrc or such, make sure that all the programs 
in it except the window manager (or whatever you use) are started with 
'' so that they're run in the background. For example,

xterm 
wmaker
instead of
xterm
wmaker
since the former will cause an xterm to start up and the script to not 
continue until that xterm is exited.

Craig Ringer

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


[XFree86] Tthe largest catalogue of the art sites and museums { 0310665826 }AI

2003-07-23 Thread Gallery-a
Dear Ladies and Gentlemen,
We are pleased to inform you, that during the process of our site 
modernization, due to every day updating of our link system, we became one 
of the most full world art catalogues, as well as the largest catalogue of 
the art sites and museums.
Now in the “Links” section ( http://www.gallery-a.ru/links/ ) you can find 
more than 2000 links to the art-sites all round the world.   1057 of them 
are Russian sites. 
We are enlarging our catalogue and very soon it will have more convenient 
form and interface with a possibility to add new links automatically. If 
you own an art web site we will be happy to place your link at our site. 
If you would like to be informed about all the art and art-business events, 
to have a look on the old masters paintings or get acquainted with the 
contemporary creative work of the new artists working in the modern streams 
field, welcome to our web site!
Gallery curator.


Welcome to our website!
Gallery curator.

P.S. Also available for fun:
E-Cards:http://www.gallery-a.ru/ecards/compose.php
Wallpapers: http://www.gallery-a.ru/luxury.php

Sorry if that information not interesting for You and we disturb You with 
our message!
For removing yor address from this mailing list just replay this message 
with word 'unsubscribe' in subject field
or simple click this link:
 http://www.gallery-a.ru/unsubscribe.php?e=WEZyZWU4NkBYRnJlZTg2Lm9yZzoxNjc3OTYxOA==




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


[XFree86] small fonts

2003-07-23 Thread Ralf Werny
hi,
using XFree86 4.3.0,
a 17° Monitor and a resolution of 1280x960 (101x101 dpi).
If i use KDE, the fonts in KDE-Applications are ok, but if i start an 
application like mozilla, gimp, xterm the fonts are very small.
Starting KDE with startx kde -- -dpi 200 the fonts in KDE are very large, but 
there is no effect on the above-named applications.
If i start xterm with xterm -fa Courier then it seems to evaluate the 
current resolution (100 dpi - ok, 200 dpi - very large).
Using another windowmanager like fvwm2 or windowmaker has no effect on this 
behavior.
In the xfree86.log are following messages:
Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing from 
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from 
list!

What can i do ?

Thanks: ralf


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


[XFree86] SiS 650... on RED HAT 9

2003-07-23 Thread João Paulo Pires
Hi, I recently install 
RED HAT Linux 9 on a pc (Pentium 4)
with a graphic card SiS 650...
I use gnome inferface..
But unfortunetly seems that the original package
didn´t have the drivers for that specific card, so
I went to this site, in order to find some useful information..
I have download the last version of Xfree86 (4.3.0) and install it.
But when I go to configure the screen seems that they aren´t new additions
of graphics cards (SiS 650 is not there, and the version 4.3.0 of xfree86 says that 
supports this card), 
I only try to download the minimum files required for Xfree86... do i need some more?

Another question is about Independent Driver Releases, I have also download the 
sis_drv.o
file and placed in the specific directory that overwrite the previous file... But I 
don´t know
if is only need this operation... (seems that only this didn´t solve the problem). 
I don´t understand what you mean And use the new 'XFree86' binary, 
which should be replaced with the 'XFree86' executable that's in /usr/X11R6/bin
and if I need also to download the DRI Kernel modules and follow the command make -f 
Makefile.linux  ...


If possible, please me a step by step tutorial in order to solve this problem.. I´m 
currently using VESA driver...
I need to put the screen resolution in 1024x768 and play some applications/games 
that required some specific graphics hardware contact... 




Thanks, Reply me soon.





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


[XFree86] Reg: Error while loading Xwindows

2003-07-23 Thread rajc78
Hi,
 
We encountered a problem while starting Xwindows. We have a inbuilt VGA card (Details 
given below).
 
Savage Pro 3D Graphic Acceleration
VGA Memory share 8MB~32MB from system memory
AMD Processor (2000+)
 
Following is the error log
 

 
 
XFree86 Version 4.0.3 / X Window System

(protocol Version 11, revision 0, vendor release 6400)

Release Date: 16 March 2001

If the server is older than 6-12 months, or if your card is

newer than the above date, look for a newer version before

reporting problems. (See http://www.XFree86.Org/FAQ)

Operating System: Linux 2.2.17-8smp i686 [ELF] 

Module Loader present

(==) Log file: /var/log/XFree86.0.log, Time: Tue Jul 22 23:56:06 2003

(==) Using config file: /etc/X11/XF86Config-4

Markers: (--) probed, (**) from config file, (==) default setting,

(++) from command line, (!!) notice, (II) informational,

(WW) warning, (EE) error, (??) unknown.

(==) ServerLayout Anaconda Configured

(**) |--Screen Screen0 (0)

(**) | |--Monitor Monitor0

(**) | |--Device S3 Savage (generic)

(**) |--Input Device Mouse0

(**) |--Input Device Keyboard0

(**) Option XkbRules xfree86

(**) XKB: rules: xfree86

(**) Option XkbModel pc105

(**) XKB: model: pc105

(**) Option XkbLayout us

(**) XKB: layout: us

(**) FontPath set to unix/:7100

(**) RgbPath set to /usr/X11R6/lib/X11/rgb

(==) ModulePath set to /usr/X11R6/lib/modules

(--) using VT number 7

(II) Open APM successful

(II) Module ABI versions:

XFree86 ANSI C Emulation: 0.1

XFree86 Video Driver: 0.3

XFree86 XInput driver : 0.1

XFree86 Server Extension : 0.1

XFree86 Font Renderer : 0.2

(II) Loader running on linux

(II) LoadModule: bitmap

(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a

(II) Module bitmap: vendor=The XFree86 Project

compiled for 4.0.3, module version = 1.0.0

Module class: XFree86 Font Renderer

ABI class: XFree86 Font Renderer, version 0.2

(II) Loading font Bitmap

(II) LoadModule: pcidata

(II) Loading /usr/X11R6/lib/modules/libpcidata.a

(II) Module pcidata: vendor=The XFree86 Project

compiled for 4.0.3, module version = 0.1.0

ABI class: XFree86 Video Driver, version 0.3

(II) PCI: Probing config type using method 1

(II) PCI: Config type is 1

(II) PCI: stages = 0x03, oldVal1 = 0x803c, mode1Res1 = 0x8000

(II) PCI: PCI scan (all values are in hex)

(II) PCI: 00:00:0: chip 1106,3116 card , rev 00 class 06,00,00 hdr 00

(II) PCI: 00:01:0: chip 1106,b091 card , rev 00 class 06,04,00 hdr 01

(II) PCI: 00:0a:0: chip 134d,7891 card 134d,0001 rev 02 class 07,03,04 hdr 00

(II) PCI: 00:10:0: chip 1106,3038 card 1106,3038 rev 80 class 0c,03,00 hdr 80

(II) PCI: 00:10:1: chip 1106,3038 card 1106,3038 rev 80 class 0c,03,00 hdr 80

(II) PCI: 00:10:2: chip 1106,3038 card 1106,3038 rev 80 class 0c,03,00 hdr 80

(II) PCI: 00:10:3: chip 1106,3104 card 1106,3104 rev 82 class 0c,03,20 hdr 00

(II) PCI: 00:11:0: chip 1106,3177 card 1106, rev 00 class 06,01,00 hdr 80

(II) PCI: 00:11:1: chip 1106,0571 card 1106,0571 rev 06 class 01,01,8a hdr 00

(II) PCI: 00:11:5: chip 1106,3059 card 13f6,0301 rev 50 class 04,01,00 hdr 00

(II) PCI: 01:00:0: chip 5333,8d04 card 5333,8d04 rev 00 class 03,00,00 hdr 00

(II) PCI: End of PCI scan

(II) LoadModule: scanpci

(II) Loading /usr/X11R6/lib/modules/libscanpci.a

(II) Module scanpci: vendor=The XFree86 Project

compiled for 4.0.3, module version = 0.1.0

ABI class: XFree86 Video Driver, version 0.3

(II) UnloadModule: scanpci

(II) Unloading /usr/X11R6/lib/modules/libscanpci.a

(II) Host-to-PCI bridge:

(II) PCI-to-ISA bridge:

(II) PCI-to-PCI bridge:

(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x00 (VGA_EN is cleared)

(II) Bus 0 I/O range:

[0] -1 0x - 0x (0x1) IX[B]

(II) Bus 0 non-prefetchable memory range:

[0] -1 0x - 0x (0x0) MX[B]

(II) Bus 0 prefetchable memory range:

[0] -1 0x - 0x (0x0) MX[B]

(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0c (VGA_EN is set)

(II) Bus 1 I/O range:

(II) Bus 1 non-prefetchable memory range:

[0] -1 0xec00 - 0xedff (0x200) MX[B]

(II) Bus 1 prefetchable memory range:

[0] -1 0xe000 - 0xe7ff (0x800) MX[B]

(II) Bus -1: bridge is at (0:17:0), (0,-1,0), BCTRL: 0x00 (VGA_EN is cleared)

(II) Bus -1 I/O range:

(II) Bus -1 non-prefetchable memory range:

(II) Bus -1 prefetchable memory range:

(--) PCI:*(1:0:0) S3 unknown chipset (0x8d04) rev 0, Mem @ 0xed00/19, 0xe000/27

(II) Addressable bus resource ranges are

[0] -1 0x - 0x (0x0) MX[B]

[1] -1 0x - 0x (0x1) IX[B]

(II) OS-reported resource ranges:

[0] -1 0xffe0 - 0x (0x20) MX[B](B)

[1] -1 0x0010 - 0x3fff (0x3ff0) MX[B]E(B)

[2] -1 0x000f - 0x000f (0x1) MX[B]

[3] -1 0x000c - 0x000e (0x3) MX[B]

[4] -1 0x - 0x0009 (0xa) MX[B]

[5] -1 

Re: [XFree86] Reg: Error while loading Xwindows

2003-07-23 Thread Craig Ringer
We encountered a problem while starting Xwindows. We have a inbuilt VGA card (Details given below).
 
Savage Pro 3D Graphic Acceleration



XFree86 Version 4.0.3 / X Window System

(protocol Version 11, revision 0, vendor release 6400)

Release Date: 16 March 2001

If the server is older than 6-12 months, or if your card is

newer than the above date, look for a newer version before

reporting problems. (See http://www.XFree86.Org/FAQ)
Please note the date of release, 16 March 2001, and the above message. 
Your X server is a pretty ancient release, and won't support all the 
hardware of the newer ones.

(II) SAVAGE: driver (version 1.1.15) for S3 Savage chipsets: Savage4,

Savage3D, Savage3D-MV, Savage2000, Savage/MX-MV, Savage/MX,

Savage/IX-MV, Savage/IX, ProSavage PM133, ProSavage KM133, Twister,

TwisterK

(II) Primary Device is: PCI 01:00:0

(--) Assigning device section with no busID to primary device

(EE) No devices detected.

Fatal server error:

no screens found
Looks like your X server doesn't suport that particular card. Try 
upgrading to a newer XFree86 release - say, 4.3.0 , and see how you go. 
You might want to check out the supported chipset lists too.

http://www.xfree86.org/~dawes/4.3.0/Status.html
http://www.xfree86.org/4.0.3/Status.html
In this case, I don't see a Savage Pro in either - so either it's a 
weird and rare card that isn't supported at all (in which case try out 
the 'vesa' driver) or it's actually just another Savage type, but renamed.

Craig Ringer

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


[XFree86] Warning, couldn't open module bitmap

2003-07-23 Thread IRFAN SHAIKH
Hi,

I am new to LINUX. Today only I installed  this on my machine. But there is
some problem with desplay.


kindly look into the matter and let me know the solution.
I am attaching the log file.


Irfan Shaikh


XFree86.0.log
Description: Binary data


Re: [XFree86] pls help....

2003-07-23 Thread Egbert Eich
Meul writes:
  
  can nybody help me out???
  
Please check:

http://xfree86.linuxwiki.org/FAQErrorMessages

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


[XFree86] X in MDK 9.1 restarts without a reason

2003-07-23 Thread Aleksejs Tumanovs
Hi guys, i use mandrake 9.1 and X 4.3.0
Everything went well for couple of days until X started to restart and drop me 
into login screen.
It happened both with user and root accounts, both with KDE and IceWM, both 
with MdkDM and GDM (display managers), so I'm sure it's X-related.
It happens randomely sometimes in 2 minutes sometimes in 10 or more.
I haven't install/reinstall any applications, it just happened to me one 
morning.
Right now I'm writting this e-mail under KDE and am awaiting every second for 
X to restart, so I'll be fast:)
After these strange restarts, I started to get computer hangs even before 
Login screen appeared, sometimes it just hangs, sometimes CapsLock and 
ScrollLock blink (so called Oops). I even encountered an Oops in a bere-naked 
console after these events. I thought it might be a problem with my memory so 
I issued command: grep -r a /usr (recursive scan of every file in /usr 
directory) to load my memory as much as possible and yes it crashed with 
Oops.
Right now it doesn't restart for already a half an hour, but I'm sure it will.
Probably it is bacused I've set boot options to ACPI=off and NOAPIC, but I was 
just pointing my finger in heaven (I doubt that exactly this helped).

So,please if You are reading this and encounter the same problem and You are 
not a developer/programmer, post Your message as a reply to this one. So 
we'll gather some more information.

If You are a developer who understands X internals, then please point me to 
any files on how to track this behavior, because common files say absolutely 
nothing about this I've checked:
{HOME}/xsession-errors
/var/log/ all-X-related-files-within
they don't say anything unusual like ERROR or WARNING

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


[XFree86] crash due to X?

2003-07-23 Thread Joel
Running the same system as below, I eventually got X working.  However,
after about 20 minutes it up and dies.  It just hangs and won't go
anywhere.  can't even ctrl+alt+del.  nothing is showing up in logs as far
as i can tell.  It didn't start before X worked though.  Furthermore, now
that X is set up, my terminals are completely unusable.  Every other
letter is shifted about half a screen off.  Everything goes through ok (so
i can execute shutdown -r now if i need to, for example)) but it's
unusable.  however, trying to switch to the terms causes the system to
hang from X every time.  So i can only switch to terminals successfully
while in the gdm menu.
I'm not sure what's going on . . . anybody have any ideas?
Thanks a bunch
Joel
On Tue, 22 Jul 2003, Joel wrote:

 I'm trying to set up a clean version of Debian, and for the life of me I
 can't figure out why X won't work.

 Attached it the output log of what happens when I try and run startx, as
 well as my XF86Config.

 For what it's worth, I've got an s3 virge for video, a SYS 1510P for a
 monitor (flatscreen; does 1024x768), I'm running 2.4.21 (custom built),
 and debian unstable.  Debian stable had exactly the same problem though.
 I tried going to the (unsupported) 4.3 for debian and got the same error,
 so I downgraded again.

 Any help would be greatly appreciated.
 Thanks,
 Joel
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] ps/2 mouse no longer working under X

2003-07-23 Thread Craig Ringer
I am using RedHat 9 and just upgraded to kernel 2.4.20-19.9.  After doing so,
my ps/2 mouse (Logitech Trackman Marble FX) stopped working under X.  It
appears to function completely normally at runlevel 3, however.  If anyone
has any useful suggestions about how to get the mouse working again, I would
greatly appreciate it.  Attached is my config file and log.
If you're running gpm as well as XFree86, try stopping gpm before you 
fire up XFree86 and see if that helps.

Just an idle suggestion.

Craig Ringer

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


[XFree86] addendum to: crash due to X?

2003-07-23 Thread Joel
also, each time i go down, my clock is reset to 9:30am.
i have no idea what is causing this . . .
the comp is brand new (as in, i got the motherboard last friday) so it's
not a dead battery resetting my clock . . .

On Wed, 23 Jul 2003, Joel wrote:

 Running the same system as below, I eventually got X working.  However,
 after about 20 minutes it up and dies.  It just hangs and won't go
 anywhere.  can't even ctrl+alt+del.  nothing is showing up in logs as far
 as i can tell.  It didn't start before X worked though.  Furthermore, now
 that X is set up, my terminals are completely unusable.  Every other
 letter is shifted about half a screen off.  Everything goes through ok (so
 i can execute shutdown -r now if i need to, for example)) but it's
 unusable.  however, trying to switch to the terms causes the system to
 hang from X every time.  So i can only switch to terminals successfully
 while in the gdm menu.
 I'm not sure what's going on . . . anybody have any ideas?
 Thanks a bunch
 Joel
 On Tue, 22 Jul 2003, Joel wrote:

  I'm trying to set up a clean version of Debian, and for the life of me I
  can't figure out why X won't work.
 
  Attached it the output log of what happens when I try and run startx, as
  well as my XF86Config.
 
  For what it's worth, I've got an s3 virge for video, a SYS 1510P for a
  monitor (flatscreen; does 1024x768), I'm running 2.4.21 (custom built),
  and debian unstable.  Debian stable had exactly the same problem though.
  I tried going to the (unsupported) 4.3 for debian and got the same error,
  so I downgraded again.
 
  Any help would be greatly appreciated.
  Thanks,
  Joel

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


Re: [XFree86] X in MDK 9.1 restarts without a reason

2003-07-23 Thread Craig Ringer
Everything went well for couple of days until X started to restart and drop me 
into login screen.
Have you checked your hardware? Make sure that the CPU fan is spinning 
properly, that you don't have any loose PCI cards or memory modules, etc.

It happened both with user and root accounts, 
Please never run X login environments as root. The less run as root, the 
better, due to the power you have under the root account. If you need to 
run X apps as root, I suggest that you use 'sudo' or 'su' from an 
existing X session instead of logging in as root.

After these strange restarts, I started to get computer hangs even before 
Login screen appeared, sometimes it just hangs, sometimes CapsLock and 
ScrollLock blink (so called Oops). 
Sounds like a hardware problem, though one never can be sure. Random 
kernel panics (oopses) and silent lockups though - I'd suspect 
hardware as the #1 likely cause.

I even encountered an Oops in a bere-naked 
console after these events. I thought it might be a problem with my memory so 
I issued command: grep -r a /usr (recursive scan of every file in /usr 
directory) to load my memory as much as possible and yes it crashed with 
Oops.
Try booting up with memtest86 and see what happens.

Right now it doesn't restart for already a half an hour, but I'm sure it will.
Probably it is bacused I've set boot options to ACPI=off and NOAPIC, but I was 
just pointing my finger in heaven (I doubt that exactly this helped).
Could've.

Also test your hard disk, since bad sectors in the swap partition can 
cause these sorts of problems.

If You are a developer who understands X internals, then please point me to 
any files on how to track this behavior, because common files say absolutely 
nothing about this I've checked:
Doesn't sound like an X problem at all, actually.

Craig Ringer

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


Re: [XFree86] crash due to X?

2003-07-23 Thread Craig Ringer
Running the same system as below, I eventually got X working.  However,
after about 20 minutes it up and dies.  It just hangs and won't go
anywhere.  can't even ctrl+alt+del. 
CTL-ALT-Backspace is more likely to be useful under X, actually. This 
will kill the X server. CTL-ALT-DEL is only captured on normal text 
consoles AFAIK.

nothing is showing up in logs as far
as i can tell.  It didn't start before X worked though.  Furthermore, now
that X is set up, my terminals are completely unusable.  Every other
letter is shifted about half a screen off.
Are you using the normal text consoles, a VESA console, or some native 
frame buffer driver? Is X set to use the framebuffer interface?

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


Re: [XFree86] Problems with GL library (HELP!)

2003-07-23 Thread Ian Romanick
Francisco J. Reyna Sepúlveda wrote:

Hi,

I cant make my Radeon Mobility work with 3d acceleration, I DONE
EVERYTHING please read.
1) Install XFree 4.x.x. Make sure it works. Backup !

DONE
Which .x.x did you install?

2) Check kernel messages to make sure agpgart and mtrr are being loaded
and work. DRM module (like radeon.o or r128.o) must be loaded after
agpgart, which must be loaded after mtrr. It is possible to compile
these in.
Do *NOT* compile in the DRM module.  The one included with that kernel 
is too old.  Use the one included with XFree86 4.3.0 or one of the DRI 
snap-shots.

#Keeping same order of output
...
mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED])
mtrr: detected mtrr type: Intel
...
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 262M
agpgart: Detected Intel i830M chipset
agpgart: AGP aperture is 256M @ 0xd000
...
[drm] AGP 0.99 on Unknown @ 0xd000 256MB
[drm] Initialized radeon 1.2.0 20011231 on minor 0
[drm:radeon_unlock] *ERROR* Process 357 using kernel context 0
[drm:radeon_unlock] *ERROR* Process 622 using kernel context 0
...
I dont know what those 2 errors mean, but Ill continue...
Stop.  Do not pass Go.  Do not collect $200.

That version of the DRM is too old to be useful to anyone.  If you're 
using a recent version of XFree86, you want *at least* DRM version 
1.3.0.  The correct version to use is included with XFree86 4.3.0.  This 
is your problem.

More recent binary driver snap-shots are available under Downloads at 
http://dri.sourceforge.net/.

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


[XFree86] Linux 8.0 server GUI crash

2003-07-23 Thread Dave . Fragiacomo

Attached are my log files which were generated from my red Hat Linux 8.0 system.  The system does boot, but only in a text mode display.  The GUI does not load correctly.  The display I'm using is an HP TFT5600 RKM device1U rack mounted keyboard, mouse and LCD display.  Attached are the two current log files from the crash.  Please respond.

- Dave

David J. Fragiacomo
Pitney Bowes - TechCentral
Phone: 203-326-6295
Fax: 203-326-6208
Email: [EMAIL PROTECTED]

(See attached file: file0.log)
(See attached file: XFree86.0.log)


file0.log
Description: Binary data


XFree86.0.log
Description: Binary data


Re: [XFree86] Warning, couldn't open module bitmap

2003-07-23 Thread Mark Vojkovich
  Do you have /usr/X11R6/lib/modules/fonts/libbitmap.a ?
The server can't find it.  

Mark.


On Wed, 23 Jul 2003, IRFAN SHAIKH wrote:

 Hi,
 
 I am new to LINUX. Today only I installed  this on my machine. But there is
 some problem with desplay.
 
 
 kindly look into the matter and let me know the solution.
 I am attaching the log file.
 
 
 Irfan Shaikh
 

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


Re: [XFree86] ps/2 mouse no longer working under X

2003-07-23 Thread nathan
On Wednesday 23 July 2003 10:35, Craig Ringer wrote:
  I am using RedHat 9 and just upgraded to kernel 2.4.20-19.9.  After doing
  so, my ps/2 mouse (Logitech Trackman Marble FX) stopped working under X. 
  It appears to function completely normally at runlevel 3, however.  If
  anyone has any useful suggestions about how to get the mouse working
  again, I would greatly appreciate it.  Attached is my config file and
  log.

 If you're running gpm as well as XFree86, try stopping gpm before you
 fire up XFree86 and see if that helps.

 Just an idle suggestion.

 Craig Ringer


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

I just went back to runlevel 3, killed gpm, restarted X, and checked for gpm.  
It was not running, and I still have a trackball-shaped paperweight.  gpm 
does not appear to be interfering with X.


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


Re: [XFree86] crash due to X?

2003-07-23 Thread Joel
  Running the same system as below, I eventually got X working.  However,
  after about 20 minutes it up and dies.  It just hangs and won't go
  anywhere.  can't even ctrl+alt+del.

 CTL-ALT-Backspace is more likely to be useful under X, actually. This
 will kill the X server. CTL-ALT-DEL is only captured on normal text
 consoles AFAIK.

it makes no difference.  nothing revives it . . .



  nothing is showing up in logs as far
  as i can tell.  It didn't start before X worked though.  Furthermore, now
  that X is set up, my terminals are completely unusable.  Every other
  letter is shifted about half a screen off.

 Are you using the normal text consoles, a VESA console, or some native
 frame buffer driver? Is X set to use the framebuffer interface?


How do i tell?

I managed to get it to stop resetting my time by getting rid of exim --
that seemed to make it somewhat more stable, but it just crashed again . .
. so . . . maybe it's just semi-random? i'm not sure . . . almost had 2
hours of uptime . . .

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


Re: [XFree86] Free86 Version 4.3.99.8

2003-07-23 Thread Alf C Stockton
On Tue, 22 Jul 2003, Egbert Eich wrote:

 Non of the three things you are seeing are related.

 1. Your startx creates an .Xauthority for you.
 2. You are seeing the error message because you appearantly don't have
ipv6.
 3. You need to check yourself where the start process hangs.
I'd suggest you start with 'startx'.
Hint: to trace a shell script you can add: 'set -x'

Please tell me more about 'set -x' as it does nothing for me.
I see no more after doing a 'set -x' than I have already emailed, maybe I am
using it incorrectly.

---

Regards,
Alf Stocktonwww.stockton.co.za

Never let your sense of morals prevent you from doing what is right.
-- Salvor Hardin, Foundation
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] Xterm does not die

2003-07-23 Thread David Gmez
Hi all ;),

I'm facing a problem with xterm processes that still exists even if X has
been terminated. If the Xterm is launched from the console or from xinitrc,
when X are interrupted, the xterm process also finishes. But if i launch
the xterm process from the window manager (i'm using pawm wm), the process
becomes a child of pawm. Then when the window manager is finished with an
TERM signal, the xterm process becomes orphan and is reparented by init, just
like any other process launched by pawm. The difference is that, while all
processes die when the X connection dies, the xterm process is still running.

Ask me for more info if you need it.

Thanks a lot ;)

-- 
David Gómez

The question of whether computers can think is just like the question of
 whether submarines can swim. -- Edsger W. Dijkstra

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


Re: [XFree86] crash due to X?

2003-07-23 Thread Craig Ringer
nothing is showing up in logs as far
as i can tell.  It didn't start before X worked though.  Furthermore, now
that X is set up, my terminals are completely unusable.  Every other
letter is shifted about half a screen off.
Are you using the normal text consoles, a VESA console, or some native
frame buffer driver? Is X set to use the framebuffer interface?
How do i tell?
OK, with text consoles vs linux console framebuffer it's usually a 
boot-time option passed to the kernel. I seem to remember that digging 
through the output of 'dmesg' will normally tell you. On many Linux 
distros, the machine boots with a penguin in the top left corner as the 
kernel inits if it's using a frame buffer (at least with vesafb).

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


Re: [XFree86] Linux 8.0 server GUI crash

2003-07-23 Thread Mark Vojkovich
  For the GeForce4 Ti you'll either want to use NVIDIA's binary 
Linux drivers, which will work with your current XFree86 version,
or you'll want to upgrade to XFree86 4.3 and use the nv driver.
With the nv driver in XFree86 4.3 you may need to specify
  Option CrtcNumber 1
if it is displaying a black screen.  The driver has a difficult
time figuring out which head to use when a flat panel is attached,
and the DVI connector is frequently on connector 1 rather than 0.

Mark.

On Wed, 23 Jul 2003 [EMAIL PROTECTED] wrote:

 
 
 
 
 
 Attached are my log files which were generated from my red Hat Linux 8.0
 system.  The system does boot, but only in a text mode display.  The GUI
 does not load correctly.  The display I'm using is an HP TFT5600 RKM
 device1U rack mounted keyboard, mouse and LCD display.  Attached are
 the two current log files from the crash.  Please respond.
 
 - Dave
 
 David J. Fragiacomo
 Pitney Bowes - TechCentral
 Phone: 203-326-6295
 Fax: 203-326-6208
 Email: [EMAIL PROTECTED]
 
 (See attached file: file0.log)
 (See attached file: XFree86.0.log)

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


[XFree86] Laptop touchpad and XFree86 4.3.0

2003-07-23 Thread Peter Wainwright
Hi,
I recently upgraded my Linux system to Pink Tie 9
(basically Red Hat without the trademark icons). This
has kernel 2.4.20, XFree86 4.3.0. My laptop is a
Compaq Armada E500 which has a touchpad (Synaptics???).
This worked perfectly well under my previous system which
was XFree86 4.2.1, using the standard mouse driver
on /dev/psaux using protocol PS/2. However, the latest
XFree has problems... On startup, resume from suspend,
or whenever switching to the X virtual terminal from
another, the touchpad and keyboard become unresponsive
and the Num Lock/Caps Lock indicator lights flash for
half a minute or so... this seems to be correlated with
messages in /var/log/messages:

Jul 23 20:39:49 ceiriog1 kernel: Keyboard timed out[1]
Jul 23 20:41:44 ceiriog1 last message repeated 10 times

Eventually the X screen appears and the windows redraw,
but sometimes even so the pointer is frozen.

I have also tried using the synaptics driver for
the mouse, but this fails even to initialize the device.
I am not using gpm, the mouse is on /dev/psaux, and
the utilities such as tpconfig and test-pad in the
synaptics driver package seem to work without problems.

What am I doing wrong - or do I have a hardware incompatibility?
I attach my XF86Config and log files.
-- 
Peter Wainwright [EMAIL PROTECTED]

XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-3bigmem i686 [ELF] 
Build Date: 27 February 2003
Build Host: porky.devel.redhat.com
 
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.4.20-6custom2 ([EMAIL PROTECTED]) (gcc version 3.2.2 
20030222 (Red Hat Linux 3.2.2-5)) #2 Sat May 10 10:05:18 BST 2003 
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/XFree86.0.log, Time: Wed Jul 23 20:30:30 2003
(==) Using config file: /etc/X11/XF86Config-4
(==) ServerLayout XFree86 Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(**) Option XkbModel pc105
(**) XKB: model: pc105
(**) Option XkbLayout gb
(**) XKB: layout: gb
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to 
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(**) ModulePath set to /usr/X11R6/lib/modules
(--) using VT number 7

(II) Open APM successful
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.2
XFree86 Video Driver: 0.6
XFree86 XInput driver : 0.4
XFree86 Server Extension : 0.2
XFree86 Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=The XFree86 Project
compiled for 4.3.0, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=The XFree86 Project
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.6
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x3b54, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,7190 card 0e11,b110 rev 03 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,7191 card , rev 03 class 06,04,00 hdr 01
(II) PCI: 00:04:0: chip 104c,ac1c card , rev 01 class 06,07,00 hdr 82
(II) PCI: 00:04:1: chip 104c,ac1c card , rev 01 class 06,07,00 hdr 82
(II) PCI: 00:07:0: chip 8086,7110 card , rev 02 class 06,80,00 hdr 80
(II) PCI: 00:07:1: chip 8086,7111 card , rev 01 class 01,01,80 hdr 00
(II) PCI: 00:07:2: chip 8086,7112 card , rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:07:3: chip 8086,7113 card , rev 03 class 06,80,00 hdr 00
(II) PCI: 00:08:0: chip 125d,1978 card 0e11,b112 rev 10 class 04,01,00 hdr 00
(II) PCI: 00:09:0: chip 8086,1229 card 8086,2204 rev 09 class 02,00,00 hdr 80
(II) PCI: 00:09:1: chip 11c1,0445 card 8086,2204 rev 00 class 07,00,00 hdr 80
(II) PCI: 01:00:0: chip 1002,4c4d card 0e11,b160 rev 64 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,3), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1  0   0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1  0   

Re: [XFree86] Linux 8.0 server GUI crash

2003-07-23 Thread Dwaine Castle
Mark,

I thought that I would mention that yesterday I upgraded my RH9 to XFree86
4.3 and the NVIDIA driver failed.  RH offered to reconfigure the driver to
nv and everything worked.

XFree86.log error
[GLX]:Failed to add GLX extension(NVIDIA XFree86 driver not found)

I've been watching the list to see how many people might have experienced
similar problems.


Thanks.
Dwaine
- Original Message - 
From: Mark Vojkovich [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 3:31 PM
Subject: Re: [XFree86] Linux 8.0 server GUI crash


   For the GeForce4 Ti you'll either want to use NVIDIA's binary
 Linux drivers, which will work with your current XFree86 version,
 or you'll want to upgrade to XFree86 4.3 and use the nv driver.
 With the nv driver in XFree86 4.3 you may need to specify
   Option CrtcNumber 1
 if it is displaying a black screen.  The driver has a difficult
 time figuring out which head to use when a flat panel is attached,
 and the DVI connector is frequently on connector 1 rather than 0.

 Mark.

 On Wed, 23 Jul 2003 [EMAIL PROTECTED] wrote:

 
 
 
 
 
  Attached are my log files which were generated from my red Hat Linux 8.0
  system.  The system does boot, but only in a text mode display.  The GUI
  does not load correctly.  The display I'm using is an HP TFT5600 RKM
  device1U rack mounted keyboard, mouse and LCD display.  Attached are
  the two current log files from the crash.  Please respond.
 
  - Dave
 
  David J. Fragiacomo
  Pitney Bowes - TechCentral
  Phone: 203-326-6295
  Fax: 203-326-6208
  Email: [EMAIL PROTECTED]
 
  (See attached file: file0.log)
  (See attached file: XFree86.0.log)

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


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


[XFree86] Onboard video and PCI card

2003-07-23 Thread ralph . munar
Hi,
I'm trying to install Red Hat 6.1 on an old system (I know its old, but I
bought a book and it came with it-wanted to be able to follow along with
the book). The specs are :

P166 w/MMX
96 MB RAM
Dell P780 17 CRT
Onboard video (ATI Rage II - ati_m64)
PCI video (SiS 6326 w/ 8MB)

I have Disabled the video in BIOS and Put OS as NON PnP. I'm able to go
through Text Install but when it came to detecting the video display, it
only gives me the following as default and I cannot choose any other
option:
X probe results
Video Card: ATI Mach 64
X Server: Mach64

Once I type startx, it tells me No Screens found at the bottom of a
long message. I type lspci and it recognizes both ATI M64 AND SiS 6326
display adapters. How can I change this default to the SiS 6326 PCI at
install?

I actually ran xf86config in text mode and set my mouse, keyboard, monitor
and video configurations. This created a file called xf86config. I chose
XF86_SVGA as my server for SiS video card. However, one of the documents I
read instructed me to:
1) Setup XF86_SVGA as my default server
2) Copy the XF86Config file to /usr/X11R6/lib/X11

I checked both /usr/X11R6/bin/ and /usr/X11R6/lib/X11 and etc/X11 but I
still see the XF86_Mach64 server listed in the directory.

How should I overwrite this with XF86_SVGA and create a symbolic link to X?
Thanks...


Ralph Munar
ICVERIFY/Tellan Tech Desk
First Data Merchant Services
[EMAIL PROTECTED]

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


Re: [XFree86] Linux 8.0 server GUI crash

2003-07-23 Thread Mark Vojkovich
On Wed, 23 Jul 2003, Dwaine Castle wrote:

 Mark,
 
 I thought that I would mention that yesterday I upgraded my RH9 to XFree86
 4.3 and the NVIDIA driver failed.  RH offered to reconfigure the driver to
 nv and everything worked.

   Any time you change your kernel NVIDIA's drivers need to get
reinstalled.  

 
 XFree86.log error
 [GLX]:Failed to add GLX extension(NVIDIA XFree86 driver not found)

   That's because the NVIDIA drivers weren't uninstalled so it's
still trying to use NVIDIA's GLX module.  Removing NVIDIA's
/usr/X11R6/lib/modules/extensions/libglx.so will allow the 
Mesa GLX module to get used.



Mark.

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


[XFree86] Need latest snapshot that includes CVS files

2003-07-23 Thread asfandyar
Hi,
I'm on an ISP that cuts off every 2 hours, and have to use 56k.
Therefore, I can't download the whole CVS tree at once.
Could somebody tell me where I can get a recent source snapshot
that includes the CVS directories keep up with developments?


Please copy me on replies, I'm not on the mailing list.

Thanks,
 Asfand Yar


--
http://www.it-is-truth.org/
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


[XFree86] it crash in Mandrake 9.1 with a Geforce FX5600

2003-07-23 Thread Adri .
with the nv driver, i haven't got any problems to run the X window, but i 
have download the nvidia driver from the web page, and after doing the 
correct changes to my XF86Config-4 file, y execute the startx program and it 
stop all the system. I must restart pushing the front button after that.

The  XFree log that it creates is the next:

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.21-0.13mdksmp i686 [ELF]
Build Date: 12 March 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/XFree86.0.log, Time: Fri Jul 25 02:29:52 2003
(==) Using config file: /etc/X11/XF86Config-4
(==) ServerLayout layout1
(**) |--Screen screen1 (0)
(**) |   |--Monitor monitor1
(**) |   |--Device device1
(**) |--Input Device Keyboard1
(WW) Option XkbCompat requires an string value
(**) Option XkbModel pc105
(**) XKB: model: pc105
(**) Option XkbLayout es
(**) XKB: layout: es
(WW) Option XkbOptions requires an string value
(==) Keyboard: CustomKeycode disabled
(**) |--Input Device Mouse1
(**) FontPath set to unix/:-1
(==) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(**) Option AllowMouseOpenFail
Using vt 7
(--) using VT number 7
(II) Open APM successful
(II) Module ABI versions:
	XFree86 ANSI C Emulation: 0.2
	XFree86 Video Driver: 0.6
	XFree86 XInput driver : 0.4
	XFree86 Server Extension : 0.2
	XFree86 Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=The XFree86 Project
	compiled for 4.3.0, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=The XFree86 Project
	compiled for 4.3.0, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.6
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x8070, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1039,0646 card 1039,0646 rev 01 class 06,00,00 hdr 
80
(II) PCI: 00:01:0: chip 1039,0001 card , rev 00 class 06,04,00 hdr 
01
(II) PCI: 00:02:0: chip 1039,0008 card , rev 04 class 06,01,00 hdr 
80
(II) PCI: 00:02:5: chip 1039,5513 card 1039,5513 rev 00 class 01,01,80 hdr 
00
(II) PCI: 00:02:7: chip 1039,7012 card 1458,a002 rev a0 class 04,01,00 hdr 
00
(II) PCI: 00:03:0: chip 1039,7001 card 1039,7001 rev 0f class 0c,03,10 hdr 
80
(II) PCI: 00:03:1: chip 1039,7001 card 1039,7001 rev 0f class 0c,03,10 hdr 
00
(II) PCI: 00:03:2: chip 1039,7001 card 1039,7001 rev 0f class 0c,03,10 hdr 
00
(II) PCI: 00:03:3: chip 1039,7002 card 1458,5004 rev 00 class 0c,03,20 hdr 
00
(II) PCI: 01:00:0: chip 10de,0312 card , rev a1 class 03,00,00 hdr 
00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
	[0] -1	0	0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1	0	0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1	0	0x - 0x (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000e (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
	[0] -1	0	0xe400 - 0xe5ff (0x200) MX[B]
(II) Bus 1 prefetchable memory range:
	[0] -1	0	0xd000 - 0xdfff (0x1000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:2:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) nVidia Corporation unknown chipset (0x0312) rev 161, Mem @ 
0xe400/24, 0xd000/28
(II) Addressable bus resource ranges are
	[0] -1	0	0x - 0x (0x0) MX[B]
	[1] -1	0	0x - 0x (0x1) IX[B]
(II) OS-reported resource ranges:
	[0] -1	0	0xffe0 - 0x (0x20) MX[B](B)
	[1] -1	0	0x0010 - 0x3fff (0x3ff0) MX[B]E(B)
	[2] -1	0	0x000f - 0x000f (0x1) MX[B]
	[3] -1	0	0x000c - 0x000e (0x3) MX[B]
	[4] -1	0	0x - 0x0009 (0xa) MX[B]
	[5] -1	0	0x - 0x (0x1) IX[B]
	[6] -1	0	0x - 0x00ff (0x100) IX[B]
(II) PCI Memory resource overlap reduced 0xe000 from 0xe3ff to 
0xdfff
(II) Active PCI resource ranges:
	[0] -1	0	0xe7004000 - 0xe7004fff (0x1000) MX[B]
	[1] -1	0	0xe7003000 - 0xe7003fff (0x1000) MX[B]
	[2] -1	0	0xe7002000 - 0xe7002fff (0x1000) MX[B]
	[3] -1	0	0xe7001000 - 0xe7001fff (0x1000) MX[B]
	[4] -1	0	0xe000 - 0xdfff (0x0) 

[XFree86] un-installing/ installing Mac OS X X11

2003-07-23 Thread Jesse Saetz
I have xFree86 installed.  I would like to know how to un-install  
xFree86.  I Like the fact X11 by Apple runs all the time in the 
background.  What is the disadvantages of this?

Jesse Saetz
143 Woodcreek Dr.
Rockwall Tx., 75032
[EMAIL PROTECTED]
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86