PDA

View Full Version : Emerald


ericturgeon
May 10th, 2009, 04:32
When i try to start Emerald I have this:

$ emerald --replace &
$ /home/corpse/.gtkrc-2.0:2: Unable to find include file: ".gtkrc-2.0-scrollbar_cog"

$

nikobordx
May 10th, 2009, 12:04
Hi,

And you can't use emerald ?

Strange, i do not have .gtkrc-2.0:2 file in my home directory and emerald work perfectly !

Nicolas.

ericturgeon
May 10th, 2009, 19:13
I have installed Compiz Fusion, and after running the commands, my windows are left without title bars and buttons. What is wrong?
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (root@corpse.ghostbsd.org) Sun 10 May 2009 13:58:16 UTC


Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/local/share/X11/rgb"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "glx"
Load "record"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Viewport 0 0
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

FBSDin20Steps
May 10th, 2009, 19:35
This is what i use to start compiz and emerald...

#! /bin/sh
LIBGL_ALWAYS_INDIRECT=1 compiz --replace --ignore-desktop-hints ccp &
emerald --replace &

Greetz ;)

adamk
May 11th, 2009, 00:55
If 'emerald' is in the Command field in ccsm --> window decorations, you do not need to launch it manually.

Adam

ericturgeon
May 11th, 2009, 05:05
I have this error
$ LIBGL_ALWAYS_INDIRECT=1 compiz --sm-disable --replace ccp
compiz (cube) - Warn: Failed to load slide: freedesktop

FBSDin20Steps
May 11th, 2009, 05:54
It took me a few hours to get compiz to work.

I think when it really started to work. That was enabling "gnome_enable="YES"" in my rc.conf and in a terminal I run the commands:

LIBGL_ALWAYS_INDIRECT=1 compiz --replace --ignore-desktop-hints ccp &

and in the same terminal
emerald --replace &

I see that you do not have refresh rates in your xorg.conf. Install nvidia-settings from ports...

Greetz ;)

nikobordx
May 11th, 2009, 10:57
Hi,

Add this to your xorg.conf to Section "Device" :

Option "RenderAccel" "True"
Option "NoRenderExtension" "False"
Option "NoFlip" "False"
Option "UseEdid" "True"
Option "NvAGP" "1"


You can make a simple script (just say FBSDin20Steps) in your home directory:


#! /bin/sh
compiz --replace --sm-disable --ignore-desktop-hints ccp &
emerald --replace &


Does it work ?

Nicolas.

ericturgeon
May 11th, 2009, 15:59
noting work I running the commands, my windows are left without title bars and buttons.

Nicolas your script how is works.

adamk
May 11th, 2009, 16:47
Do you get any errors from compiz? Is the window decoration plugin enabled? Have you tried one of the other window decorators, just as 'gtk-window-decorator' instead of emerald?

Adam

ericturgeon
May 11th, 2009, 18:44
compiz (cube) - Warn: Failed to load slide: freedesktop

adamk
May 11th, 2009, 20:17
That answers one of my three questions :-)

Adam

ericturgeon
May 11th, 2009, 22:58
i dont no how to use emerald

adamk
May 11th, 2009, 23:06
Bring up ccsm and see if the window decoration plugin is enabled. Try running 'gtk-window-decorator --replace &' in a terminal and see if that works instead of compiz.

Adam

ericturgeon
May 12th, 2009, 02:03
No is not working

adamk
May 12th, 2009, 02:16
You still haven't answered my other question... Is the window decoration plugin enabled in ccsm?

Adam

FBSDin20Steps
May 12th, 2009, 02:16
I see that you do not have refresh rates in your xorg.conf. Install nvidia-settings from ports...

Did you install it?

ericturgeon
May 12th, 2009, 02:44
FBSDin20Steps

yes i have install nvidia-settings

FBSDin20Steps
May 12th, 2009, 08:28
It should be working by now...?

http://www.freebsd.org/doc/en/articles/compiz-fusion/compiz-fusion.html

nikobordx
May 12th, 2009, 10:55
Hi Eric,

What say:

gconftool-2 --get /apps/compiz/general/allscreens/options/active_plugins


Does it look like this:

[core,dbus,minimize,place,png,regex,resize,svg,vide o,zoom,mousepoll,session,imgjpeg,workarounds,text, wallpaper,decoration,wobbly,fade,move,opacify,cube ,rotate,scale,switcher,gears,3d]


Try to load the "png" plugin in your configuration.

Nicolas.

FBSDin20Steps
May 12th, 2009, 14:26
Well, i have now the same problem...

FBSDin20Steps
May 12th, 2009, 14:50
Not anymore... My solution. I reinstalled the nvidia driver and compiz-fusion. Before that I had a blank screen and 2 other errors.
Fatal: GLX_EXT_texture_from_pixmap is missing
and:
compiz (cube) - Warn: Failed to load slide: freedesktop

I started compiz without "LIBGL_ALWAYS_INDIRECT=1" and it fired up immediately.

Hope this helps.

ericturgeon
May 12th, 2009, 16:49
Ok I think is my graphic card. i have ECS 7050m-m Xorg don't support my card. it support by nvidia.I gone a buy good video card let you know.

adamk
May 12th, 2009, 18:22
compiz and emerald will work just fine with any relatively new nvidia card (Geforce FX and higher should work), as long as the nvidia drivers are properly installed.

Did you open up ccsm and check that the window decoration plugin is enabled? Is compiz otherwise working fine? Can you move windows, for example?

Adam

ericturgeon
May 12th, 2009, 19:24
compix work slow and i don't know how check that the window decoration plugin is enabled in ccsm.

FBSDin20Steps
May 12th, 2009, 19:40
Which nvidia driver did you install?
What does sysctl hw.nvidia.cards.0.model tells you?

nikobordx
May 12th, 2009, 20:01
You can type:

gconftool-2 --get /apps/compiz/general/allscreens/options/active_plugins

and see if "decoration" appears !

Nicolas.

adamk
May 12th, 2009, 21:46
Run 'ccsm' in a terminal. Look for the window decoration plugin and make sure there is a check in the box next to it.

Adam

ericturgeon
May 12th, 2009, 23:33
gconftool-2 --get /apps/compiz/general/allscreens/options/active_plugins

[core,annotate,clone,commands,dbus,fs,glib,gnomecom pat,inotify,minimize,place,png,regex,resize,screen shot,svg,water,zoom,mousepoll,put,session,vpswitch ,winrules,workarounds,imgjpeg,resizeinfo,text,cras hhandler,extrawm,fadedesktop,firepaint,grid,maximu mize,mblur,splash,widget,wallpaper,notification,el ements,fakeargb,mswitch,snow,tile,decoration,anima tion,ring,shift,snap,thumbnail,wall,loginout,shelf ,animationaddon,blur,obs,video,wobbly,colorfilter, neg,bicubic,reflex,fade,move,opacify,addhelper,sho wdesktop,trailfocus,group,cube,rotate,scale,mag,sc aleaddon,gears,cubeaddon,scalefilter,showmouse,3d, atlantis,cubemodel,expo,ezoom,staticswitcher,switc her,bench]

ericturgeon
May 12th, 2009, 23:38
$ sysctl hw.nvidia.cards.0.model
hw.nvidia.cards.0.model: GeForce 7050 PV / NVIDIA nForce 630a

ericturgeon
May 13th, 2009, 00:08
Ok i find window decoration plugin i chek its work. but i can't go in applications->internet menu because the internet menu is black all browser i have is black too. system->preferences menu is black to and a couple of application too. Thanks for all yours help it very use full.and thanks dfor futur help.

ericturgeon
May 13th, 2009, 00:14
oh and i cant grabe my window with the mouse and deplace it.

adamk
May 13th, 2009, 00:20
Is the "move window" plugin enabled in ccsm? Also, bring up a terminal and run 'glxinfo' and show us the output.

Adam

ericturgeon
May 13th, 2009, 03:38
corpse# glxinfo
glxinfo: Command not found

libgl is not install. ha ha

FBSDin20Steps
May 13th, 2009, 06:51
I'll be a corpse when you've finished with this :e

Start nvidia-settings as root and you can find all the information you need. Also minimize the activated plugins to a minimum...

$ gconftool-2 --get /apps/compiz/general/allscreens/options/active_plugins
[core,decoration,move,regex,resize,vpswitch,cube,ro tate,switcher,cubeaddon]
$

adamk
May 13th, 2009, 11:10
glxinfo is part of the graphics/mesa-demos port/package.

Adam

FBSDin20Steps
May 13th, 2009, 11:19
Yes, I know Adam. In my experience the nvidia-settings application only starts when glx is enabled.

ericturgeon
May 13th, 2009, 16:32
I can't install need glx i try to install libgl ist already there i chec and is not on th system I deinstall it and reinstall it same thing is not install.

name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig

adamk
May 13th, 2009, 17:02
Sounds like you may need to reinstall the nvidia drivers. Can you show us your /var/log/Xorg.0.log file?

Adam

ericturgeon
May 13th, 2009, 18:15
My xorg.0.log

http://pastebin.com/m79701808

ericturgeon
May 13th, 2009, 18:46
ok thanks for all all works great

ovirt
June 1st, 2009, 07:47
Is the window decoration plugin enabled?

Thanks for this hint. It does seem rather counter-intuitive that this isn't set by default, although from memory none of compiz's configuration options were enabled after I installed the compiz-fusion port.

This is my first experience with compiz etc, so I don't know whether anything has changed in that regard, but from this page:

http://www.freebsd.org/doc/en/articles/compiz-fusion/compiz-fusion.html

I'm guessing that something probably has changed since there's no indication given there that the desktop will become almost unusable once emerald is started (in Gnome, anyway).