Using a Projector with Java Desktop

Release 1 or 2 and the Tecra M2

Here are instructions on configuring the NVIDIA device drivers. Follow these instuctions and make the necessary changes to the XF86Config file. Note that this file is located in two directories: /etc and /etc/X11. It is important that you only modify the on in /etc/X11. I have included both files here. The XF86Config file that I am including supports the built in erase mouse and a USB Wheel Mouse. Here are the files:

XF86Config in /etc
XF86Config in /etc/X11

Here are the instructions: (Have Fun!)
Go back to Menu

Contributed by: Jeff Blanchard
Machine name: Toshiba Tecra M2, 1.7 GHz Pentium M, 1GB, 80 GB drive
Graphics Card: NVIDIA GeForce FX Go5200 64MB
JDS build version: Java Desktop Release 2 (Quicksilve 10c)


Kyle McDonald - (I used his notes from the Looking Glass interest alias
for the NVIDIA driver installation. His notes are also
posted at the Looking Glass site.)

README for NVIDIA driver

This article specifically addresses the configuration of the NVIDIA
video driver for JDS Release 1 or 2. It is broken into two parts and
and Appendix:

Part 1 - Installing and configuring the NVIDIA video driver
for maximum performance (READ Looking Glass)
Part 2 - Configuration of the driver so that the display is
simultaneously sent to the external VGA connector and internal
LCD flat panel (READ presentation giving)
Appendix - One more step to enable Looking Glass

Part 1 - Installing and configuring NVIDIA video driver

If you received your laptop from Xerox, it should have
had the iWork version of JDS pre-installed for you. If
that's the case, then you may not need to go through this
part. However, it's good to understand how to configure
the video driver in case you change something. If you ever
run sax2 to re-configure the driver, you'll want to pay

This part is broken into 5 steps:

1. Download the driver
2. Build dependencies list
3. Run the installer
4. Run sax2
5. Re-run the installer (see below for an explanation)

1. Download the driver

In your browser, go to
and download the file (into the /export
for illustration purposes).

2. Build dependencies list

Before proceeding with this step make sure you've:

a. Installed the kernel source RPM on your machine (yast2 -i kernel-source)

Switch to a virtual text console (CTRL-ALT-F2), log in as root, and run the
following commands:

# init 3
# pkill gdm

After that, run the driver download file using the --extract-only option:

# cd /export
# sh --extract-only

Now you're ready to compile the module:

# cd /usr/src/linux
# make cloneconfig
# make dep

3. Run the installer

Before proceeding with this step, make sure that you've:

a. Removed the following 3 RPMs if they're installed
- XFree86-GLX, NVIDIA-kernel and NVIDIA-GLX
You can verify their installation by using the rpm command:

# rpm -qa | grep

If they're installed, you can remove them with the rpm command:

# rpm -e

Go back to the place where you extracted the NVIDIA download
and run the installer:

# cd /export/NVIDIA-Linux-x86-1.0-5336-pkg1/
# ./nvidia-installer

Step through the prompts in this program. When it asks you whether
you want it to search the net for pre-compiled libraries, say no.
It will then proceed to build (using the output of the previous step)
and install them for you. It will also create symbolic links.

Once the installer was done, it will tell you to run 'sax2' to configure
your driver.

4. Run sax2

You must run sax2 in the following way or you will not use
the driver that you just went through all the effort of creating:

# sax2 -m 0=nvidia

(NOTE: that's a number 0, not a letter O)

When sax2 comes up, tell it you want to change the configuration.
You can change the monitor, color and resolution, input devices, etc.
However, DO NOT modify the video card entry. You will not find
the exact card in the list. If you leave it alone, it will work.
Here's are the changes that I made:

Monitor - LCD 1280x1024@60Hz
Color and Resolution - 24 bit color and 1280x1024
Input Devices - Added USB mouse using imps/2 driver

After you make the changes, you can test your settings.
You should see the test screen. Confirm your settings
and leave sax2.

5. Re-run the installer

At this point, if you restarted your X server, it would work
and one would think that life is great. However, if you attempt
to run any 3D app (again, READ Looking Glass). You'll be very
disappointed. Running glxgears, you'll see 150-200 fps which
isn't very good. To use the NVIDIA GLX libraries, you must
re-run the installer. Why? Because, one nice feature (or bug)
of sax2 is that it destroys the symbolic links the the installer
created for us before running sax2. To restore these links, the
easiest thing to do is re-run the installer:

# cd /export/NVIDIA-Linux-x86-1.0-5336-pkg1/
# ./nvidia-installer

Now you're ready to re-start the X server.

# init 5

At this point, you should see the Nvidia logo. Running the
command 'glxinfo' should show that GLX is from NVIDIA.
While running 'glxgears', you should around 2,000 fps.

I've included my XF86Config file for reference. Ignore
the TwinView options for the moment.

Part 2 - Configuring the video driver for presentations

You have two options when it comes to giving presentations
on your Tecra. In the BIOS, you select one of two options
for video signal output called Power On Display- Auto-Selected (default) or
LCD+Analog RGB. If you leave it at the default,
when you boot your laptop with a projector connected, it will
output the video signal ONLY to the projector. Don't bother
trying to use the Fn-F5 keystroke to toggle your video because
it DOES NOT work with the NVIDIA driver (this is stated in
the README). If you can live with this, you can stop reading
and go on your merry way. If you're like me and don't have good
enough hand-eye coordination to type and use
your mouse while looking up at a screen then read on.

First, go into your BIOS (keep the Esc key pressed while it boots up
and then select the F1 key when prompted) and change the
Power On Display setting to LCD+Analog RGB. Next, when you get
to the GRUB screen, select the JDS line
and at the end of the Boot Options line, type the number 3.
JDS will boot to run level 3 which does not start X. Log in
as root. Using vi, edit your XF86Config file so it contains
the 7 Option lines in the Devices section and the commenting
out of the Xinerama Option line in the ServerLayout section.

Here's the relevant snippet from my /etc/X11/XF86Config file: (See the the top of this page to down load a working XF86Free file)

Section "Device"
BoardName "Framebuffer Graphics"
BusID "1:0:0"
Driver "nvidia"
Identifier "Device[0]"
VendorName "VESA"
# begin - Added for external VGA output
Option "TwinView"
#Option "SecondMonitorHorizSync" "27-82"
#Option "SecondMonitorVertRefresh" "40-60"
Option "UseEdidFreqs" "true"
Option "TwinViewOrientation" "Clone"
Option "MetaModes" "1280x1024,1280x1024; 1024x768, 1024x768"
Option "ConnectedMonitor" "CRT, DFP"
# end - Added for external VGA output

Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Mouse[3]" "SendCoreEvents"
Option "Clone" "off"
# The following line has been commented out to enable external VGA output
# Option "Xinerama" "off"
Screen "Screen[0]"

For detailed descriptions of these Options, you can check out the README
for the NVIDIA driver.

As you can see, I'm using 1280x1024 resolution on both the LCD and the
projector, the newer projectors can handle this. If you have an older
project, you may need to use 1024x768.

After you've done this, restart the X server:

# init 5

Now, you should be able to connect a projector and see the output. The
great thing about this mode is that you don't have to boot JDS with
the laptop connected - you can connect the projector at any time.

Go back to Menu