Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XGL (Part 4)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 14, 15, 16 ... 38, 39, 40  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Jupiter1TX
Guru
Guru


Joined: 24 Feb 2006
Posts: 546
Location: 3rd Rock

PostPosted: Sun May 07, 2006 3:54 pm    Post subject: Reply with quote

BlackBelt wrote:
Hi guys,

I'm following xgl gentoo howto. I had installed xgl and use startxgl to start it. Now I want to use gdm. I don't understand how can I activate all plugins.

can Somebody help me?

EDIT: I have change in /usr/bin/compizrc the string:

Quote:
DISPLAY=:1 LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace gconf &
DISPLAY=:1 gnome-window-decorator &


with the follow.


Quote:
DISPLAY=:1 /usr/bin/compiz --replace decoration wobbly fade switcher resize place minimize cube rotate move zoom scale trailfocus water &


I would put the compizrc string back how you had it and add the plugins in gconf-editor in the proper order
gconf,decoration,dock,transset,state,wobbly,fade,minimize,cube,rotate,zoom,scale,move,resize,place,switcher,trailfocus,water,bs

settings in gconf-editor override the settings on the command line, also if you do leave plugins in both command
line and gconf and they are not in the same order it will cause problems

if you are running an older version of compiz then remove the plugins that are not yet incorporated
"dock, state, bs"
the dock plugin replaced miniwin, but again if you have an older version of compiz then remove dock and
add miniwin before decoration

don't forget to add compiz to your gnome session with priority set to 45 as per the howto
then logout-login

good luck
_________________
Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz
Back to top
View user's profile Send private message
Jupiter1TX
Guru
Guru


Joined: 24 Feb 2006
Posts: 546
Location: 3rd Rock

PostPosted: Sun May 07, 2006 4:07 pm    Post subject: Reply with quote

KamikazeMicrowave wrote:
I'm having issues starting xgl as a normal user. (aka not root) If I ever run any other instance x server before running it as lesser privaleged user it complains about not being able to connect to the port. BUT if I start it as that user before any others it WILL come up but it doesn't have a window decorations. I posted my startxgl script below. Its based off of the gentoo wiki with a little change. The change is bolded. The reason I changed it was because my plugin settings weren't showing up in gconf-editor.


Any ideas?




#!/bin/bash
echo ">Starting XGL at Display: $1"
echo "========= XGL ============"
Xgl :$1 -ac -accel xv -accel glx:pbuffer &
sleep 5
echo "======= COMPIZ ==========="
DISPLAY=:$1 LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace gconf &
sleep 5
echo "====== DECORATIONS ======="
DISPLAY=:$1 gnome-window-decorator &
# sleep 3
echo "======= GNOME ============"
DISPLAY=:$1 /usr/libexec/gnome-settings-daemon &
DISPLAY=:$1 nautilus -n --sync &
DISPLAY=:$1 gnome-panel &
# DISPLAY=:$1 setxkbmap -model pc105 -layout de -variant basic &
#echo "======= LOGOUT ============"
#killall Xgl
# Uncomment the line above if you can't logout from Gnome correctly.


I used this script succesfully
#!/bin/bash
echo ">Starting XGL at Display: $1"
echo "========= XGL ============"
Xgl :$1 -ac -accel xv -accel glx:pbuffer &
sleep 3
echo "======= COMPIZ ==========="
DISPLAY=:$1 LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz --replace gconf &
sleep 3
echo "====== DECORATIONS ======="
DISPLAY=:$1 gnome-window-decorator &
# sleep 3
echo "======= GNOME ============"
DISPLAY=:$1 /usr/libexec/gnome-settings-daemon &
DISPLAY=:$1 nautilus -n --sync &
DISPLAY=:$1 gnome-panel &
#DISPLAY=:$1 setxkbmap -model pc105 -layout us -variant basic &
#echo "======= LOGOUT ============"
#killall Xgl
# Adding the line above,if you can't logout Gnome correctly.

as far as being locked out of logging in after a previous login, that was addressed in part 1 of this thread
i don't quite remember the fix for this but i remember deleting the lock file in /tmp that was causing it

i had the window decoration problem as well till i changed to using GDM
_________________
Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz
Back to top
View user's profile Send private message
lysergicacid
Guru
Guru


Joined: 25 Nov 2003
Posts: 352
Location: The Universe,Virgo Super Cluster,Milky Way,Earth

PostPosted: Sun May 07, 2006 9:09 pm    Post subject: Reply with quote

anyone having issues with gaim under xgl/compiz ???? every time i get a message in gaim it kills the gnome-window-decorater, anyone else had this prob ?
_________________
[img]http://valid.canardpc.com/cache/banner/2040927.png[/img]
Desktop:
[img]http://valid.canardpc.com/cache/banner/2703952.png[/img]
Back to top
View user's profile Send private message
BlackBelt
Guru
Guru


Joined: 27 Nov 2004
Posts: 369
Location: Messina/Pisa

PostPosted: Mon May 08, 2006 7:54 am    Post subject: Reply with quote

Quote:
if you are running an older version of compiz then remove the plugins that are not yet incorporated


I'm using compiz-quinnstorm 0.0.9.3.



Quote:
settings in gconf-editor override the settings on the command line, also if you do leave plugins in both command
line and gconf and they are not in the same order it will cause problems


Currently It works fine. How can I delete the key in gconf-editor? I want to use only the command in compizrc.

Quote:
don't forget to add compiz to your gnome session with priority set to 45


I did it.

thanks
_________________
"Sulla strada per l'inferno c'e' sempre un sacco di gente,
ma è comunque una via che si percorre in solitudine."

Charles Bukowski
Back to top
View user's profile Send private message
gemini91
Guru
Guru


Joined: 27 Nov 2003
Posts: 317
Location: Naples, Fl

PostPosted: Mon May 08, 2006 3:49 pm    Post subject: Xgl and Gnome-2.14.1 Reply with quote

A few days ago a world upgrade brought in Gnome-2.14.1 and Xgl stopped working.
The xgl-gdm conf file does not work any longer, says there is an error, but I
can't fine an error in any of the logs. If I go back to a non XGL environment and try
to start it from a terminal with "startxgl" I receive the following

don@shuttle ~ $ ./startxgl 1 gnome nvidia
###### STARTXGL SCRIPT ######
Starting X Server with XGL
Using Display 1
Using WM: gnome
Using Card: nvidia/other
Starting compiz
Starting Window Manager
compiz: Couldn't open display :1

(gnome-window-decorator:30049): Gtk-WARNING **: cannot open display:
cannot open display: (null)
Run 'gnome-panel --help' to see a full list of available command line options.
DONE!

And on Display 0 I get

don@shuttle ~ $ ./startxgl 0 gnome nvidia
###### STARTXGL SCRIPT ######
Starting X Server with XGL
Using Display 0
Using WM: gnome
Using Card: nvidia/other
Starting compiz
compiz: No composite extension
Starting Window Manager
You can only run one xsettings manager at a time; exiting
gnome-window-decorator, Failed to load shadow images
DONE!

I have tried reinstalling XGL manually and using the install.sh file
I am running revision 182
Back to top
View user's profile Send private message
bigfam
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2004
Posts: 106
Location: ottawa

PostPosted: Mon May 08, 2006 7:57 pm    Post subject: Reply with quote

xgl keeps failing to compile for me...i've been getting the same error for 4 days...

Code:

ram large-function-growth=10000 -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I
../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb
 -O2 -march=athlon-xp -fomit-frame-pointer -MT libfbmmx_la-fbmmx.lo -MD -MP -MF
.deps/libfbmmx_la-fbmmx.Tpo -c fbmmx.c  -fPIC -DPIC -o .libs/libfbmmx_la-fbmmx.o
cc1: error: invalid parameter `inline-unit-growth'
cc1: error: invalid parameter `large-function-growth'
make[1]: *** [libfbmmx_la-fbmmx.lo] Error 1
make[1]: Leaving directory `/tmp/portage/portage/xgl-0.0.1_p20060418/work/xgl-xo
rg/fb'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xgl-0.0.1_p20060418 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  ebuild.sh, line 1609:   Called x-modular_src_compile
  x-modular.eclass, line 320:   Called x-modular_src_make

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if rel
evant.
Back to top
View user's profile Send private message
TemplarKnight
Guru
Guru


Joined: 14 Jun 2005
Posts: 311
Location: Greece/patras/

PostPosted: Mon May 08, 2006 8:18 pm    Post subject: Reply with quote

Hello, i guess it must be somewhere mentioned before.....
What package is needed (or use flag) for the gnome-window-decorator to be installed?
Back to top
View user's profile Send private message
lysergicacid
Guru
Guru


Joined: 25 Nov 2003
Posts: 352
Location: The Universe,Virgo Super Cluster,Milky Way,Earth

PostPosted: Mon May 08, 2006 8:25 pm    Post subject: Reply with quote

USE="gnome" emerge compiz
_________________
[img]http://valid.canardpc.com/cache/banner/2040927.png[/img]
Desktop:
[img]http://valid.canardpc.com/cache/banner/2703952.png[/img]
Back to top
View user's profile Send private message
TemplarKnight
Guru
Guru


Joined: 14 Jun 2005
Posts: 311
Location: Greece/patras/

PostPosted: Mon May 08, 2006 8:32 pm    Post subject: Reply with quote

lysergicacid wrote:
USE="gnome" emerge compiz


yeah, after a change in my flags (gnome gtk added) and emerge -uDNv world i noticed....

x11-wm/compiz-vanilla needs to be compiled with the gnome flag.
Back to top
View user's profile Send private message
edi15ta
n00b
n00b


Joined: 06 May 2005
Posts: 60
Location: Kraków (Poland)

PostPosted: Mon May 08, 2006 10:12 pm    Post subject: Reply with quote

bigfam wrote:
xgl keeps failing to compile for me...i've been getting the same error for 4 days...

Code:

ram large-function-growth=10000 -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I
../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb
 -O2 -march=athlon-xp -fomit-frame-pointer -MT libfbmmx_la-fbmmx.lo -MD -MP -MF
.deps/libfbmmx_la-fbmmx.Tpo -c fbmmx.c  -fPIC -DPIC -o .libs/libfbmmx_la-fbmmx.o
cc1: error: invalid parameter `inline-unit-growth'
cc1: error: invalid parameter `large-function-growth'
make[1]: *** [libfbmmx_la-fbmmx.lo] Error 1
make[1]: Leaving directory `/tmp/portage/portage/xgl-0.0.1_p20060418/work/xgl-xo
rg/fb'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xgl-0.0.1_p20060418 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  ebuild.sh, line 1609:   Called x-modular_src_compile
  x-modular.eclass, line 320:   Called x-modular_src_make

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if rel
evant.


do you have CFLAG: -fforce-addr in make.conf enabled? if so, you have to comment it and then xgl compile again.
_________________
pozdr
mateusz
Back to top
View user's profile Send private message
bigfam
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2004
Posts: 106
Location: ottawa

PostPosted: Tue May 09, 2006 7:50 am    Post subject: Reply with quote

edi15ta wrote:

do you have CFLAG: -fforce-addr in make.conf enabled? if so, you have to comment it and then xgl compile again.


CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
Back to top
View user's profile Send private message
gemini91
Guru
Guru


Joined: 27 Nov 2003
Posts: 317
Location: Naples, Fl

PostPosted: Tue May 09, 2006 1:58 pm    Post subject: Reply with quote

I still have the problem with xgl and gnome-2.14.1
I did :
"/usr/local/xgl-coffee/install.sh full" on version 184
and I still get :

don@shuttle ~ $ ./startxgl 1 gnome nvidia
###### STARTXGL SCRIPT ######
Starting X Server with XGL
Using Display 1
Using WM: gnome
Using Card: nvidia/other
Starting compiz
Starting Window Manager
compiz: Couldn't open display :1

(gnome-window-decorator:30049): Gtk-WARNING **: cannot open display:
cannot open display: (null)
Run 'gnome-panel --help' to see a full list of available command line options.
DONE!
when trying to start xgl.
Back to top
View user's profile Send private message
RedHand
n00b
n00b


Joined: 10 Apr 2005
Posts: 48
Location: Police, Poland

PostPosted: Tue May 09, 2006 5:45 pm    Post subject: Reply with quote

