Compiz won't start after upgrade
I upgraded my Ubuntu system from Jaunty to Karmic the other day and now compiz will not work. I tried changing my video driver in xorg.conf, and rebooted my computer many times. I tried "ati", "radeon", "flgrx", and "fbdev". ati and radeon work (makes sense since its a radeon card), but compiz still wont work. When I go to appearance settings and click on effects, it says that desktop effects can not be enabled. So I ran "compiz.real --replace" from the command line and it core dumped. So I ran compiz from the command line, and it failed, but I will post the output here:
Code:
Checking for Xgl: not present. |
Code:
Checking for Xgl: not present. Code:
grep '(EE)' /var/log/Xorg.0.log |
Code:
prushik@ubuntu:~$ grep '(EE)' /var/log/Xorg.0.log > errorland |
Possibly not a library issue - the error might be indicating that X is trying to use the radeon driver without loading the kernel's radeon DRM driver, apparently. This seems possible or even likely given the history of trying the fglrx drivers; these may be getting in the way.
Code:
sudo rmmod fglrx "errorland" is a scary and depressing place :/ |
Quote:
Adam |
Quote:
Adam |
Quote:
|
texture_from_pixmap refers to the opengl extension GLX_EXT_texture_from_pixmap. The X server stores all windows and their contents as pixmaps, and that opengl extension allows your drivers to convert those pixmaps easily to an opengl texture. compiz relies upon this extension and, in fact, this extension was originally specified by the (former) primary compiz developer. However, he was aware of the fact that it would take a while for all opengl driver implementations for linux to support this opengl extension. In addition, not all drivers even supported the Xorg COMPOSITE extension. So this developer (David Reveman) wrote a nested X server, called Xgl. This X server runs on top of Xorg, provides the Composite extension and, when used in conjunction with Mesa, can provide the GLX_EXT_texture_from_pixmap extension.
However, at the present time, intel, nvidia, AMD and, supposedly, VIA all produce drivers that support Composite and texture_from_pixmap. They are the only cards known to run compiz. So, in this day and age, there is no reason to use Xgl. Development on Xgl stopped a long time ago, and I'm not aware of any recent distribution that actually ships with Xgl. However, the compiz-manager script still checks for the presence of Xgl. So, in short, the lack of presence of Xgl has nothing to do with whether or not a persons opengl drivers are setup properly. Adam |
Thanks for clearing that up for me.
|
Here's dmesg
Code:
prushik@ubuntu:~$ dmesg | grep -i drm Code:
prushik@ubuntu:~$ lsmod I did try to rmmod fglrx but it said that fglrx wasn't loaded. So that didn't help. Still looking for a solution.. |
I'm not sure if this is relevant, but I ran glxinfo, and heres the output:
Code:
prushik@ubuntu:~$ glxinfo |
We really need to see your full Xorg log. Please use a service like http://pastebin.com/ and give us the URL here. Also, please show us the full output of 'LIBGL_DEBUG=verbose glxinfo'.
Adam |
http://pastebin.com/m15db4ac1
Thats Xorg.0.log 'LIBGL_DEBUG=verbose glxinfo' was exactly the same as 'glxinfo' |
Did you compile your own kernel? What is the output of 'dmesg | grep drm' ?
Oh, actually, first remove fglrx completely from your box. You still have it at least partially installed. Adam |
Quote:
I already posted the output of 'dmesg | grep drm' (I added a '-i' to grep) it was: Code:
prushik@ubuntu:~$ dmesg | grep -i drm |
[Solved]
Ok. Problem solved.
It actually was an issue with OpenGL. It was a problem with my version of Mesa. I'm not sure, but I'm guessing something went wrong in the update, I uninstalled gl1-mesa-glx and installed gl1-mesa-dri and gl1-mesa-swx11. Then I ran "compiz --replace" and it worked, but very slowly and there were thick black borders on my windows. I saw in the output that texture_from_pixmap was present and that it never tried indirect rendering. So I uninstalled gl1-mesa-swx11 and installed gl1-mesa-glx again and then compiz ran perfectly. I saw in the output that texture_from_pixmap was not present, but then it tried indirect rendering and then it found texture from pixmap. Now everything is working except the "unsupported" plugins. They disable themselves whenever I enable them. Anybody know how to force them to work? |
Quote:
Adam |
All times are GMT -5. The time now is 11:23 PM. |