You are not logged in.

#1 2006-07-24 13:46:15

molinero
Member
From: Copenhagen/Denmark
Registered: 2004-09-19
Posts: 110

gdm and xgl

I installed xgl using the guide from the wiki - and xgl works fine .. almost

Problem is that xgl isn't started when I use gdm. If I run

startxgl 1 gnome nvidia

on the commandline then xgl works.

My other problem is that it takes forever to show my desktop and the splash screen is still shown. When the desktop appears the splash screen goes away.

Anyone know how to solve this?

Offline

#2 2006-07-24 16:27:43

Brute
Member
From: Europe/Paris
Registered: 2006-06-17
Posts: 31
Website

Re: gdm and xgl

How did you configure GDM ?
You have to edit /opt/gnome/etc/gdm/custom.conf : before it looks like that :

[daemon]
Greeter=/opt/gnome/libexec/gdmgreeter

[security]

[xdmcp]

[gui]

[greeter]
GraphicalTheme=GDM-ArchLinux0.7
SoundOnLogin=false

[chooser]

[debug]

[servers] 

And after :

[daemon]
Greeter=/opt/gnome/libexec/gdmgreeter

[security]

[xdmcp]

[gui]

[greeter]
GraphicalTheme=GDM-ArchLinux0.7
SoundOnLogin=false

[chooser]

[debug]

[servers]
0=inactive
1=Xgl

[server-Xgl]
name=Xgl
command=/usr/bin/Xgl :1 -ac -accel glx:pbuffer -accel xv
flexible=true
chooser=false
handled=true
priority=0 

Then create a compizrc as written in the wiki, and add it at the startup of gnome.

I hope this will help you...  big_smile

For the splash screen I don't know  :shock:


Écartelé d'azur chargé de trois lys d'or et d'or au dauphin d'azur crêté, barbé, loré, peautré et oreillé de gueules.

Offline

#3 2006-08-18 07:49:36

molinero
Member
From: Copenhagen/Denmark
Registered: 2004-09-19
Posts: 110

Re: gdm and xgl

Sorry for not answering your post for some time. My custom.conf looks like yours but xgl isn't working when I log in from GDM - it only works when I do

startxgl 1 gnome nvidia

Here is mine custom.conf

[daemon]
Greeter=/opt/gnome/libexec/gdmgreeter
GdmXserverTimeout=30

[security]

[xdmcp]

[gui]

[greeter]
Browser=true
GraphicalTheme=EaseOfBlue
Include=marianne,root

[chooser]

[debug]

# Note that to disable servers defined in the defaults.conf file (such as
# 0=Standard, you must put a line in this file that says 0=inactive, as
# described in the Configuration section of the GDM documentation.
#
[servers]
#0=Standard
0=inactive
1=Xgl

# Also note, that if you redefine a [server-foo] section, then GDM will
# use the definition in this file, not the defaults.conf file.  It is
# currently not possible to disable a [server-foo] section defined
# in the defaults.conf file.
#

# Definition of the xgl X server.
[server-Xgl]
name=Xgl
command=/usr/bin/Xgl :1 -ac -accel glx:pbuffer -accel xv
flexible=true
chooser=false
handled=true
priority=0 

Offline

#4 2006-08-27 22:27:12

digi691
Member
Registered: 2004-10-12
Posts: 22

Re: gdm and xgl

I am having the same problems as molinero.  My custom.conf looks exactly like his also.  I know that GDM is taking the custom.conf because I can see the setting when I look at the configuration once in GDM.  Only way I can get Xgl working is the the command

startxgl 1 gnome nvidia

as molinero did.

Offline

#5 2006-08-28 08:03:02

molinero
Member
From: Copenhagen/Denmark
Registered: 2004-09-19
Posts: 110

Re: gdm and xgl

Actually I found out that xgl would only work then compiz wasn't started - why? I do not know.

Anyway I dropped Xgl since I use apps that don't work with xgl

Offline

#6 2006-09-03 15:15:33

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: gdm and xgl

Didnt work for me at all...

my custom.conf:


[daemon]
Greeter=/opt/gnome/libexec/gdmgreeter

[security]

[xdmcp]

[gui]

[greeter]
GraphicalTheme=TuxnTosh
Browser=true

[chooser]

[debug]

# Note that to disable servers defined in the defaults.conf file (such as
# 0=Standard, you must put a line in this file that says 0=inactive, as
# described in the Configuration section of the GDM documentation.
#
[servers]
# These are the standard servers.  You can add as many you want here
# and they will always be started.  Each line must start with a unique
# number and that will be the display number of that server.  Usually just
# the 0 server is used.
# 0=Standard
0=inactive
1=Xgl

# Also note, that if you redefine a [server-foo] section, then GDM will
# use the definition in this file, not the defaults.conf file.  It is
# currently not possible to disable a [server-foo] section defined
# in the defaults.conf file.

# Definition of the xgl X server.
[server-Xgl]
name=Xgl
command=/usr/bin/Xgl :1 -ac -accel glx:pbuffer -accel xv
flexible=true
chooser=false
handled=true
priority=0 
[jinn@Estergon ~]$ cat /usr/bin/compizrc 
#!/bin/bash
#
# Start compiz within gnome-session
# This script checks to see if XGL is running before starting compiz & gnome-win
dow-decorator
if [ `ps -A | grep Xgl | wc -l` == "1" ]; then
       LD_LIBRARY_PATH=/opt/mesa-xgl-cvs/lib/  
LD_PRELOAD=/opt/mesa-xgl-cvs/lib/libGL.so.1.2 
compiz --replace miniwin decoration transset 
state wobbly fade minimize cube rotate zoom 
place scale move resize switcher trailfocus water bs &
       cgwd --replace &
fi
[jinn@Estergon ~]$ 

added compizrc to gnome-session startup programs..


The ultimate Archlinux release name: "I am your father"

Offline

#7 2006-09-03 15:39:30

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: gdm and xgl

another thing that bugs me with gdm.. why does it close X to log out.. thats feels stupid for me..

1. logs out gnome
2. closes X
3. starts X
4. starts gdm..

why the detour??


The ultimate Archlinux release name: "I am your father"

Offline

#8 2006-09-03 17:51:46

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: gdm and xgl

Ok.. works now that i have restarted the whole system.. though it was enough with gdm & X restarting.

still the question remains about why close X when logging out?


The ultimate Archlinux release name: "I am your father"

Offline

#9 2006-09-03 18:59:16

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: gdm and xgl

That could have been a workaround for ati cards with the fglrx drivers or else they would crash. But that's fixed with the newest drivers i believe.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

Board footer

Powered by FluxBB