Re: [Xpert]trying to build a ~16ft^2 x video wall

2002-05-22 Thread Dr Andrew C Aitchison

On Tue, 21 May 2002, Jacob Kuenzel wrote:

 I'm currently in the process of building a sixteen-monitor video wall,
 and am in search of some *free* software that will make it work (I found
 a $1000 program called X-META-X that does what I want flawlessly, but I
 am doing this project at my high school and don't have any money for
 it). So far I haven't found any such software, and I am begining to
 think I may have to write some code myself. Before I ask any questions,
 I think it would be a good idea to give an overview of my setup.
 
 The wall will consist of five PCs and sixteen identical monitors and
 video cards. It should work as follows: four of the PCs will have four
 video cards each and will run an X server on each video card, possibly
 using Xinerama to combine them. The fifth PC will be networked with the
 four other PCs, will use some mechanism to combine the sixteen remote
 displays (four if Xinerama is used) into one large display, and will act
 as a head-end for this display.

Matrox sell a pci card with 4 heads
http://www.matrox.com/mga/products/g200_mms/home.cfm
Stick four of those in one machine and it might solve 
your problem, as long as the one machine is fast enough.
They definitely say you can get 16 heads on one system,
although I've never heard anyone do that with Xfree86.

These use the G200, not the most recent Matrox chip, but each head
has its own chip which makes it easier to drive than the later
dualhead chips.

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

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



Re: [Xpert]Latest CVS doesn't work with my Trident CyberBladeXP/Ai1

2002-05-22 Thread Olivier Fourdan

Hi Alan,

As far as I can tell, yes, I did a checkout on the CVS and did a make
World. I can try to remove the whole directory and redo a fresh
checkout, then rebuild.

That will take time, though ;-) I'll try if that can help.

Cheers,
Olivier.

 On Wed, 2002-05-22 at 09:45, [EMAIL PROTECTED] wrote:
 Message: 5
 Date: Tue, 21 May 2002 23:24:38 +0100
 From: Alan Hourihane [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: [Xpert]Latest CVS doesn't work with my Trident CyberBladeXP/Ai1
 Reply-To: [EMAIL PROTECTED]
 
 Are you sure you've built and installed it properly.
 
 Things are working fine over here. 
 
 If you're still having problems, a log would be nice.
 
 Alan.


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



Re: [Xpert]Latest CVS doesn't work with my Trident CyberBladeXP/Ai1

2002-05-22 Thread Alan Hourihane

On Wed, May 22, 2002 at 10:38:14AM +0200, Olivier Fourdan wrote:
 Hi Alan,
 
 As far as I can tell, yes, I did a checkout on the CVS and did a make
 World. I can try to remove the whole directory and redo a fresh
 checkout, then rebuild.
 
 That will take time, though ;-) I'll try if that can help.
 
Well, I think you'll have to, because I've tested the code on
quite a lot of Trident chips lately.

Alan.
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]mousemap (was:Getting an additional mouse button to behave like the Alt key)

2002-05-22 Thread Roland Seuhs

Hi!

I've recently postest on this list about mapping keyboard events to 
mousebuttons.

I've found a small program that does this (it's so small that I've attached 
the source, hope that 3kb aren't a problem)

To summarize, the program uses 

  XGrabButton(disp,
  button,
  AnyModifier,
  DefaultRootWindow(disp),
  False,
  ButtonPressMask | ButtonReleaseMask,
  GrabModeAsync,
  GrabModeAsync,
  None,
  None);

to grab the button(s) and then uses 

XNextEvent(disp, event); 

in an endless loop to wait for the grabbed mousebutton events.

For simple things, this works fine, but as soon as you push the grabbed 
mousebutton, hold it and push a second mousebutton, XNextEvent gets the 
second event and everything goes wrong (program crashes, the crash is easily 
fixed by a if/continue statement, but the event is lost of course).

So my questions:

- Why does XNextEvent get an event it shouldn't when a grabbed button is 
pressed?
- How do you prevent XNextEvent from getting the event or how do you forwared 
those events to the X server?

Thanks a lot,

Roland

-- 
Wethern's Law:
Assumption is the mother of all screw-ups.


/*
 * mousemap: remapping of mouse events
 *
 * MOUSEMAP is distributed under the GNU GENERAL PUBLIC LICENSE (GPL)
 * Version 2 (June 1991). See the COPYING file distributed with this
 * software for more info.
 *
 * Copyright (c) 2001 by Michael Schroeder [EMAIL PROTECTED]

 */
