Talk:HOWTO Looking Glass

From Gentoo Linux Wiki

Jump to: navigation, search

Anybody have a screenshot of this? Would be nice to include on this page like the xgl/beryl page has screenshots.

I corrected a couple miss spellings, content otherwise untouched. --Bsdvodsky 13:31, 5 Feb 2005 (GMT)


  • By 'emerge HSC' do you mean net-misc/hsc? I didn't require this package to get it going. -- euphor][a
  • A new version of lg3d is out :) -- euphor][a

Parts of this article are very confusing...

  • first, you should download those necessary files from Sun before you run emerge, although emerge will tell you that anyways.
  • Also, step 4 makes little or no sense
emerge HSC
ebuild sun-java3d-1.3.2.ebuild digest
in /usr/local/portage/dev-java/sun-java3d

What is HSC?

where do we get sun-java3d-1.3.2.ebuild from?

--monkeyBox 13:31, 5 Feb 2005 (GMT)

[edit] Install problems

After doing all this, on starting I get;

# ./lg3d-dev                                                               
/usr/share/lg3d/bin /usr/share/lg3d/bin
/usr/share/lg3d/bin
[1] 19427
SEVERE: Project Looking Glass requires Java 3D 1.3.2

Although all components seem to be correctly installed.

  • Any ideas?

--oddjobz 00:51, 27 Jun 2005 (GMT)

[edit] Confusing

EDIT:

I had the same problem as the previous post, when I had installed it all, it could still not find Java 3D, and when I got J3d to work the JAI was not found, so I went to this adress and some of my install notes are also here, it works like a charm now, and I hope you can get some help from my somewhat confuseing thoughts and tips

the adress to the installation guide I used https://lg3d-core.dev.java.net/lg3d-getting-started.html it's actually not that confusing just be sure to unpack in the right dirs and so, for the jdk a dir with system-whide scoop sould do nicely if you installing the .bin rather then the .rpm

END_EDIT


Well I tried to use this guide, and to start with it's great written and I though it would be easy though I was wrong.

then I installed the looking glass got it from the open source page of looking glass, it's easy to find from suns home page just navigate through the software and look for project looking glass, which in turn provide you with a link to the open source page.

There I found the install instructions for Java as well so I followed this (except I used the bin install rather then the rpm) so now my Java environment were up and running, so I grabbed the latest release of plg3d and installed it, and at first I didn't get it up and running so I returned to the open source page for plg3d and decided to read the whole install instructions *couldn't wait the first time :P*

so I found out that I probably had the wrong colour depth and bpp, or well I actually think I got an error message from running

  /bin/bash /THE-PATH-TO/lg3d/bin/lg3d-app

telling me I had to enable 24 bits color depth...

so I edited this file the xorgs configure file (/etc/X11/xorg.conf) and this is how I edit:

vi /etc/X11/xorg.conf

/Section "Screen"

(OBS, if you are unfamiliar with the 'vi' editor the '/' works like in 'man' files, that is search and SURE you can use the editor of your choice, nano, gedit, kedit, emacs... *well you get my point*) so then I edited it to look like this:

  1. Screen configuration
  Section "Screen"
     Identifier "Screen0"
     ࢣDevice "Card0"
     Monitor "Monitor0"
     DefaultDepth    24   # Use 24 NEEDED for plg3d by default
     DefaultFbBpp    32   # no reason not seting 32 bit pixel depth
  1. SubSection, Display configuration
     subSection "Display"
           Viewport 1280 960
           Depth   24
           FbBpp   32
     EndSubSection
  EndSection

So now I had 24bits colour depth

Well all well?

No, not really or well now I could run the 'lg3d-dev' but it ran bad, and if I don't remember wrong that session ended in a crash. And I could Still not run 'lg3d-app', so I though well to h-ll with it I'll try to run it without X, (or rather I did try to run the one "real" fullscreen version (lg3d-session) that set up it's own X so I went to runlevel... 5 is it? (not sure, but exited all X related stuff) =)

and tried to run 'lg3d-session' and then I got something, a http flashed by when trying to setup X for plg3d, so after it had crashed down i tried one more time but now I redirected the output to a file.

  ./lg3d-session > myfile

And from that file I found the link (I have not the link now, but it was nVidia related, so I though darn that means my driver update I just did was not sucessful), but that's not true I looked at the link with links and in the file I found info that said I should edit '/etc/X11/xorg.conf' like this:

at Section "Module" turn off:

  #Load  "dri"   # commented this out

and make sure this is on

  Load "glx"  # Used by plg3d

then find the Section "Device" and add this handy line

  Option      "AllowGLXWithComposite" "true"   # Needed by plg3d

after doing this I once again tried to fire up './lg3d-session' and by god it did work and it's so beautiful!

so I hope someone will find some tips by looking at my misstakes, and get the environment up and running, sure it's still an infant, but talk about potential, I love the inovative design, and will now look at the src docs and hopefully I'll get some of my ideas compiled soon!

well if you are considering looking glass just to look at some cool inovative invetions or maybe you want it working in order to create some COOL inovative inventions and my help here does not help out or is unclear pleas mail me at mailto:qrikko@msn.com

//Qrikko

--Qrikko 18:52, 17 October 2005 (GMT)

Personal tools