Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Risorse italiane (documentazione e tools)
  • Search

[HOWTO] Installare Looking Glass 3D

Forum riservato alla documentazione in italiano.

Moderator: ago

Post Reply
  • Print view
Advanced search
283 posts
  • Page 1 of 12
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 12
  • Next
Author
Message
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 32019
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

[HOWTO] Installare Looking Glass 3D

  • Quote

Post by fedeliallalinea » Wed Jun 30, 2004 6:55 pm

Parte di questo howto e' preso da questo thread francese.

Ora lookingglass e' anche in portage quindi la parte relativa a scaricare l'ebuild, se non tutto l'howto, e' obsoleta.

Introduzione
Bene, Sun ha appena rilasciato il suo Looking Glass 3D in GPL. Per maggiori informazioni:
  • http://linuxfr.org/~pikapika/14282.html per sapere un opinione in generale
  • http://forums.gentoo.org/viewtopic.php? ... ight=glass per l'esperienza dei gentooisti
  • https://lg3d.dev.java.net/ sito ufficiale Sun
  • http://bugs.gentoo.org/show_bug.cgi?id=55611 l'ebuild in questione
  • http://wwws.sun.com/software/looking_glass/details.html qualche screenshot

Requisiti
-una buona macchina (circa 2GHz)
-un bel po' di ram (512 Mb)
-scheda video nvidia
-server X configurato a 24 bit
-gli ultimi driver nvidia

Preparazione del sistema
Prima di tutto creiamo un portage secondario aggiungendo nel /etc/make.conf

Code: Select all

PORTDIR_OVERLAY=/usr/local/portage
quindi se non esiste ancora creiamo la cartella

Code: Select all

# mkdir /usr/local/portage 

Ora creiamo le cartelle nel portage secondario per il lookingglass e per java3d

Code: Select all

# mkdir -p /usr/local/portage/dev-java/sun-java3d
# mkdir -p /usr/local/portage/x11-lg3d/lookingglass
Ora prendete l'ebuild qui sotto e copiatelo in /usr/local/portage/dev-java/sun-java3d chimandolo sun-java3d-1.3.2.ebuild

Code: Select all

# Copyright 2003 Martin Hierling <mad@cc.fh-lippe.de>                           
# Distributed under the terms of the GNU General Public License v2              
# $Header: /var/cvsroot/gentoo-de/ebuilds/sys-apps/nvram-wakeup/nvram-wakeup-0.9
                                                                                
IUSE=""                                                                         
                                                                                
S=${WORKDIR}/${P}
JDIR="java3d-1_3_2-build3-linux-i586"                                                      
DESCRIPTION="Sun Java 3D"
HOMEPAGE="https://j3d-core.dev.java.net/"                       
SRC_URI="java3d-1_3_2-build3-linux-i586.tar.gz"                        
KEYWORDS="~x86"                                                             
SLOT="0"                                                                        
LICENSE="sun-bcla-j3d"
RESTRICT="fetch"
                                                                                
DEPEND=""    
RDEPEND=">=virtual/jdk-1.3"                

pkg_nofetch() {                                                                 
        einfo "Please download ${SRC_URI} from ${HOMEPAGE} and place it in ${DISTDIR}"
}

src_unpack() {                                                       
        unpack ${A}
	jar xvf ${WORKDIR}/${JDIR}/j3d-132-build3-linux-x86.jar
}

src_install() {                                                                 
        start=${D}                                                              
        jre=""                                                                  
        java_home="$(java-config --jdk-home)"                                   
        if [ ! -z "${java_home}" ]; then                                        
                jre="jre/"                                                      
        else                                                                    
                java_home="$(java-config --jre-home)"                           
                if [ -z ${java_home} ]; then                                    
                        die "You must have a JVM selected in order to install Java3d"
                fi
        fi
        einfo "Installing Java3D into current JAVA home: ${java_home}"             
        dodir ${java_home}/${jre}
        cp -a ${WORKDIR}/${KDIR}/* ${D}/${java_home}/${jre}
        dodoc COPYRIGHT.txt README.txt
}
Stessa cosa per quest'altro che e' da copiare in /usr/local/portage/x11-lg3d/lookingglass e nominandolo lookingglass-0.5.ebuild

Code: Select all

# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="Looking Glas - 3D windows manager writen in Java"
HOMEPAGE="https://lg3d.dev.java.net/"
SRC_URI="https://lg3d-core.dev.java.net/files/documents/1834/5501/lg3d-${PV}.tar.gz"
LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86"

DEPEND=">=dev-java/sun-jdk-1.5.0_beta2
dev-java/jai
dev-java/sun-java3d
app-shells/csh" # does not exist jet, but dev-java/blackdown-java3d is in portage

src_install() {
   cd $P/work/
   dodir /usr/share
   cp -R lg3d ${D}/usr/share
   cd ${D}/usr/share/lg3d/bin
   dodir /bin
   echo "#!/bin/sh" >> ${D}/bin/lg3d-session
   echo "cd /usr/share/lg3d/bin" >> ${D}/bin/lg3d-dev
   echo "lg3d-dev" >> ${D}/bin/lg3d-dev
   echo "#!/bin/sh" >> ${D}/bin/lg3d-session
   echo "cd /usr/share/lg3d/bin" >> ${D}/bin/lg3d-session
   echo "lg3d-session" >> ${D}/bin/lg3d-session
   chmod +x ${D}/bin/lg3d-*
   dodir /etc/X11/Sessions
   dosym /bin/lg3d-session /etc/X11/Sessions/lookingglas
}


pkg_postinst() {
   echo ""
   echo "To run Looking Glass, the screen must be in 24-bit mode"
   echo "To run in window, run lg3d-dev"
   echo "To run as a session, run lg3d-session"
   echo ""
} 
Una volta fatto questo bisogna dare i comandi

Code: Select all

# ebuild /usr/local/portage/dev-java/sun-java3d/sun-java3d-1.3.2.ebuild digest
# ebuild /usr/local/portage/x11-lg3d/lookingglass/lookingglass-0.5.ebuild digest
Per ultima cosa dovete mettere (o creare se non lo avete) la seguente linea in /etc/portage/package.unmask

Code: Select all

=dev-java/sun-jdk-1.5.0_beta2
Ora siete pronti per l'installazione


Installazione
Ora vi basta lanciare il comando

Code: Select all

# ACCEPT_KEYWORDS="~x86" emerge /usr/local/portage/x11-lg3d/lookingglass/lookingglass-0.5.ebuild
Per tutti i pacchetti di java vi verra chiesto di scaricarli a mano dal sito (che viene dato).


Esecuzione
Per eseguire lookingglass dovete stoppare X (killarlo o con /etc/init.d/xdm stop). Poi lanciate il comando

Code: Select all

# /usr/share/lg3d/bin/lg3d-session
dovrete dare tutto il path obbligatoriamente se non vi ritornera' un errore di fork e in piu' dovrete essere con l'utente root da user non funziona.


Osservazioni
E' notevole la grafica ma il sistema e' inutilizzabile e potrebbe andare in crash da un momento all'altro.

EDIT
-------
E te pareva se non dimenticavo che questo howto e' stato possibile realizzarlo grazie al grande aiuto datomi da doom.it per la mia installazione
Last edited by fedeliallalinea on Sun Aug 22, 2004 2:03 pm, edited 5 times in total.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Raffo
Veteran
Veteran
User avatar
Posts: 1019
Joined: Fri Apr 23, 2004 6:05 pm
Location: Berlin

  • Quote

Post by Raffo » Wed Jun 30, 2004 7:01 pm

al momento dell'installazione mi da questo errore:

Code: Select all

Calculating dependencies ...done!

!!! Error: the app-shells/tcsh package conflicts with another package.
!!!        both can't be installed on the same system together.
!!!        Please use 'emerge --pretend' to determine blockers.

ho fatto quindi l'emerge --pretend e mi da questa lista

Code: Select all

[blocks B     ] app-shells/tcsh (from pkg app-shells/csh-1.29-r3)
[ebuild  N F  ] dev-java/sun-jdk-1.5.0_beta2
[ebuild  N    ] sys-devel/pmake-1.45-r4
[ebuild  N    ] app-shells/csh-1.29-r3
[ebuild  N F  ] dev-java/jai-1.1.2-r2
[ebuild  N F  ] dev-java/sun-java3d-1.3.2
[ebuild  N    ] x11-lg3d/lookingglass-0.5
come risolvo?
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 32019
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Jun 30, 2004 7:04 pm

Risolvi con

Code: Select all

# emerge -C tcsh
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Raffo
Veteran
Veteran
User avatar
Posts: 1019
Joined: Fri Apr 23, 2004 6:05 pm
Location: Berlin

  • Quote

Post by Raffo » Wed Jun 30, 2004 7:19 pm

ho questo errore:

Code: Select all

Calculating dependencies ...done!
>>> emerge (1 of 2) dev-java/sun-java3d-1.3.2 to /
--- No package manifest found: /usr/local/portage/dev-java/sun-java3d/Manifest
!!! No package digest file found: /usr/local/portage/dev-java/sun-java3d/files/digest-sun-java3d-1.3.2
!!! Type "ebuild foo.ebuild digest" to generate it.
mi fido e digito eduild foo.ebuild digest (così o seguito da qualcosa?)?
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 32019
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Jun 30, 2004 7:32 pm

No e' che mi sono dimenticati di mettere di fare

Code: Select all

# ebuild /usr/local/portage/dev-java/sun-java3d/sun-java3d-1.3.2.ebuild
# ebuild /usr/local/portage/x11-lg3d/lookingglass/lookingglass-0.5.ebuild
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Raffo
Veteran
Veteran
User avatar
Posts: 1019
Joined: Fri Apr 23, 2004 6:05 pm
Location: Berlin

  • Quote

Post by Raffo » Wed Jun 30, 2004 7:34 pm

quindi che devo fare per farlo andare??
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 32019
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Jun 30, 2004 7:35 pm

Raffo wrote:quindi che devo fare per farlo andare??
Dai quelle linee e poi ridai l'emerge
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Raffo
Veteran
Veteran
User avatar
Posts: 1019
Joined: Fri Apr 23, 2004 6:05 pm
Location: Berlin

  • Quote

Post by Raffo » Wed Jun 30, 2004 7:38 pm

ho provato ma quando do la prima linea mi dice

Code: Select all

expecting two arguments.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 32019
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Jun 30, 2004 7:39 pm

Raffo wrote:ho provato ma quando do la prima linea mi dice
Si sono un pirla devi dare

Code: Select all

# ebuild /usr/local/portage/dev-java/sun-java3d/sun-java3d-1.3.2.ebuild digest
# ebuild /usr/local/portage/x11-lg3d/lookingglass/lookingglass-0.5.ebuild digest
(prima ti domandera' di scaricare i file)
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
kaosone
Guru
Guru
User avatar
Posts: 446
Joined: Sun Feb 01, 2004 2:42 am
Contact:
Contact kaosone
Website

  • Quote

Post by kaosone » Wed Jun 30, 2004 9:30 pm

se
e' davvero spettacolare!!!
solo che mi crasha ogni nuova applicazione che apro oltre xterm :roll:
tornare in 2d e' davvero brutto :(
Top
Raffo
Veteran
Veteran
User avatar
Posts: 1019
Joined: Fri Apr 23, 2004 6:05 pm
Location: Berlin

  • Quote

Post by Raffo » Wed Jun 30, 2004 9:31 pm

bellissimo, peccato che ancora c'è molto lavoro da fare....cmq IMHO è un'anteprima del desktop del futuro......
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 32019
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Jun 30, 2004 9:33 pm

kaosone wrote:se
e' davvero spettacolare!!!
solo che mi crasha ogni nuova applicazione che apro oltre xterm :roll:
tornare in 2d e' davvero brutto :(
Per delle opinione postate qui e questo lo teniamo per motivi tecnici. Grazie
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
michaeljj
n00b
n00b
Posts: 28
Joined: Fri Sep 26, 2003 3:25 am

niente ati?

  • Quote

Post by michaeljj » Wed Jun 30, 2004 9:49 pm

Ho un portatile con una ati 9000 mobile con 64 mb ddr ... in poche parole, il travelmate 800lci ...

Qualcuno con una scheda ati è riuscito a farlo funzionare?
Se sì, come?


Ciaoo
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 32019
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

Re: niente ati?

  • Quote

Post by fedeliallalinea » Wed Jun 30, 2004 9:51 pm

michaeljj wrote:Qualcuno con una scheda ati è riuscito a farlo funzionare?
Se sì, come?
Con la mia ati 7500 Mobile sono riuscito a farlo almeno partire ma si impianta subito. Beh basta che ti funzioni l'accelerazione 3d e sei a posto
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
kaosone
Guru
Guru
User avatar
Posts: 446
Joined: Sun Feb 01, 2004 2:42 am
Contact:
Contact kaosone
Website

  • Quote

Post by kaosone » Wed Jun 30, 2004 10:28 pm

fedeliallalinea wrote:
kaosone wrote:se
e' davvero spettacolare!!!
solo che mi crasha ogni nuova applicazione che apro oltre xterm :roll:
tornare in 2d e' davvero brutto :(
Per delle opinione postate qui e questo lo teniamo per motivi tecnici. Grazie
oops pardon :oops:
cancella pure :arrow:
Top
hardskinone
Guru
Guru
User avatar
Posts: 460
Joined: Fri Jan 02, 2004 12:56 pm
Contact:
Contact hardskinone
Website

  • Quote

Post by hardskinone » Wed Jun 30, 2004 10:50 pm

Come server X va bene anche X.org?

Grazie.
Playlinux.net
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 32019
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Jun 30, 2004 10:51 pm

hardskinone wrote:Come server X va bene anche X.org?
Ne fa partire uno suo ma penso che comunque usi anche xorg/xfree.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
flocchini
Veteran
Veteran
User avatar
Posts: 1124
Joined: Sat May 17, 2003 2:32 am
Location: Milano, Italy

  • Quote

Post by flocchini » Thu Jul 01, 2004 12:01 am

Nonostante abbia una G550 matrox ho voluto provere lo stesso... E in effetti non funzica uffa. Vabbe' tanto con il mio hw non sarei comunque andato lontano :wink:
~~ Per amore della rosa si sopportano le spine... ~~
Top
theRealMorpheu5
l33t
l33t
User avatar
Posts: 841
Joined: Thu Feb 26, 2004 6:22 pm
Location: Vicenza, IT
Contact:
Contact theRealMorpheu5
Website

  • Quote

Post by theRealMorpheu5 » Thu Jul 01, 2004 12:53 pm

Ma con una Radeon 9800 ed i driver proprietari? Qualcuno ci ha provato? Io non mi metto a spippolarmi un'installazione così perfettamente funzionante :D
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 32019
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Jul 01, 2004 12:55 pm

Sul mio athlon-xp 2000+ con 256Mb di ram e nvidia ge4 mmx440 64Mb va ma va in crash spesso. Sul dual processor di mio fratello con stessa nvidia va benissimo.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
xchris
Advocate
Advocate
User avatar
Posts: 2824
Joined: Thu Jul 10, 2003 10:21 pm

  • Quote

Post by xchris » Thu Jul 01, 2004 2:25 pm

ati 8500
parte X e si freeza tutto!

come mai si parla solo di nvidia?
c'e' un motivo particolare?

ciao
while True:Gentoo()
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 32019
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Jul 01, 2004 2:28 pm

xchris wrote:come mai si parla solo di nvidia?
c'e' un motivo particolare?
No solo perche' sulla mia ati 7500 Mobile (su un notebook) parte ma poi non ho il mouse e non so perche'. Quindi ho provato su un altri 2 pc che montavano solo nvidia.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Cagnulein
l33t
l33t
User avatar
Posts: 861
Joined: Thu Sep 18, 2003 3:39 pm
Location: Modena, Italy

  • Quote

Post by Cagnulein » Thu Jul 01, 2004 6:19 pm

quando lo vado a far partire mi dice

Code: Select all

Cannot run in framebuffer mode. Please specify busIDS for all framebuffer device
adesso cmq provo a cercare una soluzione.
Top
redview
Guru
Guru
User avatar
Posts: 365
Joined: Wed Feb 18, 2004 3:41 pm
Location: Goteborg - Sweden

  • Quote

Post by redview » Thu Jul 01, 2004 8:48 pm

ma nn ho capito: bisogna per forza avere una nvidia ho basta avere una scheda video accellerata?
io ho una radeon 7000..
appena ho tempo lo vorrei proprio provare.. :P
our enterprise a success as return is no option/our eyes were removed for our own safety/the distance too great for you to hear our cries/nevermind take this lamp we are beyond light [kinetic-arcturus]
you and I, connect and emerge [we ride-syl]
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 32019
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Jul 01, 2004 9:01 pm

redview wrote:ma nn ho capito: bisogna per forza avere una nvidia ho basta avere una scheda video accellerata?
io ho una radeon 7000..
Io ripeto che con la mia 7500 mobility partiva ma non andava il mouse.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
Post Reply
  • Print view

283 posts
  • Page 1 of 12
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 12
  • Next

Return to “Risorse italiane (documentazione e tools)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy