<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Too Far Afield &#187; Kernel</title>
	<atom:link href="http://blog.nachtarbeiter.net/tag/kernel/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nachtarbeiter.net</link>
	<description></description>
	<lastBuildDate>Mon, 09 Jan 2012 05:41:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Choppy Flash video in full-screen mode on Ubuntu</title>
		<link>http://blog.nachtarbeiter.net/2009/08/19/choppy-flash-video-in-full-screen-mode-on-ubuntu/</link>
		<comments>http://blog.nachtarbeiter.net/2009/08/19/choppy-flash-video-in-full-screen-mode-on-ubuntu/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 00:59:57 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Intel]]></category>
		<category><![CDATA[Jaunty]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[MTRR]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[X.org]]></category>

		<guid isPermaLink="false">http://blog.nachtarbeiter.net/?p=828</guid>
		<description><![CDATA[When I originally upgraded to Ubuntu 9.04 (Jaunty), I noticed that Flash video in full-screen mode was kind of choppy. I never took the time to debug this and instead worked around this by either not watching Flash videos in full screen mode, not watching Flash videos at all or using the excellent Youtube integration [...]]]></description>
			<content:encoded><![CDATA[<p>When I originally upgraded to <cite>Ubuntu 9.04</cite> (<cite>Jaunty</cite>), I noticed that <cite>Flash</cite> video in full-screen mode was kind of choppy. I never took the time to debug this and instead worked around this by either not watching <cite>Flash</cite> videos in full screen mode, not watching <cite>Flash</cite> videos at all or using the excellent <cite>Youtube</cite> integration of <cite>Totem</cite>. However, today I did some research into the problem and found <a href="https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/314928/">a bug</a> in Launchpad, which solved the problem for me. It turns out that there is a bug affecting the <cite>Intel</cite> stack (in this case <cite>Intel stack</cite> means not necessarily an <cite>Intel</cite> graphics card, but <cite>Intel</cite> processor). The bug is a miscommunication between <cite>X.org</cite> and the <cite>Kernel</cite>, which results in a misconfiguration of the <cite>Memory Type Range Registers</cite> (<cite>MTRR</cite>) in the <cite>Kernel</cite>. The result is poor performance in video playback and everything that involves graphics in general. This bug has been fixed upstream and in <cite>Karmic</cite>. A fix for <cite>Jaunty</cite> has been developed, but is yet to be released. </p>
<p>You can test, if you are affected, by running <code>cat /proc/mtrr</code> on the command line. If you can&#8217;t see a line, which ends in <code>write-combining</code> you are most certainly affected by this. You can further check with <code>lspci -vv</code> and check the <cite>Region 0</cite> memory range of your <abbr title="Video Graphics Array">VGA</abbr> adaptor. If you cant find that memory range in your <code>mtrr</code> file, you are probably affected.</p>
<p>Until the fix is released, one solution is to run <a href="http://launchpadlibrarian.net/26193373/fixmtrr.sh">this shell script</a> as <code>root</code> after every restart of your <cite>X.org</cite> server. <strong>Warning</strong>: Audit any external file before you run it as <code>root</code> on your computer! The script should update the <abbr title="Memory Type Range Registers">MTRR</abbr> configuration of the <cite>Kernel</cite> with the correct settings. If you are affected by the bug, you will notice a slight improvement in overall graphics performance and the full-screen Flash videos should now play as originally intended.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nachtarbeiter.net/2009/08/19/choppy-flash-video-in-full-screen-mode-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

