LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-23-2006, 06:22 PM   #1
pda_h4x0r
Member
 
Registered: Feb 2006
Location: somewhere in cyberspace
Distribution: Debian, Familiar
Posts: 380

Rep: Reputation: 31
Wootness! Etch + KDE + Xgl + Compiz + NVIDIA working!


Woohoo! I got Xgl and Compiz to work properly with KDE 3.5.5 and my NVIDIA card on my Debian Etch box! Here's how:

1. Add these to your /etc/apt/sources.list

deb http://ftp.us.debian.org/debian/ experimental main contrib non-free
deb-src http://ftp.us.debian.org/debian/ experimental main contrib non-free
deb http://www5.autistici.org/debian-xgl/debian/ binary-i386/

2. sudo apt-get update

3. sudo apt-get -t experimental install nvidia-kernel-source module-assistant

4. sudo module-assistant prepare

5. sudo module-assistant build nvidia-kernel-source

6. sudo module-assistant install nvidia-kernel-source

7. sudo apt-get -t experimental install nvidia-glx

8. sudo apt-get install xgl compiz cgwd-themes

9. Make these changes to your xorg.conf:

In section "Extensions," add

Option "DAMAGE" "Enable"
Option "RENDER" "True"
Option "Composite" "Enable"

In section "Screen," add

Option "AddARGBGLXVisuals" "True"

In section "Device," add

Driver "nvidia"
Option "RenderAccel" "true"
Option "backingstore" "true"
Option "AllowGLXWithComposite" "true"
Option "NvAgp" "1"
Option "XAANoOffscreenPixmaps"

Also, use a 24-bit color depth.

10. In your /etc/kde3/kdm/kdmrc file, comment out "ServerCmd=/usr/bin/Xorg -br" and replace it with "ServerCmd=/usr/bin/Xgl :1 -fp /usr/share/fonts/X11/misc -fullscreen -ac -accel glxbuffer -accel xvbuffer -br"

11. Restart X

12. Open your favorate terminal emulator when KDE starts and run "start-compiz"

13. (optional) To start compiz all the time, add this script to ~/.kde/Autostart/ and call it compiz.desktop

[Desktop Entry]
Encoding=UTF-8
Exec=compiz-start
GenericName[en_US]=
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
X-KDE-autostart-after=kdesktop

Let me know if there are any other questions.

Last edited by pda_h4x0r; 10-23-2006 at 06:46 PM.
 
Old 10-29-2006, 06:52 AM   #2
megaprog
Member
 
Registered: Sep 2006
Posts: 74

Rep: Reputation: 15
I would love to have Compiz

There is nothing else that I have tied more than having Compiz on my system and It's something that I haven't achived, I'm kind of frustated, but don't worry I will never leave linux.

Well here is my case, I have Debian Etch + KDE 3.5 but with GDM, and I also use an Nvidia Card (GeForce FX 5500 256 MB).

Ok my question is that I have installed the lastest Nvidia drivers (the beta drivers), So I wonder If even so I have to install all what you said.

If thanks to you I achive to run compiz on my system I'm gonna kiss you on the mouth !

Greetings...
 
Old 10-29-2006, 07:47 AM   #3
RodWC
Member
 
Registered: Oct 2005
Distribution: SolydK, Linux Mint KDE, Debian
Posts: 180

Rep: Reputation: 30
Isn't Xorg (7.1) supposed to have this ability now as well? Would it be possible to get all the effects with xorg 7.1 and compiz, etc?
 
Old 10-29-2006, 03:42 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Another one of the sweet reason to use Kanotix.

compiz" is +Entirely At Your Own Risk+ : for fglrx only ; wget -N http://kanotix.com/files/install-compiz.sh ; Install script for live CD and HD install (-u to uninstall, -d to disable, -e to enable)

beryl" is +At Your Own Risk+ use 'install-nvidia-debian.sh -c' to install 9626 ; wget -Nc http://kanotix.com/files/fix/beryl/beryl-mix.tar.gz ; unp beryl-mix.tar.gz .. cd beryl-mix ; dpkg -i *deb ; apt-get install -f ; then, as user: 'beryl-manager'

Cathbard's beryl-themes: http://members.westnet.com.au/cathba...anotix.emerald ; http://members.westnet.com.au/cathba...Gothic.emerald [needs this font: http://www.dafont.com/download/?os=win&file=roman_acid ]

No messing with module-assistant or worrying about weird things happening.

XGL guide: http://www5.autistici.org/debian-xgl/x86-xgl-pkg/README

HOWTO: Compiz with NVIDIA Graphics Drivers
http://www.nvnews.net/vbulletin/showthread.php?t=77030

Last edited by craigevil; 10-29-2006 at 03:45 PM.
 
Old 10-29-2006, 04:09 PM   #5
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Quote:
Originally Posted by RodWC
Isn't Xorg (7.1) supposed to have this ability now as well? Would it be possible to get all the effects with xorg 7.1 and compiz, etc?
The Debian version has AIGLX built in
 
Old 10-29-2006, 07:23 PM   #6
megaprog
Member
 
Registered: Sep 2006
Posts: 74

Rep: Reputation: 15
How do I check my Xorg version ?

I need to know If I have 7.1 version.
 
Old 10-29-2006, 10:58 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Quote:
Originally Posted by megaprog
I need to know If I have 7.1 version.
Code:
debian:~# apt-cache policy xserver-xorg
xserver-xorg:
  Installed: 1:7.1.0-5
  Candidate: 1:7.1.0-5
  Version table:
 *** 1:7.1.0-5 0
        500 ftp://mirrors.kernel.org sid/main Packages
        100 /var/lib/dpkg/status
 
Old 10-29-2006, 11:29 PM   #8
pda_h4x0r
Member
 
Registered: Feb 2006
Location: somewhere in cyberspace
Distribution: Debian, Familiar
Posts: 380

Original Poster
Rep: Reputation: 31
I used X.org 7.1 for this (just add an Unstable repository to /etc/apt/sources.list). I haven't tried it with AIGLX, but it should work (in theory). I think you will need to pass additional arguments to compiz-start, like in Beryl.

Speaking of Beryl, I never got it running--on the off-chance it DIDN'T crash, I just got a white cube (otherwise my frame buffer got corrupted; even the virtual consoles were illegible).

To launch Xgl from GDM, add this to /etc/gdm/gdm.conf:

Code:
[servers]
0=Xgl

[server-Xgl]
name=Xgl
command=/usr/bin/Xgl :1 -fp /usr/share/fonts/X11/misc -fullscreen -ac -accel glxbuffer -accel xvbuffer -br
flexible=true
I haven't tested it, but it should work in theory.
 
Old 10-29-2006, 11:36 PM   #9
pda_h4x0r
Member
 
Registered: Feb 2006
Location: somewhere in cyberspace
Distribution: Debian, Familiar
Posts: 380

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by megaprog
Well here is my case, I have Debian Etch + KDE 3.5 but with GDM, and I also use an Nvidia Card (GeForce FX 5500 256 MB).

Ok my question is that I have installed the lastest Nvidia drivers (the beta drivers), So I wonder If even so I have to install all what you said.
If you're already running a 1.0.9xxx series NVIDIA driver and are using the corresponding nvidia-glx, you should be fine. Just add the repositories and install compiz, xgl, and cgwd-themes, and modify your xorg.conf and /etc/gdm/gdm.conf files. You may need to get X.org 7.1 from Debian SID--I haven't tested Compiz on previous versions of X.

Quote:
Originally Posted by megaprog
If thanks to you I achive to run compiz on my system I'm gonna kiss you on the mouth !
That won't be necessary
 
Old 11-04-2006, 10:35 PM   #10
pda_h4x0r
Member
 
Registered: Feb 2006
Location: somewhere in cyberspace
Distribution: Debian, Familiar
Posts: 380

Original Poster
Rep: Reputation: 31
Hmmm...I got Beryl running with AIGLX enabled in X.org 7.1, and it uses a LOT less memory and CPU time. Cool--now I don't have to use Novell products (especially after betraying the Linux community by allying with M$).

Last edited by pda_h4x0r; 11-04-2006 at 10:42 PM.
 
Old 11-04-2006, 11:10 PM   #11
megaprog
Member
 
Registered: Sep 2006
Posts: 74

Rep: Reputation: 15
Quote:
Originally Posted by pda_h4x0r
Hmmm...I got Beryl running with AIGLX enabled in X.org 7.1, and it uses a LOT less memory and CPU time. Cool--now I don't have to use Novell products (especially after betraying the Linux community by allying with M$).
I'm totally agreed with you ! Beryl is much more eficient and so much easier to install.

All you need is the lastest version of XORG (7.1 at this moment), the lastest nvidia drivers (beta), and beryl + esmerald theme, for me beryl runs GREAT, even when it has buggy out a couple of times, but nothig serious.

Compiz can go to sleep now...
 
Old 11-06-2006, 12:14 AM   #12
pda_h4x0r
Member
 
Registered: Feb 2006
Location: somewhere in cyberspace
Distribution: Debian, Familiar
Posts: 380

Original Poster
Rep: Reputation: 31
I like your website, and I can understand it too (I took four years of Spanish in high school). What is your connection with it (webmaster, sysadmin, CEO, etc)?
 
Old 11-06-2006, 06:26 PM   #13
megaprog
Member
 
Registered: Sep 2006
Posts: 74

Rep: Reputation: 15
Quote:
Originally Posted by pda_h4x0r
I like your website, and I can understand it too (I took four years of Spanish in high school). What is your connection with it (webmaster, sysadmin, CEO, etc)?
Thanks, I'm the webmaster, the web is oriented to the free software, in fact I would love to make an english edition of the web, in fact I used to have it, but because the forum was so unvisited I let it go, but now I feel like internationaling it
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XGL and Nvidia driver Debian Etch fakie_flip Linux - Software 5 12-24-2006 07:17 AM
LXer: Howto: ATI fglrx driver+Xgl+compiz on Debian Sid for KDE users LXer Syndicated Linux News 0 10-22-2006 06:33 AM
ATI/KDE/XGL/Compiz up to date how-to? niteshadw Ubuntu 1 10-02-2006 02:21 PM
xgl + compiz + kde, more then 4 desktops true_atlantis Linux - Software 1 09-30-2006 03:56 PM
xgl/compiz for non nvidia , ati cards screechingcat Ubuntu 6 08-25-2006 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration