<?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>UbuntuSolutions : Category compiz, everything about compiz</title>
    <link>/category/compiz.rss</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Fix for Firefox flashing when in full screen</title>
      <description>&lt;p&gt;Since Jaunty, when Firefox is displayed in full screen (F11), any of the following actions will result in Firefox disappearing for a second and the background desktop image replacing it:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;right click&lt;/li&gt;
    &lt;li&gt;alt-tab&lt;/li&gt;
    &lt;li&gt;hovering over a link with a tool tip&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That happens if compiz is in use and I verified the problem both on machines using Intel and Nvidia video cards.&lt;/p&gt;
&lt;p&gt;The fix is easy:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;go to System -&amp;gt; Preferences -&amp;gt; CompizConfig Settings Manager -&amp;gt; General&lt;/li&gt;
    &lt;li&gt;uncheck &amp;quot;Unredirect Fullscreen Windows&amp;quot;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <pubDate>Mon, 11 May 2009 18:52:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:bbe18077-bf6c-40c7-b947-196fbfb90375</guid>
      <comments>http://www.ubuntusolutions.org/2009/05/fix-for-firefox-flashing-when-in-full-screen.html#comments</comments>
      <category>ubuntu</category>
      <category>compiz</category>
      <category>nvidia</category>
      <category>firefox</category>
      <category>intel</category>
      <category>nvidia</category>
      <category>compiz</category>
      <link>http://www.ubuntusolutions.org/2009/05/fix-for-firefox-flashing-when-in-full-screen.html</link>
    </item>
    <item>
      <title>Screen flickering with nvidia on ubuntu</title>
      <description>&lt;p&gt;Another nasty side effect of using compiz with an nvidia video card is the screen flickering. Right when a compiz  3D effect kicks in or 30 seconds after it, the screen goes black for a fraction of a second. This is not a new issue, I have struggled with it since hardy and it happens with all nvidia driver versions I can remember (173, 177 and 180).&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Cause&lt;/b&gt; The cause the is the Powermizer feature of the nvidia driver. It adjusts the &lt;span class="caps"&gt;GPU&lt;/span&gt; speed depending on the usage that is being made of the desktop. Every time Powermizer decides to change the frequency, the screen flickers. You can easily verify that by going to the &amp;quot;Nvidia X Server Settings&amp;quot; panel, Powermizer. Watch the &amp;quot;Performance Levels&amp;quot; and see how the level changes every time the screen flickers.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Solutions&lt;/b&gt; There are many related posts on the web. The most common solution that gets reported is described for example at &lt;a href="http://www.linuxoutlaws.com/forums/viewtopic.php?f=2&amp;amp;t=956"&gt;Linux Outlaws Forum&lt;/a&gt;.  Add the following lines to /etc/modprobe.d/options:&lt;/p&gt;
&lt;pre&gt;
options nvidia NVreg_RegistryDwords='PerfLevelSrc=0x2222'
options nvidia NVreg_Mobile=1
&lt;/pre&gt;
&lt;p&gt;It didn&amp;#8217;t worked for me in Intreprid or older Ubuntu releases.&lt;/p&gt;
&lt;p&gt;So the real solution that does completely works for me is to freeze the powermizer performance level to 0 through the &amp;quot;Nvidia X Server Settings&amp;quot; panel in the &amp;quot;Clock frequencies&amp;quot; pane. But that panel is only available after setting the &amp;quot;Coolbits&amp;quot; option in /etc/X11/xorg.conf in the screen section. For example, this is what I have:&lt;/p&gt;
&lt;pre&gt;
Section &amp;amp;quot;Screen&amp;amp;quot;
       Identifier     'Default Screen'
       Device         'nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300]'
       Monitor        'Generic Monitor'
       Option         'AddARGBVisuals' 'True'
       Option         'NoLogo' 'True'
       Option         'RenderAccel' 'True'
       Option         'Coolbits' '1'
       Option         'RegistryDwords' 'PowerMizerLevel=0x3'
       Option         'AddARGBGLXVisuals' 'True'
       DefaultDepth    24
       SubSection 'Display'
               Depth       24
               Modes      '1680x1050'
       EndSubSection