Hurray - rev 184. ;-) and a new problem... :/

When emerging compiz-quinnstorm I get this:

Code:
config.status: creating po/Makefile.in
config.status: error: cannot find input file: po/Makefile.in.in

!!! ERROR: x11-wm/compiz-quinnstorm-0.0.10.3 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 930:   Called src_compile
  compiz-quinnstorm-0.0.10.3.ebuild, line 56:   Called die


Any idea?
Back to top
View user's profile Send private message
kmare
l33t
l33t


Joined: 20 Nov 2004
Posts: 619
Location: Thessaloniki, Greece

PostPosted: Tue May 09, 2006 7:17 pm    Post subject: Reply with quote

i had this problem as well. So i modified the ebuild to use compiz-quinnstorm "compiz_0.0.10-0ubuntu10" from this site http://www.beerorkid.com/compiz/ It's working fine now...
_________________
Never argue with an idiot. They will only pull you down to their level, then beat you with experience.
Back to top
View user's profile Send private message
RedHand
n00b
n00b


Joined: 10 Apr 2005
Posts: 48
Location: Police, Poland

PostPosted: Tue May 09, 2006 7:48 pm    Post subject: Reply with quote

Could you show modification?
Back to top
View user's profile Send private message
HG-Berlin
n00b
n00b


Joined: 08 Jan 2005
Posts: 36

PostPosted: Tue May 09, 2006 10:49 pm    Post subject: Reply with quote

Hi!

I had the same Issue but managed to get it working with kmare's solution. I had to modify compiz-quinnstorm-0.0.10.3.ebuild (in x11-wm/compiz-quinnstorm) and named it compiz-quinnstorm-0.0.10.3-r1.ebuild for another local overlay (you dont have to do this, but i feel it'll become handy for future updates of the beerkoid-site).

Here are my (simple) modifications:
Line 9:
Code:
SRC_URI="http://www.beerorkid.com/compiz/archives/quinnsrc-compiz_0.0.10-0ubuntu11.tar.gz"


Line 35:
Code:
S="${WORKDIR}/compiz"


That worked for me. Dont forget to "ebuild (pathtomodifiedebuild) digest" after that. As this is the first time I actually try to help somebody (i'm new) dont hit me if your box explodes or something. :-)
Back to top
View user's profile Send private message
kmare
l33t
l33t


Joined: 20 Nov 2004
Posts: 619
Location: Thessaloniki, Greece

PostPosted: Tue May 09, 2006 11:26 pm    Post subject: Reply with quote

that's exactly what i did...thanx HG-Berlin. Also i had to
Code:
export GCONF_CONFIG_SOURCE="xml:merged:/etc/gconf/gconf.xml.defaults"
gconftool-2 --makefile-install-rule /etc/gconf/schemas/compiz.schemas

since i was using compiz 0.0.9 before and the path changed from /usr/etc to /etc for the compiz.schemas to make the options show up in the gconf-editor
_________________
Never argue with an idiot. They will only pull you down to their level, then beat you with experience.
Back to top
View user's profile Send private message
HG-Berlin
n00b
n00b


Joined: 08 Jan 2005
Posts: 36

PostPosted: Wed May 10, 2006 12:25 am    Post subject: Reply with quote

Oh, thanx a lot kmare for that info, I was wondering why my config was screwed... :-) Just had to restart x11 to make it work after that.
Back to top
View user's profile Send private message
lysergicacid
Guru
Guru


Joined: 25 Nov 2003
Posts: 352
Location: The Universe,Virgo Super Cluster,Milky Way,Earth

PostPosted: Wed May 10, 2006 1:37 am    Post subject: Reply with quote

kmare wrote:
that's exactly what i did...thanx HG-Berlin. Also i had to
Code:
export GCONF_CONFIG_SOURCE="xml:merged:/etc/gconf/gconf.xml.defaults"
gconftool-2 --makefile-install-rule /etc/gconf/schemas/compiz.schemas

since i was using compiz 0.0.9 before and the path changed from /usr/etc to /etc for the compiz.schemas to make the options show up in the gconf-editor


