Re: Compiz + AIGLX + Nvidia HOWTO

2006-10-03 Thread Jack Malmostoso
On Tue, 03 Oct 2006 02:50:10 +0200, Pascal Giard wrote:

   Simple question, why have you choosen to use indirect rendering as
 this is much slower than direct rendering?

I quote from $(man compiz.real):

   --indirect-rendering
  Force an indirect rendering context. Use this when running  com-
  piz on AIGLX.

I actually didn't ask myself any questions and just followed the manpage
hint. Should try without then :)

-- 
Best Regards, Jack
Linux User #264449
Powered by Debian GNU/Linux on AMD64


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Compiz + AIGLX + Nvidia HOWTO

2006-10-03 Thread Pascal Giard

I was asking this because with the new nvidia drivers, you don't need
to use AIGLX anymore. GL_EXT_texture_from_pixmap is directly
implemented in the driver.

Therefore you can use direct rendering and gain much performance.

-Pascal

On 3 Oct 2006 05:49:33 GMT, Jack Malmostoso [EMAIL PROTECTED] wrote:

On Tue, 03 Oct 2006 02:50:10 +0200, Pascal Giard wrote:

   Simple question, why have you choosen to use indirect rendering as
 this is much slower than direct rendering?

I quote from $(man compiz.real):

   --indirect-rendering
  Force an indirect rendering context. Use this when running  com-
  piz on AIGLX.

I actually didn't ask myself any questions and just followed the manpage
hint. Should try without then :)

--
Best Regards, Jack
Linux User #264449
Powered by Debian GNU/Linux on AMD64


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]





--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
École de technologie supérieure (http://www.etsmtl.ca)



Re: Compiz + AIGLX + Nvidia HOWTO

2006-10-03 Thread Bernardo Arlandis Mañó

There's an updated HOWTO on the Nvidia Linux Forums that might help:

http://www.nvnews.net/vbulletin/showthread.php?t=77030

--
Bernardo Arlandis Mañó


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Compiz + AIGLX + Nvidia HOWTO

2006-10-03 Thread Bernardo Arlandis Mañó

Pascal Giard escribió:

I was asking this because with the new nvidia drivers, you don't need
to use AIGLX anymore. GL_EXT_texture_from_pixmap is directly
implemented in the driver.

Therefore you can use direct rendering and gain much performance.

-Pascal

Playing with compiz I've found that it always uses indirect rendering, 
because of this wrapper (/usr/bin/compiz):


#!/bin/sh

# start the gtk-window-decorator if present
if [ -x /usr/bin/gtk-window-decorator ]; then
   /usr/bin/gtk-window-decorator --replace 
fi

# always load the gconf plugin
/usr/bin/compiz.real --strict-binding --indirect-rendering --use-cow 
$@ gconf



--
Bernardo Arlandis Mañó


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Compiz + AIGLX + Nvidia HOWTO

2006-10-02 Thread Jack Malmostoso
On Mon, 02 Oct 2006 06:10:07 +0200, garrone wrote:

 What happens when the kernel is upgraded? Does it break?

Well, yes, but it will be enough to go back to /usr/src and reissue

# m-a auto-install nvidia
# /etc/init.d/x|k|gdm restart

Done.

-- 
Best Regards, Jack
Linux User #264449
Powered by Debian GNU/Linux on AMD64


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Compiz + AIGLX + Nvidia HOWTO

2006-10-02 Thread Pascal Giard

Hi Jack,
 Simple question, why have you choosen to use indirect rendering as
this is much slower than direct rendering?

-Pascal

On 1 Oct 2006 10:37:18 GMT, Jack Malmostoso [EMAIL PROTECTED] wrote:

Hi list,

I'm posting it here for future reference. Sorry if someone isn't
interested at all.


[...]

4) Restart the X server, log in, open a terminal and issue:

$ gtk-window-decorator 
$ compiz --replace --use-cow --indirect-rendering gconf

If that works, you can add the two commands to your startup commands or
create a script that will be executed at login.

5) Enjoy!

--
Best Regards, Jack
Linux User #264449
Powered by Debian GNU/Linux on AMD64


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]





--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
École de technologie supérieure (http://www.etsmtl.ca)



Re: Compiz + AIGLX + Nvidia HOWTO

2006-10-01 Thread Zaq Rizer

Jack Malmostoso wrote:

Hi list,

I'm posting it here for future reference. Sorry if someone isn't
interested at all.
Nice writeup, but I don't believe compiz is in unstable . . . what does 
your sources.list look like?


~Zaq


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Compiz + AIGLX + Nvidia HOWTO

2006-10-01 Thread Jean-Luc Coulon (f5ibh)

Le 01.10.2006 21:16:41, Zaq Rizer a écrit :

Jack Malmostoso wrote:

Hi list,

I'm posting it here for future reference. Sorry if someone isn't
interested at all.
Nice writeup, but I don't believe compiz is in unstable . . . what  
does your sources.list look like?
[EMAIL PROTECTED] % apt-cache policy compiz   
compiz:

  Installé : 0.0.13+git20060928-2
  Candidat : 0.0.13+git20060928-2
 Table de version :
 *** 0.0.13+git20060928-2 0
900 ftp://ftp.fr.debian.org sid/main Packages
100 /var/lib/dpkg/status


But it is too slow to be used on an ATI 9250

Jean-Luc


pgpYVlNjREhWD.pgp
Description: PGP signature


Re: Compiz + AIGLX + Nvidia HOWTO

2006-10-01 Thread garrone
On Sun, Oct 01, 2006 at 10:37:18AM +, Jack Malmostoso wrote:
 Hi list,
 
 I'm posting it here for future reference. Sorry if someone isn't
 interested at all.

What happens when the kernel is upgraded? Does it break?

My setup is different, I'm not sure why. The dri module isnt loaded,
and nvidia's nvidia driver is loaded instead of nv. glxinfo indicates
that direct rendering is not enabled, though it is happening.

My main concern is what happens when the kernel gets upgraded.
I used to re-run the nvidia installer. Now that I use
module assistant, I can't wait for the next kernel upgrade to see what happens.

Peter Garrone


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]