PDA

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


Pages : 1 2 [3] 4 5 6

opera118
February 22nd, 2006, 07:27 AM
I'm not Novell but ;) :
You start xgl (with gdm.conf-custom) without a supported driver (nv) ... so results could be weird ;) .. no ?

No, not even close. I don't know why I keep going in this thread, but I left xgl long ago... I got some serious sh*t going on here... My gconf seems to have broken down. So I thought I would try gconf-sanity-check-2 (which is supposed to be in /usr/lib/gconf2/gconf-sanity-check-2, at least in breezy) from the gconf2 package (which I have), but I don't have the directory /usr/lib/gconf2/... I'm getting tired of this.
Where is gconf-sanity-check-2 in dapper? Are things supposed to be this broken?
I could start a dozen new threads from all my problems, but... Well, I'm lazy.

EDIT: Found it. It's in /usr/lib/libgconf2-4/gconf-sanity-check-2 in Dapper for some reason. I love such changes, I wonder if there'll be a massive changelog with stuff like this.

poofyhairguy
February 22nd, 2006, 07:37 AM
Are things supposed to be this broken?


Yes. You are trying to use eye candy that cannot even be considered to be at a beta stage on a development distro thats has not hit its big freeze.

Everything about it screams "just might not work." I hoped my guide could help those who it can work for, but at this point no one can expect that much.

poofyhairguy
February 22nd, 2006, 07:38 AM
btw, has anybody noticed that deskbar-applet stoped taking input with Xgl running?

It seems that applet is tied to Metacity.

opera118
February 22nd, 2006, 07:45 AM
Yes. You are trying to use eye candy that cannot even be considered to be at a beta stage on a development distro thats has not hit its big freeze.

No, I'm not, I have given up Xgl. But breezy->dapper in general seems to have breaked a LOT of things. That, I was actually not really prepared for. I thought dapper was about to be released in a couple of weeks.
And yeah, another thing in my nightmare of messiness. Apt-get stopped working, so I had to set its cache size manually... Do you still have to do that? In the year 2006? Jee.. I remember doing that in debian like 5 years ago. Things are still depending on stupid static values...
Maybe I should just quit all my other projects I'm working on and start fixing these things. I'm surprised we aren't moving faster.

nuzzy
February 22nd, 2006, 07:46 AM
Anybody with similar problems to mine, i did a
sudo apt-get install gnome-compiz
solved it and everything is working again.

Having some problems with the keybindings tough, seems like some keys doesn't want to work together with others, like <Alt>Tab and <Control>Tab and such.
Does anybody know what keykode the win key has? Xev said <Select> but that does nothing for me.


Hmmm...didn't work for me. I even tried removing compiz, compiz-gnome and compiz-kde and reinstalling, but still get the libmenu.so error.

By the way, anyone using the kde-window-decorator??

suoko
February 22nd, 2006, 08:30 AM
Is any of you using nvidia legacy drivers with renderaccel option enabled?
I wanted to know if only my system hangs with that option enabled.
The strange thing is that it hangs after an unpredictable amount of time. It can be after 1 hour or after 5 mins.
And I'm sure it's that option which causes the freeze since without it the pc can stay on for days.
If I'm the only one I suspect it could be a problem of the geforce256 card, not of the driver...

g14
February 22nd, 2006, 08:35 AM
Dapper runs fine. I have ran it every day for the past 2 months without any major issues except when they did the 2.6.12 --> 2.6.15/removal of hotplug transitions and the x.org overhaul. The Dapper development cycle seems more sane and stable than the Breezy development cycle.

I run Xgl/compiz and it runs fine with Deskbar. I hit F3 and the deskbar searchbar pops up. If you want, I'll attach a screenshot after I get home.

To poofyhairguy... Making a shell script (/usr/bin/thefuture) and having it run under your session is very hackish. Try this instead:

1.) ALT F2 and put in
compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher
2.) System --> Preferences --> Sessions --> Startup Programs --> Add. Put in gnome-window-decorator and then add in another containing compiz gconf.
3.) Logout and then back in to gnome.
4.) Profit :)

Same effect, less hackish, just my 0.3 cents.

Milamber_Cubed
February 22nd, 2006, 08:52 AM
Hmmm...didn't work for me. I even tried removing compiz, compiz-gnome and compiz-kde and reinstalling, but still get the libmenu.so error.

By the way, anyone using the kde-window-decorator??

Once again, I would like to point out that the menu plugin DOES NOT EXSIST in the debs, which I assume are build from quite recent CVS snapshots. If you don't believe me look at the changelog dated 2006-02-16 for compiz here:

http://webcvs.freedesktop.org/xorg/app/compiz/ChangeLog?rev=1.14&view=markup

You COULD download the compiz source code, modify the configure.ac file and then build it with the menu plugin... but I assume it has been taken out of the default build for a reason. :D

PHG : Maybe the menu option should be removed from the guide??

sapo
February 22nd, 2006, 10:14 AM
Anybody with similar problems to mine, i did a
sudo apt-get install gnome-compiz
solved it and everything is working again.

Having some problems with the keybindings tough, seems like some keys doesn't want to work together with others, like <Alt>Tab and <Control>Tab and such.
Does anybody know what keykode the win key has? Xev said <Select> but that does nothing for me.
Thanx it worked, but its:

sudo apt-get install compiz-gnome

Havoc
February 22nd, 2006, 10:20 AM
One -no relation- question.

Does XGL (and Compiz for that matter) *need* a Nvdia (or ATI) graphics card?
I'm thinking of buying an old HP laptop, but it's equipped with a Trident card, quite nicely supported under open source drivers.
But, do I *need* a Nvidia or ATI card? Are there any "driver dependant" features or whatever?

Thanks. :D

sapo
February 22nd, 2006, 11:10 AM
One -no relation- question.

Does XGL (and Compiz for that matter) *need* a Nvdia (or ATI) graphics card?
I'm thinking of buying an old HP laptop, but it's equipped with a Trident card, quite nicely supported under open source drivers.
But, do I *need* a Nvidia or ATI card? Are there any "driver dependant" features or whatever?

Thanks. :D
I think it needs openGL, and i dont think a trident vga would have a good openGL support.

rastx
February 22nd, 2006, 11:53 AM
OK i got it installed and working pretty good (Amazing stuff!!!!)...

But, the system always locks up after a while. Completely frozen/unresponsive.

It happens consistently but somewhat randomly, usually (but not always) when using OpenGL/accelerated apps such as 3D screensavers or XGL...

This seems to be happening with all my Linux installs, so is it a bug with OpenGL or the NVIDIA driver? Can anyone reccommend a fix? A more stable version of the NVIDIA driver perhaps?

Thanks guys!

2GHz AthlonXP / GeForce FX 5200 (256MB) / 1 GB RAM

denisesballs
February 22nd, 2006, 12:14 PM
The only real "bug" I've noticed is when a window is minimized it shows up on all the workspaces instead of staying on it's own. Anyone else notice that?

Athropos
February 22nd, 2006, 12:45 PM
The only real "bug" I've noticed is when a window is minimized it shows up on all the workspaces instead of staying on it's own. Anyone else notice that?

I see this also, but everything else is just fine :p

Heretushi
February 22nd, 2006, 01:00 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!
I still have the Shift + Backspace issue. I've not followed the whole guide though. What command/configuration should fix this issue? I had to reboot 3 times just to write this message as I have a high tendency to do this error.

Thanks! :)

grendelkhan
February 22nd, 2006, 01:57 PM
Finally!

Went into /var/cache/apt/archive, installed the old versions of mesa, ripped out compiz, deleted the debs out of cache, and then apt-get installed compiz-gnome and everything works again.

Yeesh.

There are moments I hate being bleeding edge.

woland
February 22nd, 2006, 02:34 PM
There is a problem with Nvidia legacy drivers. There are no restricted legacy modules for 2.6.15-xx core versions and compiling drivers from Nvidia wouldn't help (for new versions) or work (for older).

Xorg did load with XGL with 2.6.12-10 in Breezy, but wouldn't work in Dapper. All my other attempts ended with Xorg failing to load. Had a nice blue screen telling me that there are no compatible drivers.

I have Athlon XP with Gforce 2 MX 400. Quite an oldie, but should be enough.

poofyhairguy
February 22nd, 2006, 04:58 PM
I still have the Shift + Backspace issue. I've not followed the whole guide though. What command/configuration should fix this issue? I had to reboot 3 times just to write this message as I have a high tendency to do this error.

Thanks! :)

Solution is in my guide. This command solved it for me:

xmodmap /usr/share/xmodmap/xmodmap.us

Use that everytime you start XGL.

poofyhairguy
February 22nd, 2006, 04:59 PM
OK i got it installed and working pretty good (Amazing stuff!!!!)...

But, the system always locks up after a while. Completely frozen/unresponsive.

It happens consistently but somewhat randomly, usually (but not always) when using OpenGL/accelerated apps such as 3D screensavers or XGL...

This seems to be happening with all my Linux installs, so is it a bug with OpenGL or the NVIDIA driver? Can anyone reccommend a fix? A more stable version of the NVIDIA driver perhaps?

Thanks guys!

2GHz AthlonXP / GeForce FX 5200 (256MB) / 1 GB RAM

Do you have the composite extension enabled in your Xorg.conf. If so, remove it.

poofyhairguy
February 22nd, 2006, 05:05 PM
To poofyhairguy... Making a shell script (/usr/bin/thefuture) and having it run under your session is very hackish.

What can I say, I love to use shell script hacks in my guides. They work well for me.

But just so people have the option I link to your post on the front page!

poofyhairguy
February 22nd, 2006, 05:07 PM
There is a problem with Nvidia legacy drivers. There are no restricted legacy modules for 2.6.15-xx core versions and compiling drivers from Nvidia wouldn't help (for new versions) or work (for older).