Hi when i ran those commands it seemed to work ok and installed a load of schemas into /etc/gconf/gconf.xml.defaults/ & /etc/gconf/gconf.xml.mandatory/ and everything seemed ok however when i try to change anything as my user it still wont apply the settings, i was just running the startxgl script from the overlay and it let me apply settings in that ive tried again and again to make this work as my user without the startxgl script but it doesnt let me change no settings anyone please got any ideas why ? ps im using kde not gnome.

ps ive since ran the same commands as my user and it all seemed to go fine again yet same thing still
_________________
[img]http://valid.canardpc.com/cache/banner/2040927.png[/img]
Desktop:
[img]http://valid.canardpc.com/cache/banner/2703952.png[/img]
Back to top
View user's profile Send private message
1ino1eum_4the_win
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2006
Posts: 92

PostPosted: Wed May 10, 2006 2:04 am    Post subject: Reply with quote

ok guys, this might be a stupid question but : as the wiki says , I have done svn up in my /usr/local/xgl-coffee ... I had prevouily the 182 revision , and now there is 184 ... but then I 've done an emerge -auvDN world ... and there was nothing new ... so I might dont understand something . What is the difference between 182 revision and 184 ? Did I miss somthing to upgrade my overlay?
Back to top
View user's profile Send private message
Xamindar
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1155
Location: California

PostPosted: Wed May 10, 2006 3:47 am    Post subject: Reply with quote

It was nice of the gnome 2.14 upgrade to erase all my compiz settings :roll: :roll: :roll:

EDIT: I take that back. My settings are still there. It just ISN'T USING THEM!

What is going on here?
Back to top
View user's profile Send private message
HG-Berlin
n00b
n00b


Joined: 08 Jan 2005
Posts: 36

PostPosted: Wed May 10, 2006 7:16 am    Post subject: Reply with quote

@1ino1eum_4the_win

You are using coffe/trunk (recommended) where no change has been made between 182 and 184 (dont ask me why). The new version is avaible with coffe/testing (see wiki for details). I had to switch, too, but it works fine.

@Xamindar

Have you:
Code:
export GCONF_CONFIG_SOURCE="xml:merged:/etc/gconf/gconf.xml.defaults"
gconftool-2 --makefile-install-rule /etc/gconf/schemas/compiz.schemas

?

@lysergicacid

Have you rebootet/restartet X? I had that problem before it too.
Back to top
View user's profile Send private message
Xamindar
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1155
Location: California

PostPosted: Wed May 10, 2006 8:02 am    Post subject: Reply with quote

Thanks for the help. It's working now.
Back to top
View user's profile Send private message
valmar
n00b
n00b


Joined: 09 Jun 2005
Posts: 25
Location: Basel, Switzerland

PostPosted: Wed May 10, 2006 8:41 am    Post subject: Reply with quote

Hi all! I've been happily using xgl for some weeks now. I just noticed one problem (or feature, maybe I don't understand it). Sometimes when I click on a window, the focus is passed to a window beneath it, and not to the window itself. Is this intentional or a bug? Is there a way to tweak this?

Thank you in advance for the help!

Valerio
Back to top
View user's profile Send private message
1ino1eum_4the_win
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2006
Posts: 92

PostPosted: Wed May 10, 2006 9:41 am    Post subject: Reply with quote

hello again guys :)
well I use now xgl-testing to try the new compiz , and I like it (especialy the new dock plugin)
but I got some problems : with the wobbly plugin, I have now really strange wobbly windows, like really slow and way too much wobbly ... I prefer the way it worked with my xgl-coffee style...
and for the dock plugin, I don know why , but there is no more dock, there is only the windows :/
so my quesiton is : is there a way to reset all my setting about compiz and his plugin, because maybe there is some problem with my old setting with xgl-coffee and now with xgl-testing .
and other thing : before I do , as root : export GCONF_CONFIG_SOURCE="xml:merged:/etc/gconf/gconf.xml.defaults and gconftool-2 --makefile-install-rule /etc/gconf/schemas/compiz.schema , I had no shade , and now I have some funny red shade, well ... I guess it's a mater of taste :)
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 14, 15, 16 ... 38, 39, 40  Next
Page 15 of 40

 
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