<?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>Linux tips collection</title>
	<atom:link href="http://blog.morrigan.ch/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.morrigan.ch</link>
	<description>Collection of linux tips and tools</description>
	<lastBuildDate>Sun, 29 Apr 2012 15:09:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>GitWeb / Mantis / Source Control Integration / Gitweb Integration</title>
		<link>http://blog.morrigan.ch/?p=165</link>
		<comments>http://blog.morrigan.ch/?p=165#comments</comments>
		<pubDate>Wed, 25 Apr 2012 05:55:58 +0000</pubDate>
		<dc:creator>gwydion</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.morrigan.ch/?p=165</guid>
		<description><![CDATA[Here a patch for fixing broken urls while using a newer gitweb version:
GitWebManits-1.7.1
]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Here a patch for fixing broken urls while using a newer gitweb version:</p>
<p><a href="http://blog.morrigan.ch/wp-content/uploads/2012/04/GitWebManits-1.7.11.txt">GitWebManits-1.7.1</a></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.morrigan.ch/?feed=rss2&amp;p=165</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KDE 4.7 &#8211; Scientific Linux 6.1</title>
		<link>http://blog.morrigan.ch/?p=162</link>
		<comments>http://blog.morrigan.ch/?p=162#comments</comments>
		<pubDate>Tue, 15 Nov 2011 16:23:05 +0000</pubDate>
		<dc:creator>gwydion</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.morrigan.ch/?p=162</guid>
		<description><![CDATA[Just want to say after days I successfully got KDE 4.7 compiled with everything working!
]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Just want to say after days I successfully got KDE 4.7 compiled with everything working!</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.morrigan.ch/?feed=rss2&amp;p=162</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>kdevelop4 and windows</title>
		<link>http://blog.morrigan.ch/?p=154</link>
		<comments>http://blog.morrigan.ch/?p=154#comments</comments>
		<pubDate>Tue, 22 Mar 2011 22:40:50 +0000</pubDate>
		<dc:creator>gwydion</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.morrigan.ch/?p=154</guid>
		<description><![CDATA[Some sweet stuff for those who wants to run kdevelop4 under windows without cygwin or such things.
The winkde project provides since some months no kdevelop binaries, so we cant just simply install it. Hey, what now comes is fun!  
Important: This is the HowTo for the x86_64 installation, a x86 installation should be the [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Some sweet stuff for those who wants to run kdevelop4 under windows without cygwin or such things.<br />
The winkde project provides since some months no kdevelop binaries, so we cant just simply install it. Hey, what now comes is fun! <img src='http://blog.morrigan.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Important: This is the HowTo for the x86_64 installation, a x86 installation should be the same but without the pointer problems.<br />
Important: It takes very long to compile qt, so you should have enough time and space left, at least 20 GB is needed.</p>
<ol>
<li>Read everything on this page -&gt; http://techbase.kde.org/Getting_Started/Build/Windows/emerge but do not install anything!<br />
&#8212;</li>
<li>We create now a folder KDEROOT under C:\, so the path is <em>C:\KDEROOT\<br />
&#8212; </em></li>
<li>Install http://www.python.org/ftp/python/2.7.1/python-2.7.1.amd64.msi<br />
&#8212;</li>
<li>Install ﻿﻿http://www.sliksvn.com/pub/Slik-Subversion-1.6.16-x64.msi<br />
&#8212;</li>
<li>Open a cmd and type<br />
<em>cd C:\KDEROOT<br />
&#8212;</em></li>
<li> Type<br />
<em>svn co svn://anonsvn.kde.org/home/kde/trunk/kdesupport/emerge<br />
&#8212;</em></li>
<li>Create the directory C:\KDEROOT\etc<br />
&#8212;</li>
<li>Copy the file<em> C:\KDEROOT\emerge\kdesettings-example.bat</em> to <em>C:\KDEROOT\etc\kdesettings.bat<br />
&#8212; </em></li>
<li>Change set <em>EMERGE_ARCHITECTURE=x86</em> to set <em>EMERGE_ARCHITECTURE=x64<br />
&#8212; </em></li>
<li>Go to your cmd and type<br />
<em>cd C:\KDEROOT\emerge<br />
&#8212;</em></li>
<li> Type<br />
<em>kdeenv.bat<br />
&#8212;</em></li>
<li> Now a dirty &#8220;hack&#8221;, move your python installation folder (default: C:\Python27) to <em>C:\Program Files (x86)\python27<br />
&#8212; </em></li>
<li>Back in the cmd, type:<br />
<em> emerge qt<br />
&#8212; </em></li>
<li>Wait some hours or days <img src='http://blog.morrigan.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (I had two days compiling time with a core i7, the -j 1 flag is set and I can&#8217;t find where&#8230;)<br />
&#8212;</li>
</ol>
<p>While I&#8217;m too compiling for this HowTo, you have to wait for the next steps.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.morrigan.ch/?feed=rss2&amp;p=154</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>warning: rtl8185 (Realtek Semiconductor PCI) wireless</title>
		<link>http://blog.morrigan.ch/?p=142</link>
		<comments>http://blog.morrigan.ch/?p=142#comments</comments>
		<pubDate>Sun, 28 Nov 2010 10:19:16 +0000</pubDate>
		<dc:creator>gwydion</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://blog.morrigan.ch/?p=142</guid>
		<description><![CDATA[
After months with problems with the rtl8185 chip set:
For a simply wireless network I bought a Realtek rtl8185, the chip is support since some linux kernel versions and runs out of the box.
But&#8230;
With the build-in kernel driver ﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿rtl8180 there were some problems:

Very weak signal
Strange connection problems
Strange authentication problems
Very bad connection speed around 20 kb/s (G Network!)


The biggest problem [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div>
<p>After months with problems with the rtl8185 chip set:</p>
<p>For a simply wireless network I bought a Realtek rtl8185, the chip is support since some linux kernel versions and runs out of the box.</p>
<p>But&#8230;</p>
<p>With the build-in kernel driver ﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿rtl8180 there were some problems:</p>
<ul>
<li>Very weak signal</li>
<li>Strange connection problems</li>
<li>Strange authentication problems</li>
<li>Very bad connection speed around 20 kb/s (G Network!)</li>
</ul>
</div>
<p>The biggest problem was the fact that I need to restart the computer several times before a connection to the AP was possible. There were no errors or warning, it just asked all the time for a password.</p>
<p>When the connection was successfully established there were mini-lags, that means the connection timed out for some seconds. So live streaming or voip was not possible.</p>
<p>So I change to the driver provided directly by Realtek, ﻿r8185b is the module name.</p>
<p>First I thought, year its working now, signal strength was very good displayed, not so much radio noise like with the kernel driver.</p>
<p>But..</p>
<ul>
<li>Connection speed was very bad, I have a 20 Mbit/s DSL connection, over the wlan I only got 200 kb/s</li>
<li>Asked for the WPA2 Password more then 10 times before a connection was possible</li>
<li>Too connection timeouts</li>
</ul>
<p>So I tested the whole shit with my netbook. In the same room with the same distance, at the same position:</p>
<ul>
<li>No connection problems</li>
<li>No timeouts</li>
<li>Average signal strength</li>
</ul>
<p>Ok, I went to buy a repeater for the wireless signal. Hoped it would fix the realtek problem.<br />
Nothing changed at all, so I flashed the repeater with an OSS-Firmware and configured it as a client adapter.</p>
<p>Connected it with a good old Ethernet cable to the computer, put out the rtl8185 and all problems were gone.</p>
<p>It seems I got a very bad card or the chip set is simply not usable with linux. Better you don&#8217;t buy this chip set, you will only lose time.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.morrigan.ch/?feed=rss2&amp;p=142</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>StartSSL (Startcom) SSL Certificates with Zimbra 6.x</title>
		<link>http://blog.morrigan.ch/?p=133</link>
		<comments>http://blog.morrigan.ch/?p=133#comments</comments>
		<pubDate>Tue, 25 May 2010 19:52:26 +0000</pubDate>
		<dc:creator>gwydion</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://blog.morrigan.ch/?p=133</guid>
		<description><![CDATA[Step by step guide:

Create the private key and certificate with StartSSL
Download the ca bundle
wget https://www.startssl.com/certs/ca-bundle.crt
Copy the private key to
/opt/zimbra/ssl/zimbra/commercial/commercial.key
Deploy ca bundle
/opt/zimbra/bin/zmcertmgr deployca /path-to-ca-bundle/ca-bundle.pem
Copy the ca bundle to:
/opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt
Add ca bundle to the keystore
/opt/zimbra/java/bin/keytool -import -alias new -keystore /opt/zimbra/java/jre/lib/security/cacerts -storepass changeit -file /opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt
Verify key and certificate
/opt/zimbra/bin/zmcertmgr verifycrt comm /yourpath/commercial.key /yourpath/commercial.crt
Deploy certificate
/opt/zimbra/bin/zmcertmgr deploycrt comm /yourpath/commercial.crt /yourpath/commercial_ca.crt
Restart zimbra
/etc/init.d/zimbra stop
/etc/init.d/zimbra start

Sources:
http://wiki.impressive-media.de/doc/eigenes-zimbra-ssl-cert-mit-startcom-startssl-2048
http://www.zimbra.com/forums/installation/38285-can-t-install-ca_cert-certificates-2.html
]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Step by step guide:</p>
<ol>
<li>Create the private key and certificate with StartSSL</li>
<li>Download the ca bundle<br />
wget https://www.startssl.com/certs/ca-bundle.crt</li>
<li>Copy the private key to<br />
/opt/zimbra/ssl/zimbra/commercial/commercial.key</li>
<li>Deploy ca bundle<br />
/opt/zimbra/bin/zmcertmgr deployca /path-to-ca-bundle/ca-bundle.pem</li>
<li>Copy the ca bundle to:<br />
/opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt</li>
<li>Add ca bundle to the keystore<br />
/opt/zimbra/java/bin/keytool -import -alias new -keystore /opt/zimbra/java/jre/lib/security/cacerts -storepass changeit -file /opt/zimbra/ssl/zimbra/commercial/commercial_ca.crt</li>
<li>Verify key and certificate<br />
/opt/zimbra/bin/zmcertmgr verifycrt comm /yourpath/commercial.key /yourpath/commercial.crt</li>
<li>Deploy certificate<br />
/opt/zimbra/bin/zmcertmgr deploycrt comm /yourpath/commercial.crt /yourpath/commercial_ca.crt</li>
<li>Restart zimbra<br />
/etc/init.d/zimbra stop<br />
/etc/init.d/zimbra start</li>
</ol>
<blockquote><p>Sources:</p>
<p>http://wiki.impressive-media.de/doc/eigenes-zimbra-ssl-cert-mit-startcom-startssl-2048</p>
<p>http://www.zimbra.com/forums/installation/38285-can-t-install-ca_cert-certificates-2.html</p></blockquote>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.morrigan.ch/?feed=rss2&amp;p=133</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Abroad with Ruby &#8211; How to fix broken imap strings</title>
		<link>http://blog.morrigan.ch/?p=124</link>
		<comments>http://blog.morrigan.ch/?p=124#comments</comments>
		<pubDate>Mon, 08 Feb 2010 03:01:28 +0000</pubDate>
		<dc:creator>gwydion</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://blog.morrigan.ch/?p=124</guid>
		<description><![CDATA[As I programming at the moment a ruby on rails imap client (still waiting for support of my 5xxx GPU), I had today some troubles with broken text encoding.
My problem was &#8220;=?utf-8?Q?&#8221;.
When we have a look at a simply mail and the header of it, we see that things look like:
Subject: =?utf-8?Q?AW:_Frage_bez=C3=BCglich_R=C3=BCckf=C3=BChrunge?=
=?utf-8?Q?n?=
viel eigenkreativit=C3=A4t, sch=C3=B6pferisches 
Nice, [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>As I programming at the moment a ruby on rails imap client (still waiting for support of my 5xxx GPU), I had today some troubles with broken text encoding.</p>
<p>My problem was &#8220;=?utf-8?Q?&#8221;.<br />
When we have a look at a simply mail and the header of it, we see that things look like:</p>
<blockquote><p><em>Subject: =?utf-8?Q?AW:_Frage_bez=C3=BCglich_R=C3=BCckf=C3=BChrunge?=<br />
=?utf-8?Q?n?=</em></p>
<p><em>viel eigenkreativit=C3=A4t, sch=C3=B6pferisches </em></p></blockquote>
<p>Nice, isn&#8217;t it?<br />
<span style="text-decoration: line-through;">So after searching around the ruby documentation I found what I&#8217;m looking for:</span></p>
<p><span style="text-decoration: line-through;"> </span></p>
<blockquote><p><em><span style="text-decoration: line-through;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; String#toutf8</span><span style="text-decoration: line-through;"><br />
</span><span style="text-decoration: line-through;"> String#toutf8   -&gt; string</span><span style="text-decoration: line-through;"><br />
</span><span style="text-decoration: line-through;"> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span><span style="text-decoration: line-through;"><br />
</span><span style="text-decoration: line-through;"> Convert self to UTF-8Note This method decode MIME encoded string and convert halfwidth katakana to fullwidth katakana. If you don&#8217;t want it, use NKF.nkf(&#8216;-wxm0&#8242;, str).</span><span style="text-decoration: line-through;"> </span></em></p></blockquote>
<p><span style="text-decoration: line-through;"> </span></p>
<p><span style="text-decoration: line-through;">Now the strings are readable. And no, I don&#8217;t know why this is working (katakana is a Japanese lettering).</span><span style="text-decoration: line-through;"><br />
</span><span style="text-decoration: line-through;"> For any hints I&#8217;m very thankful!</span></p>
<p>The solution is:<br />
<code>class LoginController &amp;lt; ApplicationController<br />
require 'net/imap'<br />
require 'base64'<br />
require 'mail'<br />
require 'iconv'</code></p>
<p><code>def connect<br />
@mail = Mail.new<br />
@mail_subjects = Array.new<br />
@mail_subjects2 = Array.new<br />
@string = String.new<br />
@string2 = String.new</p>
<p>begin<br />
#Set connection settings for the imap server<br />
imap = Net::IMAP.new('mail.xxx.xxx')</p>
<p>#Set user and password for the login<br />
imap.authenticate('LOGIN', 'xxx.xxx@xxx.xxx', 'xxx')</p>
<p>rescue Net::IMAP::NoResponseError<br />
# If somethings goes wrong print it out<br />
render :text =&amp;gt; "Folgender Fehler ist aufgetretten: " + $!<br />
else<br />
# Redirect to the mainsite<br />
imap.examine('INBOX')</p>
<p>imap.search(["SEEN"]).each do |message_id|</p>
<p>envelope = imap.fetch(message_id, "ENVELOPE")[0].attr["ENVELOPE"]<br />
@string = envelope.subject<br />
@string2 = envelope.from[0].name</p>
<p>s = Mail::SubjectField.new("From", @string)<br />
s.decoded<br />
@string = s.to_s<br />
@string.encode!("UTF-8")<br />
@mail_subjects.insert(@mail_subjects.length, @string)</p>
<p>s = Mail::SubjectField.new("From", @string2)<br />
s.decoded<br />
@string2 = s.to_s<br />
@string2.encode!("UTF-8")<br />
@mail_subjects2.insert(@mail_subjects2.length, @string2)</p>
<p>end</p>
<p>imap.close</p>
<p>end<br />
end<br />
</code></p>
<p><code>end</code></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.morrigan.ch/?feed=rss2&amp;p=124</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OSS Radeon driver the easy way with arch linux</title>
		<link>http://blog.morrigan.ch/?p=115</link>
		<comments>http://blog.morrigan.ch/?p=115#comments</comments>
		<pubDate>Tue, 08 Dec 2009 22:10:57 +0000</pubDate>
		<dc:creator>gwydion</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://blog.morrigan.ch/?p=115</guid>
		<description><![CDATA[Like you heard there is a opensource driver for the the radeons gpu&#8217;s (till r700 series).
With the release of the 2.6.32 kernel the driver runs very well and with the kms of course!
The main problem is to get the whole mesa stuff installed, for this I created a simply script that updates all from git, [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Like you heard there is a opensource driver for the the radeons gpu&#8217;s (till r700 series).</p>
<p>With the release of the 2.6.32 kernel the driver runs very well and with the kms of course!</p>
<p>The main problem is to get the whole mesa stuff installed, for this I created a simply script that updates all from git, so that you can enjoy it!</p>
<p><code>export build_path="your-path-here"</p>
<p>cd $build_path/libdrm-git<br />
makepkg --asroot -f<br />
pacman -U libdrm-git-$(date +%Y%m%d)-1-x86_64.pkg.tar.gz</p>
<p>cd $build_path/dri2proto-git<br />
makepkg --asroot -f<br />
pacman -U dri2proto-git-$(date +%Y%m%d)-1-x86_64.pkg.tar.gz</p>
<p>cd $build_path/glproto-git<br />
makepkg --asroot -f<br />
pacman -U glproto-git-$(date +%Y%m%d)-1-x86_64.pkg.tar.gz</p>
<p>cd $build_path/libgl-git<br />
makepkg --asroot -f<br />
pacman -U libgl-git-$(date +%Y%m%d)-1-x86_64.pkg.tar.gz</p>
<p>cd $build_path/mesa-git<br />
makepkg --asroot -f<br />
pacman -U mesa-git-$(date +%Y%m%d)-1-x86_64.pkg.tar.gz</p>
<p>cd $build_path/ati-dri-git<br />
makepkg --asroot -f<br />
pacman -U ati-dri-git-$(date +%Y%m%d)-1-x86_64.pkg.tar.gz</p>
<p>cd $build_path/xf86-video-ati-git<br />
makepkg --asroot -f<br />
pacman -U xf86-video-ati-git-$(date +%Y%m%d)-1-x86_64.pkg.tar.gz</code></p>
<p>Simply add the build_path and run the script as root (I know not a very good way, but I do not like sudo).<br />
The packages you find in the aur archive.</p>
<p>Attention: I use the radeon driver, if you want to use the radeonhd driver you must replace the last block in the script.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.morrigan.ch/?feed=rss2&amp;p=115</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>openoffice.org icon problem/graphic glitches</title>
		<link>http://blog.morrigan.ch/?p=111</link>
		<comments>http://blog.morrigan.ch/?p=111#comments</comments>
		<pubDate>Tue, 08 Dec 2009 22:00:47 +0000</pubDate>
		<dc:creator>gwydion</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://blog.morrigan.ch/?p=111</guid>
		<description><![CDATA[If you are using KDE4 with the gtk-qt-engine you may have the problem that the icons are not displayed and/or there are some graphic glitches.
To fix this you need to export:
export SAL_GTK_USE_PIXMAPPAINT=1
Simply insert this line somewhere in /etc/profile.
]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>If you are using KDE4 with the gtk-qt-engine you may have the problem that the icons are not displayed and/or there are some graphic glitches.</p>
<p>To fix this you need to export:</p>
<p><code>export SAL_GTK_USE_PIXMAPPAINT=1</code></p>
<p>Simply insert this line somewhere in /etc/profile.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.morrigan.ch/?feed=rss2&amp;p=111</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ATI Catalyst with a newer kernel version &gt; 2.6.28</title>
		<link>http://blog.morrigan.ch/?p=88</link>
		<comments>http://blog.morrigan.ch/?p=88#comments</comments>
		<pubDate>Tue, 11 Aug 2009 11:58:01 +0000</pubDate>
		<dc:creator>gwydion</dc:creator>
				<category><![CDATA[Obsolet]]></category>

		<guid isPermaLink="false">http://blog.morrigan.ch/?p=88</guid>
		<description><![CDATA[Note:
This is no longer needed since Catalyst 9.8!
A very short HowTo for these who needs to run a newer kernel with the ati catalyst driver (oh my god, I hate this driver more and more):
1. Build or install your kernel with the sources
2. Download the ATI Catalyst driver
3. Extract the driver
4. Patch the driver
  [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><strong>Note:</strong><br />
This is no longer needed since Catalyst 9.8!</p>
<p>A very short HowTo for these who needs to run a newer kernel with the ati catalyst driver (oh my god, I hate this driver more and more):</p>
<p>1. Build or install your kernel with the sources</p>
<p>2. Download the ATI Catalyst driver</p>
<p>3. Extract the driver</p>
<p>4. Patch the driver<br />
     Catch here the patches -&gt; <a href="http://aur.archlinux.org/packages.php?ID=29111">http://aur.archlinux.org/packages.php?ID=29111</a></p>
<p>5. Install the driver</p>
<p>6. Reboot</p>
<p>The bash way:</p>
<p><code>$ sh ati-bla-bla.sh --extract fglrx_patched<br />
$ cd fglrx_patched</code></p>
<p>There are two types of patches!</p>
<p>First type:<br />
<code>$ cd common<br />
$ patch -p0 &gt; ../path/to/the/patch</code></p>
<p>Second type:<br />
<code>$ patch -p1 &gt; ../path/to/the/patch<br />
#In the fglrx_patched folder, not in common!</code></p>
<p>And for installing it we have too two ways:</p>
<p>Without packaging system<br />
<code>$ ./ati-installer --install --install</code><br />
or<br />
With packaging system<br />
<code>$ ./ati-installer --buildpkg --buildpkg "YourDistro/YourVersion"</code></p>
<p>Warning:<br />
If you tried before to install this driver, delete your kernel module dir -> /lib/modules/2.6.xx</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.morrigan.ch/?feed=rss2&amp;p=88</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ATI Catalyst and xinerama (xrandr) dual head setup (with crossfire if you wish)</title>
		<link>http://blog.morrigan.ch/?p=52</link>
		<comments>http://blog.morrigan.ch/?p=52#comments</comments>
		<pubDate>Tue, 05 May 2009 18:38:32 +0000</pubDate>
		<dc:creator>gwydion</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://blog.morrigan.ch/?p=52</guid>
		<description><![CDATA[UPDATE for Crossfire- and X2-Users!
With Catalyst 9.7 you can now use xrandr.
UPDATE for Crossfire- and X2-Users!
After some testing I found some bugs with the ATI driver and crossfire.

Crossfire and dual head with X2 cards
When you&#8217;re using Crossfire with an X2 card card and configuring dual head, the crossfire support will be disabled.
You can find this [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><span style="color: #ff0000;"><strong>UPDATE for Crossfire- and X2-Users!</strong></span></p>
<p>With Catalyst 9.7 you can now use xrandr.</p>
<p><span style="color: #ff0000;"><strong>UPDATE for Crossfire- and X2-Users!</strong></span></p>
<p>After some testing I found some bugs with the ATI driver and crossfire.</p>
<ol>
<li>Crossfire and dual head with X2 cards<br />
When you&#8217;re using Crossfire with an X2 card card and configuring dual head, the crossfire support will be disabled.<br />
You can find this information with <code>cat /var/log/Xorg.0.log | grep CF</code><br />
Note: It seems that with enabled CF the dual screen setup will only work in cloned mode!</li>
<li><span style="text-decoration: line-through;">Crossfire and dual head with two ATI cards<br />
This will cause following error message in Xorg.0.log, maybe crossfire support is disabled?!<br />
<cite>The CF ribbon is not connected</cite></span></li>
<li>ATI Catalyst 9.5 with X2 Cards<br />
The new Catalyst driver 9.5 is not working with an ATI X2 card. So use 9.4 until this is fixed.</li>
<li><span style="text-decoration: line-through;">X2 with dual head<br />
If you want to use xrandr with your X2 card, you can use the first part of the howto. If you get an error about some missing adapater try following<br />
<cite><code>aticonfig --initial=dual-head --adapter=all -f</code></cite></span></li>
</ol>
<p>____________________________</p>
<p>This blog entry will show you, how you can use a dual head setup with an ATI GPU.<span style="text-decoration: line-through;"> The first part is for a xrandr setup with a normal GPU without crossfire.</span><br />
<span style="text-decoration: line-through;">The second part will show how you can use a dual head with crossfire activated.</span><br />
The used driver for this was ATI Catalyst 9.4.</p>
<p>Note: This was only tested with (k)Ubuntu Jaunty, under Gentoo and Arch Linux I got kernel panics.</p>
<p>General information:<br />
First of all, ATI ships the catalyst driver with xinerama support, but this support is broken since xrandr is the default command to change screen behaviour.<br />
So don&#8217;t try to use xinerama, it simply sucks and your kernel will crash. <img src='http://blog.morrigan.ch/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Preparation:</p>
<ul>
<li>Clean up your xorg config file (/etc/X11/xorg.conf)</li>
<li>Remove everything with screen configuration or virtual screen settings, you only need the fglrx stuff.<br />
Best way to do this is simply to create a default config with <span style="color: #ff0000;"><code>dpkg-reconfige xserver-xorg</code></span>and get the fglrx stuff with <span style="color: #ff0000;"><code>ati-config --initial -f</code></span></li>
<li>Add the virtual desktop size into the new xorg.conf, you need to copy this into your &#8220;ScreenSection&#8221;<span style="text-decoration: line-through;"> (not for crossfire users)</span></li>
</ul>
<blockquote><p>SubSection &#8220;Display&#8221;<br />
Depth        24<br />
Virtual              3840 1080 # x y resolution of both screens!<br />
EndSubSection</p>
<p>This will create a virtual desktop with a width of 2&#215;1920 (3840) and a height of 1&#215;1080. Note you must calculate these values.</p></blockquote>
<p>Let&#8217;s move it (the xrandr way):</p>
<ul>
<li>Run following command</li>
</ul>
<blockquote><p><code>xrandr --output your_first_screen --mode your_resolution --output your_second_screen --mode your_resolution --right-of your_first_screen&amp;gt;</code></p></blockquote>
<p><span style="text-decoration: line-through;">Let&#8217;s do it (the crossfire way):</span></p>
<p><span style="text-decoration: line-through;">Note: It&#8217;s was a very painfull way to get an ATI x2 GPU running (lost one night through this), so this will show a clean way to set up the xorg.conf and all needed aticonfig stuff.</span></p>
<ul>
<li><span style="text-decoration: line-through;">Create a crossfire chain<br />
aticonfig &#8211;cfa &#8211;adapater=all</span></li>
<li><span style="text-decoration: line-through;">Setup pairing<br />
aticonfig &#8211;add-pairmode=&lt;your width&gt;x&lt;your height&gt;+&lt;your width 2&gt;x&lt;your height 2&gt;</span></li>
</ul>
<p><span style="text-decoration: line-through;">Now you can change screen behavior over amdccl.</span></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://blog.morrigan.ch/?feed=rss2&amp;p=52</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