Xorg did load with XGL with 2.6.12-10 in Breezy, but wouldn't work in Dapper. All my other attempts ended with Xorg failing to load. Had a nice blue screen telling me that there are no compatible drivers.

I have Athlon XP with Gforce 2 MX 400. Quite an oldie, but should be enough.

I hate to be the one to tell you this, but if you have a Nvidia card so old that its not supported by the current drivers then eventually you will HAVE to upgrade to really enjoy XGL. Even if you get it to work somehow, when the next Nvidia driver comes will full support for XGL (aka no more mesa) you will be missing out.

poofyhairguy
February 22nd, 2006, 05:08 PM
One -no relation- question.

Does XGL (and Compiz for that matter) *need* a Nvdia (or ATI) graphics card?
I'm thinking of buying an old HP laptop, but it's equipped with a Trident card, quite nicely supported under open source drivers.
But, do I *need* a Nvidia or ATI card? Are there any "driver dependant" features or whatever?

Thanks. :D

I plan to buy a laptop soon and the rule I established is that the video card can't be weaker than a 5200 FX.

poofyhairguy
February 22nd, 2006, 05:09 PM
PHG : Maybe the menu option should be removed from the guide??

Done.

Heretushi
February 22nd, 2006, 05:20 PM
Solution is in my guide. This command solved it for me:

xmodmap /usr/share/xmodmap/xmodmap.us

Use that everytime you start XGL.
Could I include this line in the shell script "hack" ? :P Would this work without me having to retype the command everytime I start my Linux?

Thanks! :)

Koybe
February 22nd, 2006, 05:32 PM
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?

Hello, how do you get rid of that problem?

poofyhairguy
February 22nd, 2006, 05:36 PM
Could I include this line in the shell script "hack" ? :P Would this work without me having to retype the command everytime I start my Linux?

Thanks! :)

I don't know. If it works tell me and I will add that to my guide.

Brain_Recall
February 22nd, 2006, 05:42 PM
Hello, how do you get rid of that problem?

Koybe, I had the same problem, and the person you quoted fixed it. Here's how:

Fire up a terminal, enter the following:
sudo gedit /etc/X11/xorg.conf

Scroll down to "Section "Screen""

Change the DefaultDepth to 24 instead of 16.

Save, reboot, and enjoy!

flying_nomad
February 22nd, 2006, 06:34 PM
Can somebody tell me wich of the guide's i have to follow ?

I know i have to use the Nvidia guide, but it seems like there is a wiki out too.

How about that wiki, is that so short because of it's a package ??

https://wiki.ubuntu.com/XglHowto


Thanks for explaining (and all the hard work done out there)

Pat

stoffe
February 22nd, 2006, 07:10 PM
Two quick questions:

* the wobbly fade effect on everything (tooltips, windows, dropdown menus... everything) that is the fade plugin right? I can't seem to get rid of it, or at least tweak it to only do windows and not tooltips/menus. Does anyone have any enlightenment on this? It's very annoying on tooltips and say the URL bar in FF, but ok on windows and dialogs. But i can't seem to make any changes in gconf, although the delay value does have effect.

* I use "stay on top" a *lot* as well as some other similar features of other window managers. I see "on top" when right-clicking window bar but it's grayed out - is it just a placeholder or is it possible to activate somehow?

All in all, I'm looking forward to when someone starts to write (more) usability features for this, that is going to make my desktop rock. Spinning a cube or wobble a window is cute but gets boring in about a minute, and it quickly gets annoying instead when features are missing. I can wait though. :)

Thanks.

Milamber_Cubed
February 22nd, 2006, 07:55 PM
Two quick questions:

* the wobbly fade effect on everything (tooltips, windows, dropdown menus... everything) that is the fade plugin right? I can't seem to get rid of it, or at least tweak it to only do windows and not tooltips/menus. Does anyone have any enlightenment on this? It's very annoying on tooltips and say the URL bar in FF, but ok on windows and dialogs. But i can't seem to make any changes in gconf, although the delay value does have effect.


To get rid of this, I think you can run gconf-editor and go to apps>compiz>plugins>wobbly>screen0 and edit the map_effect value and set it to "None". If it's already like that then change it to "Shiver" adn then to "None" and it should do SOME what you want i.e. get rid of the wobbly effect. The fade will still be there, but you can either speed that up or mess around with the settings of window_types in the fade plugin settings until you get what you want.

Hope it helps :)

stoffe
February 22nd, 2006, 08:17 PM
To get rid of this, I think you can run gconf-editor and go to apps>compiz>plugins>wobbly>screen0 and edit the map_effect value and set it to "None". If it's already like that then change it to "Shiver" adn then to "None" and it should do SOME what you want i.e. get rid of the wobbly effect. The fade will still be there, but you can either speed that up or mess around with the settings of window_types in the fade plugin settings until you get what you want.

Hope it helps :)
Perfect, thanks a lot! Exactly what I wanted. :D

pecanov
February 22nd, 2006, 11:37 PM
I've noticed that some windows, sometimes, fade to colorless.
Now, my question is, who holds this feature (compiz, a plugin of compiz, the decorator?), and how can I disable it?

It really affects fullscreen video performance. I think that without this, it will run very smoothly, since if I resize the window manually, performance is inaffected.

aent
February 23rd, 2006, 12:11 AM
I believe that would be the fade plugin of compiz. Its only supposed to fade when a window stops responding (for example, a program crashed, is busy and wouldn't respond to anything you do, or if its stopped)

pecanov
February 23rd, 2006, 12:38 AM
I've disabled the fade plugin.
Windows still turn colorless.

Koybe
February 23rd, 2006, 01:30 AM
Koybe, I had the same problem, and the person you quoted fixed it. Here's how:

Fire up a terminal, enter the following:
sudo gedit /etc/X11/xorg.conf

Scroll down to "Section "Screen""

Change the DefaultDepth to 24 instead of 16.

Save, reboot, and enjoy!

Thank you, I haven't found this anwser. I'll give it a try after work. ;)

shodekiagari
February 23rd, 2006, 01:37 AM
Hey, I guess I'm one of the few to try this on kde. I upgraded from breezy tonight and it's working really smoothly except that my windeco (the menu bar, and the open/minimize/close buttons) is gone.

Anybody else had that error? Anyone know how to fix it? Thank you.

edit: Answer is in this thread. http://www.ubuntuforums.org/showthread.php?t=132771&page=2

I just can't get kde to compile though...

drizek
February 23rd, 2006, 05:23 AM
I get

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

anyone?

flying_nomad
February 23rd, 2006, 07:39 AM
Can somebody tell me wich of the guide's i have to follow ?

I know i have to use an Nvidia way, but it seems like there is a wiki out too

How about that wiki, is that so short because of it's a complete package ??

https://wiki.ubuntu.com/XglHowto


Thanks for explaining (and all the hard work done out there)

Pat

Can somebody clear this up for me, i will be gratefull for that

UbuntuUX
February 23rd, 2006, 09:02 AM
Here is the Xgl startup script I stripted down and loads up GNOME with gnome session. Nothing special just neat and simple and it's for people with Dapper repo packages.

Just take the .txt of the end and make it execuable

Tymon
February 23rd, 2006, 09:17 AM
I just followed the guide and everything works! Wow, I'm amazed at how smooth everything runs on my crappy FX5200!!! Especially if you'd compare it to Vista's crap compositing engine. And to imagine it's alpha/beta code, I'm really amazed!

miscz
February 23rd, 2006, 11:45 AM
XGL works quite good, there are 3 showstoppers for me tough:
-VLC doesn't have window decorations (no other app seems to have this problem)
-KDE TV output is messed, other TV apps work fine but KDE TV is just better than others
-Amarok doesn't appear in notification area and creates little windows for it's icon

Anybody experiencing this issues? I'd be grateful for any suggestions.

ShanghaiTeej
February 23rd, 2006, 11:46 AM
Is anyone else having problems with their screensaver? My screen saver still shows the gnome-panels when it turns on and just covers the desktop. I'm using dapper with a geforce4 mmx 440 card.

Paulus
February 23rd, 2006, 01:18 PM
Is anyone else having problems with their screensaver? My screen saver still shows the gnome-panels when it turns on and just covers the desktop. I'm using dapper with a geforce4 mmx 440 card.

yeah, I have the same problem here.

golfbuf
February 23rd, 2006, 01:24 PM
I'm running dapper (daily updated) Xgl and using kde and having a lot of fun with it on KDE. I have an 800 mhz PIII with an Nvidia GF4 MX 4000 pci card (never have gotton agp to work) which works well under dapper with the normal Xorg with the nvidia-glx package.

I needed glitz version 0.5.3 to get compiz working on this nvidia.

I tried loading Xgl by following the wiki suggestion of changing the link /usr/bin/Xgl -> /etc/X11/X. This started ok, but kdm just cycles through the login screen in an endless loop. I also could not figure out how to get the Xgl -accel options to work. My options appear as:

:~$ ps aux | grep X
root 24707 8.6 19.7 85544 75824 ? RL 12:36 0:41 /usr/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
root 24743 0.8 3.5 17320 13780 tty7 SLs+ 12:36 0:04 /usr/bin/Xorg -br vt7 -auth /tmp/.Xgl-auth-yQ72LJ -nolisten tcp -dpms -v -s 0 :93 -terminate

After starting "thefuture", it runs, but some of the 3D stuff like chromium is slow and causes X crashes.

So, I switched to gdm and am using this thread's recommended gdm.conf-custom to start Xgl. Now my running Xgl is:

:~$ ps aux | grep X
root 8069 10.2 15.7 69840 60528 ? RL 08:52 3:22 /usr/bin/Xgl :0 :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
root 8073 1.3 3.5 17316 13796 tty7 SLs+ 08:52 0:26 /usr/bin/Xorg vt7 -auth /tmp/.Xgl-auth-xShNFG -nolisten tcp -dpms -v -s 0 :93 -terminate

So, I'm using this thread's (and Suse) recommended -accel options.

Even before starting compiz, I notice that KDE 2D acceleration is slower than Xorg (windows move with a bit of jerkiness, scrolling a document with arrow keys is slow and occasionally text disappears .. things like that), but 3D acceleration (ppracer, chromium, frozen-bubbles, GL screensavers) run fine.

I like to use the Win key to popup my menu, but Xgl stops this. I find that kcontrol uses a command like "setxkbmap -option lv3:lwin_switch" to set this up, and it isn't executing. So, I added 'Option "XkbOptions" "lv3:lwin_switch" to xorg.conf, and now I can use kcontrol to set this preference. But, this has the downside of making the Super key unavailable for the zoom module in compiz.

I use "thefuture" with these changes to load compiz:

compiz --replace gconf decoration wobbly fade minimize move place resize scale switcher cube rotate zoom
sleep 2
nohup gnome-window-decorator &

I needed to use this order of modules (from the wiki) to get all of them to load. I was having difficulty getting the switcher module to load. As it turns out, kde-window-decorator does not work (someone pointed out that the cvs version has comments in it saying it's not done), but gnome decorator works just as good as it does in gnome for KDE.

After loading compiz, I still see the same slower 2D acceleration, but 3D acceleration is still ok (ppracer, chromium, and gl screensavers, but frozen-bubble will not open in fullscreen and in a window, it is transparent, but still seems to play). But, sometimes (not always) opening a GL screensaver will crash X.

I also have some random crashes of X, even when no GL or video programs are running.

When I check top, I see < 10% cpu usage with Xgl arout 8% and compiz < 1%. When I move windows, the cpu will jump to about 80% and most of that is Xgl. If I have a lot of firefox tabs open, I can get to 100%, but it's not too bad. But, this also happens with Xorg and a lot of firefox's (firefox can be a hog). Now I'm trying to use konqueror more.

As far as multimedia, flash movies play ok, .mid plays as usual with timidity, .mov play, but the video is poor quality with lines along the top, .ogg plays fine but while playing the cpu went to a 100% and gnome-window-decorator crashed (I could restart it to get the window frames back), .mp4 will play with the same video line problem as .mov, .mp3 audio is fine. As I understand, these video problems will be fixed in a future release.

I like this enough to keep working with it despite the occasional crashes. I would like to get the improved 2D acceleration. My impression from other posters to this thread is that 2D is ok. Is there anything different I should try to improve the 2D acceleration on my nvidia?

regards,

rastaman
February 23rd, 2006, 06:15 PM
I have a littal problem trying to folow these instructions. :cry:
~$ sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 compiz-gnome
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package compiz

mstlyevil
February 23rd, 2006, 06:31 PM
I have a littal problem trying to folow these instructions. :cry:
~$ sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 compiz-gnome
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package compiz

Go to your sources list and remove the # from in front of each source. The sources will be at the bottom of each comment (Usually in pairs of two.)

sudo gedit etc/apt/sources.list

Then save the file and type into the terminal

sudo apt-get update

After that try it again. If that does not work then delete those sources and add these instead.

deb http://archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
deb http://ubuntu.tower-net.de/ubuntu/ breezy java

#not available until official release
#deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

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

Make sure you save these new sources.

Run sudo apt-get update again and I guarantee you will get it then. Also if you are having trouble getting Mplayer, Java or Flash from the first sources then skip the first step and use these sources.

rastaman
February 23rd, 2006, 08:46 PM
mstlyevil:
thanks that worked :)

opera118
February 23rd, 2006, 10:23 PM
Status of mess.

(this is not about xgl. this is not about xgl. this post, is not about xgl.)
(this post is not about compiz. i don't care about compiz atm. this post is not about compiz.)
(it's about ubuntu and nvidia)

Panels works and everything is fine when using nvidias libGL.so. However it doesn't contain the texture_from_bitmap. Using the libGL.so from xserver-xgl makes it possible to run compiz (if one would like to) however that file causes panels to crash as gconf completely crashes on startup. I get about 10 message dialogs about panels already loaded and "I will kill myself" etc.. No panels, broken gconf, themes a complete mess.
With nvidias libGL.so, no problemo.

Again, it would be nice to know from where the ubuntu devs take the libGL.so they're using in xserver-xgl and how they link these things.

But that won't happen, no devs here I'm afraid. I just wanted people to know, if someone gets the same problems with manually compiled nvidia drivers, you know now, you're not alone.

Athropos
February 24th, 2006, 02:06 AM
XGL works quite good, there are 3 showstoppers for me tough:
-VLC doesn't have window decorations (no other app seems to have this problem)


I have the same problem with an app I am developping with wxGTK. I believe this will happen with all apps using this lib, but I don't know why...

EZbrain
February 24th, 2006, 09:55 AM
angelus@netLIN:~$ thefuture
/usr/bin/thefuture: line 2: gnome-window-decorator: command not found
/usr/bin/thefuture: line 2: compiz: command not found
angelus@netLIN:~$ whereis compiz
compiz: /usr/lib/compiz /opt/fdo/bin/compiz


wat?

why do iget compiz command not found if its installed
and gnome-window-decorator:cry:

EZbrain
February 24th, 2006, 10:01 AM
i did everything again, now it says :

The following packages have unmet dependencies:
compiz-gnome: 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: compiz (= 0.0.2-4ubuntu2) but 0.0.3-1 is to be installed
E: Broken packages
:-k

DeeZiD
February 24th, 2006, 11:46 AM
Just one question.
Can somebody send me the xmodmap.de file, I've deleted mine :rolleyes:

regards Dennis

denisesballs
February 24th, 2006, 02:37 PM
I think something really cool to be able to do would make all inactive windows like 25% transparent. That would give the desktop a really cool feel.

astron
February 24th, 2006, 05:13 PM
a small update on my experience with Xgl. The system is now quite usable, but it's still slower than it was before Xgl.

My system : fresh install of Dapper from Flight CD 4
laptop TOSHIBA SATELLITE 2410-514 :
Pentium 4 (2GHz) 256MB RAM with NVIDIA GeForce 4 420 Go (32MB)
+ about 500 MB SWAP
I use the nvidia-glx-legacy, since nvidia-glx doesn't work with this card (even though the legacy is said to be for GeForce 2 and below only)

*Xorg config :
I had to switch from 16bpp to 32bpp. With 16bpp, I experienced plenty of refresh problem.
I had to remove (quote) these lines from my xorg.conf:

Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"

With these options, the system was too slow. I don't think Xgl uses Render or GLXWithComposite.

* Compiz : the svg plugin is not working.

* Games : PPRacer runs OK (around 30 fps in a 800x600 window) but slower than usual. Supertux is OK with the opengl engine but is not playable with the sdl engine. Frozen Bubble is not playable. Flightgear starts and its graphics are OK but the system gets almost unresponsive.

*Video Players:
-video output:
xshm and opengl work. xshm is the best. xv is too slow and for some video the XV driver shows only garbage
-players: totem-xine and gxine are OK. The xine-ui interface (not the video window) shows only garbage in XGL, but the videos play well. VLC is OK except it doesn't have window decorations.
-playing DVD with xshm is quite smooth (even with transparent windows).

r4ik
February 24th, 2006, 05:52 PM
I got this baby working on a MSI MX4000-T128 card thanks for the guide !
One question about Mplayer it keeps telling me "to many video packets in the frame
buffer" and changing the driver does not work.
Any suggestions about this please ?

golfbuf
February 24th, 2006, 08:13 PM
[QUOTE=astron]The system is now quite usable, but it's still slower than it was before Xgl.

Yes, this is the same problem I am having (and reported yesterday). Any ideas if it can be improved, or is this it for now?

regards,

daedalusman
February 24th, 2006, 08:30 PM
Ok, well I have followed everything suggestion on this forum concerning my problem but to no avail. No matter what I keep getting this error...

gnome-window-decorator: Another window decorator is already running
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

This is with an dist-ugrade from breezy. I think I may try a clean install with flight 4 or wait till the next release and try again. If anybody has any other ideas concerning this problem that haven't already been covered, please post, thanks.

duff
February 24th, 2006, 10:24 PM
angelus@netLIN:~$ thefuture
/usr/bin/thefuture: line 2: gnome-window-decorator: command not found
/usr/bin/thefuture: line 2: compiz: command not found
angelus@netLIN:~$ whereis compiz
compiz: /usr/lib/compiz /opt/fdo/bin/compiz


wat?

why do iget compiz command not found if its installed
and gnome-window-decorator:cry:

You're missing something

$ which compiz
/usr/bin/compiz

tdg
February 25th, 2006, 02:46 AM
Most of the things work smoothly here with my GeForce FX 5900 XT but I have two problems.

1) I can't use the zoom effect. It seems, I can't press the Super key(int. keyboard). Super key works fine in normal X, and I used xmodmap thingie.(Now that I think about it the combination for " is also different)

2) Xgl really slows down when I do a cpu intensive operation(like compiling, etc).

I don't really care about the first, but the second makes an otherwise perfectly smooth system unusable for me. Any ideas?

campusloop
February 25th, 2006, 03:11 AM
Most of the things work smoothly here with my GeForce FX 5900 XT but I have two problems.

1) I can't use the zoom effect. It seems, I can't press the Super key(int. keyboard). Super key works fine in normal X, and I used xmodmap thingie.(Now that I think about it the combination for " is also different)

2) Xgl really slows down when I do a cpu intensive operation(like compiling, etc).

I don't really care about the first, but the second makes an otherwise perfectly smooth system unusable for me. Any ideas?

1. I had the same problem on my system... it was because of improperly installed xkb files. I had a self compiled Xgl binary installed in /opt/xserver so i made a link
ln -s /etc/X11/xkb /opt/xserver/share/X11 and the problem was solved and now my hp internet keyboard works flawlessly. So make sure Xgl is able to find the xkb related files. I found it out by running an strace.. but say if Xgl is installed in /opt/fdo you can try
ln -s /etc/X11/xkb /opt/fdo/share/X11/ and see if it works..

2. Even i am facing the same problems. If the cpu is under load Xgl slows down terribly.. IMHO this is a major problem. I wonder if this is solved by EXT_texture_from_pixmap that needs to be added to nvidia/ati drivers.

croperz
February 25th, 2006, 09:04 AM
I just updated my compiz from the repositories and now I have no gnome-window-decorator.

What's going on, where has it gone? :)

Omer
February 25th, 2006, 09:06 AM
I just updated my compiz from the repositories and now I have no gnome-window-decorator.

What's going on, where has it gone? :)

get compiz-gnome.

croperz
February 25th, 2006, 09:10 AM
get compiz-gnome.

Thanks, that fixed it.

I had looked for gnome-window-decorator in the repositories with no luck.

jdong
February 25th, 2006, 09:44 AM
2) Xgl really slows down when I do a cpu intensive operation(like compiling, etc).


Confirmed here. Not even nicing Xgl to -15 fixes this problem.

gustavold
February 25th, 2006, 12:58 PM
hi all

i installed the glitz0.5.3 from the dapper repo, but i'm still having the black screen.

can anyone tell me if this glitz version works?

nVidia Corporation NV17 [GeForce4 MX 440]

[Knuckles]
February 25th, 2006, 01:10 PM
Thanks for the great guide!

I was playing around and installing some packages and messing with xbindkeys and some other things, and when I restarted, compiz no longer recognizes NO keybindings (even things like alt+f2 don't work anymore).

Can anyone help me?

drfoz
February 25th, 2006, 01:17 PM
ive had this installed and running great... but it messes up opengl. my question is, is there a way to enable/disable this so when im not playing ut2004 its on then i cant shut it off when i wanna play a game?

[Knuckles]
February 25th, 2006, 01:31 PM
Ok, I found out what was causing my problem. If anyone has problems with loosing compiz keybindings, don't use xmodmap to set the keymap, use the gnome preferences or something like that, because xmodmap was messing it up for me.

moebis
February 25th, 2006, 02:12 PM
']Ok, I found out what was causing my problem. If anyone has problems with loosing compiz keybindings, don't use xmodmap to set the keymap, use the gnome preferences or something like that, because xmodmap was messing it up for me.

Ok I've having a similar problem. I used this guide and used the xmodmap, but lost any chance now of changing the keyboard layout in Gnome (I used to use the Microsoft Multimedia Keyboard setting) and that worked to enable the Win key, but now I can't use the Win key or anything but the very basic keys in Gnome +compiz, and when I try to use the Keyboard settings it doesn't list anything anymore. Any ideas?

mam28
February 25th, 2006, 04:25 PM
I fouund if you install the i686 kernel from apt-get that it helps performance greatly. My firefox scrolling speed was fixed by this. Give it a try.:)

dolson
February 25th, 2006, 05:11 PM
Hi, I apologize for not reading all 57 pages of the thread, but I can't easily browse this site.. Lucky I bookmarked the thread before I restarted X.

So, the problem is that if I move the cursor with the GNOME MouseKeys, Xgl crashes. I opened a ticket already for it in Malone, but I was wondering if anyone had a workaround? I can't use my PC like this, so I guess I'm going to disable it so I can actually click on things, but I'm going to try searching a bit first.

So if you have a solution, would you be kind and email it to me? I would appreciate it. dana@ubuntustudio.com

Thanks for the how-to, I tried another one before and it didn't work right. :)

greenpenguin
February 25th, 2006, 05:37 PM
This rocks.. and it worked perfectly straight off...
*big thanks* :).

i cant stop grinning now... :D

moebis
February 25th, 2006, 05:43 PM
This rocks.. and it worked perfectly straight off...
*big thanks* :).

i cant stop grinning now... :D

Been running this for the last 3 weeks..... I still haven't stopped grinning. ;)

palomar
February 25th, 2006, 06:11 PM
I have installed XGL on my XP1800 with nvidia Ti4200. Actually it runs good at first sight, but scrolling in Firefox and other apps is going a bit slower then before. As far as I can see I have set up al the optimalisation tips, like:
- K7 kernel + restricted modules
- 60fps (tried from 30 to 100)
- xorg.conf: RenderAccel, AllowGLXWithComposite, NvAGP enabled
- /etc/gdm/gdm.conf-custom from the startpost

and I'm using the nvidia driver from the repositories. I installed Dapper and XGL today, so I think I have downloaded the most recent versions.

Are there some other optimalisations I can try? Or is my hardware (ti4200) just a bit too slow or does have missing features?

dolson
February 25th, 2006, 06:19 PM
Okay, I have now searched through all 58 pages, and the only mention I found of MouseKeys was my post... No one on IRC seems to respond to my questions, so if anyone here could help, I'd appreciate it. I had to disable it for now.

Yogarine
February 25th, 2006, 08:31 PM
I installed Xgl + Compiz two days ago, and everything is swinging! I have a Pentium 4 1.5 GHz + 512MB RAM + NVIDIA GeForce FX 5200 and everything runs lightning fast (as long as I'm not compiling :P)

And ohh... The sound of my friends' jaws hitting the floor when they see me messing around...
(Tip: If you really want to impress, put both FF7:AC and Lilo & Stitch 2 on a corner, make one of them transparent and then rotate to show the cube corner. ;))

BUT, now there is just one thing that I need to figure out:
Is it possible to create multiple Xgl sessions? Right now I have everything set up to have one Xgl session and make all other sessions basic Xorg sessions, because I couldn't get Xgl to open a second session on another display. Any way to make this work?

Thanks people!

golfbuf
February 25th, 2006, 08:56 PM
hi all

i installed the glitz0.5.3 from the dapper repo, but i'm still having the black screen.

can anyone tell me if this glitz version works?

nVidia Corporation NV17 [GeForce4 MX 440]

Yes, it did here on my GF4 MX 4000

jdong
February 25th, 2006, 09:32 PM
(Tip: If you really want to impress, put both FF7:AC and Lilo & Stitch 2 on a corner, make one of them transparent and then rotate to show the cube corner. ;))


LOL, funny story about that... I showed two transparent movies playing over each other on a cube edge to one of my science/physics/animation-savvy buddies, and the first reaction was a complaint about artifacts with wobbly transparent windows when dragged at a high speed, and second was some remark about alpha blending not done correctly when two movies are playing over each other. I gave him a blank stare, and he's like "just kidding... I've never seen anything like it before!"

idn
February 25th, 2006, 11:10 PM
I have installed the nvidia drivers like you said, however performance can be slow sometimes even though I have a 7800gtx PCI-E

I also fail the cedega setup screen - I fail the Open GL Direct Redning. My xorg file is as follows:

Section "Device"
Identifier "NVIDIA Corporation NVIDIA Default Card"
Driver "nvidia"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"

EndSection

Any ideas was to how I can fix this?

mrkite
February 25th, 2006, 11:15 PM
Just a few notes that I haven't seen covered elsewhere.

If Xgl is taking up all your cpu, make sure you aren't using Mesa software rendering:

glxinfo | grep client

should have "client glx vendor string: NVIDIA Corporation" not Mesa.

Second, if wobbly windows cause text to be a bit blurry for a few seconds, go to gconf-editor /apps/compiz/general/allscreens/options
and set texture_filter to "Pretty".

Rob2687
February 25th, 2006, 11:25 PM
Cool but it makes the jaggies show up even more. :/

mrkite
February 25th, 2006, 11:58 PM
Well.. the three options for texture_filter are:

Fast / Good / Pretty

Pick the one that you like the best.

TerminX
February 26th, 2006, 12:08 AM
Second, if wobbly windows cause text to be a bit blurry for a few seconds, go to gconf-editor /apps/compiz/general/allscreens/options
and set texture_filter to "Pretty".
The only two valid settings for this key are "Fast" and "Good" -- "Pretty" is invalid and nets you the same effect as "Fast"; i.e lower quality filtering.

Rob2687
February 26th, 2006, 12:17 AM
There is Best too. I find that works best =)

mrkite
February 26th, 2006, 12:21 AM
The only two valid settings for this key are "Fast" and "Good" -- "Pretty" is invalid and nets you the same effect as "Fast"; i.e lower quality filtering.

http://webcvs.freedesktop.org/xorg/app/compiz/src/display.c?rev=1.4&view=markup

The latest version of compiz uses Fast / Good / Best

TerminX
February 26th, 2006, 04:31 AM
http://webcvs.freedesktop.org/xorg/app/compiz/src/display.c?rev=1.4&view=markup

The latest version of compiz uses Fast / Good / Best
Aha. I had actually tried Best earlier after running strings on the compiz binary but had thought it to be invalid when I didn't notice any improvement over the "Good" setting.

palomar
February 26th, 2006, 05:49 AM
Is it, besides my other 'problem' that scrolling goes a bit slow, normal that movies also play at very low framerate on a geforce ti4200? Is it usefull to try out a lot of optimalization thing or is my hardware just nog good enough? Are there other people around with a Geforce ti4200 and XGL desktop?

Kinimod
February 26th, 2006, 06:02 AM
Is it, besides my other 'problem' that scrolling goes a bit slow, normal that movies also play at very low framerate on a geforce ti4200? Is it usefull to try out a lot of optimalization thing or is my hardware just nog good enough? Are there other people around with a Geforce ti4200 and XGL desktop?
I've got a Ti4200 and an XGL desktop running. Yes, movies play at a low framerate here, too. And scrolling lags a little bit.

palomar
February 26th, 2006, 06:41 AM
ok, then I'll give up trying to make it go faster ;) Just limitations of the hardware as I expected.I'll give it a try on my other computer, an Athlon64 with Radeon 9800. Hope it goes faster.

I also have another question: this interface uses a lot of your VGA-card resources. I you run it 24/7, will the card reach high temperatures just like running 3D-games? Some graphics cards do have poor cooling sollutions, so does it increase the chance of a system crash due to overheating?
And the graphics card of to today consume lots of power. Will it increase your energy costs? And system crashes due to cheap PC power supplies that are now running on their max capacity all the time?

Yogarine
February 26th, 2006, 08:17 AM
So does anyone have a clue on how to get Xgl to open more than one session? (So I can use fast user switching between Xgl sessions?)

dolson
February 26th, 2006, 10:39 AM
Could someone just *try* MouseKeys in Gnome and tell me if I'm the only one who has this problem? I would be very appreciative to get this figured out...

palomar
February 26th, 2006, 12:10 PM
What do you mean with 'MouseKeys' ? I can't find it in repository or Gnome menu. I would test it for you, but don't know what to test ;)

dguido
February 26th, 2006, 02:01 PM
I have an Dapper, an NVIDIA 6600GT with the latest nvidia drivers, and Xgl installed and working fine except for two things:

1. I cannot resize my windows
2. Video playback is extremely slow and brings the CPU to 100%

I'm not sure if the options I added to /etc/gdm/gdm.conf-custom are working properly because they were supposed to fix the video playback part. The additions I made were:

[servers]
0=Xgl

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

I am starting Xgl by switching the symlinks on /etc/X11/X. I also turned off dri and the composite extension in my xorg.conf.

For the video playback problem, I tried switching mplayer to using the gl2 output plugin and it caused a cascading crash. Xine doesnt change if I use its default or its gl output.

Does anyone know what else I can do to fix these problems (mainly the video playback problem)? Thanks.

wouaren
February 26th, 2006, 02:35 PM
Thanks a lot for this how to.
It's now working by default on my dapper, nvidia ti4200 64mo agp 4x.
Videos are slow, games a bit slow (chromium = ok, tuxracer = ok etc...)
Some applications have no menus (vlc, amule) but i think it's only a dapper beta dependant problem...

glxinfo say this :

vincent@ubuntu:/tmp/MPlayer-1.0pre7try2$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2


Which (perhaps) means that because of xgl use opengl the other apps (like games) cant use it ... ?

dolson
February 26th, 2006, 02:42 PM
What do you mean with 'MouseKeys' ? I can't find it in repository or Gnome menu. I would test it for you, but don't know what to test ;)
Go to System > Preferences > Keyboard > Accessibility, Enable Keyboard Accessibility Features, then go to Mouse Keys, and Enable Mouse Keys. Now you can try using your NumPad to move your mouse cursor. Tell me if it works with no problems for you. Thanks!

scav
February 26th, 2006, 02:45 PM
For those of you who miss a plugin were you can fade all windows except the focused one, check this script http://www.ubuntuforums.org/showpost.php?p=611712&postcount=325

it works great, looks SEXY


Does the trick for me, untill something like this gets implemented in compiz

palomar
February 26th, 2006, 04:47 PM
Go to System > Preferences > Keyboard > Accessibility, Enable Keyboard Accessibility Features, then go to Mouse Keys, and Enable Mouse Keys. Now you can try using your NumPad to move your mouse cursor. Tell me if it works with no problems for you. Thanks!
My X-server did also crash/restart when I hit numpad, so I think it is a real bug ;)

poofyhairguy
February 26th, 2006, 05:00 PM
For those of you who miss a plugin were you can fade all windows except the focused one, check this script http://www.ubuntuforums.org/showpost.php?p=611712&postcount=325

it works great, looks SEXY


Does the trick for me, untill something like this gets implemented in compiz

Good job!

dolson
February 26th, 2006, 05:55 PM
My X-server did also crash/restart when I hit numpad, so I think it is a real bug ;)
Thank you very much!

If you have a Launchpad account, get some karma by confirming the bug I opened: https://launchpad.net/distros/ubuntu/+source/xserver-xgl/+bug/31907

Thanks again... I wish there was a solution right now for this.

palomar
February 26th, 2006, 06:08 PM
How about buying a mouse? :p

vendetta red
February 26th, 2006, 06:24 PM
For those of you who miss a plugin were you can fade all windows except the focused one, check this script http://www.ubuntuforums.org/showpost.php?p=611712&postcount=325

it works great, looks SEXY


Does the trick for me, untill something like this gets implemented in compiz

Could you explain how to set this up. i.e. what to save (I'm assuming BOTH files are needed) the files as, and whether they need editing to work with Compiz. I'd really like to give this a go, looks cool.

wylie348
February 26th, 2006, 06:41 PM
Oddly enough, I followed the directions to a t (I am using an inspiron 8600 with nvidia go5250), and XGL works great when dragging windows around and flipping desktops, but the login screen is all garbled, and so is any screen containing text. Using firefox I have to continually minimize and maximize the screen to see the words properly.
Anyone with a workaround? I would really appreciate it!
Thanks!
;)

wouaren
February 26th, 2006, 06:55 PM
[OK]
I just had to re-add them with the gnome menu "Add to panel" :D

----
I just lost my desktop switch bar and the "return to desktop" icon, i dont know how, it just appears in front of me, i've made a reboot but it's the same.
It's not so important because i can still switch desktop (ctrl + alt + arrows) but that's strange
http://pix.nofrag.com/f4/73/6efa5009a639a5d92309cf98ce07t.jpg (http://pix.nofrag.com/f4/73/6efa5009a639a5d92309cf98ce07.html)

http://pix.nofrag.com/cd/36/160068e11fa93d7cb77298996614t.jpg (http://pix.nofrag.com/cd/36/160068e11fa93d7cb77298996614.html)

:confused: :rolleyes:

PS: for videos, with mplayer and "gl2" set in options it works well !

Iandefor
February 26th, 2006, 09:37 PM
Excellent! Thank you (yet again!) poofy!

dolson
February 26th, 2006, 10:15 PM
How about buying a mouse? :p
If everyone had mice all the time, there would be no need for Mouse Keys. GNOME should just remove it if it's that useless, since they remove things that people want and need such as screensaver configurability. :evil:

My mouse is on order. I ordered from an out-of-town store because it is much cheaper ($8CDN for a Logitech optical mouse). Yes, it will be great once it gets here, but this is still a bug in Xgl, and a pretty bad one, at that.

The real lesson is to not rely on Microsoft optical mice.

mstlyevil
February 26th, 2006, 10:27 PM
I tried both ways to fix the wobbly windows and poofy's worked. The other one did not do a thing to correct it.

o_fortuna
February 27th, 2006, 12:10 AM
So, I'm loving compiz :KS

It's really fun and easy to impress your friends. Except when I'm typing a reply and I accidently hit Shift+Backspace, and the whole thing shuts down. Is there any way to get rid of that? I'm afraid to make typing mistakes :???:

mstlyevil
February 27th, 2006, 12:35 AM
So, I'm loving compiz :KS

It's really fun and easy to impress your friends. Except when I'm typing a reply and I accidently hit Shift+Backspace, and the whole thing shuts down. Is there any way to get rid of that? I'm afraid to make typing mistakes :???:

Open the terminal and enter this command everytime you boot

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

For example I live in the US so here is my code

xmodmap /usr/share/xmodmap/xmodmap.us

If you want to just have this code executed at startup go to -->System -->Preferences -->Sessions. Click on the startup programs tab and then click on the Add button. Enter this command in the dialog box and click ok. You can also add Compiz to the startup by clicking on Add and then entering thefuture in the dialog box. It works like a charm for me.

scav
February 27th, 2006, 03:11 AM
Could you explain how to set this up. i.e. what to save (I'm assuming BOTH files are needed) the files as, and whether they need editing to work with Compiz. I'd really like to give this a go, looks cool.


You only need the first script, the other is for use with xcompmgr, which I doubt many use atm ;)

just copy and paste the script to a file, and make the file excecutable..(chmod +x file)

Then download transset-df from here:
http://forchheimer.se/transset-df/

compile it and your set to go, it works like a charm.

Only bug is when you minimize a window when it focused, creates some weird stuff from time to time.

saads
February 27th, 2006, 09:43 AM
Does anyone know what else I can do to fix these problems (mainly the video playback problem)? Thanks.
What you should have in your gdm.conf-custom is this:

[servers]
0=Xgl

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


I believe you're missing a line. Then restart your computer - be sure to restart and not just restart X as that won't work. You have to restart the gdm, which you can also do using the /etc/init.d/gdm script but i suggest just restarting the comp.

To get good video playback in totem, modify the ~/.gnome2/totem_config file. Look for the section starting with "# video driver to use" and replace it with:

[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


For the other video apps (Mplayer and VLC), they have options in their GUI's that allow you to change the video output to OpenGL - I believe it's called gl2.

Cyberlink
February 27th, 2006, 09:45 AM
Oddly enough, I followed the directions to a t (I am using an inspiron 8600 with nvidia go5250), and XGL works great when dragging windows around and flipping desktops, but the login screen is all garbled, and so is any screen containing text. Using firefox I have to continually minimize and maximize the screen to see the words properly.

I have exactly the same problem on my Samsung X30 notebook...and it also has a nvidia go5250 built in.

What I of course can do is to remove the 0=Xgl line in my gdm.conf-custom file..well but I'm if I'm doing so, I get the annoying
compiz.real: GLX_EXT_texture_from_pixmap is missing
error.

Would be great if someone has an idea how to fix this as I just started loving this wobble thingy ;)

Btw. Thx for this great Tutorial :)

vendetta red
February 27th, 2006, 09:48 AM
You only need the first script, the other is for use with xcompmgr, which I doubt many use atm ;)

just copy and paste the script to a file, and make the file excecutable..(chmod +x file)

Then download transset-df from here:
http://forchheimer.se/transset-df/

compile it and your set to go, it works like a charm.

Only bug is when you minimize a window when it focused, creates some weird stuff from time to time.

Thank you for the reply. I'll try this out ASAP. :)

jroes
February 27th, 2006, 06:49 PM
Hey guys,

I just wanted to add that if you don't run the xmodmap line, shift+backspace will probably kill your X session. It does for me.

If you -do- run the xmodmap line, though, you won't have a lot of other shortcuts working.

"casimir" on #ubuntu-xgl offers this suggestion, which works for us (instead of running the xmodmap line):

xmodmap -e "keycode 22 = BackSpace BackSpace Terminate_Server"

The original poster of this thread might want to change that xmodmap line so no one else has the same problems.

--Jonathan Roes

dolson
February 27th, 2006, 07:01 PM
Awesome, thanks!

bunkee
February 27th, 2006, 08:49 PM
anyone notice that the lock screen doesn't work while compiz is running

drizek
February 27th, 2006, 09:25 PM
anyone notice that the lock screen doesn't work while compiz is running


it does in kde...

you just have to press esc

Cyberlink
February 28th, 2006, 02:50 AM
I have exactly the same problem on my Samsung X30 notebook...and it also has a nvidia go5250 built in.

What I of course can do is to remove the 0=Xgl line in my gdm.conf-custom file..well but I'm if I'm doing so, I get the annoying
compiz.real: GLX_EXT_texture_from_pixmap is missing
error.

Would be great if someone has an idea how to fix this as I just started loving this wobble thingy ;)

Btw. Thx for this great Tutorial :)

Fixed this Problem.
It seems to be a bug in Dapper so it configures X11 to use 16bit instead of 24bit color depth by using a nvidia go card.

So to get rid of this open your xorg.conf
go to the Screen-Section and change the DefaultDepth from 16 to 24.
Reboot and enjoy ....wobbeling :D

Kurt`
February 28th, 2006, 06:54 AM
anyone notice that the lock screen doesn't work while compiz is running
Yes, very annoying, as I lock my PC every time I walk away from it. :/

Also, some windows (viewing profiles in gAIM for example) can't be moved/resized.

Has anyone figured out how to prevent Shift-Backspace from killing X? I added the DontZap option to xorg.conf, but that only stops Ctrl-Alt-Backspace.

fizz
February 28th, 2006, 07:43 AM
Just a tip for those using a dell 2005FPW wide aspect ratio monitor. I couldnt for the life of me figure out why wobbly was so slow, and looked awefull. I added the resolution of 1680x1050 to my xorg.conf and ctrl-alt-backspace to reload, and now everything is good.


One MAJOR gripe, is that i have hit shift backspace and killed x a few times, and even had to restart this thread once because of it.

dolson
February 28th, 2006, 09:04 AM
Just a tip for those using a dell 2005FPW wide aspect ratio monitor. I couldnt for the life of me figure out why wobbly was so slow, and looked awefull. I added the resolution of 1680x1050 to my xorg.conf and ctrl-alt-backspace to reload, and now everything is good.


One MAJOR gripe, is that i have hit shift backspace and killed x a few times, and even had to restart this thread once because of it.
Scroll up like 4 or 5 posts... There is a solution to that Backspace+Shift issue....

nrvale0
February 28th, 2006, 12:21 PM
Still having "GLX_EXT_texture_from_pixmap is missing" issues:

$ while true; do compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher; sleep 2; pkill -TERM compiz; ps -e | grep compiz; done
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
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
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
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
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
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

That can go on forever and compiz never gets happy.

Any ideas?

fizz
February 28th, 2006, 12:37 PM
Anyone else notice that Vino (Remote Desktop) breaks upon setting up xgl? Someone mentioned it might be part of the mod to gdm...

I searched this thread but didnt find anyone with the same problem.

vnbuddy2002
February 28th, 2006, 01:46 PM
Still having "GLX_EXT_texture_from_pixmap is missing" issues:

$ while true; do compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place menu switcher; sleep 2; pkill -TERM compiz; ps -e | grep compiz; done
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
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
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
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
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
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

That can go on forever and compiz never gets happy.

Any ideas?

Here is a couple of things you will have to do:
if you use nvidia-glx,
........sudo ln -sf /usr/lib/nvidia/libGL.* /usr/lib/

Make sure that your /etc/X11/xorg.conf has the composite option turned on:
........Driver "nvidia"
........Option "RenderAccel" "true"
........Option "AllowGLXWithComposite" "true"

then reinstall the packages from the first post

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

then, reboot your computer, if the problem still occur
try to reinstall the packages again.

........make sure "/etc/gdm/gdm.conf-custom" correct specified.

then, reboot once again. It should work.

tronica
February 28th, 2006, 02:32 PM
i have gotten everything to work, but it leaves me without the top bar on apps. is there something i can do to make them come back?

jstueve
February 28th, 2006, 02:38 PM
> gnome-window-decorator &

tronica
February 28th, 2006, 02:42 PM
i take you ment add that to sessions, so i did and no change. i put in the terminal and just gave me

lyle@ubuntu:~$ gnome-window-decorator &
[1] 7283
bash: gnome-window-decorator: command not found
lyle@ubuntu:~$

Technoviking
February 28th, 2006, 02:45 PM
New xserver-xgl and metacity from sudo apt-get update. Wonder if metacity will have compositing enable.

tronica
February 28th, 2006, 02:47 PM
should i just reinstalling this, has anyone had this problem

aamukahvi
February 28th, 2006, 02:53 PM
New xserver-xgl and metacity from sudo apt-get update. Wonder if metacity will have compositing enable.
Damn it. My Compiz shortcuts stopped working after the update.
Ok fixed it. My xmodmap file had been updated too it seems.

dolson
February 28th, 2006, 02:54 PM
Install compiz-gnome as it says in the tutorial.

mannheim
February 28th, 2006, 05:01 PM
I have the same problem as tronica. Things like the "cube" workspace switcher and the "wobble" are working just fine. But the window borders and title-bar are not being drawn.

gnome-window-decorator is running: it launched without complaint. I can also kill it and restart it. But whatever, it isn't decorating my windows.

DeeZiD
February 28th, 2006, 06:28 PM
Is it possible to use Xgl with kdm instead of gdm?

I added the following to my kdmrc:
ServerCmd=/usr/bin/Xgl -ac -br -accel glx:pbuffer -accel xv:fbo

Kdm seems to start with Xgl after that (kdm crashed when I pressed Shift and Backspace).

But when I want to login it just returnes to the kdm-login-screen instead starting kde :(


regards Dennis

Patryk996
February 28th, 2006, 08:12 PM
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.

\\:D/ Actually, I didn't like that answer. Things shouldn't work if you just beat them down repeatedly. So I did a little research online and it appears the French figured it out:
http://imil.net/wp/archives/72 (http://imil.net/)
I can't honeslty tell you exactly WHY you need to do this, but I just did it and it worked:

apt-get install libgl1-mesa
(make sure you also have libglitz1 and libglitz-glx1)
It's going also install libgl1-mesa-dri as well. It'll probbly uninstall a bunch of important (seeming) packages --do it.

You won't need to restart anything, just run "thefuture" again (or start compiz) and you should be all set!

Please let me know if this doesn't work for you!

In addition:
DEBIAN USERS!!
I'm actually running Debian myself. To get this up and running on your DEBIAN system, you need to take some risks and be a little ballsy with your system:

Setup a pair (deb & deb-src) of Ubuntu repositories in your sources.list file for apt-get / synaptic and have them pull from the dapper version.
Install xserver-xgl, compiz, compiz-gnome and anything else that's required (I believe it'll prevent you from installing those unless you also install xserver-xorg [I think there are a few differences from debian xorg and ubuntu's xorg]).
Now you're almost done. Pretty much follow the instructions here, and then you should be all set.

you'll actually also need to install the nvidia-kernel-common and nvidia-glx as mentioned above because downloading the nvidia driver install packages from nvidia.com will place it in the correct location for debian, not for ubuntu.

I'm going to try and write up some more specific instructions and post them up somewhere, when I do I'll make the URL available. In the meantime, you should be able to get through it with what you have in this forum!
Best of luck! --it's SLICK :-D (although you can tell it's still alpha: resizing windows isn't nearly as nice as moving them around :-# )

zaziork
February 28th, 2006, 09:05 PM
I
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


Yes, my aMSN is no longer starting, even when I'm not in compliz. Anyone have any ideas?

Lack of aMSN is a small price to pay though.. :D

EDIT: Just found the answer to the aMSN issue, as posted in another thread by Greg T:

sudo ln -s /etc/X11/rgb.txt /usr/share/X11/

bradx3
March 1st, 2006, 05:52 AM
Oh this is freaking awesome. It worked first go and now I'm just spinning around and around and around haha.

Thanks for the howto and tips to everyone involved.

GoA
March 1st, 2006, 09:24 AM
OMG. This is something unbelievable. Works like a charm on my computer: Athlon 2800 XP, 1 gig ram, geforce 5200 FX. Is there any use to upgrade the display adapter to geforce 6800le? I own one but it isn't currently attached to the system. Would overcloking give much more speed to the system? Just great. I have just been laughing at home now. :D Got to go to the gym now and play after for more with computer. Thank you so much from the guide poofy and devs.

dolson
March 1st, 2006, 09:58 AM
No, the 6800 is crap! Send it to me! ;)

I have a FX 5200 and it woks ok on my system, but I'd pop in that 6800 ASAP, if it were mine. :)

poofyhairguy
March 1st, 2006, 10:02 AM
Am I the only one that already can't imagine going back to a world before windows wobbled?

zAo
March 1st, 2006, 10:19 AM
Am I the only one that already can't imagine going back to a world before windows wobbled?
No, you are not. I miss it at work. Somehow; don't know what or why I miss it :) I just love it I guess ;)

I only the times that I use a lot of CPU time and XGL slows down :-#

denisesballs
March 1st, 2006, 10:43 AM
Has anyone thought of a way to make inactive windows transparent automatically? Like when you remove focus, they automatically become opaque? That would be so awesome, how would that even be done?

aamukahvi
March 1st, 2006, 11:02 AM
Has anyone thought of a way to make inactive windows transparent automatically? Like when you remove focus, they automatically become opaque? That would be so awesome, how would that even be done?
I think if someone just wrote a simple plugin for Compiz (or modified the Opacity-plugin) that would be it.

mstlyevil
March 1st, 2006, 11:09 AM
Am I the only one that already can't imagine going back to a world before windows wobbled?

I completely wiped Windows and Breezy off of my hard drive because I just cant go back to a system with no XGL/Compiz and all the awesome eye candy.:mrgreen:

markr
March 1st, 2006, 11:31 AM
Hi,

I've just installed Dapper under VMWare workstation and would like to try out the XGL stuff (Looks cool!).

However, I believe that VMWare runs it's own video driver (i.e. I can't download and install the NVidia driver for Ubuntu). Before I risk breaking my system, does anyone know if XGL will work under VMWare?

Thanks

Mark.

zAo
March 1st, 2006, 11:42 AM
Hi,

I've just installed Dapper under VMWare workstation and would like to try out the XGL stuff (Looks cool!).

However, I believe that VMWare runs it's own video driver (i.e. I can't download and install the NVidia driver for Ubuntu). Before I risk breaking my system, does anyone know if XGL will work under VMWare?

Thanks

Mark.
Since VMware emulates even you VGA card, you can't run XGL on VMware.

GoA
March 1st, 2006, 12:02 PM
No, the 6800 is crap! Send it to me! ;)

I have a FX 5200 and it woks ok on my system, but I'd pop in that 6800 ASAP, if it were mine. :)

Otherwise yes, but it makes noise. :D 5200 is passive and I wouldn't put a passive heatsink on that baby. But anyway, Currently everything is going on smoothly and very responsively. I'm just thinking that would the 6800 do the rendering better and using lesser cpu power etc. So is there any reason for switch if I don't play games?

And poofy, yes, now windows and breezy feel very very dull. I just like to move windows for fun. :D

scav
March 1st, 2006, 12:29 PM
Has anyone thought of a way to make inactive windows transparent automatically? Like when you remove focus, they automatically become opaque? That would be so awesome, how would that even be done?


Ive got this working with a script posted earlier in this thread.. it bugs abit if you dont remove the fade plugin from compiz, but else it works really great!

tronica
March 1st, 2006, 01:22 PM
I got this installed and it works fine now, however playing video is a different story. Either the video won't play or is jumbled up. but then some vids are fine heres a screenshot of one video.

http://itransfer.ath.cx/screens/messed-up_video.png

DeeZiD
March 1st, 2006, 01:51 PM
I've got everything working now under Dapper.
Even the scaler key (F12) works (under OpenSuSe 10.1 it doesn't).
I even applied the kdelibs patch, so there no more kde-systray-issues.

But there's still one big problem.
I cannot use Xv, because it is horrible slow :(.
I've followed the how-to of course.

I want to use Xine with DVB and deinterlacing.
Is there any other way (I don't want mplayer for it, since it isn't a backend for Kaffeine, which works very fine in dapper :))

Even glxgears won't work.
Only a black window pops up.


I've noticed the following:
If I don't install "libgl1-mesa" I got the famous ..texture_from_pixmap...bla-bug and compiz won't work.
But Xv is still very fast and glxgears works.

After an installation of "libgl1-mesa" compiz works but glxgears doesn't and Xv (and OpenGl and Xhsm and SDL etc...) are very slow :(


This problem doesn't happen on OpenSuSE. But I don't want to switch to OpenSuSE 10.1 again (BUGS!!!!!!!) and Kubuntu is so fine. ;)


Am I the only one with this (ubuntu-specific)-bug?


regards Dennis

DeeZiD
March 1st, 2006, 02:29 PM
I'm now trying to compile everything from cvs.
Maybe that works :)


regards Dennis

bradx3
March 1st, 2006, 03:46 PM
Am I the only one that already can't imagine going back to a world before windows wobbled?
I can't. How did we ever live like that?

tseliot
March 1st, 2006, 04:12 PM
Wonderful guide! I'm really fond of my Dapper and XGL.

Thanks for the guide!

poofyhairguy
March 1st, 2006, 07:14 PM
Wonderful guide! I'm really fond of my Dapper and XGL.

Thanks for the guide!

That means a lot coming from the king of Ubuntu guides!

dolson
March 1st, 2006, 07:31 PM
I can't. How did we ever live like that?
OH COME ON! It's *JUST* a bit of eye candy... This isn't anything to write home about... This is really nothing that you haven't seen before. Ooo, windows "wobble" when you move them... Oh my, I better act like it's the end of the world. Microsoft is the leader of innovation, you'll see when Vista SE comes out, it will have the wobble effects and all that stuff, because Microsoft innovates. Blah blah blah.




...





OK, You're Right! I Admit It!!! I love my Xgl! It is really super! :D ;)

bhursey
March 1st, 2006, 09:09 PM
I have it working fine. But here's what I want working, and I would love if any one have gotten any of this to work..

I got mplayer working by editing this line
command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo

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

But here is my question. I watch alot of tv on my system tvtime, vlc, totem, XawTV all have scribbled video. My question is how can I get all of these to work. Note this is not slow video it is scribbled.

Here is a screenshot of what I am seeing.. Any ideas?
http://static.flickr.com/38/106578724_47c9cc06c1.jpg

Thanks for the help..

bradx3
March 1st, 2006, 09:43 PM
OH COME ON! It's *JUST* a bit of eye candy... This isn't anything to write home about... This is really nothing that you haven't seen before. Ooo, windows "wobble" when you move them... Oh my, I better act like it's the end of the world. Microsoft is the leader of innovation, you'll see when Vista SE comes out, it will have the wobble effects and all that stuff, because Microsoft innovates. Blah blah blah.
...
OK, You're Right! I Admit It!!! I love my Xgl! It is really super! :D ;)
Hehe I wasn't being 100% serious.

Even if it's just a bit of a novelty. I am missing my boxed desktop at work here. :-(

opera118
March 1st, 2006, 10:09 PM
By the way, has anyone gotten AIGLX to run?
I don't really like the idea of XGL as it's a completely new X. Movies messed up? Keyboard messed up (shift-backspace)? Well, if you're gonna rewrite X, there's a _lot_ of work to do. AIGLX doesn't really have these issues afaik. Even mouse-stuff never worked well for me in XGL.
Maybe in a few years from now it'll be smooth.
I dunno about the status of AIGLX tho.

poofyhairguy
March 1st, 2006, 10:12 PM
I don't really like the idea of XGL as it's a completely new X.

Not really. It runs on top of the old X- it adds OpenGL extentions to the old X.

Xegl is the "completely new X" and that project is dead as far as I know.

opera118
March 2nd, 2006, 04:00 AM
Not really. It runs on top of the old X- it adds OpenGL extentions to the old X.

No. It's not an extension, it is in fact a new server. You don't start X (or implicitly with startx) but Xgl. A new server. That is, in my perspective the reason why a lot of things don't work well (mouse for me, keyboard for most, image damage). It is not an extension to the old X, you're refering to glx. That's the extension. Xgl is the new server.
Aiglx is an extension however. Hence my reason to post.

Xegl is the "completely new X" and that project is dead as far as I know.

Xegl is "the nice way" of doing Xgl which is a hack right now. And as for as I know about dead, it's rather the other way around. The fedora people seems to work on the aiglx while novell works on xgl. Nvidia officially praises the aiglx thought over xgl, and might stop supporting xgl (I think) if aiglx turns out to work well. It works better with their driver development.

Don't get me wrong tho, I think Xgl is very interesting and it sure demonstrates what can be done. Still, I wonder if anyone got aiglx to work or if it's not up to par for usage yet.

EDIT: Also, X.org seems to be planning on releasing aiglx in the mainstream X.org, but not Xgl. This is reason enough to start investigating aiglx further.

foffa
March 2nd, 2006, 05:41 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 &"

)

Copy rgb.txt from /etc/X11/ to /usr/share/X11/ will help you with the problem in xterm.

wmf521
March 2nd, 2006, 12:34 PM
Hi,
Thanks for such useful posting, though despite this I still have the same error that a lot of others have seen but I can't resolve,

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


I am running ubuntu dapper and the latest nvidia driver (NVIDIA 5700LE) which I installed from the nvidia site, I am not using the ubuntu packaged nvidia deb. I made the additions to gdm, and I compiled the glitz myself from the cvs source as advertised....any ideas?

Thanks so much.

caish5
March 2nd, 2006, 12:39 PM
I just got all this working and it rocks!! Great Guide...

Just one small thing though...

How can i slow my mouse pointer down?
The usual System->Preferences->Mouse no longer works and it's moving around waaay to fast.

Thanks
Andy

wouaren
March 2nd, 2006, 01:12 PM
Hi,
Thanks for such useful posting, though despite this I still have the same error that a lot of others have seen but I can't resolve,

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


I am running ubuntu dapper and the latest nvidia driver (NVIDIA 5700LE) which I installed from the nvidia site, I am not using the ubuntu packaged nvidia deb. I made the additions to gdm, and I compiled the glitz myself from the cvs source as advertised....any ideas?

Thanks so much.

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

I did exactly this when i get the same error...
Because all was working (gfx card, screen) well except this error. I though there's must be something wrong with the install.

wmf521
March 2nd, 2006, 01:56 PM
Yeah this still doesn't fix the problem,

thanks though.

karthik085
March 2nd, 2006, 08:31 PM
Thanks, it works for me. I used proprietary nvidia drivers, instead of the ones in respos. It removed libGL.so.1.2. So, I removed and installed libgl1-mesa. This time, I copied libGL.so.1.2 to a temp directory. Then, I reinstalled the nvidia drivers. I copied back libGL.so.1.2 and
ln -sf /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1
Then, followed the instructions. Damn, there it was :-)

P.S.: I did Ctrl+Alt+F1. Pointed the link from libGL.so.1 to libGL.so.1.2. Restarted GDM. But, X server crashed. This is because of removing the symbolic link libGL.so.1, pointing to libGL.so.1.0.8178. So, it is safe, always to keep this symbolic link and change only when you need to run compiz, after you start gdm. If you want to run compiz, every time you reboot, you can make the link libGL.so.1 point to libGL.so.1.2 and at the time of shutdown, point back to libGL.so.1.0.8178.

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.

opera118
March 2nd, 2006, 09:41 PM
A general rule for new *nix users is not to delete or copy files, but to move and symlink. Not always, but often. Don't copy rgb for instance, symlink it.

This texture_from_pixmap stuff is interesting. Why it doesn't work with 8178 is because nvidia hasn't implemented it yet. Instead you're using the mesa alternative (software GL). I wonder how much better things will work when it gets native support from the hardware... Probably reduce CPU a lot (making Xgl less cpu dependent - not causing it to suck when compiling for instance)...
We'll just have to wait and see.

RAOF
March 3rd, 2006, 01:15 AM
...
This texture_from_pixmap stuff is interesting. Why it doesn't work with 8178 is because nvidia hasn't implemented it yet. Instead you're using the mesa alternative (software GL). I wonder how much better things will work when it gets native support from the hardware... Probably reduce CPU a lot (making Xgl less cpu dependent - not causing it to suck when compiling for instance)...
We'll just have to wait and see.
I believe that the texture_from_pixmap support will bring world peace.

Or, at least, make resizing almost windows as fast as moving them around, among other things.

jnk
March 3rd, 2006, 02:08 AM
Everything works perfect here... Running a cool desktop on an old GeForce3Ti200 card.
But yesterday I noticed that all movies are realy slow. and I mean lagging so badly that it would take 4h to watch a 4min clip.
Could this be because the gfxcard is busy with drawing the desktop or w00t.?
I use the glitz from the repos... could this be the problem.?

Kebabji
March 3rd, 2006, 02:31 AM
your guide has made me fall in love with my ubuntu linux all over again. thank you.

hellfire_bg
March 3rd, 2006, 05:08 AM
Thanks for this wonderfull HOWTO and the advises i found in the posts after the howto which helped me to get this working. I have only one problem and it is gaming. Before i installed XGL i could play Unreal Tournament 2004 and some games with cedega including Warcraft III, Homeworld 1,2 Battlefiel 1942. I tried to start UT2004, but i couldn`t. I got:
Assertion failed: InPos<=Size [File:../../Core/Inc/FFileManagerLinux.h] [Line: 82]

