Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO] Installare Looking Glass 3D
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3 ... 10, 11, 12  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Wed Jun 30, 2004 6:55 pm    Post subject: [HOWTO] Installare Looking Glass 3D Reply with quote

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
  • https://forums.gentoo.org/viewtopic.php?t=191216&highlight=glass per l'esperienza dei gentooisti
  • https://lg3d.dev.java.net/ sito ufficiale Sun
  • https://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:
PORTDIR_OVERLAY=/usr/local/portage

quindi se non esiste ancora creiamo la cartella
Code:
# mkdir /usr/local/portage



Ora creiamo le cartelle nel portage secondario per il lookingglass e per java3d
Code:
# 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:
# 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:
# 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:
# 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:
=dev-java/sun-jdk-1.5.0_beta2

Ora siete pronti per l'installazione


Installazione
Ora vi basta lanciare il comando
Code:
# 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:
# /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
_________________
Questions are guaranteed in life; Answers aren't.


Last edited by fedeliallalinea on Sun Aug 22, 2004 2:03 pm; edited 5 times in total
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Wed Jun 30, 2004 7:01 pm    Post subject: Reply with quote

al momento dell'installazione mi da questo errore:
Code:
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:
[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?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Wed Jun 30, 2004 7:04 pm    Post subject: Reply with quote

Risolvi con
Code:
# emerge -C tcsh

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Wed Jun 30, 2004 7:19 pm    Post subject: Reply with quote

ho questo errore:
Code:
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?)?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Wed Jun 30, 2004 7:32 pm    Post subject: Reply with quote

No e' che mi sono dimenticati di mettere di fare
Code:
# 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.
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Wed Jun 30, 2004 7:34 pm    Post subject: Reply with quote

quindi che devo fare per farlo andare??
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Wed Jun 30, 2004 7:35 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Wed Jun 30, 2004 7:38 pm    Post subject: Reply with quote

ho provato ma quando do la prima linea mi dice
Code:
expecting two arguments.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Wed Jun 30, 2004 7:39 pm    Post subject: Reply with quote

Raffo wrote:
ho provato ma quando do la prima linea mi dice

Si sono un pirla devi dare
Code:
# 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.
Back to top
View user's profile Send private message
kaosone
Guru
Guru


Joined: 01 Feb 2004
Posts: 446

PostPosted: Wed Jun 30, 2004 9:30 pm    Post subject: Reply with quote

se
e' davvero spettacolare!!!
solo che mi crasha ogni nuova applicazione che apro oltre xterm :roll:
tornare in 2d e' davvero brutto :(
Back to top
View user's profile Send private message
Raffo
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1019
Location: Berlin

PostPosted: Wed Jun 30, 2004 9:31 pm    Post subject: Reply with quote

bellissimo, peccato che ancora c'è molto lavoro da fare....cmq IMHO è un'anteprima del desktop del futuro......
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Wed Jun 30, 2004 9:33 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
michaeljj
n00b
n00b


Joined: 26 Sep 2003
Posts: 28

PostPosted: Wed Jun 30, 2004 9:49 pm    Post subject: niente ati? Reply with quote

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
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Wed Jun 30, 2004 9:51 pm    Post subject: Re: niente ati? Reply with quote

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.
Back to top
View user's profile Send private message
kaosone
Guru
Guru


Joined: 01 Feb 2004
Posts: 446

PostPosted: Wed Jun 30, 2004 10:28 pm    Post subject: Reply with quote

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:
Back to top
View user's profile Send private message
hardskinone
Guru
Guru


Joined: 02 Jan 2004
Posts: 460

PostPosted: Wed Jun 30, 2004 10:50 pm    Post subject: Reply with quote

Come server X va bene anche X.org?

Grazie.
_________________
Playlinux.net
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Wed Jun 30, 2004 10:51 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
flocchini
Veteran
Veteran


Joined: 17 May 2003
Posts: 1124
Location: Milano, Italy

PostPosted: Thu Jul 01, 2004 12:01 am    Post subject: Reply with quote

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... ~~
Back to top
View user's profile Send private message
theRealMorpheu5
l33t
l33t


Joined: 26 Feb 2004
Posts: 841
Location: Vicenza, IT

PostPosted: Thu Jul 01, 2004 12:53 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Thu Jul 01, 2004 12:55 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Thu Jul 01, 2004 2:25 pm    Post subject: Reply with quote

ati 8500
parte X e si freeza tutto!

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

ciao
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Thu Jul 01, 2004 2:28 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Thu Jul 01, 2004 6:19 pm    Post subject: Reply with quote

quando lo vado a far partire mi dice
Code:
Cannot run in framebuffer mode. Please specify busIDS for all framebuffer device


adesso cmq provo a cercare una soluzione.
Back to top
View user's profile Send private message
redview
Guru
Guru


Joined: 18 Feb 2004
Posts: 365
Location: Goteborg - Sweden

PostPosted: Thu Jul 01, 2004 8:48 pm    Post subject: Reply with quote

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]
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Thu Jul 01, 2004 9:01 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Goto page 1, 2, 3 ... 10, 11, 12  Next
Page 1 of 12

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum