PDA

View Full Version : XGL Install and General Tips For Gnome and Nvidia


Pages : [1] 2 3 4 5 6

poofyhairguy
February 16th, 2006, 04:52 AM
My guide is REALLY outdated. Instead use this site:

http://knowledge76.com/index.php/XGL/Compiz_Nvidia_32bit

Thank you!



Hello Nvidia Users. If you are a ATI user then please use this guide instead:

http://www.ubuntuforums.org/showthread.php?p=739758

AMD64 Users look here:

http://www.ubuntuforums.org/showthread.php?t=131659

A few notes:

You must compile the newest CVS version of glitz to get this to work with Nvidia cards that lack Pixel Shaders (aka anything older than a 5200 FX). Hopefully this will be updated in the repository soon.

THIS BREAKS XINERAMA AND TWINVIEW so dual head use is more annoying.

Proceed at you own risk. This is new experimental stuff and I hope you are a little command line savy (or can call someone that is) because if something messes up you might be stuck on the command line.

Don't say I didn't warn you.

Also I assume you have installed the newest Nvidia driver from the repos. To get it, this command:

sudo apt-get install nvidia-kernel-common nvidia-glx

Now lets edit some xorg.conf. First thing is to open it with this command:

sudo gedit /etc/X11/xorg.conf

Find the “Module” section. Comment out the “Glcore” and “dri “ modules and make sure a “glx” module is there. So basically like this:
# Load "GLcore"
# Load "dri"
Load "glx"

Now find the “Devices” section.

Change every line but the “Identifier” line to look just like mine:

Section "Device"
Identifier- leave this line alone!
Driver "nvidia"
BusID "PCI:1:0:0"
Option "RenderAccel" "true"
EndSection


IF LATER ON COMPIZ DOES NOT WORK FOR YOU (and complains about composite extension):

Add this to the very bottom:

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

DON'T ADD IT OTHERWISE

VERY IMPORTANT:

Make sure your default color depth is 24!

Now save and close the file.

Now on to the second part- install XGL.

I pretty sure this line will do it. I tried it on a clean install:

sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 compiz-gnome


Thats pretty easy. Next step is the making it start when Gnome starts. I get this from the ATI guide with modification. Thanks JoWilly!

First a command:

sudo gedit /etc/gdm/gdm.conf-custom

Make it look JUST like this. Delete all thats in the file and past all I have posted:

# GDM Configuration Customization file.
#
# This file is the appropriate place for specifying your customizations to the
# GDM configuration. If you run gdmsetup, it will automatically edit this
# file for you and will cause the daemon and any running GDM GUI programs to
# automatically update with the new configuration. Not all configuration
# options are supported by gdmsetup, so to modify some values it may be
# necessary to modify this file directly by hand.
#
# To hand-edit this file, simply add or modify the key=value combination in
# the appropriate section in the template below. Refer to the comments in the
# gdm.conf file for information about each option. Also refer to the reference
# documentation.
#
# If you hand edit a GDM configuration file, you should run the following
# command to get the GDM daemon to notice the change. Any running GDM GUI
# programs will also be notified to update with the new configuration.
#
# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
#
# For example, the "Enable" key in the "[debug]" section would be specified by
# "debug/Enable".
#
# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
# re-read the new configuration settings. You can also restart GDM by sending
# a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes
# any user session started by GDM to exit immediately while USR1 behaves like
# gdm-safe-restart and will wait until all users log out before restarting GDM.
#
# For full reference documentation see the gnome help browser under
# GNOME|System category. You can also find the docs in HTML form on
# http://www.gnome.org/projects/gdm/
#
# NOTE: Lines that begin with "#" are considered comments.
#
# Have fun!

[daemon]

[security]

[xdmcp]

[gui]

[greeter]

[chooser]

[debug]

[servers]# Override display 1 to use Xgl (DISPLAY 1 IMPORTANT FOR ATI FGLRX).
0=Xgl

[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo
flexible=true

That has a special line that I found works best for Nvidia cards- this might solve acceleration issues some people have!

Time for the last step: make compiz work! This part will work for ATI users as well.

Two ways to do that. Either go by what this post says (thanks g14) or use my small script:

This:

http://www.ubuntuforums.org/showpost.php?p=760273&postcount=507

Or:

First this command:

sudo gedit /usr/bin/thefuture

And empty file should appear. Fill it with this:

#!/bin/bash
gnome-window-decorator & compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &

Now save the file. Now use this command:

sudo chmod 755 /usr/bin/thefuture

Read the rest of this paragraph then reboot. After login in GDM, open a terminal and enter this (credit to rjtd):

xmodmap /usr/share/xmodmap/xmodmap.<language>

replacing you country code for language. For US English I use this command:

xmodmap /usr/share/xmodmap/xmodmap.us

Now put this command in the terminal to get compiz love:

thefuture

That should make compiz start working. If not, just keep using that command (maybe up to 20 times) till it does work. If you have problems, post them in thread so you can get help.

Try it out. Here are the basic key commands:

CTRL + ALT + Left/right arrow key. Switches to the new side of the cube for me.

CTRL + ALT + SHIFT + Left/Right arrow key- Takes the in focused app around cube.

CTRL + ALT + Left Click on Desktop - allows you to use the mouse to rotate cube.

F12 - uses the Expose like trick

Alt- Tab - switcher Vista-style

Now is to solve some general issues. One is the fact that the wobble seems off to many people with Nvidia cards. There is an easy fix thanks to roberTO:

Run the command:

gconf-editor

Now go to:

apps>compiz>general>screen0>option

Then turn off the "detect_refresh_rate" option.

Then set the "refresh_rate" to 60

It will work like a charm. Here is a neat trick if you want to take screenshots from npodges.

Go in the gconf-editor to:

apps>compiz>general>screen0>options

Change “command0” into"gnome-screenshot"

Then change “run_command0” into"Print"

Now the PrintScr button will take screenshots. More helpful advice on the different gconf-editor options can be found on this page:

http://gentoo-wiki.com/HOWTO_XGL

I hope you enjoyed the guide.

To Undo

This command:

sudo gedit /etc/gdm/gdm.conf-custom

Then clear the file and save it.

woedend
February 16th, 2006, 05:07 AM
PHG. You have no idea how helpful this was to me. Thanks so much. You are great asset to the community. One quick note / question. compiz gives an error about libmenu.so missing, although it still runs perfectly. Ah well. Thanks again sooo much
woe.

awakatanka
February 16th, 2006, 05:10 AM
Thanks for the guide, hope someone will make one for the kubuntu users to soon.

The community did a good job to get Xgl to work , thanks for those people to.

A :KS :KS :KS :KS :KS rated

encho
February 16th, 2006, 05:23 AM
OK, I'm the unlucky one. All I got is this message:

$ thefuture
$ compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :0.0

And it kills my gnome-panel, nautilus, and metacity. Maybe I am missing something?
Oh yeah, and I can not find apps>compiz in my gconf-editor :-(

Belfagor
February 16th, 2006, 05:26 AM
thanks for this guide... i was unlucky to get compiz run... tried running thefuture even for 30 times.. sometimes compizreal appears for 5 second in the running applications list then disapperas... any idea? thanks again...

poofyhairguy
February 16th, 2006, 05:27 AM
OK, I'm the unlucky one. All I got is this message:

$ thefuture
$ compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :0.0

And it kills my gnome-panel, nautilus, and metacity. Maybe I am missing something?

Yeah, I get that sometimes. Just keep running the command till it goes away. Even if thats like twenty times. It will eventually go away.

frodon
February 16th, 2006, 05:34 AM
really nice.

I have 2 questions regarding Xgl/compiz :
1- Do you get the same FPS with xgl and does the game works well ?
2- How to undo that, i mean to make xserver and metacity load as usual ?

Thank you for this neat guide.

encho
February 16th, 2006, 05:39 AM
Yeah, I get that sometimes. Just keep running the command till it goes away. Even if thats like twenty times. It will eventually go away.
You're my hero \\:D/
Finally works!
What now? :-k I'll just play with the windows and wobbling ... 3 hours later ... still wobbling. :mrgreen: Seriously, everything works smoothly, changing desktops, transparency, task switching. BTW, is there an easy way to do transparency change on per window basis? And are there any keyboard shortcuts? And why not to <shift> <backspace>? I'm really curious :p

scrooch
February 16th, 2006, 05:40 AM
This is the first how-to take gets me everything set up... And only under a 3 minutes! :D


Read the rest of this paragraph then reboot. when you computer reboots all you should have to do is put this command in the terminal to get compiz love:

thefuture

A little detail; It wasn't really clear for me when to enter this command exactly. Maybe you should insert 'After login in GDM, open a terminal and enter'...


Resizing windows hasn't improved in performance though, that's a real turndown :( Maybe some sort of plugin will show up which handels resizing windows/using xgl.

Belfagor
February 16th, 2006, 05:47 AM
is xgl really broken for amd64?

poofyhairguy
February 16th, 2006, 05:49 AM
PHG. You have no idea how helpful this was to me. Thanks so much. You are great asset to the community.

Thanks

One quick note / question. compiz gives an error about libmenu.so missing, although it still runs perfectly. Ah well. Thanks again sooo much
woe.

I can't find what the problem is in Google, but if it harms nothing to big deal!

codejunkie
February 16th, 2006, 05:54 AM
xgl is running infact the gui seems more responsive and faster than with the normal xserver but when i run compiz i get a black screen if i right click i see the context menu but the rest of the screen is black any help would be very appreicated.

poofyhairguy
February 16th, 2006, 06:00 AM
A little detail; It wasn't really clear for me when to enter this command exactly. Maybe you should insert 'After login in GDM, open a terminal and enter'...


Thanks!

poofyhairguy
February 16th, 2006, 06:01 AM
really nice.

I have 2 questions regarding Xgl/compiz :
1- Do you get the same FPS with xgl and does the game works well ?

I don't really game in Linux, but maybe someone else can say?


2- How to undo that, i mean to make xserver and metacity load as usual ?

Thank you for this neat guide.

Thanks and this command:

metacity --replace

to go back.

Aphelion
February 16th, 2006, 06:05 AM
Hi fellow Xgl users ;)

I managed to install Xgl and run compiz with this tutorial. It al works fine except some strange redraw? problems. Please look at the attached screenshot. Does anyone know how to fix this problem?

encho
February 16th, 2006, 06:08 AM
I've noticed that running some gl apps kills the server, like glx-gears. But in split second when it runs, I see that fps has gone up by 50%!
Just to ask you a quick question: how to enable screen edge sticking? I've seen it was working in demo video and I'm kinda used to it with dapper.

subjectdenied
February 16th, 2006, 06:21 AM
press ctrl and alt while moving windows

encho
February 16th, 2006, 06:26 AM
press ctrl and alt while moving windows
Thanks, but is it possible to make it default? Without keys?

ploum
February 16th, 2006, 06:41 AM
hmm... I followed this tuto but :

1) Xgl process is taking 100% of the CPU
2) xterm is not working anymore (a black window)
3) launching "thefuture" bring me a black screen with a cursor, nothing else.

poofyhairguy
February 16th, 2006, 06:43 AM
hmm... I followed this tuto but :

1) Xgl process is taking 100% of the CPU
2) xterm is not working anymore (a black window)
3) launching "thefuture" bring me a black screen with a cursor, nothing else.

What video card hardware do you have?

ploum
February 16th, 2006, 06:48 AM
poofyhairguy >

0000:02:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)


(anyway, thanks a lot for your howto and for your time :-) )

poofyhairguy
February 16th, 2006, 07:08 AM
poofyhairguy >

0000:02:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)


(anyway, thanks a lot for your howto and for your time :-) )

No problem. One suggestion. Add this to the "device" section of you xorg.conf:

Option "NvAGP" "1"

lewiz
February 16th, 2006, 07:13 AM
Out of interest, does anybody know if Xinerama/TwinView will be supported at a later date? Does this require work from nvidia or more work to Xgl?

Thanks for the HOWTO (the other thread was getting a little cluttered!).

Aphelion
February 16th, 2006, 07:15 AM
I actually have my desktop running with twinview. Works perfectly Although you get a span and no dualview.

Could anybody please answer to my problem to? Please ask me for more details / configuration if needed:
Note this is my laptop problem:


Hi fellow Xgl users

I managed to install Xgl and run compiz with this tutorial. It al works fine except some strange redraw? problems. Please look at the attached screenshot. Does anyone know how to fix this problem?

ploum
February 16th, 2006, 07:16 AM
thank for your suggestion but it doesn't change anything :-( still the black xterm and black screen

(by the way, it doesn't take 100% of CPU. It's something else not related)

Strangely, my scrollwheel doesn't work in xgl. I don't really understand but this is a minor issue.

(for people who have the same "black screen" when launching "thefuture", the solution is to :

1) "killall compiz.real" in a terminal
2) Back to Xgl
3) "metacity &"

)

poofyhairguy
February 16th, 2006, 07:17 AM
I actually have my desktop running with twinview. Works perfectly Although you get a span and no dualview.


Yeah, thats what I mean by broken. Its annoying.

Spark*
February 16th, 2006, 07:36 AM
I have 2 questions regarding Xgl/compiz :
1- Do you get the same FPS with xgl and does the game works well ?
2- How to undo that, i mean to make xserver and metacity load as usual ?

I don't have many games installed right now, but things look really bad (Geforce 4 Ti4600):
- 2D SDL games are distorted.
- No fullscreen game properly changes the resolution (black frame).
- Nexuiz pulls up a black screen and then hangs.
- Chromium starts but is unusably slow and the menu is all distorted.
- PPRacer starts but is unusably slow.
- Cedega (WarCraft 3) doesn't work at all.

Additionally all movie display slows down the system to a crawl (switching to :fbo accel didn't even seem to make any difference). I wonder if my card is just too old for this (lack of DX9 features) or if there is still hope. Otherwise everything runs perfectly.

aent
February 16th, 2006, 07:48 AM
Out of interest, does anybody know if Xinerama/TwinView will be supported at a later date? Does this require work from nvidia or more work to Xgl?

Thanks for the HOWTO (the other thread was getting a little cluttered!).
Well right now Xorg seems to be loading the Xinerama extension. I think the problem is that Xgl is creating a full screen window on X... I was hoping it would be something simple like getting Xgl to load the Xinerama plugin but I think its a bit more complicated than that. Hopefully someone will come up with a fix or a workaround for this real soon so I can start using Xgl all the time.


It seems as if Compiz isn't loading plugins for me... there is only gconf in the gconf-editor active_plugins... how do I get more plugins to load?
Edit: fixed that, just reloaded compiz and it was fine...

Very cool stuff :D

pecanov
February 16th, 2006, 08:04 AM
thank for your suggestion but it doesn't change anything :-( still the black xterm and black screen

(by the way, it doesn't take 100% of CPU. It's something else not related)

Strangely, my scrollwheel doesn't work in xgl. I don't really understand but this is a minor issue.

(for people who have the same "black screen" when launching "thefuture", the solution is to :

1) "killall compiz.real" in a terminal
2) Back to Xgl
3) "metacity &"

)

Just to confirm that this problem is present on GeForce 2 MX cards also.

DeeZiD
February 16th, 2006, 09:00 AM
Great news for owners of older nvidia-cards :)

2006-02-16 David Reveman <davidr@novell.com>

* src/glitz.h (GLITZ_REVISION): Bump version to 0.5.3.

* configure.in: Bump version to 0.5.3.

* src/glitz_texture.c: Fix so that GL_ARB_texture_rectangle
and GL_ARB_texture_border_clamp are not required for texture
object creation.

* TODO: Add note about removing some complexity.

* src/glitz_pixel.c (glitz_get_pixels): Patch together clipped
fetching of pixels.

Now you can even use your older cards for Xgl \\:D/
(I will test my old Geforce2MX in a few moments)

regards Dennis

vtechstu
February 16th, 2006, 09:20 AM
OK, I'm the unlucky one. All I got is this message:

$ thefuture
$ compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :0.0

And it kills my gnome-panel, nautilus, and metacity. Maybe I am missing something?

Yeah, I get that sometimes. Just keep running the command till it goes away. Even if thats like twenty times. It will eventually go away.

Ok my problem is pretty much the same. The first time i run thefuture, i get the above output. All other attempts i get this:

thefuture
gnome-window-decoraor: Another window decorator is already running
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :0.0


Any idea's what I could do? I followed the steps exactly I think. Might something from other wm attempts before, or compmgr attemps be messing this up? Thanks. Please help.

rjwood
February 16th, 2006, 09:21 AM
EDIT: disregard this message---sry

pecanov
February 16th, 2006, 09:22 AM
Great news for owners of older nvidia-cards :)

2006-02-16 David Reveman <davidr@novell.com>

* src/glitz.h (GLITZ_REVISION): Bump version to 0.5.3.

* configure.in: Bump version to 0.5.3.

* src/glitz_texture.c: Fix so that GL_ARB_texture_rectangle
and GL_ARB_texture_border_clamp are not required for texture
object creation.

* TODO: Add note about removing some complexity.

* src/glitz_pixel.c (glitz_get_pixels): Patch together clipped
fetching of pixels.

Now you can even use your older cards for Xgl \\:D/
(I will test my old Geforce2MX in a few moments)

regards Dennis

Could you please post the result? I have the same card.

Thanx

DeeZiD
February 16th, 2006, 09:23 AM
Now my geforce2MX200 works with Xgl :p
And it is as fast as my geforce6600 gt!!!

(Image-quality without DVI is really bad imho ;) )

regards Dennis

DeeZiD
February 16th, 2006, 09:25 AM
But Xvideo is damn slow without pixelshader.
It doesn't matter if I use xv:pbuffer or xv:fbo - it's too slow.


regards Dennis

rjwood
February 16th, 2006, 09:35 AM
Thanks PHG---I've been waiting for this from you:D

Norm 2782
February 16th, 2006, 09:39 AM
cool it works with the latest Glitz ! :D
I don't get the black screen anymore... I DO however get ugly artifacts instead of icons etc, so it's not really useable (although the wobbly window is cool :p), but it's better than an entire black screen :p

bites
February 16th, 2006, 09:57 AM
Thanks Poofy! Everything's working great here! Except my scrollwheel.. :) But I'm too amazed with all this eyecandy to bother with that now :)

gnumdk
February 16th, 2006, 10:09 AM
Ploum, may help you ;)

gnumdk@lisa:~$ cat /usr/bin/xgl.sh
#!/bin/bash
Xgl :1 -ac -accel glx:pbuffer -accel xv:pbuffer &
/bin/su gnumdk /usr/bin/xglgnome.sh
gnumdk@lisa:~$ cat /usr/bin/xglgnome.sh
#!/bin/bash
DISPLAY=:1 LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib compiz --replace switcher decoration wobbly fade minimize cube rotate zoom scale move resize place menu &
DISPLAY=:1 gnome-window-decorator &
DISPLAY=:1 gnome-session
gnumdk@lisa:~$

gnumdk
February 16th, 2006, 10:19 AM
#!/bin/bash
Xgl :1 -ac -accel glx:fbo -accel xv:fbo &
export DISPLAY=:0
export LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib
compiz --replace switcher decoration wobbly fade minimize cube rotate zoom scale move resize place menu &
gnome-window-decorator &
gnome-session



Seems to work much better like this ;)

Some bugs...

nikopol
February 16th, 2006, 10:26 AM
I think there's a problem with this install in that it installed me a US keyboard by default. When I switched to the correct keyboard (UK), it's caused a huge problem with the gnome-settings-daemon as it won't start at all anymore leaving me with a rather basic desktop! I'm looking into resolving this but this error is a pain in the butt to sort out IIRC..

gnumdk
February 16th, 2006, 10:48 AM
Ok, fix all the strange bug setting my X depth to 24.

jsgotangco
February 16th, 2006, 10:53 AM
I got this running nicely by following the steps from the first post but I had terrible refresh rate. What I did was reconfigure xserver-xorg and I got it running nicely. Thanks a lot! This is ultimate "bling" for now :mrgreen:

bonzodog
February 16th, 2006, 11:20 AM
I just found a Devel post from the guy that built XGL/compiz for the repos, with a how-to for dapper.

Hi,

I've recently uploaded packages of Xgl and compiz to universe for
Dapper. These are highly experimental packages and are not recommended
for casual use. However, if you want to start developing for this new
technology, then do the following:

1) Make sure that you have the latest mesa, libglitz1 and libglitz-glx1
installed
2) After installing xserver-xgl, replace /etc/X11/X with a symlink to
/usr/bin/Xgl
3) Restart gdm
4) From a terminal, do compiz --replace gconf place move decoration resize minimize wobbly fade cube rotate zoom
5) Run gnome-window-decorator

You'll want to add these to your session startup if you want it on every
login.

To get back to sanity:

1) Replace /etc/X11/X with a symlink to /usr/bin/Xorg
2) Restart gdm

As noted before, these are highly experimental packages. If it crashes,
this is unsurprising. Please do feel free to file bugs, but right now
they'll probably just be forwarded upstream. Please do not be surprised
if it doesn't work. If you're running binary drivers, things get even
more complicated and there's a reasonable chance that things will fail
to work in strange and unexpected ways.

Have fun, and start thinking of ways that this technology can be used
for the force of good.
--
Matthew Garrett | mjg59 at srcf.ucam.org


I hope you people find this useful, the post can be found at:

https://lists.ubuntu.com/archives/ubuntu-devel-announce/2006-February/000079.html

Rotarychainsaw
February 16th, 2006, 11:21 AM
I tried this and got the error:

gnome-window-decorator, Failed to load shadow images
compiz.real: No composite extension

Should I add composite to my xorg.conf?

*edit - added composite and now I get the Texture error. getting closer.

nikopol
February 16th, 2006, 11:43 AM
I think there's a problem with this install in that it installed me a US keyboard by default. When I switched to the correct keyboard (UK), it's caused a huge problem with the gnome-settings-daemon as it won't start at all anymore leaving me with a rather basic desktop! I'm looking into resolving this but this error is a pain in the butt to sort out IIRC..

Hmmm - no go. This is well and truly screwed up. Some problem with xkb I think interacting with the new setup. Problem is coming back to where we once began which doesn't seem to be simple. I'd advise AGAINST changing your keyboard setup in XGL :)

Rob2687
February 16th, 2006, 11:47 AM
When I changed teh kb in XGL, it wouldn;t even start anymore so I had to recompile with --disable-xkb :(

Fedup
February 16th, 2006, 12:02 PM
Great news for owners of older nvidia-cards :)

2006-02-16 David Reveman <davidr@novell.com>

* src/glitz.h (GLITZ_REVISION): Bump version to 0.5.3.

* configure.in: Bump version to 0.5.3.

* src/glitz_texture.c: Fix so that GL_ARB_texture_rectangle
and GL_ARB_texture_border_clamp are not required for texture
object creation.

* TODO: Add note about removing some complexity.

* src/glitz_pixel.c (glitz_get_pixels): Patch together clipped
fetching of pixels.

Now you can even use your older cards for Xgl \\:D/
(I will test my old Geforce2MX in a few moments)

regards Dennis

Well, I'm about ready to completely wipe Linux and go back to Windows ;)

Just tried downloading the latest glitz from cvs, it seems to compile correctly.. but then
compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :0.0

:evil: :evil: ](*,)

so I guess I'm not doing something right - and at a guess Its still using the older glitz library... so how do I tell it to use the newer ones?
:-k

anders.ostling
February 16th, 2006, 12:12 PM
Just a quick "mee too". Have a laptop with a GF 4200Go, and this is really amazing. No artefacts whatsoever, wobbling and fading is smooth and stable. Really cool!

The only problem I have found is that my Swedish keyboard has been configured as US, and I need to manually change that when X starts ...

Anders

MadMan2k
February 16th, 2006, 12:33 PM
thats how I did it:
http://www.madman2k.net/?module=article&id=19#p2

mgalvin
February 16th, 2006, 12:37 PM
Seems I am the unlucky one. Oh well.

I followed the instructions but when I run thefuture or compiz manually compiz just crashes. It just dies without doing or saying anything and I end up with no window manager, switcher, or anything other then windows with no borders that I cannot move. I can just restart metacity and killall the gnome bits to get working again but no neat effects.

I am on an amd64 machine (Xeon really) with an NVIDIA Corporation NV37GL [Quadro FX 330] card with TwinView and all the rest.

When using Xgl TwinView stops working and I just get a spanned desktop across the two heads. No biggie as this was expected since the first post said as much. I also tried turning off all the TwinView stuff which made no difference.

Since compiz just keeps crashing no matter what I try or how many times I run it, I straced' it.

Hopefully this strace output might help diagnose the issue.

http://www.simplifiedcomplexity.com/lumber/compiz.strace.txt

Florob
February 16th, 2006, 12:47 PM
Well, it was always working for me, but this howto was helpfull, too.
I'm just wondering if it's normal for Xgl to use a lot of the CPU when I do something with compiz (It uses up to 90% from just moving a window).

Also I have some comments on the howto itself:
Change every line but the “Identifier” line to look just like mine:
One shouldn't change the BusID line either, because it changes from machine to machine and will not always work with this values.

Find the “Module” section. Comment out the “Glcore” and “dri “ modules and make sure a “glx” module is there.
Why is this neccessary I have read this in many places, but it makes no difference for me whether I comment out Glcore and dri or not.

sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1
You actually only need to do sudo apt-get install compiz xserver-xgl the rest is handeld by dependancies.

chrisrx
February 16th, 2006, 01:16 PM
Has anyone made a deb for the newest glitz?

nikopol
February 16th, 2006, 01:18 PM
Solved the keyboard bug which seems to be a gnome bug more than anything else.

If one tried to put another keyboard higher than the US one in the keyboard config, the gnome-settings-daemon will crash and no longer work until one puts the US keyboard back on top. You can set the other keyboard as default without any trouble which is good. It's a pretty major bug so I'd better file it. I imagine the XGL messing around probably generated the new keyboard?

Less seriously, I wonder if it's some overly patriotic developer who inserted this bug for anyone who as the temerity to put the US "down"! :D

thekiller
February 16th, 2006, 01:26 PM
When i run "thefuture", it brings me a full black screen with a cursor (kinda similar to somebody else's problem posted earlier). I have an NViDia NV11 GeForce2 MX/MX 400 graphics card.

Any ideas/suggestions ?

EDIT : Funny thing is even after getting a black screen, when i move my cursor around it changes to an arrow. I move back the arrow to the place it changed to a cursor, and i retyped "thefuture" in the blind, and it shows me the outline of the terminal but then again goes black. I started moving around the cursor again, and apparently on double-clicking the mouse somewhere towards right-top, shows a white rectangular box for like a split second and then it goes away. I am sure something is there, but is messed up on my computer. Any ideas ? I also pressed CTRL+ALT+left and something changed for sure, cos i cant get my arrow back to a cursor, so i guess something did move here. lol :)

ubuntu_monkey
February 16th, 2006, 01:43 PM
I Have the same problem with my Nvidia Geforce Mx.

The xserver works, but as soon as I start compiz, all windows goes black. If i press <Alt> and drag the windows I get the wobbling window moving effect. So Compiz works, it's just window bitmaps doesn't get rendered on the screen.

Probably this is a to old card. But let's hope for a fix!

thekiller
February 16th, 2006, 01:47 PM
ok now i see an error, when i type "killall compiz.real" in the blind. It complains about "Couldnt find redirected window 0xc0003c to texture". and "pixmap cant be bound to texture".

I think many had this error while playin with compiz. And I think i have ran "thefuture" a million times now, and i can say its probably an old card that i have. :(

EDIT : Now im thinking "Do i have the correct drivers installed ?" Cos I know before i used to see an Nvidia splash screen on killing the x server, NOW, not anymore !!!! Can somebody else point that please ??

chrisrx
February 16th, 2006, 01:47 PM
They are all bugs to do with the lack of pixel shading in older cards. If I understand correctly the newer glitz might fix this, but I'm waiting on someone to release a deb to confirm this.

ubuntu_monkey
February 16th, 2006, 01:49 PM
They are all bugs to do with the lack of pixel shading in older cards. If I understand correctly the newer glitz might fix this, but I'm waiting on someone to release a deb to confirm this.

I tried to build it from the cvs. And I can confirm that it does work. :)

Rotarychainsaw
February 16th, 2006, 02:21 PM
monkey, did you just build glitz from cvs and it worked? or did you have to build glitz and reinstall xgl and compiz?

chrisrx
February 16th, 2006, 02:29 PM
Hey ubuntu_monkey, what graphics card are you using?

mrogers
February 16th, 2006, 02:32 PM
Did this on a fresh install of Dapper nightly 2/15/06, I've got a GF6600GT and the eyecandy itself works great. Two serious problems:

- I have dual monitors. As noted before, it is most definitely broken. What I want to know is: why? And when might it be fixed?

- My other serious problem is that I can't move dialog boxes. Any non-standard window -- the About FireFox dialog, the Themes window, etc -- that doesn't have normal Minimize/Maximize/Close buttons cannot be moved from where it initially appears on the screen. Any ideas on how to fix this?

poofyhairguy
February 16th, 2006, 02:37 PM
I'm just wondering if it's normal for Xgl to use a lot of the CPU when I do something with compiz (It uses up to 90% from just moving a window)..

For now, yes.


One shouldn't change the BusID line either, because it changes from machine to machine and will not always work with this values..

Thanks.


Why is this neccessary I have read this in many places, but it makes no difference for me whether I comment out Glcore and dri or not..

Its an Nvidia thing. I suggest doing it.


You actually only need to do sudo apt-get install compiz xserver-xgl the rest is handeld by dependancies.

Thanks. I wasn't sure about that.

ubuntu_monkey
February 16th, 2006, 02:38 PM
Hey ubuntu_monkey, what graphics card are you using?

An old Geforce 2 Mx.

I compiled glitz with: ./autogen --prefix=/usr
So that the ubunut package would be overwritten. I think you should run ldconfig after the install and then try to run compiz again.

- Mr Monkey

poofyhairguy
February 16th, 2006, 02:39 PM
Did this on a fresh install of Dapper nightly 2/15/06, I've got a GF6600GT and the eyecandy itself works great. Two serious problems:

- I have dual monitors. As noted before, it is most definitely broken. What I want to know is: why? And when might it be fixed?

- My other serious problem is that I can't move dialog boxes. Any non-standard window -- the About FireFox dialog, the Themes window, etc -- that doesn't have normal Minimize/Maximize/Close buttons cannot be moved from where it initially appears on the screen. Any ideas on how to fix this?

I wish I knew the answer to both of these questions, as it affects me too. All I can say is to wait for the next set of drivers...

thekiller
February 16th, 2006, 02:41 PM
Hey PHG, do u know if i need to do sth special for my NVIDA NV11 MX 400 card ? I am not able to get "thefuture" working !

salsafyren
February 16th, 2006, 02:44 PM
Now my geforce2MX200 works with Xgl :p
And it is as fast as my geforce6600 gt!!!

(Image-quality without DVI is really bad imho ;) )

regards Dennis

Could you tell which nvidia driver you use?

I've had problems with the new drivers.

/Chris

aamukahvi
February 16th, 2006, 02:51 PM
- My other serious problem is that I can't move dialog boxes. Any non-standard window -- the About FireFox dialog, the Themes window, etc -- that doesn't have normal Minimize/Maximize/Close buttons cannot be moved from where it initially appears on the screen. Any ideas on how to fix this?
Hold Alt then drag the window. Don't know how to do this without modifer, tho.

Das Oracle
February 16th, 2006, 02:55 PM
it works perfectly except for one tiny thing. when i watch movies and fullscreen them the audio gets behind...i put it back to a window and its fine. never did this prior to xgl but still thanks a ton for the howto

JDay
February 16th, 2006, 03:06 PM
Well, it mostly works fine for me. All the plugins seems to work, except for cube, zoom and fade. The workspace-switcher applet also refuses to work (only shows one workspace). Any ideas?

bruce89
February 16th, 2006, 03:12 PM
It doesn't work at all for me, but that's probably because I am using the AMD64 version. I have a screenshot here.

monchichi
February 16th, 2006, 03:14 PM
What's the word on AMD64 Xgl? I tried to compile cvs but just ran into more headaches. Can we get updated source uploaded to the build farm please please please pleasssseee?

soulglo83
February 16th, 2006, 03:25 PM
i commented out the composite enable lines @ the bottom of my xorg.conf from the terrax howto, so it would match with this howto. which cleared up the GLX_EXT_texture_from_pixmap not found errors from compiz, that was preventing compiz from running. but now it doesnt run either, i receive a different error 'compiz: No composite extension' (since i updated and reloaded x). i use an nvidia geforce 5500 fx agp card, and have managed to receive the same results with both the cvs compiles of mesa and xserver-glx and compiz, and the precompiled debs. am i missing something? this error has been reported by two others in this post who haven't remedied this as well. this does recurr, even after 20 or more attempts. how do i get a composite manager working with my hardware? i though with nvidia this was well supported

EDIT: since compiz wont start and its barking about a composite extension ive left xorg w/ the composite lines active in the bottom of my xorg, GLX_EXT_texture_from_pixmap is present in glxinfo, however compiz still complains that GLX_EXT_texture_from_pixmap.... is not found....

dzoe
February 16th, 2006, 03:27 PM
I'm happy to report that ubuntu_monkey's suggestion (compiling CVS glitz) is working perfectly here (on an NV18 [GeForce4 MX 4000 AGP 8x]).

Yay!

salsafyren
February 16th, 2006, 03:28 PM
An old Geforce 2 Mx.

I compiled glitz with: ./autogen --prefix=/usr
So that the ubunut package would be overwritten. I think you should run ldconfig after the install and then try to run compiz again.

- Mr Monkey

Hey,

Which nvidia driver do you use?

/Chris

chrisrx
February 16th, 2006, 03:57 PM
thanks ubuntu_monkey it works for me :D. Buythe screen is to distorted for it to be used
salsafyren You should probably use the newest nvidia module because the stability with composite has been improved

poofyhairguy
February 16th, 2006, 04:06 PM
Well, it mostly works fine for me. All the plugins seems to work, except for cube, zoom and fade. The workspace-switcher applet also refuses to work (only shows one workspace). Any ideas?


It changes the Gnome panel. Clicking where the other workspaces should be still works.

poofyhairguy
February 16th, 2006, 04:09 PM
Hey PHG, do u know if i need to do sth special for my NVIDA NV11 MX 400 card ? I am not able to get "thefuture" working !

All people with cards that are older (not weaker) than a 5200 FX (aka anything not a Directx 9 card) have to compile the newest glitz from cvs first.

I try to keep my guides simple (aka I abhor telling people how to compile things) but since people like to use Linux with older harder if someone will give me a small guide on whats needed to compile glitz I will add it to the main guide.

chrisrx
February 16th, 2006, 04:21 PM
Is anyone else with a geforce2 having major graphical glitches. Firefox is unusable for me because the window is just filled with glitches and stretched out things.

Is anyone having problems with amsn aswell? I think it's xgl related because I never had a problem before but now tcl/tk throws up an error
Application initialization failed: this isn't a Tk application

Also what video driver should I use in mplayer for (moderately) smooth video playback. I used to use xv but now it gives me choppy playback and gl just crashes altogether

pomalin
February 16th, 2006, 05:06 PM
Thanks ubuntu_monkey it work perfectly and smoothly with your trick ./autogen.sh --prefix=/usr on my nvidia4 488 Go.

So happy :D

Mattias
February 16th, 2006, 05:15 PM
Thank You for the guide everything is ok on my computer. All effects seem to be there (and they are really impressive )The only thing is that processor usage of xgl is almost 100% when trying to play movies. It's so bad that the playback is slow. Is this to be expected normally ?

Rotarychainsaw
February 16th, 2006, 05:20 PM
It seems the gconf plugin is not letting compiz start on my system. This is all repo stuff, and without the gconf plugin everything seems to work. I was wondering if there is a gconf related package that needs to be installed. thanks

ubuntu_monkey
February 16th, 2006, 05:20 PM
Hey,

Which nvidia driver do you use?

/Chris
ii linux-restricted-modules-2.6.12-10-386-nvidia-legacy 2.6.12.4-11.1 Non-free Linux 2.6.12 NVIDIA legacy module o
ii nvidia-glx 1.0.8178+2.6.15.5-2 NVIDIA binary XFree86 4.x/X.Org driver
ii nvidia-kernel-common 20051028+1 NVIDIA binary kernel module common files

thekiller
February 16th, 2006, 05:23 PM
i think im gonna give up tryin to make it work on my old pc. i installed the glitz from cvs, and followed the trick by ubuntu_monkey, but apparently my x is not coming up anymore. It just shows a hung up weird screen with my the clock (cursor) stuck in the middle of the screen.

Anyway thats it, i wasted all day long in tryin to make it work.

next step :

apt-get remove xserver-xgl compiz .... :)

Im happy with what i have. Thanks all for the help though !

ShanghaiTeej
February 16th, 2006, 05:25 PM
I can confirm that following this guide and launching typing "thefuture" is giving just a black screen and a cursor on GeForce4 MX 440 graphics cards. The link in Poofyhairguy's walkthrough does state that there are mass bugs with this graphics card and xgl. So we probably have to wait awhile, which sucks. Thanks for the walk through though.

thekiller
February 16th, 2006, 05:31 PM
I can confirm that following this guide and launching typing "thefuture" is giving just a black screen and a cursor on GeForce4 MX 440 graphics cards. The link in Poofyhairguy's walkthrough does state that there are mass bugs with this graphics card and xgl. So we probably have to wait awhile, which sucks. Thanks for the walk through though.

Just commenting more on this one : (cos nobody mentioned this anywhere)

While installing glitz from CVS, make sure you have automake-1.9 installed, and which requires aclocal-1.9 as well.

So make necessary changes in autogen.sh, by changing

ACLOCAL=${ACLOCAL-aclocal}
AUTOMAKE=${AUTOMAKE-automake}


TO

ACLOCAL=${ACLOCAL-aclocal-1.9}
AUTOMAKE=${AUTOMAKE-automake-1.9}


But apparently, it didnt work out for me for old Nvidia card.

lucas
February 16th, 2006, 05:38 PM
Thanks for an exelent guide, I will try this as soon as the dapper download has finnished.

chrisrx
February 16th, 2006, 05:44 PM
Just commenting more on this one : (cos nobody mentioned this anywhere)

While installing glitz from CVS, make sure you have automake-1.9 installed, and which requires aclocal-1.9 as well.

So make necessary changes in autogen.sh, by changing


TO


But apparently, it didnt work out for me for old Nvidia card.
don't forget ldconfig

plb
February 16th, 2006, 05:50 PM
After running "thefuture" all titlebars and panels disppear and I have to restart gnome...might have something to do with amd64..dunno

JDay
February 16th, 2006, 05:53 PM
It changes the Gnome panel. Clicking where the other workspaces should be still works.
Well, it doesn't for me. Oh, well. The fade effect working for anyone else?

endy
February 16th, 2006, 06:00 PM
After running "thefuture" all titlebars and panels disppear and I have to restart gnome...might have something to do with amd64..dunno

If you type "metacity --replace &" in the terminal you'll get your titlebars back.

I too haven't got this running on my native AMD64 partition yet :( I've tried a fair bit of tweaking and recompiling but I guess it isn't ready for AMD64 yet... until it is I'll have to rely on my PowerBook for eye candy goodness but it would be nice to see Gnome have a piece of that oh so tastey pie :)

nikopol
February 16th, 2006, 06:27 PM
I find the graphics to be very slow if I'm not running thefuture script - is that normal?

So far crashing or messed up programs:
MythTV (frontend) (completely crashes X :twisted: )
Xine - the control panel is scrambled up making it unusable.
Enemy Territory - ok I was asking for trouble there :D X dies immediately.

aamukahvi
February 16th, 2006, 06:45 PM
Hey NVidia fellaz,

how are your videos playing on Xgl? I have ATI with no xv, videos are choppy and processor usage is off the charts. I was thinking about buying an nvidia card but someone here said that he had problems with video playback even with his nvidia card.

nikopol
February 16th, 2006, 06:52 PM
Video isn't great - the sound goes out of synch and there is some dragback every few seconds. I kinda don't have a problem with it though since it's experimental so I'd expect this to be ironed out relatively soon. I wouldn't use as my fulltime X config due to these issues I guess...

aamukahvi
February 16th, 2006, 06:55 PM
Ok thanks. Won't go shopping just yet -- wait and see I guess... I think the next round of drivers may work wonders. But when is that? :roll:

Technoviking
February 16th, 2006, 07:19 PM
I'm getting the same thing, any ideas?

[Nevermind switching to 24 bit fixed it]

Hi fellow Xgl users ;)

I managed to install Xgl and run compiz with this tutorial. It al works fine except some strange redraw? problems. Please look at the attached screenshot. Does anyone know how to fix this problem?

gripner
February 16th, 2006, 08:02 PM
Hi, I followed this howto in every step. Only thing i do is compile the nvidia drivers myself since i have to

Have a dual core P4 with 6600gt card.

WHen gmd starts it exits with the error that it can not find /usr/lib/xorg/modules/xgl/libglx.so

that file does not exists there altho it does exist in /usr/lib/xorg/modules/extension i think it was. makeing a symlink will not work, get an error undefined symbol xf86 or summing

oh also /usr/lib/xorg/modules/extension/libglx.so is a symlink to libglx.so.nvidiasdrivenumber

help pleas!

kamstrup
February 16th, 2006, 08:19 PM
Hey worked great! . . . Until...

I removed (and readded) the wobbly plugin from gconf, and then my titlebars disappeared!

They don't even get back when I log out and log back in! Anyone? gnome-window-decorator is definitely running. Killing it and restarting it has no effect either...

PS: Perhaps someone should also write up a list with all the fancy tricks... Desktop rotation, stick-to-edges, etc.

TheDude
February 16th, 2006, 08:53 PM
Thank you so much PHG (and all others)\\:D/

aent
February 16th, 2006, 08:59 PM
Is anyone else with a geforce2 having major graphical glitches. Firefox is unusable for me because the window is just filled with glitches and stretched out things.
I believe this is because of glitz bugs and is fixed in CVS. I'd wait till the next version of glitz and maybe even wait for the next Xgl for GeForce 2 and older cards. It is still usable but you have to learn how to use around it... like launch Firefox from the menu rather than from a launcher, the affect from the launcher screws it up... avoid the minimize affect from metacity, and stuff like that. I can't wait for this stuff to stabilize... I can't wait for it... I need Xinerama for my modern desktop and the new glitz for my laptop... must resist CVS :twisted:

Rotarychainsaw
February 16th, 2006, 09:10 PM
Video plays awesome for me. No slowdows or anything, even while wobbling. I have a 6800gt (nvidia).

covox
February 16th, 2006, 09:14 PM
aamukahvi: Video works great. MPlayer + accelerated XV can withstand any amount of compiz-related punishment thrown at it. MPlayer + XImage also works, but requires 2x the CPU. (GeForce 6600 w/256mb, Athlon XP 1800)

A silver sixpence for whichever saint fixes that blasted Shift+Backspace bug in Xgl. It's 110% unbearable if you've grown dependant on Ctrl-Backspace to remove words. (I'm assuming it's in Xgl, as it's still crashing when only running xterm)

lord_crow
February 16th, 2006, 09:20 PM
Can anyone PLEASE confirm if this works under amd64 ?

( and i mean repo's packages )

thanks :rolleyes:

mjg59
February 16th, 2006, 09:38 PM
Can anyone PLEASE confirm if this works under amd64 ?

Currently? No. It needs a fix to mesa and then for xgl to be rebuilt. I'll probably have time to do that over the weekend.

lord_crow
February 16th, 2006, 09:41 PM
Currently? No. It needs a fix to mesa and then for xgl to be rebuilt. I'll probably have time to do that over the weekend.

Well, at least i know that someone is taking care of it \\:D/ , thanks for your reply

alvinblank
February 16th, 2006, 09:47 PM
Anyone willing to post a CVS version of glitz?

chanders
February 16th, 2006, 10:00 PM
Anyone willing to post a CVS version of glitz?

Hey I second that! But I am willing to compile it myself if I can find some steps? Anyone? I am sure it wont take 5 mins to write up the steps for us guys...

:o

jasay
February 16th, 2006, 10:27 PM
Hey worked great! . . . Until...

I removed (and readded) the wobbly plugin from gconf, and then my titlebars disappeared!

They don't even get back when I log out and log back in! Anyone? gnome-window-decorator is definitely running. Killing it and restarting it has no effect either...

PS: Perhaps someone should also write up a list with all the fancy tricks... Desktop rotation, stick-to-edges, etc.
Did you put wobbly back in the same place in the list of plugins? I guess some of the plugins depend on others having alrewady loaded so make sure wobbly is listed right after decoration.

codejunkie
February 16th, 2006, 10:29 PM
Anyone willing to post a CVS version of glitz?
i've attached the latest version of glitz from cvs.

Hey I second that! But I am willing to compile it myself if I can find some steps? Anyone? I am sure it wont take 5 mins to write up the steps for us guys...
:o
and to compile it extract the archive cd to the glitz dir and run
./autogen.sh --prefix=/usr
then
make
and last
sudo make install
if it complains about dependency issues when you compile run
sudo apt-get install libx11-6 libx11-dev libxau-dev libxau6 libxcomposite-dev libxcomposite1 libxcursor-dev libxcursor1 libxdamage-dev libxdamage1 libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxfixes-dev libxfixes3 libxfont-dev libxfont1 libxft-dev libxft2 libxi-dev libxi6 libxinerama-dev libxinerama1 libxkbfile-dev libxkbfile1 libxklavier10 libxmu-dev libxmu-headers libxmu6 libxmuu-dev libxmuu1 libxp6 libxpm-dev libxpm4 libxrandr-dev libxrandr2 libxrender-dev libxrender1 libxres1 libxss1 libxt-dev libxt6 libxtrap-dev libxtrap6 libxtst-dev libxtst6 libxv-dev libxv1 libxvmc1 libxxf86dga1 libxxf86misc1 libxxf86vm1 x11proto-bigreqs-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-fonts-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-record-dev x11proto-render-dev x11proto-resource-dev x11proto-scrnsaver-dev x11proto-randr-dev x11proto-record-dev x11proto-render-dev x11proto-resource-dev x11proto-scrnsaver-dev x11proto-trap-dev x11proto-video-dev x11proto-xcmisc-dev x11proto-xext-dev x11proto-xinerama-dev libpng12-dev build-essential gcc gcc-3.4 libncurses5 libncurses5-dev libqt3-mt-dev m4 autoconf automake1.7 autotools-dev libtool libxfont-dev xtrans-dev libfreetype6-dev zlib1g-dev libgl1-mesa-dev gconf libgconf-dev gconf-editor cvs libgconf2-dev libwnck-dev

joakim2
February 16th, 2006, 10:49 PM
Hohoho - Xgl started up fine, launching gnome-decorator no problem, launching compiz: black screen with a cursor and something flashing a little when right clicking on the "desktop" and such. I launched compiz with error redirection to a file which when I looked at it is packed with:

compiz.real: pixmap 0x260000c can't be bound to texture
compiz.real: pixmap 0x2600018 can't be bound to texture
compiz.real: pixmap 0x2600084 can't be bound to texture
compiz.real: pixmap 0x2a00037 can't be bound to texture
compiz.real: Couldn't bind redirected window 0xc0003c to texture
compiz.real: pixmap 0x2a00039 can't be bound to texture
compiz.real: Couldn't bind redirected window 0xc00003 to texture
compiz.real: pixmap 0x2a0003b can't be bound to texture
compiz.real: Couldn't bind redirected window 0x240000c to texture
compiz.real: pixmap 0x2a0003d can't be bound to texture
compiz.real: Couldn't bind redirected window 0xe00030 to texture
compiz.real: pixmap 0x2a00037 can't be bound to texture

etc etc etc...

NVIDIA Corporation NV18 [GeForce4 MX 4000 AGP 8x]

codejunkie
February 16th, 2006, 11:04 PM
Hohoho - Xgl started up fine, launching gnome-decorator no problem, launching compiz: black screen with a cursor and something flashing a little when right clicking on the "desktop" and such. I launched compiz with error redirection to a file which when I looked at it is packed with:

compiz.real: pixmap 0x260000c can't be bound to texture
compiz.real: pixmap 0x2600018 can't be bound to texture
compiz.real: pixmap 0x2600084 can't be bound to texture
compiz.real: pixmap 0x2a00037 can't be bound to texture
compiz.real: Couldn't bind redirected window 0xc0003c to texture
compiz.real: pixmap 0x2a00039 can't be bound to texture
compiz.real: Couldn't bind redirected window 0xc00003 to texture
compiz.real: pixmap 0x2a0003b can't be bound to texture
compiz.real: Couldn't bind redirected window 0x240000c to texture
compiz.real: pixmap 0x2a0003d can't be bound to texture
compiz.real: Couldn't bind redirected window 0xe00030 to texture
compiz.real: pixmap 0x2a00037 can't be bound to texture

etc etc etc...

NVIDIA Corporation NV18 [GeForce4 MX 4000 AGP 8x]
i've got the same video card and i was having the same errors until i compiled glitz from cvs now it's working fine it's just a little slow when using the wobbly effect.

Rotarychainsaw
February 16th, 2006, 11:07 PM
Joakim2, did you install the glitz in the post above yours? I didn't really read the thread, but that is your problem.

onandon
February 16th, 2006, 11:28 PM
HELP
I follow "Default XGL Install and General Tips For Gnome and Nvidia " posted by poofyhairguy to install XGL. After rebooting, when i typed "thefuture", error comes as follows:
"compiz: No composite extension
gnome-window-decorator, Failed to load shadow images"

could anyone help? Thank you.

Ps: Gnome+NVIDIA Corporation NV43 [GeForce 6600 GT]

Rotarychainsaw
February 16th, 2006, 11:30 PM
yeah, you have to enable composite in your xorg.conf. I forget the excact lines offhand, but do a search and you will find it.

drizek
February 16th, 2006, 11:44 PM
wow, thanks so much poofy. i have been waiting around all day for suse 10.1 beta 4(it was supposed to be released today damn it!) and it is still not out. im leaving on vacation tomorrow at 5am so here i am again, about to install dapper for the third time to try xgl out.

poofyhairguy
February 16th, 2006, 11:56 PM
yeah, you have to enable composite in your xorg.conf. I forget the excact lines offhand, but do a search and you will find it.

I did not have to for my 6600 GT, but I promise it does not hurt.

Look to my older guide to find out how to do this....

poofyhairguy
February 16th, 2006, 11:59 PM
Hey NVidia fellaz,

how are your videos playing on Xgl? I have ATI with no xv, videos are choppy and processor usage is off the charts. I was thinking about buying an nvidia card but someone here said that he had problems with video playback even with his nvidia card.

On my 6600 GT videos are as smooth as can be with my guide. Wobble and everything. Could not ask for more.

I think the trick is to buy a 6xxx series Nvidia card if you want to be sure everything with "Just Work" well once its all set up. That group has some problems, but by far less than any other group.

The day Compiz was released my 6600 GT payed for itself!

zentagonist
February 17th, 2006, 12:22 AM
I still keep getting the following error:

compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :0.0

It doesn't matter how many times I run 'thefuture' ... I've probably ran it 70-some times now.
Any help would be appreciated.:D

Ainvar
February 17th, 2006, 12:25 AM
Awesome howto, I am doing this running Dapper Drake on a Dell Precision Workstation M70 laptop that is sporting a nvidia quadro fx go 1400 video card.
I am running everything stock and nothing manually compiled or anything.

Sweet howto, cedega does run like but until you restart X, but movies do play when running under thefuture script. Awesome howto and this is how eyecandy is suppose to be in linux :) :)

Awesome howto!! had to say it once again.

joakim2
February 17th, 2006, 12:31 AM
Joakim2, did you install the glitz in the post above yours? I didn't really read the thread, but that is your problem.

Durrrr, of course that is my problem, I can't believe I missed it. :( It works with that glitz and I don't think it's very slow either, pretty smooth if you ask me. The only thing that seems a bit off is the fuzziness of text in menus and such until you have rolled over the text once, then it becomes sharp again. Oh well, I guess that will be fixed eventually. Pretty cool stuff all in all.

poofyhairguy
February 17th, 2006, 12:34 AM
I still keep getting the following error:

compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :0.0

It doesn't matter how many times I run 'thefuture' ... I've probably ran it 70-some times now.
Any help would be appreciated.:D

First:

1. What card do you have?

2. Go in synaptic and search for GLX. Install anything that starts "libglx...."

poofyhairguy
February 17th, 2006, 12:38 AM
Awesome howto, I am doing this running Dapper Drake on a Dell Precision Workstation M70 laptop that is sporting a nvidia quadro fx go 1400 video card.
I am running everything stock and nothing manually compiled or anything.

Sweet howto, cedega does run like but until you restart X, but movies do play when running under thefuture script. Awesome howto and this is how eyecandy is suppose to be in linux :) :)

Awesome howto!! had to say it once again.

Thanks I a lot. I wasn't going to make a guide till I could do it right.

Actually, I decided I wasn't going to do a guide until I could find a way to not leave out ATI users. That other thread gave me my chance. I lack an ATI card for a reason and a year after my first guide I still hate telling ATI people again and again that "your card's drivers are poorer, so this might not work well for you." It makes ME feel bad, even though its ATI's fault.

I hope XGL will even that up some. FORCE ATI to make better drivers with user demand. Just not enough people asked for EXA support- Nvidia did it without anyone asking.

varunus
February 17th, 2006, 12:41 AM
Is anyone else having glx crashes with compiz on? GLX works just fine when metacity is run as the window manager; compiz is what triggers the crashes. (Anything that uses opengl, be it glxgears or the screensaver, causes the crash.)

poofyhairguy
February 17th, 2006, 12:41 AM
PS: Perhaps someone should also write up a list with all the fancy tricks... Desktop rotation, stick-to-edges, etc.


I started it on the doc site where it belongs. If other people know whats going on, please add to it.

The Gentoo wiki page for compiz is way better. The friendly rivalry between our distro and theirs will hopefully motivate people to share what they know!

zentagonist
February 17th, 2006, 12:48 AM
First:

1. What card do you have?

2. Go in synaptic and search for GLX. Install anything that starts "libglx...."
wow, that was a quick response!

ok:
1. NVidia GeForce4 MX

2. Ok, done

I tried again ... same result :-/

chrisrx
February 17th, 2006, 01:10 AM
Have you upgraded to the newest version of glitz?

chrisrx
February 17th, 2006, 01:13 AM
sudo apt-get install libx11-6 libx11-dev libxau-dev libxau6 libxcomposite-dev libxcomposite1 libxcursor-dev libxcursor1 libxdamage-dev libxdamage1 libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxfixes-dev libxfixes3 libxfont-dev libxfont1 libxft-dev libxft2 libxi-dev libxi6 libxinerama-dev libxinerama1 libxkbfile-dev libxkbfile1 libxklavier10 libxmu-dev libxmu-headers libxmu6 libxmuu-dev libxmuu1 libxp6 libxpm-dev libxpm4 libxrandr-dev libxrandr2 libxrender-dev libxrender1 libxres1 libxss1 libxt-dev libxt6 libxtrap-dev libxtrap6 libxtst-dev libxtst6 libxv-dev libxv1 libxvmc1 libxxf86dga1 libxxf86misc1 libxxf86vm1 x11proto-bigreqs-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-fonts-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-record-dev x11proto-render-dev x11proto-resource-dev x11proto-scrnsaver-dev x11proto-randr-dev x11proto-record-dev x11proto-render-dev x11proto-resource-dev x11proto-scrnsaver-dev x11proto-trap-dev x11proto-video-dev x11proto-xcmisc-dev x11proto-xext-dev x11proto-xinerama-dev libpng12-dev build-essential gcc gcc-3.4 libncurses5 libncurses5-dev libqt3-mt-dev m4 autoconf automake1.7 autotools-dev libtool libxfont-dev xtrans-dev libfreetype6-dev zlib1g-dev libgl1-mesa-dev gconf libgconf-dev gconf-editor cvs libgconf2-dev libwnck-dev
wow all i needed was xserver-xorg-dev :p You can go easy on the rest

JLB
February 17th, 2006, 01:13 AM
absolutely easiest thing to enable. Thanks for the how-to Poof!
But this whole thing is just to annoying to keep. I am using twinview here and it is totally disruptive to use. Hopefully, twinview support will be forthcoming soon.

jamesshuang
February 17th, 2006, 01:15 AM
hey poofy, I think you should probably make a note that if nothing happens, but compiz seems to have worked, you should go into the gconf and add the plugins there... I had issues with that on both my computers (probably a result of trying compiz before), and in any case nothing happened until I did that.

Just a note to think about ;)

zentagonist
February 17th, 2006, 01:17 AM
Have you upgraded to the newest version of glitz?

sure have.

actually, when I did the search in synaptic, the only thing I didn't have installed was the glitz-dev package ... I installed that too then

codejunkie
February 17th, 2006, 01:32 AM
wow all i needed was xserver-xorg-dev :p You can go easy on the rest
i was just being lazy :-\" i didn't know the exact dependency so i just copied over all the packages i used when i compiled xgl and compiz.

Gandalf
February 17th, 2006, 01:40 AM
Had anyone tried another (non-ati/nvidia) card? i have an Intel integrated one on my HP :(

chrisrx
February 17th, 2006, 01:42 AM
sure have.

actually, when I did the search in synaptic, the only thing I didn't have installed was the glitz-dev package ... I installed that too then
the version in synaptic isn't the newest version

to do that try this
apt-get install build-essential libtool automake1.9 xserver-xorg-dev cvs
cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/cairo login
cvs -z3 -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/cairo co glitz
cd glitz
./autogen.sh --prefix=/usr
make
sudo make install
sudo ldconfig

just a note to say I've completely forgotten the deps but I think it's automake that you need otherwise it complains about aclocal. libtool I put in the just to be safe.

jacrider
February 17th, 2006, 01:48 AM
Ok. Please bear with me, but I have tried to follow the many threads about xlg and compiz, and am still missing a fundamental issue - does any of this work in Breezy yet?

I am not really interested in moving at this point to Badger, but would like to be able to install both xgl and compiz.

Thanks.

chrisrx
February 17th, 2006, 02:06 AM
Ok. Please bear with me, but I have tried to follow the many threads about xlg and compiz, and am still missing a fundamental issue - does any of this work in Breezy yet?

I am not really interested in moving at this point to Badger, but would like to be able to install both xgl and compiz.

Thanks.
Yes it does. Check out the xgl success thread. I think if you're going to have problems with anything it'll be in upgrading to breezy in the first place. Otherwise you might be lucky and it wil just be a case of changing your repositorys to breezy and doing an apt-get dist-upgrade

zentagonist
February 17th, 2006, 02:20 AM
the version in synaptic isn't the newest version

to do that try this
apt-get install build-essential libtool automake1.9 xserver-xorg-dev cvs
cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/cairo login
cvs -z3 -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/cairo co glitz
cd glitz
./autogen.sh --prefix=/usr
make
sudo make install
sudo ldconfig

just a note to say I've completely forgotten the deps but I think it's automake that you need otherwise it complains about aclocal. libtool I put in the just to be safe.

well ... at first I thought this worked.
I ran 'thefuture' right after doing all your steps (which went through without a hitch btw), and I didn't get any errors. However, I did loose my panels, and the panes at the top of any window that let me drag anything around, those went away too.
I rebooted, ran 'thefuture' again. And now I'm back to getting the "no manegable display" error again. :confused:

Thanks for all your help guys! seriously!

Tonio
February 17th, 2006, 04:08 AM
Installed on a fresh dapper, everything working perfectly ... :) :) :) :) :)

The only thnig which was'nt in the tutorial was to add the composite extension in xorg.conf


Thank you very much for that :):)

poofyhairguy
February 17th, 2006, 04:11 AM
well ... at first I thought this worked.
I ran 'thefuture' right after doing all your steps (which went through without a hitch btw), and I didn't get any errors. However, I did loose my panels, and the panes at the top of any window that let me drag anything around, those went away too.
I rebooted, ran 'thefuture' again. And now I'm back to getting the "no manegable display" error again. :confused:

Thanks for all your help guys! seriously!

That is bad. Keep running it and give me your ENTIRE error so I can tell whats going on.

poofyhairguy
February 17th, 2006, 04:12 AM
hey poofy, I think you should probably make a note that if nothing happens, but compiz seems to have worked, you should go into the gconf and add the plugins there... I had issues with that on both my computers (probably a result of trying compiz before), and in any case nothing happened until I did that.

Just a note to think about ;)

Hmmm....I have been thinking of a better way to do all of this. I just wanted to get a guide out there, but improvements will come soon.

Wesley
February 17th, 2006, 05:01 AM
hi

it worked perfectly last night,

but this morning, boot up the laptop and "thefuture"

got this error

wesley@ubuntu:~$ gnome-window-decorator, Failed to load shadow images
compiz.real: No composite extension


what's up with it?

poofyhairguy
February 17th, 2006, 05:14 AM
what's up with it?


My fault. I took Novell's advice. I changed the guide to fix that problem. Do exactly what I say to the xorg.conf

aamukahvi
February 17th, 2006, 05:20 AM
On my 6600 GT videos are as smooth as can be with my guide. Wobble and everything. Could not ask for more.

I think the trick is to buy a 6xxx series Nvidia card if you want to be sure everything with "Just Work" well once its all set up. That group has some problems, but by far less than any other group.

The day Compiz was released my 6600 GT payed for itself!
Well, poofy, after much contemplation I ordered an AGP GF6200. Cost me 62€.(how's that for a coincidence, lol)

Anyway, one more question popped up. Do you (yourself) have to start compiz multiple times like some seem to have to, or does it "just work"?

rel
February 17th, 2006, 05:21 AM
@ Zentagonist!

Try removing "gconf" from the line in thefuture script. Helped here.
Best solution is to add the plugins in gconf database in the right order, (see gentoo wiki about compiz on this) and start compiz in the script with:
gnome-window-decorator ; compiz --replace gconf

poofyhairguy
February 17th, 2006, 05:55 AM
Do you (yourself) have to start compiz multiple times like some seem to have to, or does it "just work"?

Recently for me it all just works.

aamukahvi
February 17th, 2006, 06:03 AM
Recently for me it all just works.
K thx. :KS

teppic
February 17th, 2006, 06:37 AM
A couple of points I've found:

o Don't enable the Composite extension in xorg.conf for nvidia cards. Xgl already has it in and doesn't work properly if you enable the extension.

o I had problems with opengl apps crashing the server. According to compiz notes, it's best to start the Xgl on nvidia with:

command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo

The change from the howto here is from fbo to pbuffer for glx.

encho
February 17th, 2006, 07:59 AM
Had anyone tried another (non-ati/nvidia) card? i have an Intel integrated one on my HP :(
I've just tryed it on my laptop (i855 integrated), and it works!!! Just do not do 2 things:
1. Do not enter <Option "RenderAccel" "true">, as it is nvidia-related (at least I think so)
2. Do not out-comment dri in your xorg.conf or server won't start at all.

When you run 'thefuture' you may also need to press <alt><f4> to refresh your desktop, at least I had to.

Sometimes it seems to me as it works better on my laptop than on desktop with nvidia 6200 :???: Some opengl apps are just crashing the comp on each of them.

aamukahvi
February 17th, 2006, 08:19 AM
Sometimes it seems to me as it works better on my laptop than on desktop with nvidia 6200 :???: Some opengl apps are just crashing the comp on each of them.
Hmm. Which apps? Just asking coz I ordered a GF6200 :D

curtis
February 17th, 2006, 08:20 AM
Seems to be working nicely here on boot now... must be when I removed the entries from ~/.Xsession and changed it to session statup entries.
Compiz really is nice, F12 is a life saver when you have 20 windows open.

gnumdk
February 17th, 2006, 08:29 AM
>Do not enter <Option "RenderAccel" "true">, as it is nvidia-related (at
>least I think so)

No it's not an nvidia option, it's an Xorg option and Xgl use Xorg...

Things will be smoother with this options enabled.

woedend
February 17th, 2006, 08:46 AM
PHG, I think teppic's post was of great importance to the howto, for me it was at least. I read up a little(for once. :) ) and it is recommended to comment out composite, and for glx use pbuffer. With or without composite made no difference to me, but the pbuffer thing was a lifesaver. With glx:fbo, the xserver would crash when screensavers initiated and when using opengl output video(just playing around with it). With it it works well. The opensuse site recommends it with pbuffer. In all honesty, is there a big difference between the two? Im throwing terms without knowing much about what i am saying as noticed :p. cant wait for transparency! thanks again.

gnumdk
February 17th, 2006, 08:49 AM
gnumdk@lisa:~$ tail -n 8 /etc/gdm/gdm.conf-custom
[servers]
0=Xgl

[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl -ac -accel glx:pbuffer -accel xv:fbo
flexible=true


gnumdk@lisa:~$ cat /usr/share/xsessions/Xgl.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Xgl
Name[fr]=Xgl
Exec=/usr/bin/Xgl.sh
# no icon yet, only the top three are currently used
Icon=
Type=Application


gnumdk@lisa:~$ cat /usr/bin/Xgl.sh
#!/bin/bash
compiz --replace switcher decoration wobbly fade minimize cube rotate zoom scale move resize place menu &
gnome-window-decorator &
sleep 5 && keyboard &
gnome-session


gnumdk@lisa:~$ cat /usr/bin/keyboard
#!/bin/bash
#tree times !?! :(
setxkbmap -model pc105 -layout fr -variant basic
setxkbmap -model pc105 -layout fr -variant basic
setxkbmap -model pc105 -layout fr -variant basic

gnumdk@lisa:~$ cat /proc/driver/nvidia/cards/0
Model: GeForce FX Go5200
IRQ: 11
Video BIOS: 04.34.20.42.c1
Card Type: AGP

When i play videos, all is really fast!!!

I have this in glxinfo:

gnumdk@lisa:~$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float
GLX version: 1.2
GLX extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_SGIX_fbconfig, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce FX Go5200/AGP/SSE2
OpenGL version string: 1.2 (2.0.1 NVIDIA 81.78)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_lod,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_HP_occlusion_test, GL_IBM_texture_mirrored_repeat, GL_NV_blend_square,
GL_NV_texgen_reflection, GL_NV_texture_rectangle,
GL_NV_texture_env_combine4, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,
GL_SGIX_depth_texture, GL_SGIX_shadow
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon

I think that's why all is working perfectly, no mesa glx, only nvidia...

When i resize windows, it's fast too !

I've got a Gforce 4 at home, with black windows :( but glx info give me Mesa as opengl renderer :(

Don't really understand how it works as i have read everywhere that it can't work with nvidia glx ...

kamstrup
February 17th, 2006, 09:27 AM
Did you put wobbly back in the same place in the list of plugins? I guess some of the plugins depend on others having alrewady loaded so make sure wobbly is listed right after decoration.

Thanks, jasay! That was it. Also for some reason "decoration" was also removed from my gconf entry... I don't remember doing that my self, but restoring the options as listed in "thefuture" made everything work perfectly again :-D

Ainvar
February 17th, 2006, 09:32 AM
Ok, quick question that may or may not be stupid. How can I get Cedega working again so I can play Guild Wars. Since I have made the changes Cedega crashes when I try and load a game.

Here is the error I recieve. I have tried undoing the gdm.conf-custom along with restart the computer and not running "thefuture" on the cli after booting up.


X Error of failed request: BadImplementation (server does not implement operati on)
Major opcode of failed request: 129 (MIT-SHM)
Minor opcode of failed request: 5 (X_ShmCreatePixmap)
Serial number of failed request: 3669
Current serial number in output stream: 3675
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 55 (X_CreateGC)
Resource id in failed request: 0x3a0035c
Serial number of failed request: 3672
Current serial number in output stream: 3675



Also one thing I have noticed this morning since I am using my intelimouse is that my forward and back buttons no longer work. Scrolling still works very well, just not forward and back.

Any ideas?

Frafra
February 17th, 2006, 09:34 AM
I'm Dapper on a amd64, and it doesn't work for me. What I must do?

Uuranor
February 17th, 2006, 09:45 AM
Is normal that after 5 minutes of compiz use all become really slow? O.o
I've got a Ge Force FX 5700...

gnumdk
February 17th, 2006, 10:21 AM
Here is a package for dapper of current compiz cvs.

Zoom is much better!

http://hibbert.univ-lille3.fr/~cbellegarde/compiz_0.0.2-cvs-0_i386.deb

mikalh
February 17th, 2006, 10:28 AM
I'm Dapper on a amd64, and it doesn't work for me. What I must do?

If you're comfortable with building software from source, try my HOWTO: Build Xgl and Compiz from CVS on AMD64 (http://www.ubuntuforums.org/showthread.php?t=131659).

I have Xgl and compiz both working on AMD64 using this method.

jacrider
February 17th, 2006, 11:58 AM
Yes it does. Check out the xgl success thread. I think if you're going to have problems with anything it'll be in upgrading to breezy in the first place. Otherwise you might be lucky and it wil just be a case of changing your repositorys to breezy and doing an apt-get dist-upgrade
Chrisrx: Thanks for your reply. However, I am on Breezy, and when I tried the apt-get for compiz, I received an error that it wasn't found. Yet I have all the repositories enabled ... I think. Is that my problem?

Swatje
February 17th, 2006, 12:15 PM
Working on a GeForce 2 GO laptop video card.
with the CVS glitz

Swatje
February 17th, 2006, 12:17 PM
Chrisrx: Thanks for your reply. However, I am on Breezy, and when I tried the apt-get for compiz, I received an error that it wasn't found. Yet I have all the repositories enabled ... I think. Is that my problem?

Compliz work only with the latest dapper, because you need the last X.org server. It's only included in dapper.

poofyhairguy
February 17th, 2006, 12:32 PM
A couple of points I've found:

o Don't enable the Composite extension in xorg.conf for nvidia cards. Xgl already has it in and doesn't work properly if you enable the extension.

o I had problems with opengl apps crashing the server. According to compiz notes, it's best to start the Xgl on nvidia with:

command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo

The change from the howto here is from fbo to pbuffer for glx.

Thanks! I changed the guide to use pbuffer. Everyone update you gdm-custom file.

I originally tried not enabling the composite extension, but many people with Nvidia cards have contacted me saying that Compiz demands it so I had to add it back to my guide. I know Novell and everyone says that the extension is not needed and its bad, but when you have a problem like this:

http://www.ubuntuforums.org/showpost.php?p=742992&postcount=140

come up more than once, you just give in and add the composite extension. I personally have tried with it both in and out of my Xorg.conf and personally it is more stable for me with the composite extension in. So......

Ainvar
February 17th, 2006, 12:48 PM
poofy,
How can I undo the changes so I can get cedega running again? I backed up the gdm.conf-custom so I could switch back and forth but I am still getting the error I pasted a few posts back.

poofyhairguy
February 17th, 2006, 12:51 PM
poofy,
How can I undo the changes so I can get cedega running again? I backed up the gdm.conf-custom so I could switch back and forth but I am still getting the error I pasted a few posts back.

So did you delete the gdm.conf-custom? That plus a restart should put you back into regular X....

encho
February 17th, 2006, 12:55 PM
Hmm. Which apps? Just asking coz I ordered a GF6200 :D
Basicaly all of the opengl. Like glxgears. And some screensavers. Although I have noticed (in split second before it crashes) that the FPS has gone up from 1500 to 16000 when switching to xgl. But we should not be panicking, as I believe it is a driver issue that will be fixed. It is still too early to make any decisions (although I've bought this card to be able to run xgl :cool: )

No it's not an nvidia option, it's an Xorg option and Xgl use Xorg...

Things will be smoother with this options enabled.
Thanks for clearing that up.

Greg T.
February 17th, 2006, 02:17 PM
This is the script I'm using to start XGL and compiz these days. I have this in my home directory and fire it up at a prompt after hitting Ctrl + Alt + F1. Be sure to make it executable before you try it and precede the script name (whatever you call it) with a "./" (sorry for stating the obvious, but you never know who's reading).

#!/bin/bash
sudo /etc/init.d/gdm stop
sudo killall Xgl &
sudo killall Xorg &
sleep 2
sudo Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo &
sleep 4
DISPLAY=:0 gnome-window-decorator &
DISPLAY=:0 compiz gconf &
sleep 4
DISPLAY=:0 dbus-launch gnome-session

YMMV. I'm using an NVIDIA 6600. This might not work with older cards and ATI.

The dbus-launch reference on the last line helps solve problems I was having with some crashers at startup, such as gnome-power-manager.

Technoviking
February 17th, 2006, 02:18 PM
Is there a easy way to make panels (aka gnome-panel) and windows translucent with xgl?

nicky.7
February 17th, 2006, 02:19 PM
I'm running xgl on a nvidia 5500. I've these problems:

1)
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadImplementation (server does not implement operation)'.
Running firefox sometime i get this error:

(Details: serial 36 error_code 17 request_code 129 minor_code 5)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

2) video playback (speed problem).

3) In nautilus i don't have home and computer icon anymore.

4) Speed (render) is not costant. Sometimes it become slow for a while then it restart to work slightly.

Does anybody know a solution? Thanks

varunus
February 17th, 2006, 02:21 PM
Thanks! I changed the guide to use pbuffer. Everyone update you gdm-custom file.

I originally tried not enabling the composite extension, but many people with Nvidia cards have contacted me saying that Compiz demands it so I had to add it back to my guide. I know Novell and everyone says that the extension is not needed and its bad, but when you have a problem like this:

http://www.ubuntuforums.org/showpost.php?p=742992&postcount=140

come up more than once, you just give in and add the composite extension. I personally have tried with it both in and out of my Xorg.conf and personally it is more stable for me with the composite extension in. So......

Thanks for the pbuffer thing. That lets me use opengl while compiz is running. Now, the only bug I'm really seeing is the shift-backspace thing...(though, my keyboard is easy, so i'm immune to that.)

Milamber_Cubed
February 17th, 2006, 02:27 PM
This is my first post on here, I just had to get on here and offer my thanks for this howto it worked absolutely perfectly (once I sorted out my typos!).

Also a general thanks from me to everyone on here - I have never had to post before because I have always found the answers to my questions.

Anyway, to summarise this is my hardware:

6600GT (AGP)
ASUS A8V Deluxe
AMD Athlon 64 3500+

Followed this guide straight after a clean install of Dapper Flight 3 - i386 version, because the 64-bit install for Xgl seems a bit more involved ;) and it "just worked". I am a very happy camper. Haven't tried video yet, but glxgears runs without causing crashes as reported by others on this thread.

Only thing is that when I ran the "thefuture" script after logging in, I got a mwssage about limbenu.so not being found. This doesn't seem to be having any disasterous effects so I am not too worried, but would still like to know what is causing it. Any ideas?

Would I gain anything from installing the latest CVS versions of any of these things?

DeeZiD
February 17th, 2006, 02:45 PM
Just one question.

Is it possible to prevent Shift+Backslash from killing Xgl on Ubuntu?
On Gentoo nothing happens when hitting them together.
On Ubuntu it crashes the whole Xgl :(


regards Dennis

c0nfused
February 17th, 2006, 04:24 PM
Over on the Gentoo forums (here (http://forums.gentoo.org/viewtopic-t-432300-start-150.html)), there are claims that the black windows problem on certain Nvidia cards (Geforce4MX Series) has been fixed in the latest version of glitz. Has anyone had the black windows problem on Dapper and managed to get it fixed?

Ainvar
February 17th, 2006, 04:35 PM
PHG,
I got it working again by rebooting after renaming the gdm.conf-custom file. After that I can rename the file and just restart the X server as I need to when playing guild wars in cedega. I just cant wait till I can just stay in xgl server for everything. It makes everything just so bling bling bling.

People at work are loving it, now how to get my boss on the linux bandwagon......

codejunkie
February 17th, 2006, 04:38 PM
Over on the Gentoo forums (here (http://forums.gentoo.org/viewtopic-t-432300-start-150.html)), there are claims that the black windows problem on certain Nvidia cards (Geforce4MX Series) has been fixed in the latest version of glitz. Has anyone had the black windows problem on Dapper and managed to get it fixed?
yes it has been fixed with the new version of glitz and it seems to work very welll except xvideo is a little slow. here's the link to the post i made with the glitz package attached and how you compile it.
http://ubuntuforums.org/showpost.php?p=742304&postcount=109
hope this helps.

Frafra
February 17th, 2006, 05:06 PM
When I can use Xgl on my amd64 without recompile all?

poofyhairguy
February 17th, 2006, 05:32 PM
When I can use Xgl on my amd64 without recompile all?

Only the developers know that one.

poofyhairguy
February 17th, 2006, 05:32 PM
PHG,
I got it working again by rebooting after renaming the gdm.conf-custom file. After that I can rename the file and just restart the X server as I need to when playing guild wars in cedega. I just cant wait till I can just stay in xgl server for everything. It makes everything just so bling bling bling.

People at work are loving it, now how to get my boss on the linux bandwagon......


Glad to here you fixed it!

TheDude
February 17th, 2006, 05:39 PM
I spent about an hour last night getting this working (with the help of PHG) on my 6 year old Gateway desktop. Thankfully, about 6 months ago he talked me into getting an Nvidia 5200 and now I'm really reaping the benefits...It was well worth every penny. Compiz is amazing! Thanks PHG!\\:D/

codejunkie
February 17th, 2006, 05:40 PM
poof i followed your howto and after compiling glitz everything is working great except video, no matter what player i use video playback is really slow and xgl eats 100% cpu you wouldn't know a quick fix to this problem would you.
im using a GeForce4 MX 4000 with the latest nvidia driver.

poofyhairguy
February 17th, 2006, 05:56 PM
poof i followed your howto and after compiling glitz everything is working great except video, no matter what player i use video playback is really slow and xgl eats 100% cpu you wouldn't know a quick fix to this problem would you.
im using a GeForce4 MX 4000 with the latest nvidia driver.

Hmm....I honestly know that pre-Directx9 Nvidia cards (aka anything Geforce and older) are having some problems, but I don't know why.

We might actually be hitting the limit of some of this hardware! A Geforce4 MX 4000 is more like a Geforce 2 than a Geforce 4 so I might have trouble accerating video.

vendetta red
February 17th, 2006, 06:02 PM
I just have one small question. How do I get the top of the cube to display an svg? I have tried putting the path to several different svg's in apps/compiz/pluigns/cube/screen0/options/svgs but the top still displays gray. I tried deleting the color value, that didn't help. I can change the color value and make the top and bottom of the cube whatever I want, but I would really like to be able to put a svg up top.

poofyhairguy
February 17th, 2006, 06:11 PM
I just have one small question. How do I get the top of the cube to display an svg? I have tried putting the path to several different svg's in apps/compiz/pluigns/cube/screen0/options/svgs but the top still displays gray. I tried deleting the color value, that didn't help. I can change the color value and make the top and bottom of the cube whatever I want, but I would really like to be able to put a svg up top.

This has bugged me too. I don't think you can do it with the repo compiz. If someone can found out how then tell me, but for now I am trying to get it to work with a third party deb.

poofyhairguy
February 17th, 2006, 06:15 PM
I spent about an hour last night getting this working (with the help of PHG) on my 6 year old Gateway desktop. Thankfully, about 6 months ago he talked me into getting an Nvidia 5200 and now I'm really reaping the benefits...It was well worth every penny. Compiz is amazing! Thanks PHG!\\:D/

No problem. My official recommendation for those who can't get compiz to work with ATI cards and older Nvidia cards is to go buy a 5200 or 5500 FX (with 128+ ram if you can afford it). These cards come in PCI and AGP flavors and are really cheap- I bought a 5200 FX for $30 on Ebay in the middle of last year.

For me its not worth the pain getting it to work on an old Nvidia card unless its in your laptop. Then I feel you- find a way to get it to work for you and I will add it to the guide.

Here is a good cheap 5200 FX from a famous retailer with 128mb of RAM and a 128 bit bus:

http://www.newegg.com/Product/Product.asp?Item=N82E16814150041

codejunkie
February 17th, 2006, 06:15 PM
Hmm....I honestly know that pre-Directx9 Nvidia cards (aka anything Geforce and older) are having some problems, but I don't know why.

We might actually be hitting the limit of some of this hardware! A Geforce4 MX 4000 is more like a Geforce 2 than a Geforce 4 so I might have trouble accerating video.
i think i might have found it, on the opensuse xgl wiki it says that
XVideo will be very slow if hardware acceleration (pixel shaders) is not available. If using a composite manager, it will only be fast if FBOs or pBuffers are available and activated.my card dosen't have pixel shader support, i've heard that anything below a geforce 5200 dosen't have this, so it looks like anyone with cards lower than a geforce 5200 will be suffering with this video problem they listed somethings to try to improve it i'll post back if it works or not.

poofyhairguy
February 17th, 2006, 06:32 PM
There I fixed me guide. The backspace shift bug is gone and I made it clear that not everyone should add the composite extension!

MOST BUGS ARE GONE!

poofyhairguy
February 17th, 2006, 06:43 PM
Is there a easy way to make panels (aka gnome-panel) and windows translucent with xgl?

Transset and opacity pluggin.

fimbulvetr
February 17th, 2006, 06:49 PM
Hello,

I too am experiencing the:


compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :0.0


problem. I've done everything in the howto. Here's my custom file:


ubuntu:~$ egrep -v "^#" /etc/gdm/gdm.conf-custom

[daemon]

[security]

[xdmcp]

[gui]

[greeter]

[chooser]

[debug]

[servers]# Override display 1 to use Xgl (DISPLAY 1 IMPORTANT FOR ATI FGLRX).
0=Xgl

[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo
flexible=true


My 'thefuture':


ubuntu:~$ cat `which thefuture`
#!/bin/bash
gnome-window-decorator & compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher &


My hardware:


0000:01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti 4200 Go AGP 8x] (rev a1) (prog-if 00 [VGA])
Subsystem: Dell: Unknown device 0179
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop+ ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at f0000000 (32-bit, prefetchable) [size=64M]
Expansion ROM at fd000000 [disabled] [size=128K]
Capabilities: <available only to root>


Which, btw, nvidia claims it to have vertex and pixel shader support:
http://www.nvidia.com/page/geforce4go.html

I have these in my xorg:


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



Section "Device"
Identifier "GeForce 4200 Go Single"
#Driver "nv"
Driver "nvidia"
Option "NoLogo" "1"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "UseEdidFreqs" "on"
Option "NvAgp" "2"
Option "DigitalVibrance" "0"
Option "TwinView" "0"
Option "Monitor" "1"
EndSection



Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
#Load "v4l"
#Load "vbe"
EndSection


I've also compiled and install the newest glitz from cvs per poofyhairedguy's instructions.

Suggestions, anyone?

aent
February 17th, 2006, 07:02 PM
Working on a GeForce 2 GO laptop video card.
with the CVS glitz
How fast is it? Also, anyone know when the next glitz packages will get into the repo? Can't wait to see this work decently on my laptop.

skwid
February 17th, 2006, 07:51 PM
dumb question but what repo do i put in my sources.list to get compiz and things?

Technoviking
February 17th, 2006, 08:06 PM
Transset and opacity pluggin.
you don't mean the old transset program from xcompmgr?

Technoviking
February 17th, 2006, 08:07 PM
F11 - uses the Expose like trick

The only thing it does for me is full screen the focused app. I assune it supposed to do something else.

Mike

Rotarychainsaw
February 17th, 2006, 08:19 PM
f12 is the expose like trick. Maybe I jumped into the middle of a conversation. but hey. ;)

el3ktro
February 17th, 2006, 08:23 PM
Wow thanks for this guide, it works almost perfectly on my Dapper test install. There's one small annoying prolem though:

The wobbling windows are very smooth as long as I have the mouse button pressed, but as soon as the mouse button is release and the window slowly stops wobbling, it get's very laggy. Also the fadein/fadeout is sometimes laggy. Has anyone experienced the same problems? This only happens sometimes, but the CPU never goes over 10%.

Tom

iMil
February 17th, 2006, 08:45 PM
Ok here is a tip solving the "compiz: GLX_EXT_texture_from_pixmap is missing" once and for all (here at last ;)

The fact is nvidia-glx removes libgl1-mesa's /usr/lib/libGL.so.1.2, and makes libGL.so.1 point to NVidia's libGL.so.1.0.8178, which does NOT support GLX_EXT_texture_from_pixmap function.

Simple trick, nvidia-glx moves /usr/lib/libGL.so.1.2 to /usr/lib/nvidia/libGL.so.1.2.xlibmesa, so just

ln -sf /usr/lib/nvidia/libGL.so.1.2.xlibmesa usr/lib/nvidia/libGL.so.1

Use the original doc from this thread, and you're done.
Please note i've not tested yet if this has side effects over other OpenGL apps like games and such.

.k2600.
February 17th, 2006, 09:14 PM
The fact is nvidia-glx removes libgl1-mesa's /usr/lib/libGL.so.1.2, and makes libGL.so.1 point to NVidia's libGL.so.1.0.8178, which does NOT support GLX_EXT_texture_from_pixmap function.

Simple trick, nvidia-glx moves /usr/lib/libGL.so.1.2 to /usr/lib/nvidia/libGL.so.1.2.xlibmesa, so just

ln -sf /usr/lib/nvidia/libGL.so.1.2.xlibmesa usr/lib/nvidia/libGL.so.1


What about ati? I tried replacing libGL.so.1.2 which fglrx put in /usr/lib with one from libgl1-mesa package, i get some error and xgl won't start anymore ...

vendetta red
February 17th, 2006, 09:24 PM
What about ati? I tried replacing libGL.so.1.2 which fglrx put in /usr/lib with one from libgl1-mesa package, i get some error and xgl won't start anymore ...

ATI guide right here:

http://ubuntuforums.org/showthread.php?t=131253

Jedeye
February 17th, 2006, 09:55 PM
I don't make it very far :???: I got to the step that says
sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1and I get...
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package compiz
jon@dapper:~$

do I need to enable some more repositories? any help would be much appreciated.

el3ktro
February 17th, 2006, 10:13 PM
Yes, I think it's in the universe repo afaik, just enable all you can find in sources.list

Tom

Jedeye
February 17th, 2006, 10:39 PM
ahh yes... activating the universe repo was all it needed... rest of the guide workedl ike a charm. cant wait to show my osx buddies ;)

.k2600.
February 17th, 2006, 11:01 PM
ATI guide right here:

http://ubuntuforums.org/showthread.php?t=131253


jep .. tried that and got
compiz: GLX_EXT_texture_from_pixmap is missing
that's why I asked is there any flgrx fix for it ...

Jedeye
February 18th, 2006, 12:35 AM
CTRL + Left Click makes the select window snap to screen edges and other windows

Heretushi
February 18th, 2006, 01:01 AM
Sorry if this sounds completely newbish, but I saw the video and want to try this out on my desktop. I read the FULL 21 pages of the thread. Yeah, each and every post. But I still want to ask : is the guide on the first page "the complete package"? I mean... is it updated to include all the little fixes the 21 pages have brought upon?

Thanks. I'll try that a bit later. :) Then, I'll try to make it work on my laptop... Not sure how this will come out and don't know if this guide will help me as it's a 915 based graphic card. I hope, I hope.

vendetta red
February 18th, 2006, 01:04 AM
Sorry if this sounds completely newbish, but I saw the video and want to try this out on my desktop. I read the FULL 21 pages of the thread. Yeah, each and every post. But I still want to ask : is the guide on the first page "the complete package"? I mean... is it updated to include all the little fixes the 21 pages have brought upon?

Thanks. I'll try that a bit later. :) Then, I'll try to make it work on my laptop... Not sure how this will come out and don't know if this guide will help me as it's a 915 based graphic card. I hope, I hope.

Yes the guide on the front page is up-to-date and if you follow it you should be good to go. Oh and if you think this thread was long to read through, this one was created to clarify the massive 80 page thread that had the first tutorial (involving compiling) for Xgl and Compiz. ;)

Rotarychainsaw
February 18th, 2006, 01:32 AM
ahh yes, those were the good old days.

Bruno Silva
February 18th, 2006, 02:08 AM
Hi, I'm having a problem running this command in Dapper Drake:

sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1

it says that it can't find the components or something :s
anyway I tried to install some debs linked in this topic but as soon as I restarted gdm crashed complaining about something with xserver, I guess I'll have to reinstall Dapper Drake again (I'm new to this Linux world :))

Thanks in advance

Bruno Silva

Heretushi
February 18th, 2006, 02:24 AM
Did you add extra repository for your apt-get?

Bruno Silva
February 18th, 2006, 02:27 AM
No, what is that extra repository?

Thanks :)

Milamber_Cubed
February 18th, 2006, 02:30 AM
Sorry if this sounds completely newbish, but I saw the video and want to try this out on my desktop. I read the FULL 21 pages of the thread. Yeah, each and every post. But I still want to ask : is the guide on the first page "the complete package"? I mean... is it updated to include all the little fixes the 21 pages have brought upon?

Thanks. I'll try that a bit later. :) Then, I'll try to make it work on my laptop... Not sure how this will come out and don't know if this guide will help me as it's a 915 based graphic card. I hope, I hope.

I just posted my experiences of installing Xgl/compiz on a Intel 915GM based laptop in this thread: http://ubuntuforums.org/showthread.php?t=132074

In short, the guide in this thread is very helpful, but you may need to make some tweaks. ;)

aent
February 18th, 2006, 02:33 AM
It requires that you use universe in dapper.

quannum
February 18th, 2006, 03:45 AM
I'm seeing the same issues:

robsh@daedalus:/usr/lib/nvidia$ compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :1.0

With a 6600GT (agp) and the latest update from the dapper repository. Any ideas?

EDIT: Turns out I was logging into display 1 (CTRL-F8) instead of the xgl server on display 0 (CTRL-F7) - how do i stop the second display starting?

Bruno Silva
February 18th, 2006, 04:47 AM
Sorry to be asking again, but how can I add the needed repository for the apt-get? :confused:

Thanks :)

aamukahvi
February 18th, 2006, 05:00 AM
Sorry to be asking again, but how can I add the needed repository for the apt-get? :confused:
You will find lots of these things in the ubuntu breezy forums (beginner forum etc). But here goes.

Execute this on the command line:
sudo gedit /etc/apt/sources.list

edit the file so it contains these lines:
## Universe
deb http://archive.ubuntu.com/ubuntu dapper universe
deb-src http://archive.ubuntu.com/ubuntu dapper universe
Alternatively you can add "universe" to these lines, to the end.
## Main & Restricted
deb http://archive.ubuntu.com/ubuntu dapper main restricted
deb-src http://archive.ubuntu.com/ubuntu dapper main restricted

poofyhairguy
February 18th, 2006, 05:10 AM
Sorry if this sounds completely newbish, but I saw the video and want to try this out on my desktop. I read the FULL 21 pages of the thread. Yeah, each and every post. But I still want to ask : is the guide on the first page "the complete package"? I mean... is it updated to include all the little fixes the 21 pages have brought upon?


Its the best I can do for Nvidia cards.

Bruno Silva
February 18th, 2006, 05:13 AM
You will find lots of these things in the ubuntu breezy forums (beginner forum etc). But here goes.

Execute this on the command line:
sudo gedit /etc/apt/sources.list

edit the file so it contains these lines:
## Universe
deb http://archive.ubuntu.com/ubuntu dapper universe
deb-src http://archive.ubuntu.com/ubuntu dapper universe
Alternatively you can add "universe" to these lines, to the end.
## Main & Restricted
deb http://archive.ubuntu.com/ubuntu dapper main restricted
deb-src http://archive.ubuntu.com/ubuntu dapper main restricted

Thanks a lot, it worked :) I'm installing everything now :)

campusloop
February 18th, 2006, 05:17 AM
If anybody is interested in using Xgl with kde the taskbar and system tray problems can be solved by.

taskbar - go to kcontrol->desktop->taskbar->check "show windows from all desktops". taskbar entries in kicker then should be created properly.

system tray - there is an attached patch for kdelibs/kdeui/ksystemtray.cpp.
1. unpack kdelibs-3.5.1.tar.bz2 ( from download.kde.org )
2. rename ksystemtray-xgl.txt to ksystemtray-xgl.diff
2. apply patch from within kdelibs-3.5.1 directory - patch -p1 < ksystemtray-xgl.diff
3. configure
4. cd kdeui; make; sudo make install ( there is no need to compile whole of kdelibs )
5. restart kde.


EDIT 1 -- make sure x11proto-core-dev and libx11-dev are installed ( sudo apt-get install x11proto-core-dev libx11-dev )

EDIT 2 - update patch and instructions are at http://www.ubuntuforums.org/showpost.php?p=758925&postcount=21

Koybe
February 18th, 2006, 07:12 AM
Hello, everything seems to work well but those keys won't work.
CTRL + ALT + Left/right arrow key. Switches to the new side of the cube for me.

CTRL + ALT + SHIFT + Left/Right arrow key- Takes the in focused app around cube.

Alt- Tab - switcher Vista-style

When i try moving the cube or windows with the mouse + CTRL + ALT, everything is working. When i use only keyboard nothing is working? Any idea?

Also... I don't know how to set windows transparency as i saw in some videos?

And Many thanks for the howto... and the universe debs ;-)

Blind-Summit
February 18th, 2006, 07:19 AM
Hey guys. This seems a good thread to ask about dual screen setups. I have posted this else where with no reply so I wanted to ask how I can setup dual monitors on my GeForce 4 Ti4600. I have an AOC Spectrum 17" @ 1280x1024 and an Iiyama VisionMaster 500 21" at 1600x1200

All the other threads I have read have caused me errors. I have used their code and substituded my settings in, but it fails.

Any ideas please?

MamiyaOtaru
February 18th, 2006, 07:58 AM
system tray - there is an attached patch for kdelibs/kdeui/ksystemtray.cpp.
1. unpack kdelibs-3.5.1.tar.bz2 ( from download.kde.org )
2. rename ksystemtray-xgl.txt to ksystemtray-xgl.diff
2. apply patch from within kdelibs-3.5.1 directory - patch -p1 < ksystemtray-xgl.diff
3. configure
4. cd kdeui; make; sudo make install ( there is no need to compile whole of kdelibs )
5. restart kde.
You could drop step 2a and have step 2b be 2. apply patch from within kdelibs-3.5.1 directory - patch -p1 < ksystemtray-xgl.txt ;)

Doesn't compile here though.

/usr/src/kdelibs-3.5.1/./kdeui/ksystemtray.cpp: In constructor 'KSystemTray::KSystemTray(QWidget*, const char*)':
/usr/src/kdelibs-3.5.1/./kdeui/ksystemtray.cpp:77: error: 'None' was not declared in this scope
/usr/src/kdelibs-3.5.1/./kdeui/ksystemtray.cpp:86: error: 'None' was not declared in this scope
/usr/src/kdelibs-3.5.1/./


Link to the origin of this patch please?

lucas
February 18th, 2006, 08:30 AM
This worked fine on my old computer with a geforce2 mx. i had to install new glitz with deb1 (http://cas.pluxbox.org/xgl/libglitz1_cvs_i386.deb) and deb2 (http://cas.pluxbox.org/xgl/libglitz-glx1_cvs_i386.deb), beware though. this will install overwrite the universe ones, so be sure to uninstall glitz and glitz-glx first.

I havent got video to work yet though, opengl games are painfully slow and alt-gr does only semi-work. However, this still rocks! :)

Gurke
February 18th, 2006, 08:51 AM
Did all this. I'm using a MX400 and I installed the glitz debs from one post above, because with the universe ones I only get the nice black screen and hourglass.
When I run compiz, there are no errors. But the only thing that changes is that my windows don't have decorations anymore. No effects at all...

Koybe
February 18th, 2006, 08:57 AM
Hello, everything seems to work well but those keys won't work.


When i try moving the cube or windows with the mouse + CTRL + ALT, everything is working. When i use only keyboard nothing is working? Any idea?

Also... I don't know how to set windows transparency as i saw in some videos?

And Many thanks for the howto... and the universe debs ;-)

Got this corrected with
setxkbmap -model pc105 -layout be

I still don't know how to get window transparency anyway...

SuperDiscoMachine V.5.7-3
February 18th, 2006, 09:05 AM
Just wanted to say thanks for the great howto.
After compiling glitz from cvs everything now works like a charm and I'm having a constant eyegasm. :-D

DiGiTaLFX
February 18th, 2006, 10:09 AM
Thanks it works really well. GeForce2Ti here. Had to compile glitz from cvs (note I had to get libgl-mesa-dev as well as the xserver dev package).
Thanks very much for the guide!

DeeZiD
February 18th, 2006, 10:53 AM
Thanks for your HowTo, works great ;)
I've deleted my gentoo a few minutes ago (don't need it anymore)


regards Dennis

jannone
February 18th, 2006, 11:08 AM
If you're having a GLX_EXT_texture_from_pixmap error, and you have the nvidia-glx package installed, try this:

LD_LIBRARY_PATH=/usr/lib/nvidia compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher

If the error is gone, but compiz seems to be frozen, try not loading the "gconf" plugin (just remove it from the command above and try again).

Do not forget to start gnome-window-decorator, or else you won't notice compiz running. Also, after both start running, the window title bar from your maximized windows might be cut out of the screen (and you'll think it's not working when in fact it is). Just press Alt while dragging the window and you'll get to the title bar again.

Heretushi
February 18th, 2006, 11:20 AM
Its the best I can do for Nvidia cards.
And I'm sure it will work just fine! Thanks for this guide. I'm gonna try it a bit later. :KS

byen
February 18th, 2006, 11:29 AM
Hey poofy,
I think you just got dugg! great work man... keep up the great work!

Henrik
February 18th, 2006, 12:53 PM
Has anyone been able to capture some video of this running on an Ubuntu system?

If we could get some decent footage in ogg format I can add it to https://wiki.ubuntu.com/DapperExampleContent (which will be included on the final CD) as a special preview. Novel has some nice videos, but we obviously cannot use those ...

campusloop
February 18th, 2006, 01:00 PM
You could drop step 2a and have step 2b be 2. apply patch from within kdelibs-3.5.1 directory - patch -p1 < ksystemtray-xgl.txt ;)

Doesn't compile here though.

/usr/src/kdelibs-3.5.1/./kdeui/ksystemtray.cpp: In constructor 'KSystemTray::KSystemTray(QWidget*, const char*)':
/usr/src/kdelibs-3.5.1/./kdeui/ksystemtray.cpp:77: error: 'None' was not declared in this scope
/usr/src/kdelibs-3.5.1/./kdeui/ksystemtray.cpp:86: error: 'None' was not declared in this scope
/usr/src/kdelibs-3.5.1/./


Here is an updated version of the patch.. Can you please try with this.


Link to the origin of this patch please?


I created the patch myself.
Anyway.. This patch modifies KSystemTray to use freedesktop.org hints to embed themselves in the tray.

EDIT 1 -- make sure x11proto-core-dev and libx11-dev are installed ( sudo apt-get install x11proto-core-dev libx11-dev )

EDIT 2 - Another patch update and instructions are at http://www.ubuntuforums.org/showpost.php?p=758925&postcount=21

plb
February 18th, 2006, 01:37 PM
I get this when building xgl on amd64

xglcompose.c; \
then mv -f ".deps/xglcompose.Tpo" ".deps/xglcompose.Po"; else rm -f ".deps/xglcompose.Tpo"; exit 1; fi
xglcompose.c: In function ‘xglCompositeGeneral’:
xglcompose.c:134: error: ‘union _SourcePict’ has no member named ‘source’
xglcompose.c:172: error: ‘union _SourcePict’ has no member named ‘source’
make[3]: *** [xglcompose.o] Error 1
make[3]: Leaving directory `/home/plb/build/xserver/xorg/hw/xgl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/plb/build/xserver/xorg/hw/xgl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/plb/build/xserver/xorg/hw'
make: *** [all-recursive] Error 1

deepbluepixel
February 18th, 2006, 01:43 PM
when I do "setxkbmap -model pc105 -layout se" I get "Error loading new keyboard description"

Bigredman74
February 18th, 2006, 02:19 PM
poofyhairguy,

Thanks for taking the time to start and support this thread.

Your guide works great, but I did have a couple issues with a fresh install of Dapper Drake Flight 3.

First I had to enable the universe repositories to get compiz.

Ref: http://www.ubuntuforums.org/showpost.php?p=746207&postcount=212

Then I had to change the default color depth to 24 to prevent a redraw problem with my nVidia NV28 [GeForce4 Ti 4200 Go AGP 8x] on my Dell Latitude D800. After setting it to 24 and restarting, the error libmenu.so missing also went away.

Ref: http://www.ubuntuforums.org/showthread.php?p=746483#post746483

Thanks again to you and thanks to everyone who made this possible. My computer has never looked better!

All the best,
Tim

Blind-Summit
February 18th, 2006, 02:29 PM
Hey guys. This seems a good thread to ask about dual screen setups. I have posted this else where with no reply so I wanted to ask how I can setup dual monitors on my GeForce 4 Ti4600. I have an AOC Spectrum 17" @ 1280x1024 and an Iiyama VisionMaster 500 21" at 1600x1200

All the other threads I have read have caused me errors. I have used their code and substituded my settings in, but it fails.

Any ideas please?

Anyone?

[S2]
February 18th, 2006, 02:29 PM
Hello!
I installed it and it works, but it is very slow. I have a i810 and glxinfo says that Direct Rendering is not on when I run the Xgl server (it is on when i run Xorg). Does Xgl support DRI for the i810 chipset?

poofyhairguy
February 18th, 2006, 02:41 PM
Hey guys. This seems a good thread to ask about dual screen setups. I have posted this else where with no reply so I wanted to ask how I can setup dual monitors on my GeForce 4 Ti4600. I have an AOC Spectrum 17" @ 1280x1024 and an Iiyama VisionMaster 500 21" at 1600x1200

All the other threads I have read have caused me errors. I have used their code and substituded my settings in, but it fails.

Any ideas please?

You can't share a destkop between the two unless they share a resolution.

If that is the case, search the forum for Twinview!

Milamber_Cubed
February 18th, 2006, 02:42 PM
Then I had to change the default color depth to 24 to prevent a redraw problem with my nVidia NV28 [GeForce4 Ti 4200 Go AGP 8x] on my Dell Latitude D800. After setting it to 24 and restarting, the error libmenu.so missing also went away.

Ref: http://www.ubuntuforums.org/showthread.php?p=746483#post746483



I think that what happens here is that after the first timne you try to run compiz it will stop paying attention to what modules you tell it to load in the "the future" script. If you run gconf-editor apps>compiz>general>allscreens>options and look at the "actiuve_plugins" setting you will see that menu is in fact not on there. The menu library isn't actually installed (have a look in /usr/lib/compiz to confirm) if you use the debs, but this doesn't seem to break anything, so I gues it's no problem really.

Has anyone got the menu plugin working after compiling compiz from source? If so, did you have to compile any of the other packages or just stick with the debs?

poofyhairguy
February 18th, 2006, 02:47 PM
']Hello!
I installed it and it works, but it is very slow. I have a i810 and glxinfo says that Direct Rendering is not on when I run the Xgl server (it is on when i run Xorg). Does Xgl support DRI for the i810 chipset?

Not yet.

[S2]
February 18th, 2006, 02:48 PM
Not yet.

Thanks

plb
February 18th, 2006, 02:56 PM
Anyone want to create a working amd64 deb pkg for xgl?

Koybe
February 18th, 2006, 03:19 PM
when I do "setxkbmap -model pc105 -layout se" I get "Error loading new keyboard description"

Try it two times. First time I got an error, second time it worked well.

GL.

prateek51
February 18th, 2006, 03:51 PM
Hey, im trying to get compiz etc. from apt-get. But whenever i try i get this error:


$ sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1

Reading package lists... Done
Building dependency tree... Done
libgl1-mesa is already the newest version.
xserver-xorg is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
compiz: Depends: libbonobo2-0 (>= 2.13.0) but 2.10.1-0ubuntu1 is to be installed
Depends: libcairo2 (>= 1.0.2-2) but 1.0.2-0ubuntu1 is to be installed
Depends: libgcc1 (>= 1:4.0.2) but 1:4.0.1-4ubuntu9 is to be installed
Depends: libglib2.0-0 (>= 2.9.3) but 2.8.3-0ubuntu1 is to be installed Depends: libgnomeui-0 (>= 2.13.0) but 2.12.0-0ubuntu1 is to be installed
Depends: libgnomevfs2-0 (>= 2.13.4) but 2.12.1-0ubuntu2 is to be installed
Depends: libpango1.0-0 (>= 1.11.5) but 1.10.1-0ubuntu1 is to be installed
Depends: libqt4-core (>= 4.1.0) but it is not going to be installed
Depends: libqt4-gui (>= 4.1.0) but it is not going to be installed
Depends: libstdc++6 (>= 4.0.2-4) but 4.0.1-4ubuntu9 is to be installed Depends: libwnck18 (>= 2.13.91) but 2.12.1-0ubuntu2 is to be installed Depends: libxml2 (>= 2.6.23) but 2.6.21-0ubuntu1 is to be installed
libglitz-glx1: Depends: libglitz1 (>= 0.5.1+cvs20060213) but 0.4.4-0ubuntu3 is to be installed
xserver-xgl: Depends: libglitz1 (>= 0.5.1+cvs20060213) but 0.4.4-0ubuntu3 is to be installed
E: Broken packages

aent
February 18th, 2006, 04:03 PM
You can't share a destkop between the two unless they share a resolution.

If that is the case, search the forum for Twinview!
Yes you can, I used to have that setup before I got a new second monitor (unless its something Xgl specific)

Use the metamodes option in xorg.conf specifying each monitor by its name (if they are both CRTs, use CRT-0: and CRT-1: and just flip them around if its not working, try both with a lower resolution that they both support while you work each one up)

kalphegor
February 18th, 2006, 04:49 PM
/usr/bin/thefuture: line 2: gnome-window-decorator: command not found
/usr/bin/thefuture: line 2: compiz: command not found

i install everything mentioned here, but i can't get it working :-k

aent
February 18th, 2006, 04:52 PM
/usr/bin/thefuture: line 2: gnome-window-decorator: command not found
/usr/bin/thefuture: line 2: compiz: command not found

i install everything mentioned here, but i can't get it working :-k
It looks like you are missing the compiz package. Install compiz from the package manager or apt-get install compiz

kalphegor
February 18th, 2006, 05:12 PM
It looks like you are missing the compiz package. Install compiz from the package manager or apt-get install compiz
i re-install compiz package

sudo apt-get remove compiz
sudo apt-get install compiz

thanks, now it works well :)

liquidcable
February 18th, 2006, 05:55 PM
I can't get compiz to download.

Error message is :
E: Couldn't find package compiz

--
heath

kalphegor
February 18th, 2006, 06:07 PM
I can't get compiz to download.

Error message is :
E: Couldn't find package compiz

--
heath
add extra repositories
sudo gedit /etc/apt/sources.list
replace everything with
#
# deb cdrom:[Ubuntu 6.04 _Dapper Drake_ - Alpha i386 (20060115)]/ dapper main restricted

deb cdrom:[Ubuntu 6.04 _Dapper Drake_ - Alpha i386 (20060115)]/ dapper main restricted

deb http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

deb http://us.archive.ubuntu.com/ubuntu/ dapper universe
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper universe

deb http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
deb http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://security.ubuntu.com/ubuntu dapper-security universe

update the repositories list
sudo apt-get update

poofyhairguy
February 18th, 2006, 07:16 PM
Yes you can, I used to have that setup before I got a new second monitor (unless its something Xgl specific)

Use the metamodes option in xorg.conf specifying each monitor by its name (if they are both CRTs, use CRT-0: and CRT-1: and just flip them around if its not working, try both with a lower resolution that they both support while you work each one up)


Thanks for the tip!

wermerskoch
February 18th, 2006, 07:22 PM
Prateek51 said: "Hey, im trying to get compiz etc. from apt-get. But whenever i try i get this error:"

I'm getting the exact same message. I just tried editing my sources.list to include all the dapper repositories that someone else just mentioned (a couple posts up, I think), and now I'm just getting :

The following packages have unmet dependencies:
compiz: Depends: libgnomeui-0 (>= 2.13.0) but 2.12.0-0ubuntu1 is to be installed
Depends: libgnomevfs2-0 (>= 2.13.4) but 2.12.1-0ubuntu2 is to be installed

Any ideas anyone? Thanks!

Warner

andydude117
February 18th, 2006, 07:34 PM
Yeah, I'm gettin the same thing wermerskoch said. I'm running the LiveCD on a G5. I would insall it, but I can't because of the yaboot bug. I don't want to repartition my internal HD, so I'm stuck with OS X.

Is the problem because I'm using a LiveCD and on a G5?

Thanks,
Andy