Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't start compiz-fusion/emerald, strange nvidia behavior
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
arcfxn
n00b
n00b


Joined: 31 Jan 2011
Posts: 74
Location: NY, USA

PostPosted: Mon Jan 31, 2011 12:51 am    Post subject: Can't start compiz-fusion/emerald, strange nvidia behavior Reply with quote

I'm trying to get compiz-fusion running. Emerged without a problem, but when I tried to start it as per the instructions in the Gentoo Wiki, I get a blank screen with a pointer. Windows still seem to be present, albeit not visible, and I can even try to find my open terminal window and blindly kill the process.

This is the output I get from compiz-manager:
Code:
Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA: 01:00.0 0300: 10de:0e22 (rev a1) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1680x1050) to maximum 3D texture size (4096): Passed.
Checking for nVidia: present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting emerald


It seems to have something to do with opengl, at least to me. I've also noticed that when I open nvidia-settings, it will crash if I attempt to open the "OpenGL/GLX Information" tab. I think this must be related.

I checked the openGL article, and everything appears to me to be working normally. glxinfo will output "direct rendering: Yes," and I can run glxgears just fine.

Compiz seems to crash when it gets to emerald, but I can start emerald normally, in place of metacity.

Thanks in advance to anyone who can help me out. I'm still very much a gentoo newbie, if you couldn't tell.


Last edited by arcfxn on Mon Jan 31, 2011 6:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
s_bernstein
Apprentice
Apprentice


Joined: 11 Mar 2006
Posts: 172
Location: Bremen, Germany

PostPosted: Mon Jan 31, 2011 5:48 am    Post subject: Reply with quote

You might try to add the following options to your xorg.conf:

Section "Device"
...
Option "AllowGLXWithComposite" "true"
Option "AddARGBGLXVisuals" "true"
Option "DamageEvents" "true"
Option "TripleBuffer" "true"
Option "BackingStore" "true"
...
EndSection
Back to top
View user's profile Send private message
arcfxn
n00b
n00b


Joined: 31 Jan 2011
Posts: 74
Location: NY, USA

PostPosted: Mon Jan 31, 2011 5:36 pm    Post subject: Reply with quote

Thanks, I'll certainly give that a try. I appreciate you answering the question, I realize it wasn't exactly gentoo-specific.

Seems strange to me that the necessary xorg.conf changes wouldn't be outlined on the wiki page... I'll let you know if it worked once I'm back at my home computer.
Back to top
View user's profile Send private message
arcfxn
n00b
n00b


Joined: 31 Jan 2011
Posts: 74
Location: NY, USA

PostPosted: Mon Jan 31, 2011 6:40 pm    Post subject: Reply with quote

xorg.conf changes didn't fix anything. :(

Thanks regardless.
Back to top
View user's profile Send private message
arcfxn
n00b
n00b


Joined: 31 Jan 2011
Posts: 74
Location: NY, USA

PostPosted: Mon Jan 31, 2011 6:46 pm    Post subject: Reply with quote

Here is my entire xorg.conf, if that helps. Most of it was autogenerated by nvidia-settings (I didn't need an xorg.conf file when I was using onboard graphics, but I've since installed the proprietary drivers):

Code:
cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 260.19.29  (buildmeister@swio-display-x86-rhel47-04.nvidia.com)  Wed Dec  8 12:27:39 PST 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
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     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option "AllowGLXWithComposite" "true"
    Option "AddARGBGLXVisuals" "true"
    Option "TripleBuffer" "true"
    Option "DamageEvents" "true"
    Option "BackingStore" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection
Back to top
View user's profile Send private message
Marsupilami23
n00b
n00b


Joined: 11 Jun 2002
Posts: 18
Location: Roseville, CA

PostPosted: Thu Feb 17, 2011 2:56 am    Post subject: Reply with quote

I'm also having this issue.
_________________
Been there, done that!
Back to top
View user's profile Send private message
Marsupilami23
n00b
n00b


Joined: 11 Jun 2002
Posts: 18
Location: Roseville, CA

PostPosted: Thu Feb 17, 2011 4:15 am    Post subject: Reply with quote

OK I got closer:

Code:
eselect opengl set 1


1 being nvidia fixed my problem with the white screen.
_________________
Been there, done that!
Back to top
View user's profile Send private message
arcfxn
n00b
n00b


Joined: 31 Jan 2011
Posts: 74
Location: NY, USA

PostPosted: Fri Feb 18, 2011 1:10 am    Post subject: Reply with quote

I've stopped caring - I don't really need compiz anyway

:?
Back to top
View user's profile Send private message
Marsupilami23
n00b
n00b


Joined: 11 Jun 2002
Posts: 18
Location: Roseville, CA

PostPosted: Fri Feb 18, 2011 5:28 am    Post subject: Reply with quote

The eselect actually fixed all the problems with compiz, give it a try if you feel inclined.
_________________
Been there, done that!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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