| View previous topic :: View next topic |
| Author |
Message |
shiney n00b

Joined: 18 Jan 2006 Posts: 14 Location: Layton, Utah USA
|
Posted: Sat Aug 11, 2007 8:19 pm Post subject: Can't get emerald to work [solved] |
|
|
OK, I've been fighting this for a while. I can't figure out what I'm doing wrong. I have read every post I could find and still no joy. Beryl and Compiz both work fine, so does Xgl. Still no window decorations. When I start them from a terminal (usining something like emerald --replace ) I don't get any errors. they all just start with no complaints and do nothing. Here is my current xorg.conf:
****************************************
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
RgbPath "usr/X11R6/lib/X11/rgb"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "v4l"
Load "vbe"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Panasonic"
ModelName "E70G"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
Option "AllowGLXWithComposite" "True"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
# Option "CursorShadow" "1"
# Option "CursorShadowAlpha" "63"
# Option "CursorShadowYOffset" "2"
# Option "CursorShadowXOffset" "4"
# Option "RenderAccel" "True"
# Option "ConnectedMonitor" "CRT"
# Option "AllowGLXWithComposite" "True"
# Option "backingstore" "True"
# Option "TripleBuffer" "True"
# Option "UseEvents" "false"
# Option "AlloxGLXWithComposite" "True"
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480" "400x300"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
# Option "RenderAccel" "True"
EndSection
**************************************
Any ideas?
Last edited by shiney on Sat Aug 11, 2007 9:14 pm; edited 1 time in total |
|
| Back to top |
|
 |
shiney n00b

Joined: 18 Jan 2006 Posts: 14 Location: Layton, Utah USA
|
Posted: Sat Aug 11, 2007 9:12 pm Post subject: |
|
|
| Hmm. It started working. The solution sounds wrong, but I changed the default depth to 32, restarted X, it crashed, I changed it back to 24 and now for some reason the decorations work. |
|
| Back to top |
|
 |
shiney n00b

Joined: 18 Jan 2006 Posts: 14 Location: Layton, Utah USA
|
Posted: Thu Aug 16, 2007 8:30 pm Post subject: my correct xorg.conf |
|
|
Because I have seen so many people having problems getting these configured, Here is my working xorg.conf.
| Code: |
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
RgbPath "usr/X11R6/lib/X11/rgb"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "v4l"
Load "vbe"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Panasonic"
ModelName "E70G"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
Option "AllowGLXWithComposite" "True"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "RenderAccel" "True"
Option "ConnectedMonitor" "CRT"
Option "backingstore" "True"
Option "TripleBuffer" "True"
Option "UseEvents" "false"
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480" "400x300"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
|
Also here is the command line for my gdm custom.conf file:
| Code: |
[servers]
0=Xgl
[server-Standard]
name=Xgl
command=/usr/bin/Xgl :0 -fullscreen -br -ac -accel glx:pbuffer -accel xv:fbo -kb
chooser=false
handled=true
flexible=true
priority=0
|
The reason I put that in here is because I have read just about every Xgl howto and I haven't found that line written exactly like that on any of them.
The problem I was having with Xgl. When I ran glxinfo I got:
| Code: |
direct rendering: No
server glx vendor string: SLI
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
|
All of my libGL libraries were linked properly and so after I changed the command line in /etc/X11/gdm/custom.conf to the above, it corrected it. Now all three vendors are the same and direct rendering is enabled.
I hope this helps someone. |
|
| Back to top |
|
 |
gentunian Tux's lil' helper

Joined: 10 Jul 2006 Posts: 118 Location: Río Cuarto, Argentina
|
Posted: Wed Oct 03, 2007 12:49 pm Post subject: |
|
|
you are using Xgl? There's no need to. Nvidia drivers implements composition. _________________ Si un pueblo tiene hambre, no le des un pez. Enséñale a pescar.
http://labombiya.com.ar |
|
| Back to top |
|
 |
|