[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getting compiz going....



Am Samstag, 26. April 2008 schrieb Michael Fothergill:
> Dear Debianists,
>
> I bought an nvidia graphics card (8500GT) and stuck it in my desktop PC
> which is an AMD64 Sempron machine that was sold originally with just
> onboard graphics. It was running Debian Etch. I upgraded it to Lenny. I
> installed the nvidia driver and I think it went OK because I ran the test
> at the end using glxinfo:
>
>
> spc1-burn4-0-0-cust452:/etc/X11# glxinfo |grep rendering
> direct rendering: Yes
>

Good !
> This result is supposed to show that the graphics card is actually working.
> The kernel fix etc seemed to go OK.
>

Yes.

> So then I tried to install compiz. I did apt-get install compiz and then I
> edited the xorg.conf file and added the various terms to it that are
> recommended to run compiz.
>

This is o.k., except one change. See below....

> I noticed that the Option parameters etc sit at what appear be fixed tab
> points along the line and used the tab character to jump to them before
> typing in the entries.
>
> I hope this was OK. If not please warn me.
>
> At first the modified xorg.conf while would not run. This is because you
> have to add a return character after the last EndSection entry to generate
> a new linw in the file. The parser in X11 doesn't understand it without
> this and won't execute.
>

Maybe you should edit manually ?

> I also have tabs between e.g. "Render Accel" and "true". I hope this is OK
> too. Maybe it should only be a regular spacebar character.....
>

Yes, this is o.k.

> I went in the sessions window and hit the add button and then put compiz
> for the name and at the command put compiz --replace. I left the comment
> box blank.
>

No, this is wrong. As normal user start a terminal, and then enter 

compiz --replace & 


to get it started. 

If it fails, you can switch back with 

kwin --replace &

Alternative (and when everything is working fine) you can install the 
package "fusion-icon" to get a nice click button....

> I then rebooted to restart X. But when the machine rebooted I just got
> gnome again and not what I imagine compiz to be like when it fires up.
>

No reboot ! If you want to get it always run at start, do this:
Create a new file ~/.kde/Autostart/compiz.desktop, with the following content

 
[Desktop Entry]
 Encoding=UTF-8
 Exec=compiz –replace gconf & kde-window-decorator &
 GenericName[en_US]=
 StartupNotify=false
 Terminal=false
 TerminalOptions=
 Type=Application
 X-KDE-autostart-after=kdesktop
 

> But the gnome desktop was a bit impaired. For example, the root terminal
> windows can't be resized and the can't be moved around. It's the same with
> the browser windows. But I am able to send this email etc.
>
> The nvidia card is apparently still working.
>
> I would appreciate it if anyone has any ideas as to what is wrong here.
>
> I appreciate the assistance I have received so far on the list. I have been
> encouraged to buy a new card for the desktop PC as a result of the help I
> got working on my laptop nvidia card and soon I will fix the machine I use
> at work in the same way.
>
> For me, getting the compiz working is a good discipline as well as being
> useful.
>
> Regards
>
> Michael Fothergill

There is a pretty good description of this. Please take a look:

http://nixser.com/2007/06/04/debian-compiz-on-kde-installation-how-to/

or here 

http://wiki.debian.org/Compiz

Hope this helps. Good luck !


Hans

>
> Here is my xorg.conf file:
>
> spc1-burn4-0-0-cust452:/etc/X11# more xorg.conf
> # xorg.conf (xorg X Window System server configuration file)
> #
> # This file was generated by dexconf, the Debian X Configuration tool,
> using # values from the debconf database.
> #
> # Edit this file with caution, and see the xorg.conf manual page.
> # (Type "man xorg.conf" at the shell prompt.)
> #
> # This file is automatically updated on xserver-xorg package upgrades
> *only* # if it has not been modified since the last upgrade of the
> xserver-xorg # package.
> #
> # If you have edited this file but would like it to be automatically
> updated # again, run the following command:
> # sudo dpkg-reconfigure -phigh xserver-xorg
>
> Section "Files"
> EndSection
>
> Section "InputDevice"
> Identifier "Generic Keyboard"
> Driver "kbd"
> Option "CoreKeyboard"
> Option "XkbRules" "xorg"
> Option "XkbModel" "pc105"
> Option "XkbLayout" "gb"
> EndSection
>
> Section "InputDevice"
> Identifier "Configured Mouse"
> Driver "mouse"
> Option "CorePointer"
> Option "Device" "/dev/input/mice"
> Option "Protocol" "ImPS/2"
> Option "Emulate3Buttons" "true"
> EndSection
>
> Section "Device"
> Identifier "nVidia Corporation GeForce 8500 GT"
> Option "AllowGLXWithComposite" "true"
> Option "RenderAccel" "true"
> Driver "nvidia"
> BusID "PCI:2:0:0"
> EndSection
>
> Section "Monitor"
> Identifier "Generic Monitor"
> Option "DPMS"
> HorizSync 30-60
> VertRefresh 55-75
> EndSection
>
> Section "Screen"
> Identifier "Default Screen"
> Option "XAANoOffscreenPixmaps"


Change to:
Option         "XAANoOffscreenPixmaps" "true"


> Option "AddARGBGLXVisuals" "true"
> Device "nVidia Corporation GeForce 8500 GT"
> Monitor "Generic Monitor"
> DefaultDepth 24
> SubSection "Display"
> Modes "1024x768"
> EndSubSection
> EndSection
>
> Section "ServerLayout"
> Identifier "Default Layout"
> Option "AIGLX" "on"
> Screen "Default Screen"
> InputDevice "Generic Keyboard"
> InputDevice "Configured Mouse"
> EndSection
>
> Section "Extensions"
> Option "Composite" "Enable"
> EndSection
> spc1-burn4-0-0-cust452:/etc/X11#
>
>
> _________________________________________________________________
> 100’s of prizes to be won at BigSnapSearch.com
> http://www.bigsnapsearch.com



Reply to: