Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xglx - Trasparenze su ATI :))))
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Mar 13, 2005 5:54 pm    Post subject: Reply with quote

Finalmente ho finito di fare gli ebuild, ho perso un poco di tempo in più del previsto (che volete a volte non si può dire di no quando una ragazza ti invita a uscire :wink: ). La procedura per installare gli ebuild è la seguente:

  • Creare la directory /usr/local/portage

  • Settare PORTDIR_OVERLAY=/usr/local/portage in /etc/make.conf

  • Scaricare il tarball che trovate a http://gutter.altervista.org/otherstuff/xglx.tgz (come al solito copiate ed incollate l'URL in un nuovo tab o in una nuova finestra di firefox, per via dei problemi con i referrer di altervista).

  • Scompattare in tarball in /usr/local/portage

  • Lanciare l'emerge:

    Code:
    emerge glitzinfo-cvs xglx-cvs xcompmgr-davidr transset


  • Se non ho commesso qualche stupidaggine dovreste poter usare a questo punto Xglx ;)



Per tutto il resto vi rimando all'ottimo howto di yardbird (da cui ho preso qualche spunto anche io nella creazione degli ebuild).
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
matttions
Guru
Guru


Joined: 19 Jul 2004
Posts: 338

PostPosted: Sun Mar 13, 2005 7:37 pm    Post subject: Reply with quote

gutter wrote:

[*] Lanciare l'emerge:

Code:
emerge glitzinfo-cvs xglx-cvs xcompmgr-davidr transet



E'
Code:
transset

ed è hard-masked
Grazie per gli ebuild.
Tuttavia io ho un problema di compilazione
Code:
gcc -shared  .libs/glitz_glx_drawable.o .libs/glitz_glx_format.o .libs/glitz_glx_info.o .libs/glitz_glx_extension.o .libs/glitz_glx_ context.o .libs/glitz_glx_pbuffer.o  -Wl,--rpath -Wl,/var/tmp/portage/glitz-cvs-20050313/work/glitz/src/.libs -Wl,--rpath -Wl,/opt/f do/lib -L/var/tmp/portage/glitz-cvs-20050313/work/glitz/src /var/tmp/portage/glitz-cvs-20050313/work/glitz/src/.libs/libglitz.so -lX 11 -lGL -lpthread  -march=pentium-m -mtune=pentium-m -Wl,-soname -Wl,libglitz-glx.so.1 -o .libs/libglitz-glx.so.1.0.0
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[3]: *** [libglitz-glx.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/glitz-cvs-20050313/work/glitz/src/glx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/glitz-cvs-20050313/work/glitz/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glitz-cvs-20050313/work/glitz'
make: *** [all] Error 2

!!! ERROR: x11-libs/glitz-cvs-20050313 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


E' mio problema oppure il codice presentenel pacchetto è errato?
_________________
gentoo ... l'unico pinguino da corsa
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Sun Mar 13, 2005 7:41 pm    Post subject: Reply with quote

matttions wrote:
Code:
gcc -shared  .libs/glitz_glx_drawable.o .libs/glitz_glx_format.o .libs/glitz_glx_info.o .libs/glitz_glx_extension.o .libs/glitz_glx_ context.o .libs/glitz_glx_pbuffer.o  -Wl,--rpath -Wl,/var/tmp/portage/glitz-cvs-20050313/work/glitz/src/.libs -Wl,--rpath -Wl,/opt/f do/lib -L/var/tmp/portage/glitz-cvs-20050313/work/glitz/src /var/tmp/portage/glitz-cvs-20050313/work/glitz/src/.libs/libglitz.so -lX 11 -lGL -lpthread  -march=pentium-m -mtune=pentium-m -Wl,-soname -Wl,libglitz-glx.so.1 -o .libs/libglitz-glx.so.1.0.0
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[3]: *** [libglitz-glx.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/glitz-cvs-20050313/work/glitz/src/glx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/glitz-cvs-20050313/work/glitz/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glitz-cvs-20050313/work/glitz'
make: *** [all] Error 2

!!! ERROR: x11-libs/glitz-cvs-20050313 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


E' mio problema oppure il codice presentenel pacchetto è errato?

Sembra che tu abbia qualche problema a livello di OpenGL. Hai provato a far andare
Code:
opengl-update <implementazione-OpenGL>

dove <implementazione-OpenGL> è uno fra "ati", "nvidia" o "xorg-x11"?
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
Back to top
View user's profile Send private message
matttions
Guru
Guru


Joined: 19 Jul 2004
Posts: 338

PostPosted: Sun Mar 13, 2005 8:32 pm    Post subject: Reply with quote

tutto costruito e tutto okkey !!!

Solo che da me è lentissimo ...ffff
_________________
gentoo ... l'unico pinguino da corsa
Back to top
View user's profile Send private message
ema
Guru
Guru


Joined: 27 Aug 2003
Posts: 380

PostPosted: Sun Mar 13, 2005 9:29 pm    Post subject: Reply with quote

scusatemi ma.... a me mancano pushd e popd.... ndo li trovo?
_________________
D Per fare il SysAdmin e' necessario conoscere Unix/Linux e disprezzare Windows?
R Se ti interessa lavorare in ambiente Unix/Linux dovrai averne un minimo di conoscenza, quando acquisisci tale conoscenza la seconda parte arriva da sola.
Back to top
View user's profile Send private message
iDreamer
Guru
Guru


Joined: 23 Jan 2004
Posts: 317
Location: Corigliano Calabro(CS)

PostPosted: Sun Mar 13, 2005 9:38 pm    Post subject: Reply with quote

@gutter... per fortuna ho visto la tua foto reale sul sito.. se no pensavo che eri veramente quello nel avatar lol:D cmq complimenti sei stato rapidissimo
_________________
.::..::.iDreamer.::..::.
^__^ -> HH: Happy Hacking
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Mar 13, 2005 9:46 pm    Post subject: Reply with quote

ema wrote:
scusatemi ma.... a me mancano pushd e popd.... ndo li trovo?


Se usi gli ebuild non ti servono (sono builtin in bash ;) )

@iDreamer: dal vivo sono anche peggio ;)
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
matttions
Guru
Guru


Joined: 19 Jul 2004
Posts: 338

PostPosted: Sun Mar 13, 2005 9:51 pm    Post subject: Reply with quote

Gutter sei un mito!!!!!!
grazie tantissimo per gli e-build.
vanno davvero a bestia e funziona tutto !!!!
[male :-(, ma nn è colpa di nessuno!!]

Sentite ma utilizzate Xorg 6.2 per avere della corretta accellerazione?

Che driver utilizzate?
kernel provided?
[ovvio che ho una Ati 9000 Mobility che ha dei driver proprietari che fanno solo schifo!!! :-(]
Io utilizzo quelli del kernel ...
allora
_________________
gentoo ... l'unico pinguino da corsa
Back to top
View user's profile Send private message
ema
Guru
Guru


Joined: 27 Aug 2003
Posts: 380

PostPosted: Sun Mar 13, 2005 9:51 pm    Post subject: Reply with quote

ty gutter. Volevo provare a manina :-)
ho riemerso bash e... eccoli qua!!

sta compilando... vediamo come funziona (pbuffer non ce l'ho :wink: )
_________________
D Per fare il SysAdmin e' necessario conoscere Unix/Linux e disprezzare Windows?
R Se ti interessa lavorare in ambiente Unix/Linux dovrai averne un minimo di conoscenza, quando acquisisci tale conoscenza la seconda parte arriva da sola.
Back to top
View user's profile Send private message
Apetrini
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1158

PostPosted: Sun Mar 13, 2005 11:28 pm    Post subject: Reply with quote

Ho seguito il how-to e ho messo Xglx sul portatile...
Ora all'avvio kdm mi chiede ke sessione voglio far partire e posso scegliere tra kde normale o kde su Xglx.
kde normale va tutto come prima, se scelgo kde su Xglx ho delle pesanti corruzioni grafiche e ogni tanto il programma da segmentation fault.
Purtroppo penso sia dovuto alla scheda video del mio portatile (ati mobility9200), poiche anche con le estensioni COMPOSITE di Xorg e il normale xcompmgr mi da PESANTI(non si capisce nulla sullo schermo) corruzioni grafiche.
:(
Back to top
View user's profile Send private message
matttions
Guru
Guru


Joined: 19 Jul 2004
Posts: 338

PostPosted: Sun Mar 13, 2005 11:35 pm    Post subject: Reply with quote

Me too :-(

Che disastro 'ste schede ..
Tuttavia Xorg 6.8.2 è realmente + veloce del 6.8.0-r5 se nn ricordo male :-)
_________________
gentoo ... l'unico pinguino da corsa
Back to top
View user's profile Send private message
BlueInGreen
Apprentice
Apprentice


Joined: 04 Jan 2005
Posts: 215
Location: Roma

PostPosted: Sun Mar 13, 2005 11:38 pm    Post subject: Reply with quote

Io invece l'ho installato ora. L'ebuild va a meraviglia, però il risultato rallenta eccessivamente il tutto. E poi anche io ho il problema del cursore ad x.
La patche per metacity non l'ho potuta applicare perchè credo non vada bene per metacity 2.10
Ho un nvidia euna risoluzione 1280x1024. Il tutto è molto bello, ma credo dovro tornare al mio desktop sempre a mezzogiorno (senza ombre).
Ciau :(
_________________
A volte mi chiedo se dio mi ama oppure se è solo sesso.
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Mar 13, 2005 11:47 pm    Post subject: Reply with quote

Ho scoperto proprio adesso un problema tra xglx-cvs (di preciso delle librerie) e xdm. In pratica dopo l'installazione non parte più xdm, con l'errore:

Code:

gutter@giskard ~ $ cat /var/log/xdm.log
/usr/X11R6/bin/xdm: symbol lookup error: /usr/X11R6/bin/xdm: undefined symbol: _XdmcpWrapperToOddParity


Ora in pratica per ovviare al problema basta cancellare il file:

Quote:
/etc/env.d/50glitz-cvs


Però in tal caso dovete esportare nei vostri script la variabile d'ambiente:

Code:
LD_LIBRARY_PATH="/opt/fdo/lib"


Domani vedo se c'è una soluzione ma mi pare difficile.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Sun Mar 13, 2005 11:48 pm    Post subject: Reply with quote

Le corruzioni su KDE ce l'ho anche io, penso siano un problema noto (così come la lentezza di certe applicazioni - dipende dalla maniera in cui i toolkit grafici si interfacciano alle librerie di Xorg).

Se potete scegliere fre ATI binari e driver open-source (cioè se avete una scheda radeon dalla 9000 alla 9600) scegliete il driver binario (per quanto mi costi dare un consiglio del genere :(). I driver open a quanto pare non accelerano certe particolari chiamate OpenGL, che purtroppo sono anche quelle maggiormente utilizzate da Xglx... Da una mail sulla mailing list di Xorg:
Michael Dänzer wrote:
The free drivers don't work well for me with discrete cards either, I
suspect it's due to stuff like inefficient glTexSubImage, missing
acceleration for glCopyPixels/glCopyTex(Sub)Image, ...

_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info


Last edited by yardbird on Sun Mar 13, 2005 11:53 pm; edited 2 times in total
Back to top
View user's profile Send private message
matttions
Guru
Guru


Joined: 19 Jul 2004
Posts: 338

PostPosted: Sun Mar 13, 2005 11:49 pm    Post subject: Reply with quote

gutter wrote:

Per� in tal caso dovete esportare nei vostri script la variabile d'ambiente:

Code:
LD_LIBRARY_PATH="/opt/fdo/lib"


Domani vedo se c'� una soluzione ma mi pare difficile.


Si è vero ... mi ero accorto ed avevo corretto, ma nn mi sono ricordato di scriverlo !!!! :-)
_________________
gentoo ... l'unico pinguino da corsa
Back to top
View user's profile Send private message
matttions
Guru
Guru


Joined: 19 Jul 2004
Posts: 338

PostPosted: Sun Mar 13, 2005 11:51 pm    Post subject: Reply with quote

yardbird wrote:

Se potete scegliere fre ATI binari e driver open-source (ci� chi ha schede dalla radeon 9000 alla 9600) scegliete il driver binario (per quanto mi costi dare un consiglio del genere :(). I driver open a quanto pare non accelerano certe particolari chiamate OpenGL, che purtroppo sono anche quelle utilizzate da Xglx...


Mentre quelli binari lo fanno?

Io ero passato a quelli open quando mi ero accorto che i binari nn volevano farmi costruire Xorg 6.8

Ripasserò a quelli closed ...... ma lo sviluppo di quelli open com'è messo?
E' fermo? sono OT ?8O
_________________
gentoo ... l'unico pinguino da corsa
Back to top
View user's profile Send private message
Lucacri
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 147
Location: 2a Curva di Lesmo!

PostPosted: Sun Mar 13, 2005 11:54 pm    Post subject: Reply with quote

Ragazzi, io ho installato l'ebuild e tutto ok.
Pero da una sessione gia avviata di kde, se faccio partire il comando che avete postato nella prima pagina, mi parte correttamente. Se invece lo faccio partire all'interno del file .xinitrc (tramite startx) NIENTE! mi dice che non riesce a connettersi al server!

Che posso fare?
PS: uso xdm (o meglio kdm, ma mi funziona quando faccio /etc/init.d/xdm start) e vorrei farlo andare direttamente da li...
Back to top
View user's profile Send private message
yardbird
l33t
l33t


Joined: 20 Apr 2002
Posts: 689
Location: nl.leiden

PostPosted: Sun Mar 13, 2005 11:56 pm    Post subject: Reply with quote

matttions wrote:
Mentre quelli binari lo fanno?

Apparentemente sì, visto che da me funziona tutto piuttosto spedito con i driver closed.

matttions wrote:
Ripasserò a quelli closed ...... ma lo sviluppo di quelli open com'è messo?
E' fermo? sono OT ?8O

Non sono molto informato, ma da quello che so più o meno è una sola persona che ci lavora in modo continuato. In teoria il progetto era di riscrivere i driver in modo tale che supportassero meglio gli effetti "nativi" di Xorg (cioè in maniera tale da accelerare in maniera più efficiente l'estensione Xrender), ma con l'avvento di Xglx (sul quale in molti sembrano puntare) non so quali saranno gli sviluppi.
_________________
Albert Einstein wrote:
I consider it [...] urgently necessary for [...] workers to get together, both to protect their own economic status and [...] to secure their influence in the political field.


http://www.bluescarni.info
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Mon Mar 14, 2005 9:51 am    Post subject: Reply with quote

matttions wrote:

Si è vero ... mi ero accorto ed avevo corretto, ma nn mi sono ricordato di scriverlo !!!! :-)


Scusa ma come hai corretto?
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Lestaat
Guru
Guru


Joined: 13 Jan 2005
Posts: 412
Location: Perugia

PostPosted: Mon Mar 14, 2005 10:54 am    Post subject: Reply with quote

SGRUNT!

Ho un errore durante la compilazione?
Da che dipende?

Code:

if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../hw/kdrive/src -I../../../miext/damage -I../../../miext/shadow -I../../../Xext -I../../../record -I../../../render -I../../../randr -I../../../xfixes -I../../../damageext -I../../../composite                           -I../../../fb -I../../../mi -I../../../hw/kdrive/linux -Wall -Wpointer-arith -Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -I/opt/fdo/include -I/opt/fdo/include/X11/fonts -I/opt/fdo/include/X11/Xtrans   -D_BSD_SOURCE -I../../../include -I../../../Xext    -O2 -march=pentium4 -fomit-frame-pointer -MT evdev.o -MD -MP -MF ".deps/evdev.Tpo" -c -o evdev.o evdev.c; \
then mv -f ".deps/evdev.Tpo" ".deps/evdev.Po"; else rm -f ".deps/evdev.Tpo"; exit 1; fi
evdev.c:62: error: field `absinfo' has incomplete type
evdev.c: In function `EvdevRead':
evdev.c:119: error: `EV_SYN' undeclared (first use in this function)
evdev.c:119: error: (Each undeclared identifier is reported only once
evdev.c:119: error: for each function it appears in.)
make[3]: *** [evdev.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/xglx-cvs-20050313/work/xserver/hw/kdrive/linux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/xglx-cvs-20050313/work/xserver/hw/kdrive'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xglx-cvs-20050313/work/xserver/hw'
make: *** [all-recursive] Error 1
Back to top
View user's profile Send private message
matttions
Guru
Guru


Joined: 19 Jul 2004
Posts: 338

PostPosted: Mon Mar 14, 2005 10:54 am    Post subject: Reply with quote

sullo
.xinitrc dato da yardbird ho messo il Path assoluto ..
e funziona...
:wink:
_________________
gentoo ... l'unico pinguino da corsa
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Mon Mar 14, 2005 11:33 am    Post subject: Reply with quote

Lestaat wrote:
SGRUNT!

Ho un errore durante la compilazione?
Da che dipende?


Prova a lanciare:

Code:

# env-update
# source /etc/profile


e rilancia la compilazione.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Lestaat
Guru
Guru


Joined: 13 Jan 2005
Posts: 412
Location: Perugia

PostPosted: Mon Mar 14, 2005 12:25 pm    Post subject: Reply with quote

niente da fare.
stesso errore
Back to top
View user's profile Send private message
Atomikramp
Apprentice
Apprentice


Joined: 27 Sep 2004
Posts: 200

PostPosted: Mon Mar 14, 2005 12:58 pm    Post subject: Reply with quote

anche a me non compila
però l'errore è

Code:

./autogen.sh: running `libtoolize --copy --force'
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Putting files in AC_CONFIG_AUX_DIR, `config'.
./autogen.sh: running `aclocal'
./autogen.sh: running `autoheader'
./autogen.sh: running `automake --add-missing'
automake-1.5: configure.in: installing `config/install-sh'
automake-1.5: configure.in: installing `config/mkinstalldirs'
automake-1.5: configure.in: installing `config/missing'
automake-1.5: configure.in: installing `config/depcomp'
/usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.5/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.5/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.5/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.5/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL

!!! ERROR: x11-libs/glitz-cvs-20050313 failed.
!!! Function src_compile, Line 31, Exitcode 1
!!! autogen.sh failed!
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Mon Mar 14, 2005 2:38 pm    Post subject: Reply with quote

Lestaat wrote:
niente da fare.
stesso errore


Uhm ma su che architettura sei e con che compilatore stai usando?

@Atomikramp: stessa domanda anche a te?
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 
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