Einstieg in das Projekt Looking Glass (Entwickler Version)
Willkommen zum Projekt Looking Glass!
Dieses Dokument dient als Anleitung wie du am schnellsten die Entwicklerversion von Looking Glass zum laufen bewegen kannst.
Um zu beginnen must du als erstes deine Umgebung/ dein System einrichten.
Wenn du sichergestellt hast das dein System richtig eingestellt ist, kannst du dir die Dateien downloaden und mit der Installation beginnen.
1. Systemvoraussetzungen Hardware
und Software Voraussetzungen
2. Einstellen der Looking Glass Umgebung (Downloaden und installieren der benötigten Komponenten)
3. Installation der Entwicklerversion von Looking Glass
4. Starten von Looking Glass (Wie Looking Glass als Desktop gestartet wird)
5. Problembehebung
6. Mit dem Projekt Looking Glass in Verbindung bleiben Wie du in Verbindung bleiben kannst!
7. Einige Abschlußworte
1. Systemvoraussetzungen
Bevor du dein Projekt Looking Glass starten kannst,
solltest du schauen das du die minimalen Systemvorraussetzungen erfüllst
um einen Problemlosen Start zu gewährleisten.
| Komponente |
Voraussetzungen |
| Betriebssystem |
Linux x86: Die meisten aktuellen Distributionen sollten ausreichen, auch wenn es einige Probleme bei manchen Java-Installationen gab. Wir schlagen vor, sich in diesen Fällen nach den hier angegebenen Anleitungen zu richten.
Solaris amd64: Solaris amd64: Looking Glass unterstützt nun Solaris x86 S10_b74 (und neuer)
|
| CPU |
2 GHz und schneller wird empfohlen |
| RAM |
512MB |
<
Graphikkarte*
|
Linux x86: Eine 3D unterstützende Grafikkarte mit Unterstützung f??r OpenGL Version 1.2 und neuer
BEACHTE: Momentan exestiert ein Bug bei ATI-Karten der den Start von Looking Glass abbricht. Daher werden momentan nur Nvidia-Grafikkarten unterstützt.
Für Nvidiakarten muss mindestens der Treiber in der Version 1.0-6629 verwendet werden. Lies dazu hier für mehr informationen.
Es ist sehr wichtig diese Infos zu lesen wenn du auf diesen Treiber wechselst, da LG3D eine bestimmte Konfiguration des Treibers zum laufen benötigt.
Solaris x86: Der Nvidia-Treiber für Solaris kann
hier heruntergeladen werden. Bewege deinen Mauszeiger zu "FCS candidate drivers (1.0-7664)" (oben auf der Seite), klicke dann mit der rechten Maus auf "Speichern unter" im Menü. Speichere die Datei in /tmp. Dann wechsle zu root und gebe ein:
# /bin/bash /tmp/NVIDIA-Solaris-x86-1.0-7664.run
Momentan werden nur folgende Grafikkarten von dem Treiber unterstützt:
Quadro FX 4000
Quadro FX 3000
Quadro FX 1100
Quadro FX 500
NVS 280
WICHTIG! 24bit Farbtiefe wird bei allen Systemen als Minimum benötigt!
Lies die Anleitung um dies einzustellen.
WICHTIG! Einige Grafikkarten benötigen bestimmte Einstellungen um mit dem Projekt LG3D zu laufen.
Für Graffikkarten Konfigurationsanleitungen spezieller Karten, schau hier:
Installing and Configuring Device
Drivers
for 3D Desktop Project Looking Glass
Wenn du dein LG3D erfolreich auf anderen Karten zum laufen bekommen,
oder du deine Probleme mit speziellen Karten hast, laß es uns wissen und
nutze
das Diskussionsforum
|
| Disk Space |
350MB |
2. Einstellen der Looking Glass Umgebung
Bevor du Looking Glass starten kannst, mußt du einige Java Komponenten installieren. Der einfachste Weg ist es, alle Komponenten herunterzuladen und dann die Installation nach der Liste unten abzuarbeiten.
Downloaden der Komponenten
Beachte: Die Installationsanleitung setzt voraus, das alle Downloads in /tmp gespeichert werden.
- Java JDK, Standard Edition (J2SE)
Linux x86: Version 5.0 oder neuer.
Beachte: Die Installationsanleitung setzt voraus, das du die RPM Version des JDK heruntergeladen hast.
Solaris x86: Version 5.0 update 3 oder neuer.
Beachte: Die Installationsanleitung setzt voraus, das du die gepackte Version des JDK heruntergeladen hast.
Das JDK kann von http://java.sun.com/j2se/1.5.0/download.jsp heruntergeladen werden
- Java 3D SDK 1.4 oder neuer
Es gibt bis jetzt noch keine offizielle Version des Java3D 1.4, aber stabiele Versionen sind bereits verfügbar.
Diese kannst du herunterladen von:
The Java3D binary builds page.
1.4.0-build3 oder neuer wird empfohlen.
Linux x86: Download java3d-1_4_0-build3-linux-i586.zip.
Solaris x86: Download java3d-1_4_0-build3-solaris-x86.zip.
- Java Advanced Imaging API (JAI) SDK 1.1.2 oder neuer
http://java.sun.com/products/java-media/jai/downloads/download-1_1_2.html
Linux x86: Wähle das JDK(TM)
Installations Packet für die Installation in einem JDK Download. Nach dem lesen und Akzeptieren der Software Lizenz , wähle das Linux
JDK Install (jai-1_1_2-lib-linux-i586-jdk.bin).
Solaris x86: Wähle das JDK(TM)
Installations Packet für die Installation in einem JDK Download. Nach dem lesen und Akzeptieren der Software Lizenz, wähle Solaris x86
JDK Install (jai-1_1_2-lib-solaris-i586-jdk.bin).
Installieren der Komponenten
Nach dem herunterladen der kompletten Komponenten,
installiere sie nach den folgenden Instruktionen.
- Als erstes zu root wechseln:
% su root
Password: root Passwort eingeben
#
- Installiere das JDK 5.0:
Linux x86:
# cd /tmp
# /bin/bash jdk-1_5_0_03-linux-i586-rpm.bin
# rm jdk-1_5_0_03-linux-i586.rpm
# rm jdk-1_5_0_03-linux-i586-rpm.bin
Solaris x86:
# cd /tmp
# uncompress jdk-1_5_0_03-solaris-i586.tar.Z
# tar xvf jdk-1_5_0_03-solaris-i586.tar
# /usr/sbin/pkgadd -d . SUNWj5cfg SUNWj5dev SUNWj5dmo SUNWj5jmp SUNWj5man SUNWj5rt
(Beantworte alle Fragen mit "ja")
# /bin/rm -rf SUNWj5cfg SUNWj5dev SUNWj5dmo SUNWj5jmp SUNWj5man SUNWj5rt
# /bin/rm -f jdk-1_5_0_03-solaris-i586.tar
- Installiere das Java 3D SDK:
Linux x86:
# cd /tmp
# unzip java3d-1_4_0-build3-linux-i586.zip
Danach folge den Anleitungen in der Datei /tmp/java3d-1_4_0-build3-linux-i586.zip/HOW-TO-INSTALL.TXT. (Beantworte die Frage mit 'y' wenn du gefragt wirst).
Solaris x86:
# cd /tmp
# unzip java3d-1_4_0-build3-solaris-x86.zip
Danach folge den Anweisungen in der Datei /tmp/java3d-1_4_0-build3-solaris-x86.zip/HOW-TO-INSTALL.TXT. (Beantworte die Frage mit 'y' wenn du gefragt wirst).
- Installiere die Java Advanced Imaging API:
Linux x86:
# cd /usr/java
# /bin/bash /tmp/jai-1_1_2-lib-linux-i586-jdk.bin
(Beantworte die Frage mit 'y' wenn du gefragt wirst).
Solaris x86:
# cd /usr/java
# /bin/bash /tmp/jai-1_1_2-lib-solaris-i586-jdk.bin
(Beantworte die Frage mit 'y' wenn du gefragt wirst).
- Beenden der root shell:
# exit
%
-
Einige Systemvariablen die du benötigst müssen in das Profil deiner shell
eingetragen werden.
Hier ist ein Beispiel für die bash(1):
JAVA_HOME=/usr/java
PATH=$JAVA_HOME/bin:$PATH
3. Installation der Entwicklerversion von Looking Glass
Registriere dich auf der java.net Webseite
Wenn du dich noch nicht vorher auf
java.net angemeldet hast,
dann mußt du dir jetzt einen Account anlegen:
- Gehe zu http://www.java.net
und klicke auf den Register Link
oben auf der Seite.
- Gebe deinen gewünschten Benutzernamen und deine E-Mail Adresse an und dr%uuml;cke dann den
[Register] Knopf.
- Du wirst eine E-Mail erhalten in der du eine Anleitung findest wie
du dir ein Passwort einrichtest. Wenn du du dein Passwort eingegeben und
die Regeln der java.net Website akzeptiert hast wirst du eingeloggt.
Downloaden der Project Looking Glass Installationspakete
- Linux x86:
- Gehe zu https://lg3d-core.dev.java.net
und klicke auf Documents & files
in der Project tools Section
des seitlichen Menüs.
- Gehe zu lg3d-core/stable-builds-linux in der Baumansicht rechts im Panel.
Du siehst nun eine Tabelle mit der Liste der stabielen Versionen.
- Klicke auf den Link mit dem Namen Release_x.y.z
(x.y.z steht für die Version, zum Beispiel 0.6.1) und wähle ein Verzeichnis
wohin die Datei gespeichert werden soll, am besten nach /tmp
- Wechsle in das Verzeichnis, in das das Project Looking Glass entpackt werden soll:
% cd /home/username
% tar -zxf /tmp/lg3d-x.y.z.tar.gz
Note: ersetze x.y.z
mit der Version die du heruntergeladen hast (z.B. 0.6.1).
Die Dateien werden in ein Verzeichnis entpackt das sich lg3d nennt, in deinem aktuellen Verzeichnis.
Die momentane aktuelle Version von LG3D ist 0.6.1. Bevor du anfängst,
lese die Release Notes.
- Solaris x86:
- Gehe zu https://lg3d-core.dev.java.net
und klicke auf Documents & files
in der Project tools Section
des seitlichen Menüs.
- Gehe zu lg3d-core/stable-builds-solx86 in der Baumübersicht
rechts Panel. Du siehst nun eine Tabelle mit den letzten stabielen Versionen.
- Klick auf den Link Release_x.y.z
(x.y.z steht für die Version, zum Beispiel 0.7.0) und wähle das Verzeichnis, in dem
die Datei gespeichert werden soll, z.B. /tmp
- Wechsle in das Verzeichnis in das die Dateien vom Looking Glass entpackt werden sollen:
% cd /home/username
% gunzip /tmp/lg3d-x.y.z.tar.gz
% tar xf /tmp/lg3d-x.y.x.tar
Beachte: ersätze x.y.z
mit der Version die du heruntergeladen hast (z.B. 0.7.0).
Die Dateien werden in ein Verzeichnis entpackt, das sich lg3d nennt, in deinem aktuellen Verzeichnis.
Zu der Zeit in der dieses Dokument geschrieben wird, ist die letzte Version von
Solaris x86 das pre-release 0.7.0 das sich lg3d-user-dev-0-7-0-solaris-i86pc-prerel2.tar.gz nennt.
Die richtige Farbtiefe deiner Anzeige einrichten
Das Looking Glass Entwickler Release benötigt eine Farbtiefe von mindestens
24bit.
Einige Systeme sind standardmäßig auf 16bit vorkonfiguriert, so das
Looking Glass nicht richtig damit laufen wird.
Du kannst deine aktuelle Farbtiefe überprüfen, indem du folgendes Kommando
verwendest:
% xdpyinfo | grep "depth of root"
depth of root window: 24 planes
Wenn du siehst das es weniger als 24bit sind mußt du deine Farbtiefe anpassen.
Der Ablauf wie du deine Farbtiefe anpassen kannst ist von System zu System unterschiedlich.
Lese dazu in der Konfigurationsanleitung für deine Platform wie folgt:
Java Desktop System 1 und 2, und SUSE 8.1:
- Starte von deinem Desktop sax2 mit folgendem Kommando:
% /usr/X11R6/bin/sax2
SaX: root Password: enter root password
- Klicke in der SaX2 Anwendung auf Farbe und Auflösung klicke dann den [Einstellungen...]
Button fü den aktuell konfigurierten Desktop.
- In der Farbauswahl..., klick in das Menü und wähle 16.7 Mio. [24 Bit].
- Bei dem Auflösung für 16.7
Mio. [24 Bit] Farben Abschnitt, wähle deine gewünschte Auflösung fü deinen Desktop
und drücke [Ok].
- Klicke den [Finish]
Button, dann [Finalize>>].
- Der SaX2 Abschlußschritte...
Dialog wird geöffnet. Klick den [Test...]
Button um die neue Einstellung zu testen.
- Ein blauer Testbildschirm wird gestartet, klicke dann den [Speichern] Button um die
Einstellungen zu übernehmen. Danach [Ok]
wenn du zu deinem SaX2 Fenster zurückgekehrt bist, gefolgt von [Yes] um SaX2 zu beenden.
- Wenn der Testbildschirm nicht richtig angezeigt wird, wird der Test nach 30 Sekunden
abgebrochen und du kehrst zu deinem Desktop zurück.
Du solltest dann eine andere Auflösung für deine Farbtiefe von 24bit austesten um festzustellen
welche bei deinem System funktioniert.
- Wenn du mit deinen Einstellungen zufrieden bist, melde dich ab und melde dich dann wieder neu an
deinem Desktop an, um die neuen Einstellungen mit der neuen Farbtiefe von 24bit oder höher zu übernehmen.
Teste dies mit dem xdpyinfo Kommando.
RedHat Fedora 2:
- Als erstes zu root werden:
% su root
Password: enter root password
#
- Bearbeite die Datei: /etc/X11/xorg.conf
- Suche den Abschnitt mit dem Titel: Section "Screen"
- Suche innerhalb des Abschnitts nach dem Eintrag: Identifier "Screen0"
Ändere die DefaultDepth
und DefaultFbBpp Einstellungen
zu:
DefaultDepth 24
DefaultFbBpp 32
- Speichere die Datei und melde dich ab. Melde dich danach wieder an deinem Desktop an und schau
ob deine Farbtiefe nun 24bit oder mehr beträgt. Teste dies mit folgendem Kommando
xdpyinfo
.
RedHat 8, RedHat 9 und andere Linux Distributionen:
Viele Linux Platformen nutzen die XF86Config Datei um die Anzeige einzustellen.
Um die Farbtiefe in diesen System zu ändern mache folgendes:
- Als erstes werde root:
% su root
Password: enter root password
#
- Bearbeite die Datei: /etc/X11/XF86Config
- Suche den Abschnitt in der Datei: Section "Screen" und
ändere die DefaultDepth
Einstellungen zu
24:
DefaultDepth
24
- In dem Abschnitt gibt es einen Unterabschnitt mit der Bezeichnung "Display":
SubSection
"Display"
und ändere die Depth
Einstellung zu:
Depth
24
- Speichere die Datei und melde dich ab. Melde dich danach neu an deinem Desktop an um die
neue Farbtiefe von 24bit oder mehr zu testen. Überprüfe dies mit folgendem Kommando:
xdpyinfo
.
Solaris x86 :
Solaris x86 benutzt die xorg.conf Datei um die Einstellungen des
Xorg Servers zu speichern, welche das Project Looking Glass benötigt.
Um die Farbtiefe für Solaris x86 zu ändern mache folgendes:
- Als erstes wechsle zu root:
% su root
Password: enter root password
#
- Bearbeite die Datei: /etc/X11/xorg.conf
- Suche den Abschnitt mit der Bezeichnung: Section "Screen" und
ändere die DefaultDepth
Einstellung zu
24:
DefaultDepth
24
- Speichere die Datei und melde dich ab. Melde dich danach neu an deinem Desktop an um die
neue Farbtiefe von 24bit oder mehr zu testen. Überprüfe dies mit folgendem Kommando:
xdpyinfo.
4. Starten von Looking Glass
Es existieren drei unterschiedliche Wege um LG3D zum laufen zu bekommen:
(Note: when reporting a bug, be sure to include the mode you were running).
- Application Mode (lg3d-app)
This mode is also known as "app mode."
This mode is started by executing the script
bin/lg3d-app
from within an
existing X session (such as GNOME, KDE, or CDE). In this mode LG3D runs as a normal
application within the existing X session: you can move the LG3D window,
resize it, or iconify it. In this mode you can run both LG3D 3D applications
and native X11 applications.
IMPORTANT NOTE! In order to run this mode, you will need to make sure
you install the LG3D release on a LOCAL disk partition. Also, after you have
installed it, you will need to become the root user and run bin/postinstall.
Supported platforms: app mode is currently supported only on Linux and Solaris x86.
(Note: At the time of this writing, app mode only works on Linux. There are some bugs
which make app mode on Solaris x86 unusable).
- Session mode (lg3d-session)
This mode is started by bringing down an existing X session and then
by running the script
bin/lg3d-session.
In this mode LG3D takes over the
entire screen and runs as the primary session manager. In this mode you can
run both LG3D 3D applications and native X11 applications.
Refer to Running Project Looking Glass full-screen (Session Mode) for instructions on how to configure your machine to run
session mode, including how to bring down the existing X session.
Supported platforms: session mode is currently supported only on Linux and Solaris x86.
- Developer mode (lg3d-dev)
This mode is also known as "dev mode."
This mode is started by running the script
bin/lg3d-dev
from within an existing window session (such as GNOME, KDE, CDE or Windows).
In this mode LG3D runs as a normal
application within the existing X session: you can move the LG3D window,
resize it, or iconify it. In this mode you can ONLY run LG3D 3D applications; you
cannot run any native X11 applications. This is the main difference between dev mode
and app mode.
Refer to Running Project Looking Glass within an existing desktop environment (Dev Mode) for instructions on how to configure your machine to run
session mode, including how to bring down the existing X session.
Supported platforms: dev mode is supported on any system which supports the Java
JDK 1.5.0. This includes Windows, Linux, and Solaris x86. (Theoretically it will
also run on Apple OSX, although this hasn't been tested).
Note: the easiest way to verify that your Project Looking Glass installation is correct is to
run the dev mode within an existing desktop. Then, once you're satisfied that it is working correctly, you can configure your system to run Project Looking Glass in session or app mode. Note that running Project Looking Glass in dev mode is a good way to develop and test 3D
applications and enhancements to the Window Manager (aka Scene Manager).
Running Project Looking Glass within an existing desktop environment (Dev Mode)
In this mode, a Project Looking Glass session runs in a window in your
desktop. This is the simplest way to run Project Looking Glass but this
mode only allows
you to run Project Looking Glass 3D applications, such as the CD
viewer. X11 applications, such as xterm will appear outside the LG screen; they will appear in the X session
from which you launched the Project Looking Glass session.
- Log into your account and change directory to where you installed
Project Looking Glass:
% cd /home/username/lg3d/bin
- And start the Project Looking Glass session:
% ./lg3d-dev
If you have successfully installed Project Looking Glass you should see
the
familiar Project Looking Glass desktop in a window on your desktop:
Clicking the CD icon on the taskbar will open the
CD viewer, a 3D demo application. Mouse over the stack of CDs and click
on the CD images to see
the application in action. For addtional operational information, click
the
icon to the left of the CD Viewer on the taskbar. This will open a
panel
that summarizes the user interface operations supported by the default Scene Manager. Note that the
left-most icon, a computer, launches an xterm window. This item demonstrates
X11
application integration and is only supported in sessionmode. See
the
next section for instructions on how to configure session mode.
Running Project Looking Glass full-screen (Session Mode)
This mode allows you to run Project Looking Glass full-screen and
launch any application, including native X11 applications. You must
first shutdown your X session before starting Project Looking Glass.
Bringing down your existing X session
The instructions for shutting down your X session vary by platform, so follow the instructions that
apply to your platform. If your platform isn't listed, chances are the
process will be very similar so use these instructions as a guide and let us know
what's different!
Sun Java Desktop System/SuSE 8.1:
JDS/SuSE 8.1 uses the X Display Manager (xdm) to manage user sessions.
To run Project Looking Glass you must first shut down xdm. Since this
process is respawned automatically you must disable this service using
the chkconfig
command:
- First become root:
% su root
Password: enter root password
#
- Disable the xdm service:
# /sbin/chkconfig -d xdm
xdm 0:off 1:off 2:off
3:off 4:off 5:off 6:off
- Now close any desktop applications and save any open files. Then
shutdown the display manager:
# pkill gdm-binary
- Now skip to the Starting
the Project Looking Glass desktop session section.
Note: To re-activate the X
Display manager, enter the following command as root, and then reboot
your system:
# /sbin/chkconfig -a xdm
RedHat 9:
RedHat uses the GNOME Display Manager (gdm) to manage user sessions.
It's not necessary to disable gdm, you can simply switch to a lower run
level where gdm is not active:
- First become root:
% su root
Password: enter root password
#
- Close any desktop applications and save any open files. Then
switch to run level 4:
# /sbin/init 4
Your X session should terminate and your should return to
the console prompt.
- Now skip to the Starting
the Project Looking Glass desktop session section.
Note: To restart the GNOME
Display Manager, enter the following command as root from the console:
# /sbin/init 5
Fedora Core 3 64-bit:
To run Project Looking Glass full screen on the 64-bit version of
Fedora Core 3 requires a few unique changes. Note that you will need
access to a 32-bit Linux system or the 32-bit X11 modules for Linux to
complete this procedure.
- You will need to copy the contents of the /usr/X11R6/lib/modules
directory from a 32-bit Linux system to the same directory on your
64-bit system. Before performing this action, make a backup of the /usr/X11R6/lib/modules
directory on your 64-bit system:
# cd /usr/X11R6/lib
# cp -r modules modules.orig
Next, use the scp command to securely copy the files from the 32-bit
system to your 64-bit system:
# scp -r root@32bithost:/usr/X11R6/lib/modules
/usr/X11R6/lib/modules
where 32bithost is the
host name of the 32-bit Linux system.
- Make sure that your xorg.conf
file is set for depth of 24 as
shown in bold below:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680x1050" "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
- Proceed to the next section to start the full screen session.
[Instructions in this section courtesy of qgonjon
and marve.
See this
support thread.]
Solaris x86:
In order to run Project Looking Glass in session mode on Solaris x86, you
must first shut down CDE and disable its subsequent boot-time start up.
To do this, become root and type:
# /usr/dt/bin/dtconfig -d
then reboot your computer.
Starting the
Project Looking Glass desktop session
Once you have brought down your existing X session, to start Project Looking Glass in session mode do the following:
- Become root and change directory to where you installed Project
Looking Glass:
# cd
/home/username/lg3d/bin
- Start the Project Looking Glass desktop session:
# ./lg3d-session
After a few seconds, the Project Looking Glass desktop
should appear. Congratulations! If you have problems starting the
desktop session, refer to the Troubleshooting
section for assistance.
Explore the Project Looking Glass desktop and start dreaming of new
ways to enhance the desktop user experience with 3D! When you're ready
to do development, skip over to the Project
Looking Glass Developer's Guide for information about developing
with Project Looking Glass.
5. Troubleshooting
no core pointer
This happens on RedHat Fedora Core 2,
and
may happen on other configurations as well. One known workaround (from
sgiunchi) is to do the following (as root
user):
# ln -s
/etc/X11/xorg.conf /etc/X11/XF86Config-4
The correct long term fix is to upgrade the X11 release which is
included
in lg3d-core. It is currently an Xorg 6.7 pre-release and it needs to
be
upgraded to the latest Xorg stable release.
Exception
in thread "main"
java.lang.UnsatisfiedLinkError:
/usr/java/jdk1.5.0/jre/lib/i386/libj3dcore-ogl.so:
/usr/java/jdk1.5.0/jre/lib/i386/libj3dcore-ogl.so:
symbol glMultiDrawArraysEXT, version LIBGL not defined in file
libGL.so.1 with link time reference
This error occurs with ATI device
drivers
that are missing the glMultiDrawArraysEXT extension. The solution to
this
problem is to replace the Radeon device drivers with drivers from the Direct
Rendering
Open Source (DRI) project. For instructions on installing direct
rendering
drivers refer to DRI
driver
installation for ATI Radeon.
Note that upgrading libGL.so to the latest Mesa libraries does not
solve
this problem.
pkill: 27863 - Operation not permitted
java.rmi.server.ExportException: Port already in use: 1099; nested
exception
is:
java.net.BindException: Address already
in
use...
This message indicates that an rmiregistry process is
already
running and lg3d-dev
was
unable to start a new instance. Typically this occurs when the rmiregistry process was
started
by root and lg3d-dev
is
run as a non-root user. The solution to this problem is to stop the
root
instance of rmiregistry.
Become root and stop the
process:
% su root
Password: enter root password
# pkill rmiregistry
# exit
Now re-run the lg3d-dev
command as a non-root user to start Project Looking Glass.
Fatal Server error: Cannot establish any listening sockets
The following error message is
displayed when
you start Project Looking Glass using lg3d-session:
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
Fatal server error:
Cannot establish any listening sockets - Make sure an X server
isn't already running
First, make sure that you do not have
an X11
session running on the display on which you're starting lg3d-session. Then check
to see if you have /tmp/.X11-unix/X0
left behind from a previous session. To fix this problem, delete
this file and restart lg3d-session.
Screen updates are very slow
This usually means that graphics
acceleration is not correctly configured. Here are some things to check
first:
- Run the glxinfo
command from within an X11 session and check that the
direct rendering property is set to
Yes. Also look for references to
OpenGL to ensure that your graphics
accelerator device driver supports OpenGL.
- For NVIDIA cards, run xdpyinfo
and verify that you see GLX or NVIDIA-GLX.
If you don't see these properties then you probably don't have the
appropriate device driver installed or 3D enabled. Refer to your
vendor's web site for information on installing and configuring a
device driver with 3D/OpenGL support.
- Check the X server log file at /var/log/XFree86.0.log
for error messages and to check which drivers are being loaded.
libGL error: failed to open DRM: operation not permitted
(This error may be encountered when running lg3d-dev).
If Project Looking Glass runs very slowly, even though 3D
acceleration is enabled, check to see if the following message appears
in the console:
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
This means that your user account doesn't have permission to use
the DRI (Direct Rendering Infrastructure). In some cases root is the
only user with access to Direct Rendering. This problem seems to only
affect RedHat users, and not JDS/SuSE users. If you have this problem,
you should change the DRI permissions in your XFree86Config or
XF86Config file to:
Section "DRI"
Group "video"
Mode 0666
EndSection
You will also need to change the permissions of the <dri> profile in /etc/security/console.perms
from 0600 to 0666:
<xconsole> 0600
<dri> 0666 root
and if you're using an NVIDIA card, change the permissions on /dev/nvidia* to 0666:
# chmod a+rw /dev/nvidia*
An unexpected exception has been detected in native code outside
the VM
Project Looking Glass exits with the
following exception, even though you've verified that you have 3D
acceleration enabled:
An unexpected exception has
been detected
in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x0
Function=[Unknown.]
Library=(N/A)
Check to see if the following entries appear in the exception
message:
<addr-range> r-xp
00000000 03:05
61763 /usr/lib/GL/libGL.so.1.3.mesasoft
<addr-range> rw-p 001b4000 03:05 61763
/usr/lib/GL/libGL.so.1.3.mesasoft
If so, you have the MESA software OpenGL libraries installed. Use
the package tool for your distribution (e.g., rpm) to remove these
libraries, and then go into /usr/lib as root and
check that the following symbolic links exist and point to the correct
OpenGL libraries. You should have links that look something like this
(where x and y are numbers):
libGLcore.so.1 -> libGLcore.so.1.x
libGL.so -> libGL.so.x
libGLU.so -> libGLU.so.x.y.z
If these links are not correct, become root and create them. For
example, if you have a
libGLU.so.1 file but no libGLU.so link, then
create the link:
# ln -s /usr/lib/libGLU.so.1 /usr/lib/libGLU.so
Repeat this for each of the links that are missing.
Failed to load the NVIDIA driver
There are several possible reasons for the driver failing to
initialize correctly:
- The NVIDIA driver is compiled for linux.*bigmem. If your Linux
system has two images, bigmem and linux*up, use the former one.
Otherwise the driver will fail to load.
- The NVIDIA driver needs to find the IRQ that is assigned to the
video card. This should be set by the BIOS before the OS boots, but it
can be switched off in some BIOS. Try switching it back on again to see
if it helps.
- Refer to the NVIDIA driver installation instructions and
release notes for further details.
See also:
Project Looking Glass Developer's
Release Notes
Additional information on current problems and issues can be found
under lg3d-core
Project Tools > Issue tracker. You can search for
issues and
defects or find a specific issue.
6. Staying connected
with Project Looking Glass
The Project Looking Glass project is evolving continually. The best way
to keep up to date with Project Looking Glass developments is by
subscribing to the Project Looking Glass mailing lists. Click on Mailing
lists in the Project tools section of the side bar on https://lg3d.dev.java.net/.
There are several mailing lists to choose from depending on your level
of interest.
7. Some final words
Thanks for getting involved with the Project Looking Glass project!
We're really looking forward to your contributions in this exciting new
desktop experience!
The Project Looking Glass Development Team
See also:
Project Looking Glass Developer's
Release Notes
Project Looking Glass Developer's
Guide
Installing and Configuring Device
Drivers
for 3D Desktop Project Looking Glass
$Revision: 1.5 $ $Date: 2005/06/06 22:15:59 $