#include stdio.h
#include stdlib.h
#include unistd.h
#include X11/Xlib.h
#include X11/keysym.h
#include X11/extensions/XTest.h


#define PROG		mousemap
#define VERSION		v0.2

#define PRESS		True
#define RELEASE		False

#define MAXBUTTON	2
#define MINIMUM		6	/* minimum count of buttons */

#define KEYLEFT		Left
#define KEYRIGHT	Right

//#define DBG	1

#ifdef DBG
# define DBGMSG(x...)	fprintf(stderr, ##x)
#else
# define DBGMSG(x...) 
#endif


static char *symbol[MAXBUTTON] = {KEYLEFT, KEYRIGHT};

/*
 * generate key event
 */
static void fakeKey(Display *disp, char *key, Bool press)
{
  unsigned int keycode;

  keycode = XKeysymToKeycode(disp, XStringToKeysym(key));
  
  XTestFakeKeyEvent(disp, keycode, press, CurrentTime);
}


static void grabButton(Display *disp, int button)
{
  XGrabButton(disp,
	  button,
	  AnyModifier,
	  DefaultRootWindow(disp),
	  False,
	  ButtonPressMask | ButtonReleaseMask,
	  GrabModeAsync,
	  GrabModeAsync,
	  None,
	  None);
}


int main(int argc, char *argv[])
{
  int buttons, index, i;
  unsigned char buf[80], map[16];
  Display *disp;
  XEvent event;
  /* create new process */
  if (fork())
exit(0);		/*  parent exits immediatly */

  setsid();		/* child is a daemon and runs in a new session */

  if(!(disp = XOpenDisplay(NULL))) {
fprintf(stderr, %s: unable to open display\n, PROG);
exit(1);
  }

  buttons = XGetPointerMapping(disp, map, sizeof(map));	/* get button count */

  if (buttons  MINIMUM) {
fprintf(stderr, %s: mapping is not required %d\n, PROG, buttons);
XCloseDisplay(disp);
exit(0);
  }

  for (i = 0; i  MAXBUTTON  i  argc; i++)
if (argv[i+1])			/* are there user defined symbols? */
  symbol[i] = argv[i+1];

  if (argc  MAXBUTTON  argv[i+1]) {	/* new mapping table? */

sprintf(buf, xmodmap -e \pointer = %s\, argv[i+1]);

if (system(buf)) { /* success ? */
  XCloseDisplay(disp);
  exit(1);
}

XGetPointerMapping(disp, map, sizeof(map));		/* get new map */
  }

  XAllowEvents(disp, AsyncBoth, CurrentTime);	/* release queued events */
  XAllowEvents(disp, SyncBoth, CurrentTime);

  for (i = MINIMUM; i = buttons; i++) 
grabButton(disp, i);			/* claim mouse buttons */

  XSelectInput(disp, XDefaultRootWindow(disp), PointerMotionMask);

  fprintf(stderr, %s %s installed - mapping table:, PROG, VERSION);
  for (i = 0; i  buttons; i++) {
if (map[i] = MINIMUM)
  fprintf(stderr,  %d=%s, map[i], symbol[map[i]-MINIMUM]);
else
  fprintf(stderr,  %d, map[i]);
  }
  fprintf(stderr, \n);

  for (;;) {	/* loop forever */

XNextEvent(disp, event);		/* block until button pressed */

DBGMSG(%s: button event: %d\n, PROG, event.xbutton.button);

index = event.xbutton.button - MINIMUM;	/* 0 = left, 1 = right */

switch (event.type) {

  case ButtonPress:
	DBGMSG(button pressed: %d\n, event.xbutton.button);
	fakeKey(disp, symbol[index], PRESS);
	break;
	
  case ButtonRelease:
	DBGMSG(button released: %d\n, event.xbutton.button);
	fakeKey(disp, symbol[index], RELEASE);
	break;
}
  }

/* never reached */

  return 0;
}







[Xpert]where get the extract.exe ....

2002-05-22 Thread wang ligang

hello:
 can you tell me where download the files :
   extract.ext
   Xbin.tgz
   Xlib.tgz
   Xman.tgz
   Xdoc.tgz
   Xfnts.tgz
   Xfenc.tgz
   Xetc.tgz
   Xvar.tgz
   Xxserv.tgz
   Xmod.tgz


 thanks 
  ligang

__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]TrueType fonts

2002-05-22 Thread PJourdan

I am at my wit's end.
I have tried everything imaginable to set up TrueType fonts on 
XFfee86-3.3.6 on FreeBSD.
The only way I got it to work was to deinstall and reinstall Xfstt. Then I 
could use xset fp+ inet/127.0.0.1:7101 and KDE3 would see these fonts in 
the configuration section.
But when I logout and startx, the fonts are no longer there. Redoing xset 
produces errors:
xset: bad font path element (#37), possible causes are:
Direcotry does not exist or has wrong permissions
Direcotry missing font.dir
Incorrect font server address or syntax
Does anybody have any idea what could be wrong?

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



[Xpert]Geode KDrive

2002-05-22 Thread Alex Pavloff


Hello folks. 

I have a National Semiconductor's Geode XFree86 4 drivers.  

These drivers can be run in two ways
1) sitting on top of National's Linux Framebuffer drivers and calling
acceleration functions (ioctls) provided by the framebuffer drivers.

2) doing all the work themselves.

I want to make a TinyX server that uses these accelerated functions.  Now,
what's my best option:

Option A) Hack the kdrive/XFbdev source to call accelerated functions where
possible.  The rendering functions provided by the Geode driver are:

Gal_set_solid_pattern
Gal_set_mono_pattern
Gal_set_raster_operation
Gal_pattern_fill
Gal_set_solid_source(unsigned long color
Gal_screen_to_screen_blt
Gal_screen_to_screen_xblt
Gal_bresenham_line

There are many other functions available, but since this is going in an
embedded device, I'm not too worried about setup issues and much more
concerned about how fast the thing is going to draw.

Option B) Attempt to figure out what Keith Packard was doing with the
other drivers in the kdrive directory, and modify the geode source code to
match that.

Suggestions/Comments?

Alex Pavloff
Software Engineer
Eason Technology  
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]ati rage mobility m /4

2002-05-22 Thread J5



Hi!

I`ve been having problems with my graphics card on fujitsu-siemens lifebook 
c-4355. its a ati rage mobility M with 4 mges of ram. i`ve herd that there is 
a way to make hardware acceleration thru utah-glx. but:
1) utah doesn`t compile on by RedHat 7.2 box with gcc3
2) when i downloaded the utah-glx-latest-linux.tar.bz2 an installed, the 3d 
graphic seems to improve, but still i don`t have the hardware accel. 
I`ve tryed xfree3.3.6, 4.1.0 and 4.2.0 with the same result. is there some 
manual or something where i can find out how to make it done? or mayebe in 
next relese of Xfree there wil be support for this card.

best regards.


Paul.
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]screen reset

2002-05-22 Thread Rolland Dudemaine

Wow, fast and precise, that's what I was looking for.
Many thanks,

Rolland

Alan Hourihane wrote:

Use the -noreset option when starting X.

startx -- -noreset

Should do it.

Alan.

On Tue, May 21, 2002 at 11:38:17 +, Rolland Dudemaine wrote:
  

Hi,
Is there an option not to make the X server reset after closing the last 
client ?
When I open a server, simply with X :1  then launch an xterm, closing 
the xterm makes the X server call the init functions and causes the 
screen to glitch and change mode to finally go back to the blank X 
screen. Can I make it stay without re-initing (that is, close the xterm 
and stay without any client) ?

Thanks for the coming help,
Best regards,
Rolland Dudemaine




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



[Xpert]Elo USB driver

2002-05-22 Thread Keith Strini

Hello all,

I am looking for someone who has developed a USB version of Elo
Touchscreen's Linux serial driver. I have to use two dual elo touchscreen
monitors for an application I run. Problem is I am in a 1U setup with only a
single serial interface. Elo make a USB setup for use with the dual monitors
but only under MS. I was wondering if anyone has done any work in this area
for touch screens.

Thanks,

Keith Strini


--
This message has been scanned for viruses and
dangerous content by Eagles Nest, and is
believed to be clean.

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



[Xpert]i845G support?

2002-05-22 Thread Fai

Anyone has experience on using i845G builtin video support on XFree86
4.1 / 4.2?

I have tried once with X 4.2, but seems there is no driver for this chipset.

Thanks!

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



[Xpert]Allocated colormaps and 4.2.0

2002-05-22 Thread iain . mcneill

Hi,

Having just upgraded to RedHat-7.3 which uses XFree86-4.2.0,  I have a
question regarding colormaps.

I have a colour depth of 8bpp (This is essential for the applications that
I want to run, upping the colour depth is not an option)

Under the previous version of X (4.0.3 in my case) I had no problems firing
up my application or any others in 8 bit mode, now I am finding that
regardless of the window manager I use, most colours have already been
allocated. For example I have started both mwm (with a plain background and
an Xterm) and KDE yet I still get the error
cannot allocate colormap entries
when starting a colour intensive application.
I can see with xcmap that a whole bunch of colours have been grabbed and I
would have expected this with KDE, but not mwm or twm.

What has been changed under 4.2.0? Am I missing some simple configuration?
This didn't used to be a problem and I really don't want to have to end up
with colour flashing.
My XF86Config file has not changed and neither has my hardware.

Any thoughts?

TIA,

Iain



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



Re: [Xpert]i845G support?

2002-05-22 Thread Alan Hourihane

On Wed, May 22, 2002 at 11:51:38AM +0800, Fai wrote:
 Anyone has experience on using i845G builtin video support on XFree86
 4.1 / 4.2?
 
 I have tried once with X 4.2, but seems there is no driver for this chipset.
 
There isn't a driver in any formal release.

There is support for 2D acceleration only in the CVS though.

Alan.
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Remote X Server?

2002-05-22 Thread Ajay

Thus spake Dr Andrew C Aitchison:

 However, you say that XFree86 doesn't support i810e.
 It does, although you wil need a kernel with agpgart
 support.

The documentation does mention support of i810e boards, but 
in practice XFree86 3.3.6 (available with Potato) does not 
support the board - or rather I couldn't do it - even after 
adding the agpgart module. I tried configuring X using 
xf86config - the list of supported boards doesn't contain 
i810 - but no go. I finally managed to start X using 
generic VGA drivers, which displayed a rather crude X 
window.

I'd XFree86 4.0.2 binary with me, so installed it and upon 
starting X got the error message: 

  AddScreen/ScreenInit failed on device 0

What could be wrong? As a matter of fact I'd configured X 
succesfully on the same board, but using RedHat, while this 
is Debian Potato.

Finally I switched over to vesa drivers, and got good clear 
X.  If that didn't work, I was planning to follow Neale's 
advice and download those packs.

-- 
Cordially,

Ajay Shankar

P.S: I'm not an Xpert! I just joined this list so that I 
can talk to Xperts :-)
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]TrueType fonts

2002-05-22 Thread Bharathi S

On Mon, 20 May 2002, PJourdan wrote:

 But when I logout and startx, the fonts are no longer 
 there. Redoing xset 
 produces errors:
 xset: bad font path element (#37), possible causes are:

Hello all,

   We are also having same problem. Every time
   we are restarting the xfstt ( kill  start ).

   This problem occure in RH and MDK. But in some
   RH 7.1 xset is not giving problem.

   I red that New X is supporting the TTF
   What does it mean ?

ThanX,
Bharathi S
-- 
--==| Bharathi S | BSB-364 DONLab | IIT-Madras |==--
Lore worth learning, learn flawlessly
Live by that learning thoroughly.
*In Tirukkural of Holy Tamil poet Tiruvalluvar.

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



Re: [Xpert]trying to build a ~16ft^2 x video wall

2002-05-22 Thread Jens Owen

Jacob Kuenzel wrote:

 The wall will consist of five PCs and sixteen identical monitors and
 video cards. It should work as follows: four of the PCs will have four
 video cards each and will run an X server on each video card, possibly
 using Xinerama to combine them. The fifth PC will be networked with the
 four other PCs, will use some mechanism to combine the sixteen remote
 displays (four if Xinerama is used) into one large display, and will act
 as a head-end for this display.

Take a look at the dmx-0-1-branch at http://dri.sourceforge.net

I don't know how far along the development is, but I believe this work
is designed to address just those needs.

-- /\
 Jens Owen/  \/\ _
  [EMAIL PROTECTED]  /\ \ \   Steamboat Springs, Colorado
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Allocated colormaps and 4.2.0

2002-05-22 Thread Dr Andrew C Aitchison

On Wed, 22 May 2002 [EMAIL PROTECTED] wrote:

 Having just upgraded to RedHat-7.3 which uses XFree86-4.2.0,  I have a
 question regarding colormaps.
 
 I have a colour depth of 8bpp (This is essential for the applications that
 I want to run, upping the colour depth is not an option)
 
 Under the previous version of X (4.0.3 in my case) I had no problems firing
 up my application or any others in 8 bit mode, now I am finding that
 regardless of the window manager I use, most colours have already been
 allocated. For example I have started both mwm (with a plain background and
 an Xterm) and KDE yet I still get the error
 cannot allocate colormap entries
 when starting a colour intensive application.
 I can see with xcmap that a whole bunch of colours have been grabbed and I
 would have expected this with KDE, but not mwm or twm.

The RENDER extension grabbed the extra colours.
I guess you can turn this extension off in the config file.

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

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



Re: [Xpert]Allocated colormaps and 4.2.0

2002-05-22 Thread Keith Packard


Around 11 o'clock on May 22, [EMAIL PROTECTED] wrote:

 now I am finding that regardless of the window manager I use, most colours
 have already been allocated.

Fixed in current CVS.

Keith PackardXFree86 Core TeamHP Cambridge Research Lab


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



[Xpert]Version Conflicts?

2002-05-22 Thread Ruben Fritts




I have a brand new laptop and need to install RH 7.1.  The application we
are running has only been developed for 7.1.
So I can't upgrade to RH 7.3 like I want to.  the Video Card it has is
compatible  with RH 7.3 running 4.2.0 Xfree86.

But not compatible with RH 7.1 Running 4.0.3 Xfree86.Can I upgrade to
Xfree86 4.2.0 and stay with RH 7.1?

I Found the upgrade/install instructions on Xfree86.org web site but only
mentioned going  from RH 7.2.

Thanks for your time.



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



[Xpert]How to add a new mouse driver option?

2002-05-22 Thread Paul Elliott


I am trying a hack, and I want to add a new mouse driver option.

I believe that I need to alter xf86parsePointerSection in 
programs/Xserver/hw/xfree86/parser/Pointer.c.

Of course I need to alter the initialization routines in
programs/Xserver/hw/xfree86/input/mouse/mouse.c.

Are there any other places I need to change to insure that
my hacked mouse driver gets its extra options?

Thank You.

BTW

Is there any internal programming XFree86 design document?
Where would I find it?

Thank You.


-- 
Paul Elliott   1(512)837-1096
[EMAIL PROTECTED]PMB 181, 11900 Metric Blvd Suite J
http://www.io.com/~pelliott/pme/   Austin TX 78758-3117



msg06434/pgp0.pgp
Description: PGP signature


[Xpert]TridentGUI9685 problems

2002-05-22 Thread 'kolourful odour'

first of all, i really have no idea what i'm doing with this dri and
drm stuph i was simply redirected to the webpage. i wasn't able to find
much info so i ventured out on my own. i've set up a XF86Config file
with the trident driver and now all i get is many awful colours or a
complete freeze of my system. if someone can
walk me through this please email me at [EMAIL PROTECTED] . the log file (by the way, i 
had to comment out the text modules because rendering was freezing the computer):


#65279;This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to [EMAIL PROTECTED] and patches submitted
to [EMAIL PROTECTED]  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.2.99.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: xx 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.18 i586 [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 May 22 07:52:11 2002
(==) Using config file: /etc/X11/XF86Config
(==) ServerLayout Simple Layout
(**) |--Screen Screen 1 (0)
(**) |   |--Monitor My Monitor
(**) |   |--Device * Generic VESA compatible
(**) |--Input Device Mouse1
(**) |--Input Device Keyboard1
(**) Option AutoRepeat 500 30
(**) Option XkbRules xfree86
(**) XKB: rules: xfree86
(**) Option XkbModel pc104
(**) XKB: model: pc104
(**) Option XkbLayout us
(**) XKB: layout: us
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to
/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dp
i/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X1
1R6/lib/X11/fonts/Speedo/,/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

(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.6
XFree86 XInput driver : 0.3
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.3
(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.2.99.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(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.2.99.1, module version = 0.1.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 = 0x8000880c, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,122d card , rev 02 class 06,00,00 hdr 00
(II) PCI: 00:07:0: chip 8086,122e card , rev 02 class 06,01,00 hdr 00
(II) PCI: 00:07:1: chip 8086,1230 card , rev 02 class 01,01,80 hdr 00
(II) PCI: 00:08:0: chip 5333,8811 card , rev 00 class 03,00,00 hdr 00
(II) PCI: 00:11:0: chip 13f6,0111 card 13f6,0111 rev 10 class 04,01,00 hdr 00
(II) PCI: 00:13:0: chip 1023,9660 card , rev d3 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.2.99.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.6
(II) UnloadModule: scanpci
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (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-ISA bridge:
(II) Bus -1: bridge is at (0:7:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(--) PCI: (0:8:0) S3 Trio32/64 rev 0, Mem @ 0xfe80/23, BIOS @ 0xfffb/16
(--) PCI:*(0:19:0) Trident TGUI 96xx rev 211, Mem @ 0xff40/22, 0xffbe/16,
0xff00/22
(II) Addressable bus resource ranges are
[0] -1  0   0x - 0x (0x0) MX[B]
[1] -1  0   0x - 0x (0x1) IX[B]
(II) 

Re: [Xpert]Allocated colormaps and 4.2.0

2002-05-22 Thread Mark Vojkovich

On Wed, 22 May 2002, Dr Andrew C Aitchison wrote:

 On Wed, 22 May 2002 [EMAIL PROTECTED] wrote:
 
  Having just upgraded to RedHat-7.3 which uses XFree86-4.2.0,  I have a
  question regarding colormaps.
  
  I have a colour depth of 8bpp (This is essential for the applications that
  I want to run, upping the colour depth is not an option)
  
  Under the previous version of X (4.0.3 in my case) I had no problems firing
  up my application or any others in 8 bit mode, now I am finding that
  regardless of the window manager I use, most colours have already been
  allocated. For example I have started both mwm (with a plain background and
  an Xterm) and KDE yet I still get the error
  cannot allocate colormap entries
  when starting a colour intensive application.
  I can see with xcmap that a whole bunch of colours have been grabbed and I
  would have expected this with KDE, but not mwm or twm.
 
 The RENDER extension grabbed the extra colours.
 I guess you can turn this extension off in the config file.

   How do you do that?  I haven't noticed a way.


Mark.

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



Re: [Xpert]TridentGUI9685 problems

2002-05-22 Thread Alan Hourihane

On Wed, May 22, 2002 at 05:41:59PM +, 'kolourful odour' wrote:
 (II) TRIDENT(0): VESA BIOS detected
 (II) TRIDENT(0): VESA VBE Version 1.2
 (II) TRIDENT(0): VESA VBE Total Mem: 1024 kB
 (II) TRIDENT(0): VESA VBE OEM: Trident TGUI96xx
 (--) TRIDENT(0): Revision is 33
 (==) TRIDENT(0): Using HW cursor
 (--) TRIDENT(0): Found ProVidia 9685 chip
 (--) TRIDENT(0): RAM type is EDO Ram
 (**) TRIDENT(0): VideoRAM: 2048 kByte

According to this your overriding your VideoRAM to 2048, but it
should be 1024.

Remove the line that says

Videoram 2048

in your config file.

Alan.
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]adding more keyboards and mice

2002-05-22 Thread dvorakv

Hello Xperts,

how hard would it be to add more keyboards and mice to XFree, each
delivering events to a different screen, thus enabling a full local
multiuser setup? Is there any reason why this couldn't be implemented?

Vaclav Dvorak   [EMAIL PROTECTED]
IDAS, s.r.o.http://www.idas.cz
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]monitor redetection

2002-05-22 Thread Brian Wellington

I'm running X (4.2.0) on a laptop, occasionally plugged into an external
monitor.  If I start X with the built-in display is active and later
switch to an external monitor (using the hot-keys), I end up with a
1024x768@60Hz display on a CRT, which is less than optimal.  Starting X 
with the external display active works fine, and displays at 85Hz.

Is there a way to kick the server and get it to notice the monitor change,
perhaps doing DDC, and change the mode to one with a better refresh rate?
I didn't see a way for xvidtune to do this.  I also tried writing a simple
program to fetch the current modelines (with XF86VidModeGetAllModeLines),
update the modeline with appropriate values for an 85Hz refresh rate, and
switch modes (with XF86VidModeSwitchToMode), but nothing happened (even 
though all of the calls succeeded).

I'm not sure if adding multiple Modelines to XF86Config-4 will work, 
since the server appears to discard all but the best modeline for each 
resolution on startup.

Any ideas?

Thanks,
Brian

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



Re: [Xpert]Allocated colormaps and 4.2.0

2002-05-22 Thread Dr Andrew C Aitchison

On Wed, 22 May 2002, Mark Vojkovich wrote:

 On Wed, 22 May 2002, Dr Andrew C Aitchison wrote:
 
  On Wed, 22 May 2002 [EMAIL PROTECTED] wrote:
  
   Having just upgraded to RedHat-7.3 which uses XFree86-4.2.0,  I have a
   question regarding colormaps.
   
   I have a colour depth of 8bpp (This is essential for the applications that
   I want to run, upping the colour depth is not an option)
   
   Under the previous version of X (4.0.3 in my case) I had no problems firing
   up my application or any others in 8 bit mode, now I am finding that
   regardless of the window manager I use, most colours have already been
   allocated. For example I have started both mwm (with a plain background and
   an Xterm) and KDE yet I still get the error
   cannot allocate colormap entries
   when starting a colour intensive application.
   I can see with xcmap that a whole bunch of colours have been grabbed and I
   would have expected this with KDE, but not mwm or twm.
  
  The RENDER extension grabbed the extra colours.
  I guess you can turn this extension off in the config file.
 
How do you do that?  I haven't noticed a way.

Sorry, I forgot that it was a built in extension, not a module, so
   SubSection xx
  Option  omit y
   EndSubSection
doesn't work :-(

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

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



Re: [Xpert]monitor redetection

2002-05-22 Thread Billy Biggs

Brian Wellington ([EMAIL PROTECTED]):

 Is there a way to kick the server and get it to notice the monitor
 change, perhaps doing DDC, and change the mode to one with a better
 refresh rate?  I didn't see a way for xvidtune to do this.  I also
 tried writing a simple program to fetch the current modelines (with
 XF86VidModeGetAllModeLines), update the modeline with appropriate
 values for an 85Hz refresh rate, and switch modes (with
 XF86VidModeSwitchToMode), but nothing happened (even though all of the
 calls succeeded).

  Has this code been updated in X 4.2?  I know that in X 4.1, the
XF86VidMode calls to do this didn't work at all (making a modeline on
the fly, adding it, and switching to it):  the code was just unfinished.
I wrote a patch to fix this but it was buggy and incomplete, so I
haven't sent it yet.  If nobody has fixed it, it may be why it's not
working for you.

-- 
Billy Biggs
[EMAIL PROTECTED]
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]monitor redetection

2002-05-22 Thread Dr Andrew C Aitchison

On Wed, 22 May 2002, Brian Wellington wrote:

 I'm running X (4.2.0) on a laptop, occasionally plugged into an external
 monitor.  If I start X with the built-in display is active and later
 switch to an external monitor (using the hot-keys), I end up with a
 1024x768@60Hz display on a CRT, which is less than optimal.  Starting X 
 with the external display active works fine, and displays at 85Hz.
 
 Is there a way to kick the server and get it to notice the monitor change,
 perhaps doing DDC, and change the mode to one with a better refresh rate?
 I didn't see a way for xvidtune to do this.  I also tried writing a simple
 program to fetch the current modelines (with XF86VidModeGetAllModeLines),
 update the modeline with appropriate values for an 85Hz refresh rate, and
 switch modes (with XF86VidModeSwitchToMode), but nothing happened (even 
 though all of the calls succeeded).
 
 I'm not sure if adding multiple Modelines to XF86Config-4 will work, 
 since the server appears to discard all but the best modeline for each 
 resolution on startup.

Monitor redetection isn't implemented at the moment.

If you are happy with what happens when you start X with the external 
monitor, you could add the monitor ranges from DDC to your config file;
running X -configure will probably give you a suitable monitor section.

Some laptops allow you to have different refresh rates on the internal
and external displays, and some of these are supported by some XFree86 
video drivers, which gets around the problem you describe.

Monitor redetection could probably be implemented as an addition to the 
XFree86-VidModeExtension, if anyone felt like it.

Laptops would have to be treated specially
as many don't report DDC for the internal display.
More and more laptops are effectively dual head,
and many of them switch active video outputs with hot-keys supported by 
the BIOS calls which may or may not be documented and available to 
XFree86.

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

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



Re: [Xpert]Xinerama + gtk+1.2 freezes

2002-05-22 Thread Xavier Bestel

I have narrowed a bit the bug:

here is a small testcase which very often freezes, but only when in
Xinerama mode and when using a truetype font:

#include stdio.h
#include stdlib.h
#include unistd.h
#include X11/Xlib.h

int main(int argc, char **argv)
{
int i;
GC gc;
XGCValues gcv;
Display *dpy = XOpenDisplay(NULL);
int blackColor = BlackPixel(dpy, DefaultScreen(dpy));
int whiteColor = WhitePixel(dpy, DefaultScreen(dpy));
Window w = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 0, 0, 200, 500, 0, 
blackColor, blackColor);
XSelectInput(dpy, w, StructureNotifyMask);
XMapWindow(dpy, w);
gcv.font = XLoadFont(dpy, 
-misc-yikatu-medium-r-normal-*-*-280-*-*-p-*-iso10646-1);
gc = XCreateGC(dpy, w, GCFont, gcv);
XSetForeground(dpy, gc, whiteColor);
for(;;)
{
XEvent e;
XNextEvent(dpy, e);
if (e.type == MapNotify)
break;
}
for(i = 0; i  50; i++)
XDrawString(dpy, w, gc, i, i * 10,  Y a r g l a a !, 16);
XSync(dpy, False);
sleep(1);

return 0;
}

I dunno how to always synchronize operations, so I did an XSync() at the
end and it freezes there. You can retrieve the font here:
ftp://awak.dyndns.org/yikatu.ttf (it's 26k big)

I'm using X4.1.0 from debian/sid

What can I do more to help debug this (very annoying) problem ?

Xav

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



Re: [Xpert]monitor redetection

2002-05-22 Thread Keith Packard


Around 20 o'clock on May 22, Dr Andrew C Aitchison wrote:

 Monitor redetection isn't implemented at the moment.

The RandR implementation in the kdrive vesa server can requery the BIOS 
for modes; laptop BIOSes generally reflect the changes visible when the 
select output is switched.

I use this to switch sizes when plugging into an external projector.

Keith PackardXFree86 Core TeamHP Cambridge Research Lab


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



Re: [Xpert]trying to build a ~16ft^2 x video wall

2002-05-22 Thread Jacob Kuenzel

yep, just yesterday i made one more search of the internet not expecting
to find much, and came across dmx. it is precisely what i was looking
for. i'm very glad to have found it. thank you to everyone that
responded to my post and helped me out.

-jacob kuenzel

Jens Owen wrote:
 
 Jacob Kuenzel wrote:
 
  The wall will consist of five PCs and sixteen identical monitors and
  video cards. It should work as follows: four of the PCs will have four
  video cards each and will run an X server on each video card, possibly
  using Xinerama to combine them. The fifth PC will be networked with the
  four other PCs, will use some mechanism to combine the sixteen remote
  displays (four if Xinerama is used) into one large display, and will act
  as a head-end for this display.
 
 Take a look at the dmx-0-1-branch at http://dri.sourceforge.net
 
 I don't know how far along the development is, but I believe this work
 is designed to address just those needs.
 
 -- /\
  Jens Owen/  \/\ _
   [EMAIL PROTECTED]  /\ \ \   Steamboat Springs, Colorado
 ___
 Xpert mailing list
 [EMAIL PROTECTED]
 http://XFree86.Org/mailman/listinfo/xpert
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]Virtual Screen in 4.2.0

2002-05-22 Thread Dietmar N.

Hello all,

Ive been trying to get my XFree 4.2.0 modes setup working without the virtual 
screen. It seems though that the virtual screen always has the dimensions of 
the largest mode listed in the display subsection. So, say default mode is 
1152x... then I want to switch to 768x... for fullscreen TV, then virtual 
area is still 1152, which is annoying.  How do I change this?

thanx in advance,
Dietmar


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



Re: [Xpert]Virtual Screen in 4.2.0

2002-05-22 Thread Mark Vojkovich

On Thu, 23 May 2002, Dietmar N. wrote:

 Hello all,
 
 Ive been trying to get my XFree 4.2.0 modes setup working without the virtual 
 screen. It seems though that the virtual screen always has the dimensions of 
 the largest mode listed in the display subsection. So, say default mode is 
 1152x... then I want to switch to 768x... for fullscreen TV, then virtual 
 area is still 1152, which is annoying.  How do I change this?

  You can't.  The X11 specification requires the size of the root window to 
stay the same for the life of the server.


Mark.

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



Re: [Xpert]Virtual Screen in 4.2.0

2002-05-22 Thread Dietmar N.

Hi,

   You can't.  The X11 specification requires the size of the root window to
 stay the same for the life of the server.

Thank you for your answer.

Well, then the specification is kept much more closely in 4.2.0 than it is in 
3.3.6, because there I think I had it working smoothly; I might be mistaken 
though. 
Deplorable, yet a drawback rather easy to live with, considering all the 
advantages of the 4.x series,

Best regards,
Dietmar
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Virtual Screen in 4.2.0

2002-05-22 Thread Mark Vojkovich

On Thu, 23 May 2002, Dietmar N. wrote:

 Hi,
 
You can't.  The X11 specification requires the size of the root window to
  stay the same for the life of the server.
 
 Thank you for your answer.
 
 Well, then the specification is kept much more closely in 4.2.0 than it is in 
 3.3.6, because there I think I had it working smoothly; I might be mistaken 
 though. 

   3.3.6 did not allow changing of the root window size.


Mark.

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