Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] libX11: problemi con Matlab e compiz-fusion
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
nearthesoul
n00b
n00b


Joined: 21 Mar 2009
Posts: 53

PostPosted: Tue Mar 24, 2009 1:27 pm    Post subject: [RISOLTO] libX11: problemi con Matlab e compiz-fusion Reply with quote

Compilando libX11-1.1.4 con "+xcb" funziona compiz-fusion ma non Matlab mentre con "-xcb" funziona Matlab ma non compiz-fusion. Ho la versione Matlab R2008a per linux ed il codice di errore che ricevo quando lancio "compiz-manager" nel caso "-xcb" è il seguente

Code:

hecking for Xgl: not present.
Detected PCI ID for VGA: 00:0d.0 0300: 10de:03d0 (rev a2) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1024x768) to maximum 3D texture size (4096): Passed.
Checking for nVidia: present.
/usr/bin/compiz-manager: line 196: nvidia-settings: command not found
/usr/bin/compiz-manager: line 197: [: -lt: unary operator expected
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting kde-window-decorator
/usr/bin/compiz: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
/usr/bin/compiz-manager: line 383: /usr/bin/kwin: No such file or directory
/usr/bin/compiz-manager: line 383: exec: /usr/bin/kwin: cannot execute: No such file or directory


Devo necessariamente fare a meno di uno dei due? Grazie per ogni eventuale risposta.


Last edited by nearthesoul on Thu Mar 26, 2009 9:23 am; edited 1 time in total
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Tue Mar 24, 2009 2:19 pm    Post subject: Reply with quote

togli la USE e ricompila il pacchetto proprietario di /usr/bin/compiz che probabilmente sarà x11-wm/compiz ( e comunque lo vedi con qfile, in portage-utils )
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Mar 24, 2009 6:55 pm    Post subject: Reply with quote

e lancia in ogni caso un revdep-rebuild
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
nearthesoul
n00b
n00b


Joined: 21 Mar 2009
Posts: 53

PostPosted: Tue Mar 24, 2009 8:06 pm    Post subject: Reply with quote

Avevo già provato con revdep-rebuil ma niente. Ad ogni modo lanciando il comando "emerge compiz" ottengo

Code:

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "x11-libs/libX11[xcb]".
!!! One of the following packages is required to complete your request:
- x11-libs/libX11-1.1.4 (Change USE: +xcb)
(dependency required by "x11-wm/compiz-0.7.8-r2" [ebuild])
(dependency required by "compiz" [argument])


Cosa devo fare?
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Tue Mar 24, 2009 8:33 pm    Post subject: Reply with quote

problema identico...
Edit 1: ho provato a passare x11-libs/libX11-1.1.5, parte il matlab ma va in crash appena provo a fare qualcosa di "complicato" ma non penso dipendi da libX11
_________________
C.
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Mar 24, 2009 8:56 pm    Post subject: Reply with quote

ma il mathlab da dove lo hai preso? Google riporta questa
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
nearthesoul
n00b
n00b


Joined: 21 Mar 2009
Posts: 53

PostPosted: Tue Mar 24, 2009 9:09 pm    Post subject: Reply with quote

Il mio matlab funziona perfettamente con le libX11 senza la use xcb. Ma che significa

Quote:

Either of the two workarounds works for me:
(1) If the libxcb version is ≥1.1, export LIBXCB_ALLOW_SLOPPY_LOCK=1 before running the broken application.
(2) Recompile libxcb with CFLAGS="-DNDEBUG". This macro disables assertions.


?
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Mar 24, 2009 9:51 pm    Post subject: Reply with quote

Se libxcb ha una versione maggiore di 1.1 apri una shell, lanci export LIBXCB_ALLOW_SLOPPY_LOCK=1 e sempre da li il matlab da linea di comando. Se funziona ti crei uno script per avviare matlab che imposti la variabile ambiente e segnali sul wiki o dove hai trovato come installare matlab che è necessario questo workaround.
Soluzione 2 modifichi l'ebuild di libX11 per aggiungere -DNDEBUG alle cflags, se la cosa funziona apri un bug e chiedi se è possibile aggiungere una use o qualcos'altro per controllare sta cosa e come sopra segnali il workaround Giusto per provare riemergi libX11 con le le cflags del caso e vedi che succede.
Condisci il tutto con la smoccolata di dovere.

Come farebbe ogni normale (normale...bah, masochista ed imbecille è il caso di sottolinearlo) utente gentoo. :twisted:
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
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
Page 1 of 1

 
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