PDA

View Full Version : [SOLVED] Will compiz be able to make use of nv-glx?


Anubis
May 4th, 2007, 09:17 PM
Beryl does, and i hope that compiz will be able to do this too.

adamk
May 5th, 2007, 12:44 AM
Compiz has been able to use nvidia's OpenGL drivers for longer than beryl has existed. I don't see why this would change any time in the near future.

Adam

Jupiter
May 7th, 2007, 04:31 AM
installed compcomm today and it works with nvidia

i got a white cube though with XGL/compcomm

Anubis
May 7th, 2007, 05:08 PM
Thanks for the answers :D

Kristian
May 7th, 2007, 05:11 PM
installed compcomm today and it works with nvidia

i got a white cube though with XGL/compcomm


Are you using the correct libGL version when using XGL?

Jupiter
May 7th, 2007, 05:24 PM
installed compcomm today and it works with nvidia

i got a white cube though with XGL/compcomm


Are you using the correct libGL version when using XGL?
yea i tried that too
[code:8af5f]LD_PRELOAD=/usr/lib/opengl/nvidia/lib/libGL.so.1.0.9755 compiz –replace ccp –sm-disable &[/code:8af5f]

Kristian
May 7th, 2007, 05:39 PM
installed compcomm today and it works with nvidia

i got a white cube though with XGL/compcomm


Are you using the correct libGL version when using XGL?
yea i tried that too
[code:51af2]LD_PRELOAD=/usr/lib/opengl/nvidia/lib/libGL.so.1.0.9755 compiz –replace ccp –sm-disable &[/code:51af2]

That would probably be the default libGL, the nVidia one. Might be better off holding on for someone who has actually bothered using XGL the last 8+ months, but I don't belive that's the libGL you want, but a mesa-alternative...

Jupiter
May 7th, 2007, 06:34 PM
as usual you are correct...hehe

ok i got the mesa libgl and it works
NO WHITE CUBE
but
like when i move a winodw on the desktop, there is a white area left
where the window was

this is the command line i am using
[code:55477]LD_PRELOAD=/usr/lib/opengl/xorg-x11/lib/libGL.so compiz-manager &[/code:55477]

Also what is the new plugin order so i can add the plugins properly

Kristian
May 7th, 2007, 06:41 PM
Try appending --ignore-desktop-hints to the ARGS list (There should be an example in the compiz-manager config file of how to do this).

As for plugin order, there's not really any changes. CCS handles it for you (or is supposed to), ini doesn't. But compiz will tell you if the order is wrong, so if you are using ini, the easiest is to just try. (Or you could read the load rules out of the plugin source, if you're a masochist)

Jupiter
May 7th, 2007, 07:06 PM
Try appending --ignore-desktop-hints to the ARGS list (There should be an example in the compiz-manager config file of how to do this).

As for plugin order, there's not really any changes. CCS handles it for you (or is supposed to), ini doesn't. But compiz will tell you if the order is wrong, so if you are using ini, the easiest is to just try. (Or you could read the load rules out of the plugin source, if you're a masochist)



damn... thanks for the hints.... lot's of progress for me this morning
I added the ccp to the plugin list and it appears it now uses the ccp-settings
when i use your start script...good hint

also i added --ignore-desktop-hints to the ARGS list but i still get
the white stuff when moving a window or even clicking in this window
to write this,,, maybe i did it wrong, here is what i did, let me know if this is right
[code:c4c82]ARGS="--ignore-desktop-hints --sm-disable --replace"[/code:c4c82]

i wanted to try XGL because it does perform better... 18000 FPS
as apposed to nvidia/compcomm 14000 FPS
but the quality "tearing" is still REALLY bad, although i am using vsync
[url=http://img260.imageshack.us/my.php?image=compcommwhite1xk4.jpg:c4c82]http://img260.imageshack.us/img260/2475/compcommwhite1xk4.th.jpg[/url:c4c82]

Kristian
May 7th, 2007, 07:50 PM
Try appending --ignore-desktop-hints to the ARGS list (There should be an example in the compiz-manager config file of how to do this).

As for plugin order, there's not really any changes. CCS handles it for you (or is supposed to), ini doesn't. But compiz will tell you if the order is wrong, so if you are using ini, the easiest is to just try. (Or you could read the load rules out of the plugin source, if you're a masochist)



damn... thanks for the hints.... lot's of progress for me this morning
I added the ccp to the plugin list and it appears it now uses the ccp-settings
when i use your start script...good hint

Make sure you remove ini from the list :)

[quote:e33c0]
also i added --ignore-desktop-hints to the ARGS list but i still get
the white stuff when moving a window or even clicking in this window
to write this,,, maybe i did it wrong, here is what i did, let me know if this is right
[code:e33c0]ARGS="--ignore-desktop-hints --sm-disable --replace"[/code:e33c0]
[/quote:e33c0]
That looks correct, I'm not sure what the white stuff is then, someone more familiar with Xgl will have to answer you :)

[quote:e33c0]
i wanted to try XGL because it does perform better... 18000 FPS
as apposed to nvidia/compcomm 14000 FPS
but the quality "tearing" is still REALLY bad, although i am using vsync
[url=http://img260.imageshack.us/my.php?image=compcommwhite1xk4.jpg:e33c0]http://img260.imageshack.us/img260/2475/compcommwhite1xk4.th.jpg[/url:e33c0]
[/quote:e33c0]
Try using the benchmark plugin and ENABLE the limiter, and see what fps you're getting. Vsync'ing if you're syncing to the wrong frequency would cause tearing. Since I'm on dualhead myself and can't rely on auto-detecting refreshrate, I've turned off the refreshrate detection and set a hard refresh rate of 80 (my screens are 75Hz and 60Hz), which seemed to help. I've also disabled vsync in compiz, again for multihead reasons...

Might be worth it to play with those settings and see if you can't improve the result...