<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Michele Campeotto: Tag xgl</title>
    <link>http://blog.micampe.it/articles/tag/xgl?tag=xgl</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>I'm not Winston Wolfe.</description>
    <item>
      <title>Ubuntu, fglrx, Xgl, compiz and missing GLX_EXT_texture_from_pixmap</title>
      <description>&lt;p&gt;Ok, now that I have put all the keywords I could think of in the title, let me explain.&lt;/p&gt;

&lt;p&gt;If you have followed any and all of the thousand &amp;#8220;HOWTO Install Xgl&amp;#8221; around the net and you always end up with the same error:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :1.0
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;the problem is that ATI hasn&amp;#8217;t yet released a driver with that new extension that &lt;a href="http://lists.freedesktop.org/archives/xorg/2006-February/012760.html"&gt;Novell and Nvidia developed specifically for Xgl and compiz&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The extension is implemented by Mesa though, so we need get compiz to use that. The problem is that when you install the fglrx driver it overwrites &lt;tt&gt;/usr/lib/libGL.so.1.2&lt;/tt&gt; with its own version wich lacks this feature.&lt;/p&gt;

&lt;p&gt;To make compiz use the Mesa version, you just need to &lt;tt&gt;LD_PRELOAD&lt;/tt&gt; that single library. If you have installed the fglrx driver by building the debian packages you have to use this command:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;LD_PRELOAD=/usr/share/fglrx/diversions/libGL.so.1.2 compiz --replace gconf
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;If you manually made a backup, just substitute there the path to your backup. If you used other package types, I don&amp;#8217;t know how thy handle diversions.&lt;/p&gt;

&lt;p&gt;The thing is quite unstable here and because it&amp;#8217;s - at least partialliy - using Mesa it uses a bit of CPU, but it&amp;#8217;s incredibly smooth.&lt;/p&gt;

&lt;p&gt;One thing that &lt;em&gt;always&lt;/em&gt; make it crash is the zoom thing the panel does when you click on a launcher: disable it with &lt;tt&gt;gconf-editor&lt;/tt&gt; in &lt;tt&gt;/apps/panel/global/enable_animations&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;Now stop spinning that cube and get something done!&lt;/p&gt;</description>
      <pubDate>Sat, 18 Feb 2006 01:58:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:f08bf757-0ff7-45b1-886a-58e27ac82c86</guid>
      <author>micampe</author>
      <link>http://blog.micampe.it/articles/2006/02/18/ubuntu-fglrx-xgl-compiz-and-missing-glx_ext_texture_from_pixmap</link>
      <category>English</category>
      <category>ubuntu</category>
      <category>xgl</category>
      <category>compiz</category>
      <category>mesa</category>
      <category>radeon</category>
      <category>bling</category>
      <trackback:ping>http://blog.micampe.it/articles/trackback/201</trackback:ping>
    </item>
  </channel>
</rss>