EndSection
&lt;/pre&gt;
&lt;p&gt;Then after restarting X, you can open the Nvidia setting panel and do the following:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Go to &amp;quot;Clock frequencies&amp;quot;&lt;/li&gt;
    &lt;li&gt;Check the &amp;quot;Enable Overclocking&amp;quot; box and accept the warning&lt;/li&gt;
    &lt;li&gt;Select &amp;quot;3D clock frequencies&amp;quot; and pick a &lt;span class="caps"&gt;GPU&lt;/span&gt; and Memory frequency&lt;/li&gt;
    &lt;li&gt;Apply&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;On my 7300 card, setting &lt;span class="caps"&gt;GPU&lt;/span&gt; to 100MHz and Memory to 400MHz works just fine, compiz 3D effects are still very smooth.  Unfortunately, this needs to be done every time you restart X. If somebody finds a better solution, please let me know.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update for Jaunty 9.04 and nvidia 180 (4/24/2009): &lt;/strong&gt;in Jaunty with 180.44 and xorg 1.6, where the flickering is worst than ever,&amp;nbsp; the solution above with /etc/modprobe.d/options actually works and no there is no need to lock the 3D clock frequency.&lt;/p&gt;</description>
      <pubDate>Sat, 28 Feb 2009 19:27:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:1b1ef9e0-2cf5-498c-a118-7334d21c33e4</guid>
      <comments>http://www.ubuntusolutions.org/2009/02/screen-flickering-with-nvidia-on-ubuntu.html#comments</comments>
      <category>ubuntu</category>
      <category>compiz</category>
      <category>nvidia</category>
      <link>http://www.ubuntusolutions.org/2009/02/screen-flickering-with-nvidia-on-ubuntu.html</link>
    </item>
    <item>
      <title>Nvidia driver and image corruption in Intrepid</title>
      <description>&lt;p&gt;Compiz is a must have on a Linux desktop. It brings the end user experience up to the MacOSX level. Unfortunately it sometimes comes with nasty side effects. On my Inspiron 6400 with a 7300 video card, it started misbehaving in Intrepid with driver 177. Window titles would either disappear or get painted with weird pink stripes. It happens only sometimes and only with a few applications. It may happen when the focus switches from one window to another or just when typing.&lt;/p&gt;


	&lt;p&gt;Thunderbird is the application where it happens the most. The definitive test is to start a new email and type the subject: the titlebar  of that window will systematically get corrupted. It&amp;#8217;s really ugly when it happens.&lt;/p&gt;


	&lt;p&gt;Nvidia driver version 177 is clearly the worst. Reverting to 173 improves things a bit but it still won&amp;#8217;t pass the Thunderbird compose email test. You can easily switch to 173 by going to System/Administration/Hardware Drivers.&lt;/p&gt;


	&lt;p&gt;But today, as I was experimenting with the newest nvidia driver, 180.29, everything got fixed. Big thanks to Nvidia for fixing this!&lt;/p&gt;


	&lt;p&gt;How to setup the 180 driver in Ubuntu Intrepid Ibex?&lt;/p&gt;


I followed the instructions in &lt;a href="http://adammichaelroach.com/blog/021809/installing-nvidia-18029-drivers-intrepid"&gt;Adam Michael Roach webpage&lt;/a&gt;.
Basically, do the following:
Append those 2 lines to /etc/apt/sources.list:
&lt;pre&gt;
deb http://ppa.launchpad.net/anders-kaseorg/ppa/ubuntu intrepid main
deb-src http://ppa.launchpad.net/anders-kaseorg/ppa/ubuntu intrepid main
&lt;/pre&gt; and run the following commands:
&lt;pre&gt;
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 026491A5DD081BDC6CDFC0DE6298AD34413576CB
sudo apt-get update
sudo apt-get install nvidia-glx-180
&lt;/pre&gt; Reboot and you&amp;#8217;re done:
&lt;pre&gt;
me@myhost ~ $ dmesg | grep -i nv
[   16.183016] nvidia: module license 'NVIDIA' taints kernel.
[   16.438964] nvidia 0000:01:00.0: PCI INT A -&amp;gt; GSI 16 (level, low) -&amp;gt; IRQ 16
[   16.438974] nvidia 0000:01:00.0: setting latency timer to 64
[   16.439174] NVRM: loading NVIDIA UNIX x86 Kernel Module  180.29  Wed Feb  4 23:44:25 PST 2009
&lt;/pre&gt;</description>
      <pubDate>Sat, 28 Feb 2009 19:24:00 -0800</pubDate>
      <guid isPermaLink="false">urn:uuid:dbbd5509-d592-4ac9-aa1c-0dcc9a7ddf3c</guid>
      <comments>http://www.ubuntusolutions.org/2009/02/nvidia-and-image-corruption-in-intrepid.html#comments</comments>
      <category>ubuntu</category>
      <category>compiz</category>
      <category>nvidia</category>
      <link>http://www.ubuntusolutions.org/2009/02/nvidia-and-image-corruption-in-intrepid.html</link>
    </item>
  </channel>
</rss>

