<?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>Lukasz.dk &#187; Ubuntu</title>
	<atom:link href="http://lukasz.dk/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://lukasz.dk</link>
	<description>Personal homepage of Lukasz Bruun</description>
	<lastBuildDate>Fri, 08 Jan 2010 23:17:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Ubuntu 8.10 and ATI Dual Head</title>
		<link>http://lukasz.dk/2009/03/17/ubuntu-810-and-ati-dual-head/</link>
		<comments>http://lukasz.dk/2009/03/17/ubuntu-810-and-ati-dual-head/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 20:46:29 +0000</pubDate>
		<dc:creator>Lukasz Bruun</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://lukasz.dk/?p=331</guid>
		<description><![CDATA[Yesterday I was trying to a get dual monitor configuration / virtual desktop (VGA and DVI)  working in GNOME (Ubuntu 8.10) on my ATI Radeon HD 2400 XT graphics card with a 1920x1200 DVI screen and 1600x1200 VGA screen connected, using the proprietary FGLRX ATI driver from the Ubuntu repositories. I tried various resources on [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I was trying to a get dual monitor configuration / virtual desktop (VGA and DVI)  working  in <a href="http://www.gnome.org/">GNOME</a> (Ubuntu 8.10) on my ATI Radeon HD 2400 XT graphics card with a 1920x1200 DVI screen and 1600x1200 VGA screen connected, using the proprietary <a href="http://en.wikipedia.org/wiki/Fglrx">FGLRX ATI driver</a> from the Ubuntu repositories. I tried various resources on the net to make it work, including the  <a href="http://ubuntuforums.org/showthread.php?t=301941">ATI Big-Desktop thread</a> at the Ubuntu Forums.</p>
<p>I was unsuccessful in getting dualhead working using only the commandline aticonfig tool, so after a bit (actually alot :) of experimenting I was able to get working with using a combination of aticonfig and the Catalyst Control Center (amdcccle) tool.</p>
<p>First thing I did was create an initial xorg.conf configuration file using the command below in shell, which sets up a basic dualhead configuration which can be altered using aticonfig and the Catalyst Control Center.</p>
<blockquote><p>sudo aticonfig --initial=dual-head --overlay-type=Xv</p></blockquote>
<p>I then rebooted (I was not always able to reload the driver by just restarting X). I then started the Catalyst Control Center by typing the following in a shell</p>
<blockquote><p>sudo amdcccle</p></blockquote>
<p>Its important to use sudo or else you wont be able to change the configuration. In the "Display Manager" section it is possible to setup the multi-display and specify how the screens are arranged. After you set this, reboot once again.</p>
<p style="text-align: center;"><a href="http://lukasz.dk/files/catalyst-control-center.png"><img class="size-medium wp-image-338 aligncenter" title="catalyst-control-center" src="http://lukasz.dk/files/catalyst-control-center-300x244.png" alt="catalyst-control-center" width="300" height="244" /></a></p>
<p>What should happen now is that when you restart you get the same image on both screens (mirrored/cloned). You now need to enter the GNOME Screen Resolution configuration application (which in the default Ubuntu GNOME  setup is located under System - Preferences). Here you should now be able to change the size of the desktop so that it uses the entire screenspace on both screens.</p>
<p style="text-align: center;"><a href="http://lukasz.dk/files/gnome-screen-resolution.png"><img class="size-medium wp-image-335 aligncenter" title="gnome-screen-resolution" src="http://lukasz.dk/files/gnome-screen-resolution-299x300.png" alt="gnome-screen-resolution" width="299" height="300" /></a></p>
<p style="text-align: left;">One thing to note is that I also tried the very latest (9.2) ATI FGLRX driver, using this driver I actually got 2 screens in the GNOME Screen Resolution application. They were positioned on top of each other (Mirror Screens was checked), which was  hard to see (and figure out). But you can actually click on the screens and then drag and arrange them so that they match you physical screen configuration. So you may want to try the latest driver if the one in the Ubuntu repositories does not work for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://lukasz.dk/2009/03/17/ubuntu-810-and-ati-dual-head/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu and Winfast 2000XP EXPERT (LR6611)</title>
		<link>http://lukasz.dk/2009/01/25/ubuntu-and-winfast-2000xp-expert-lr6611/</link>
		<comments>http://lukasz.dk/2009/01/25/ubuntu-and-winfast-2000xp-expert-lr6611/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 22:00:27 +0000</pubDate>
		<dc:creator>Lukasz Bruun</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://lukasz.dk/?p=242</guid>
		<description><![CDATA[After a clean install of Ubuntu 8.10 my OEM TV tuner card called LR6611 (came with a AOpen XC Cube EA 65-II) was no longer working and I had forgotten how I made it work years ago. The cx88xx video4linux driver is correctly loaded, but the card is not detected.  S-video and video works in [...]]]></description>
			<content:encoded><![CDATA[<p>After a clean install of Ubuntu 8.10 my OEM TV tuner card called LR6611 (came with a AOpen XC Cube EA 65-II) was no longer working and I had forgotten how I made it work years ago. The cx88xx video4linux driver is correctly loaded, but the card is not detected.  S-video and video works in <a href="http://tvtime.sourceforge.net/">tvtime</a> out of the box, but the quality is poor.</p>
<p>Below is the output from<strong> lspci -vnn</strong></p>
<blockquote>
<pre>01:06.0 Multimedia video controller [0400]: Conexant Systems, Inc.
CX23880/1/2/3 PCI Video and Audio Decoder [14f1:8800] (rev 05)</pre>
<pre>    Subsystem: AOPEN Inc. Device [a0a0:6f05]</pre>
<pre>    Flags: bus master, medium devsel, latency 32, IRQ 17</pre>
<pre>    Memory at e3000000 (32-bit, non-prefetchable) [size=16M]</pre>
<pre>    Capabilities: &lt;access denied&gt;</pre>
<pre>    Kernel driver in use: cx8800</pre>
<pre>    Kernel modules: cx8800</pre>
</blockquote>
<p>After some searching I found some information on this card on the  <a href="http://www.spinics.net/lists/vfl/msg24737.html">video4linux-list</a>. Turns out that this card is a Leadtek Winfast 2000XP Expert OEM variant, which you can also conclude from searching for <a href="http://www.google.com/search?&amp;q=LR6611">'LR6611' in Google</a>.</p>
<p>I used the information from the video4linux-list to configure the card by the following line to <strong>/etc/modprobe.d/options</strong></p>
<blockquote><p>options cx88xx i2c_scan=1 card=5 tuner=38</p></blockquote>
<p>Now the card will be correctly configured when booting Ubuntu. You can also test the card without rebooting, by entering the following commands in a shell.</p>
<blockquote><p>sudo rmmod cx8800<br />
sudo rmmod cx88xx<br />
sudo modprobe cx88xx<br />
sudo modprobe cx8800</p></blockquote>
<p>You can watch TV channels in tvtime now. When scanning for channels, do not worry about the "no signal" message, the scanner will eventually find the available channels.</p>
<p><img class="aligncenter size-full wp-image-253" title="tvtime" src="http://lukasz.dk/files/tvtime.png" alt="tvtime" width="458" height="365" /></p>
<p>S-video and video input quality has also greatly improved compared to the default cx88xx settings for this card.</p>
]]></content:encoded>
			<wfw:commentRss>http://lukasz.dk/2009/01/25/ubuntu-and-winfast-2000xp-expert-lr6611/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu and VIA EPIA EN12000EG</title>
		<link>http://lukasz.dk/2008/04/23/ubuntu-and-via-epia-en12000eg/</link>
		<comments>http://lukasz.dk/2008/04/23/ubuntu-and-via-epia-en12000eg/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 18:59:34 +0000</pubDate>
		<dc:creator>Lukasz Bruun</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Add new tag]]></category>

		<guid isPermaLink="false">http://lukasz.dk/?p=96</guid>
		<description><![CDATA[Update 21/09/08 Since I wrote this post 5 months ago I havn't been experiencing any issues with the EN12000EG when using it at 1200 MHz. However, 22 days ago I rebooted my EN12000EG and by mistake I forgot to set the CPU frequency to 1200 MHz, I didn't realise this until about a week ago [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update 21/09/08</strong></p>
<p>Since I wrote this post 5 months ago I havn't been experiencing any issues with the EN12000EG when using it at 1200 MHz. However, 22 days ago I rebooted my EN12000EG and by mistake I forgot to set the CPU frequency to 1200 MHz, I didn't realise this until about a week ago when I saw that the Gnome CPU Scaling Monitor was reporting the CPU frequency as 400 MHz (ondemand governor). For this period of 22 days I've been using the server as I normally would, which 5 months ago would freeze the system within a week when using CPU scaling.</p>
<p style="text-align: center;"><a href="http://lukasz.dk/files/en12000eg-uptime-sept20081.png"><img class="aligncenter size-full wp-image-203" title="en12000eg-uptime-sept20081" src="http://lukasz.dk/files/en12000eg-uptime-sept20081.png" alt="" width="401" height="184" /></a></p>
<p>My best guess to why this is happening is probably a change in the Linux kernel which either fixed or got around this issue. The kernel I'm currently using is Linux 2.6.24-21-generic i686 GNU/Linux on Ubuntu 8.04 with all updates installed.</p>
<p>You might also want to check the lastest <a href="http://lukasz.dk/2008/04/23/ubuntu-and-via-epia-en12000eg/#comments">comments</a>, as Sam33 is reporting freezes on Debian Etchnhalf, which he suspects are related to the PATA driver.</p>
<p><strong>Original Post</strong></p>
<p>Little over a month ago I bought and built myself a <a href="http://en.wikipedia.org/wiki/Mini-ITX">Mini-ITX</a> computer to use as a headless print/file/media/etc. server. For the motherboard I got a <a href="http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=399">VIA EPIA EN12000EG</a> with a 1200 MHz CPU, because it was passively cooled. I put it inside a <a href="http://www.morex.com.tw/products/productdetail.php?fd_id=37">Morex 3688</a> chassis without using the chassis fan. After using it for a while, the system would "randomly" freeze completely. This would typically happend when I "stressed" system, eg. transfering files, printing and using VNC at the same time. There was no rise in CPU temperature when this happend, so I didn't think it was because the motherboard wasn't properly cooled without any fans running.</p>
<p>The longest uptime I had until this point was about 6 days, but the computer would often just freeze after a few days use.</p>
<p>So I thought it might be an I/O problem and I therefor updated the 1.07 BIOS to version 1.09, but the only thing I could tell changed was the CPU temperature was now reported as being around 20 °C instead around 45 °C previously with the 1.07 BIOS. Since this didn't resolve the system freezes either, I then tried to update to Ubuntu 8.04 beta, hoping the issue might have been resolved in the new version, however the system would still freeze on me.</p>
<p>I had a problem with evolution-data-server using 90% of the CPU in Ubuntu 8.04, this is a <a href="https://bugs.launchpad.net/ubuntu/+source/evolution-data-server/+bug/151536">known bug</a>. I resolved it by just uninstalling evolution-data-server, as I don't use Evolution.</p>
<blockquote>
<pre>sudo apt-get remove evolution-data-server</pre>
</blockquote>
<p>I had earlier found this "<a href="http://www.tkarena.com/forums/linux-arena/33503-en12000eg-freeze.html">EN12000EG Freeze</a>" thread at the VIA forums (registration required), where alot of different solutions had been suggested, I tried some of the easy ones like changing the BIOS settings, but that still didn't resolve the problem. So I thought I'd try <a href="http://www.tkarena.com/forums/linux-arena/33503-en12000eg-freeze-10.html#post232636">disabling CPU frequency scaling as suggested by rararasputin</a> and this solution has worked for me so far.</p>
<p>First I disabled <em>powernowd</em> by in System -&gt; Administration -&gt; Services. However the cpu scaling software <em>cpufreq</em> is active and uses the <em>On demand</em> CPU scaling governor by default. There are few different ways to change this to the <em>Performance</em> governor, which will keep the CPU at 1200 Mhz. One way is to use the <em>cpufreq-selector</em> in a console like shown below</p>
<blockquote>
<pre>sudo cpufreq-selector -g performance</pre>
</blockquote>
<p>Another option, if you are using the <em>Gnome CPU Frequency Scaling Monitor Applet</em>, is that you can select the governor you wish to use using this applet. But first you need to enable user CPU scaling by the following command and answering yes to setting the suid for cpufreq-selector.</p>
<blockquote>
<pre>dpkg-reconfigure gnome-applets</pre>
</blockquote>
<p>Now you can left-click on the applet and choose <em>Performance</em>.</p>
<p>A thing to note is that this setting reverts to the default <em>On demand</em> when you reboot your system. I read that you can make it permanent by changing the <em>policy_ac</em> key to <em>Performance</em> in <em>apps -&gt; gnome-power-manager -&gt; cpufreq</em> using <em>gconf-editor</em>, however this doesn't seem to work for me. Maybe because I use the <em>force=acpi</em> kernel option in <em>/boot/grub/menu.lst</em> and this somehow overrides the setting. If any one knows of a simple solution, please let me know :-)</p>
<p>As you can see from the partial screenshot below, my VIA EN12000EG based server ran for over 11 days before Ubuntu insisted that I reboot due to an update. In the 11 days I had tried to stress the system several times, for instance transfering files while updating Ubuntu over VNC and playing internet radio. Which would often freeze the system earlier, but after disabling cpu scaling, I've been unable to freeze the system.</p>
<p style="text-align: center;"><a href="http://lukasz.dk/files/en12000eg-nofication.jpg"><img class="aligncenter size-full wp-image-97" title="en12000eg-nofication" src="http://lukasz.dk/files/en12000eg-nofication.jpg" alt="" width="398" height="84" /></a></p>
<p>My conclusion is that the VIA EN12000EG hardware has buggy CPU scaling support.</p>
<p>As a side note, I couldn't get s-video output working with any other driver than the binary CN700 Unichrome Pro Driver. Otherwise everything else worked out of the box with both Ubuntu 7.10 and 8.04.</p>
<p><strong>Update:</strong></p>
<p>rararasputin posted his Openchrome xorg.conf with s-video support in the comments. <a href="http://lukasz.dk/files/en12000eg_svideo_xorg.conf">Download formatted here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://lukasz.dk/2008/04/23/ubuntu-and-via-epia-en12000eg/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Ubuntu 7.10 and Nvidia nForce 630i</title>
		<link>http://lukasz.dk/2008/02/09/ubuntu-710-and-nvidia-nforce-630i/</link>
		<comments>http://lukasz.dk/2008/02/09/ubuntu-710-and-nvidia-nforce-630i/#comments</comments>
		<pubDate>Sat, 09 Feb 2008 12:26:20 +0000</pubDate>
		<dc:creator>Lukasz Bruun</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://lukasz.dk/2008/02/09/ubuntu-710-and-nvidia-nforce-630i/</guid>
		<description><![CDATA[I recently upgraded my computer and got a Gigabyte GA-73PVM-S2H motherboard, not knowing that Ubuntu 7.10 did not support the included Nvidia nForce 630i chipset out of the box. I just moved my hard drives with Ubuntu 7.10 already installed from my old computer into my new and it turned out that neither the integrated [...]]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded my computer and got a Gigabyte GA-73PVM-S2H motherboard, not knowing that Ubuntu 7.10 did not support the included Nvidia nForce 630i chipset out of the box. I just moved my hard drives with Ubuntu 7.10 already installed from my old computer into my new and it turned out that neither the integrated Nvidia GeForce 7100 (I already had an Nvidia driver installed) nor the sound card was automatically detected.</p>
<p>To get the GeForce 7100 working I downloaded <a href="http://albertomilone.com/nvidia_scripts1.html">Envy</a> and then manually selected the Nvidia 169.09 driver, which was then downloaded and installed. I used <em>nvidia-settings</em> to configure the graphics card.</p>
<p>The sound card (HDA Intel driver) is not supported by the version of <a href="http://www.alsa-project.org">ALSA</a> included with Ubuntu 7.10, it is however supported by the latest ALSA version. So in order to get it working I had to download, compile and install the lastest ALSA driver myself, there is a guide available <a href="https://help.ubuntu.com/community/HdaIntelSoundHowto">here</a> which describes the process.</p>
<p>The network adapter works out of the box, it uses the <em>forcedeth</em> driver.</p>
<p>My new system would freeze on me after a few hours of use, I suspected the Gigabyte GA-73PVM-S2H motherboard was to blame for this. After checking the <a href="http://tw.giga-byte.com/Support/Motherboard/BIOS_Model.aspx?ProductID=2691">Gigabyte website</a> for my motherboard, I saw there was a F5 BIOS update to my F2 version BIOS.  Since I use Ubuntu, I couldn't use their @BIOS Windows utility for updating the BIOS, so I had to use the BIOS built-in Q-Flash which supports updating from an USB stick.</p>
<p>First I downloaded the BIOS update and used <a href="http://www.winehq.org/">Wine</a> to extract the update file from the .EXE update available. When I then first tried to put the update file on my USB memory stick and used Q-Flash I got an <em>BIOS ID checker error. </em>This error is apparently related to the file system used on the memory stick, since after I formated my memory stick to FAT-16 with <em>mkfs.vfat -F 16 /dev/sdc1</em> (my memory stick shows up at /dev/sdc1, used <em>df</em> to see where your memory stick is located) I was able to update my BIOS successfully, and I havn't experienced any freezes since.</p>
]]></content:encoded>
			<wfw:commentRss>http://lukasz.dk/2008/02/09/ubuntu-710-and-nvidia-nforce-630i/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