History:

Exiting due to error

I haven`t tried cedega, but i suppose it won`t work too. Is there any way to stop XGL withowt restarting the x server (i start manually XGL with thefuture scrip everytime i start ubuntu; i haven`t added it to the list of startup programs). If it matters my video card is FX5200.


Edit from 13:41 GMT+2 Fri 3 Mar
I tried the same before i ran thefurure scrip and i got the same results. However maybe the reason is not in the script but in the modifications i did as described in the HOWTO.

byoon
March 3rd, 2006, 08:31 AM
Thanks for this wonderfull HOWTO and the advises i found in the posts after the howto which helped me to get this working. I have only one problem and it is gaming. Before i installed XGL i could play Unreal Tournament 2004 and some games with cedega including Warcraft III, Homeworld 1,2 Battlefiel 1942. I tried to start UT2004, but i couldn`t. I got:
Assertion failed: InPos<=Size [File:../../Core/Inc/FFileManagerLinux.h] [Line: 82]

History:

Exiting due to error

I haven`t tried cedega, but i suppose it won`t work too. Is there any way to stop XGL withowt restarting the x server (i start manually XGL with thefuture scrip everytime i start ubuntu; i haven`t added it to the list of startup programs). If it matters my video card is FX5200.


Edit from 13:41 GMT+2 Fri 3 Mar
I tried the same before i ran thefurure scrip and i got the same results. However maybe the reason is not in the script but in the modifications i did as described in the HOWTO.

You can try to run the games in a separate X server and that should solve your problem. You can either set it up and manually run the second X server and your game or you can do some initial setup and let xgame (a perl script) launch the second X server and your game.

Follow this thread:

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

I am having problems running Cedega with kernel 2.6.15-16-k7, but it works with kernel 2.6.16-14-k7.

Technoviking
March 3rd, 2006, 11:25 AM
I'm having a strange window problem when I turn on XGL. When a program opens up a second window the new window's title bar is blank, also the new window is unmovable. This is kinda annoying if the window is opened in a bad position, or it is covering something you need to get to.

Is this normal behavior for XGL, or weirdness at my end.

zAo
March 3rd, 2006, 11:43 AM
I'm having a strange window problem when I turn on XGL. When a program opens up a second window the new window's title bar is blank, also the new window is unmovable. This is kinda annoying if the window is opened in a bad position, or it is covering something you need to get to.

Is this normal behavior for XGL, or weirdness at my end.
I think this is normal for Compiz. You can move the window with ALT + L.Mouse

charlieg
March 3rd, 2006, 11:48 AM
The howto worked well but in Compiz I only have one workspace available (as opposed to 4 when Metacity is running). Any Tips? (Apologies for being lazy... I had a brief look already but I'm really busy and shouldn't even be throwing any time at this, tho it is fun.)

Devilotx
March 3rd, 2006, 11:38 PM
what is the command to make the window transparent?

I saw it in here, but now it's missing, I can enable all the GLX features with thefuture in the terminal, but I cannot remember the terminal command to let me click a window to make it transparent

thanks

chesko
March 4th, 2006, 09:00 AM
to configure opacity follow this guide: http://www.ubuntuforums.org/showthread.php?t=132063
It works fine :D

chesko
March 4th, 2006, 09:08 AM
I have a very weird problem with a sparkle 6600 gt:

When I move a window it works fine until I stop moving it. Then It seems that the deformation isn't hardware accelerated and causes major slow-downs.

I think this happens because in a 6600 gt the 3D engine isn't always working, but only when needed. And It seems that the 3D engine is disconected before the deformation of the window has finished.

To try this a bit more I play a video at the same time. Since It uses 3D acceleration there aren't any problems if the video is running, because the 3D engine of the card is working all the time.
If I play a video I can run as many accelerated things as I want. All works perfect without slow-downs... I can play four movies with different opacities, I can move windows with deformations, all at the same time without problems.

I don't want to always have a video window running to fully enjoy the Xgl advantages... any hints on how to solve this?

chesko
March 4th, 2006, 09:21 AM
I have a very weird problem with a sparkle 6600 gt:

When I move a window it works fine until I stop moving it. Then It seems that the deformation isn't hardware accelerated and causes major slow-downs.

I think this happens because in a 6600 gt the 3D engine isn't always working, but only when needed. And It seems that the 3D engine is disconected before the deformation of the window has finished.

To try this a bit more I play a video at the same time. Since It uses 3D acceleration there aren't any problems if the video is running, because the 3D engine of the card is working all the time.
If I play a video I can run as many accelerated things as I want. All works perfect without slow-downs... I can play four movies with different opacities, I can move windows with deformations, all at the same time without problems.

I don't want to always have a video window running to fully enjoy the Xgl advantages... any hints on how to solve this?


ok, I can solve this as explained in the very first post of this thread :p :

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:
Code:

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

And now it works fine, but it still seems to me a very weird thing because with video on it worked fine even I tried to overload the graphic card

Sav
March 4th, 2006, 12:51 PM
Thanks a lot.
I made it works in few minutes.
I love it.

ohsnapninjas
March 5th, 2006, 01:04 AM
One more thing to do is get truly transparent terminal windows!
1. I installed the following Deb package: http://geek.fi/urxvt/rxvt-unicode_7.6-1_i386.deb
2. I took the .Xdefaults that this guy (http://geek.fi/urxvt/) had as well since without them I got a “no such color, using pink instead” message.
3. Next step was to reload the .Xdefaults for the session: “xrdb -load ~/.Xdefaults”
4. Now I can launch truly transparent windows! Personally I like the look of the following:
5. urxvt -depth 32 -fg rgba:ffff/ffff/ffff/ffff -bg rgba:0000/0000/0000/7777

Here is some multiple color overlapping a Starcraft session in Wine
http://ohsnapninjas.com/files/rgbstarcraft_thumb.png

jroes
March 5th, 2006, 01:15 AM
You know, I was just thinking. It would make a lot of sense to put that xmodmap line at the end of the /usr/bin/thefuture script.

gheorghe_pop
March 5th, 2006, 06:58 AM
For me it doesen't work.
I tried running thefuture script as much as 40 times and the best that i get is:

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
gnome-window-decorator: Another window decorator is already running

Jaidee
March 5th, 2006, 09:09 AM
Hello,

I've followed all the steps in this guide and also for installing the newest NVidia drivers, as described on the Latest-NVidia-Dapper wiki page. Here is my xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Wed Dec 14 16:39:22 PST 2005

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "Files"

# path to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 51.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV17 [GeForce4 420 Mac 32M/GeForce 440 Go 64M]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "IgnoreEDID" "true"
Option "IgnoreEdidFreqs" "true"
Option "GenerateRTList" "0"
Option "OverridePolarity" "1"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV17 [GeForce4 420 Mac 32M/GeForce 440 Go 64M]"
Monitor "Generic Monitor"
DefaultDepth 24
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection