Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get emerald to work [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
shiney
n00b
n00b


Joined: 18 Jan 2006
Posts: 14
Location: Layton, Utah USA

PostPosted: Sat Aug 11, 2007 8:19 pm    Post subject: Can't get emerald to work [solved] Reply with quote

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
View user's profile Send private message
shiney
n00b
n00b


Joined: 18 Jan 2006
Posts: 14
Location: Layton, Utah USA

PostPosted: Sat Aug 11, 2007 9:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
shiney
n00b
n00b


Joined: 18 Jan 2006
Posts: 14
Location: Layton, Utah USA

PostPosted: Thu Aug 16, 2007 8:30 pm    Post subject: my correct xorg.conf Reply with quote

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
View user's profile Send private message
gentunian
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2006
Posts: 118
Location: Río Cuarto, Argentina

PostPosted: Wed Oct 03, 2007 12:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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