<?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>SysAdmin Adventures &#187; driver</title>
	<atom:link href="http://blog.tpa.me.uk/tag/driver/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tpa.me.uk</link>
	<description>Tech notes from a Systems Administrator</description>
	<lastBuildDate>Mon, 31 Oct 2011 11:09:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Configuring NVidia Cards on Slackware</title>
		<link>http://blog.tpa.me.uk/2010/04/09/configuring-nvidia-cards-on-slackware/</link>
		<comments>http://blog.tpa.me.uk/2010/04/09/configuring-nvidia-cards-on-slackware/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 13:40:48 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[gpu]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[nvidia-settings]]></category>
		<category><![CDATA[vdpau]]></category>
		<category><![CDATA[Xorg]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=353</guid>
		<description><![CDATA[Basic, but not obvious if you haven&#8217;t done it before. Firstly, there are two options, the open source driver and the proprietary driver. Many people use the open source driver, I prefer to not. NVidia made the GPU, why not use their driver as it&#8217;s most likely to be the best performing option (and allows [...]]]></description>
			<content:encoded><![CDATA[<p>Basic, but not obvious if you haven&#8217;t done it before.</p>
<p>Firstly, there are two options, the open source driver and the proprietary driver. Many people use the open source driver, I prefer to not. NVidia made the GPU, why not use their driver as it&#8217;s most likely to be the best performing option (and allows for VDPAU too). So that&#8217;s what these instructions are for.</p>
<p>Now that you&#8217;ve picked the proprietary driver, there are two more options; you can either use the installer provided by NVidia, or use the <a href="http://slackbuilds.org/repository/13.0/system/nvidia-driver/" onclick="pageTracker._trackPageview('/outgoing/slackbuilds.org/repository/13.0/system/nvidia-driver/?referer=');">nvidia-driver</a> and <a href="http://slackbuilds.org/repository/13.0/system/nvidia-kernel/" onclick="pageTracker._trackPageview('/outgoing/slackbuilds.org/repository/13.0/system/nvidia-kernel/?referer=');">nvidia-kernel</a> SlackBuilds provided by Heinz Wiesinger. Personally I use the NVidia-provided installer for a few reasons:</p>
<ol>
<li>The latest driver is always available (if not necessarily stable) whereas the SlackBuild can be behind due to workload or because it&#8217;s been held back intentionally for stability/compatibility.</li>
<li>As with kernels, I never find the need to uninstall NVidia drivers, except with the installer when upgrading to a new one, so the usefulness of having a package is lessened.</li>
<li>I started with the NVidia installer many moons ago and never found enough reason to change my habits.</li>
<li>I&#8217;m too lazy to keep a copy of the xorg.conf handy and the NVidia installer creates one for me.</li>
</ol>
<p>That said I have the utmost respect for Heinz&#8217;s SlackBuild and recommend you consider it as an option depending on your needs, especially if you are playing with different setups rather than just doing a one-time install on a box for which you know exactly what you need.</p>
<p>So, off we go..</p>
<p>Firstly, read my post about the nouveau kernel module: <a href="http://blog.tpa.me.uk/2010/04/01/slackware-current-and-nvidia/">slackware-current and nvidia</a></p>
<p><strong>Option 1: NVidia Installer</strong><br />
Then go to http://www.nvidia.co.uk/Download/index.aspx and get the latest driver for your architecture. Right now, for me, this would be:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">$ </span><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>uk.download.nvidia.com<span style="color: #000000; font-weight: bold;">/</span>XFree86<span style="color: #000000; font-weight: bold;">/</span>Linux-x86<span style="color: #000000; font-weight: bold;">/</span>195.36.15<span style="color: #000000; font-weight: bold;">/</span>NVIDIA-Linux-x86-195.36.15-pkg1.run</div></div>
<p>Then head to tty6 (Ctrl-Alt-F6), login as root, drop to runlevel 3, make the installer executable and then run it:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># init 3</span><br />
<span style="color: #666666; font-style: italic;"># chmod a+x NVIDIA*.run</span><br />
<span style="color: #666666; font-style: italic;"># ./!$</span></div></div>
<p>Go through the installer with all defaults. If you are on Slackware64 with multilb (as so many are) say yes when it asks if you want the 32bit compatibility bits.</p>
<p>Once it&#8217;s done, you should find yourself with a new xorg config in /etc/X11/xorg.conf; but don&#8217;t start X back up just yet, you need to strip some lines out of the xorg.conf so as not to confuse X. In Slackware 13.0+, xorg takes its information about your input devices from HAL (see <a href="http://blog.tpa.me.uk/2009/08/30/slackware-13-0-xorg-hal/">Slackware 13.0 – Xorg + Hal</a>). NVidia doesn&#8217;t acknowledge this and adds default entries in the xorg.conf it creates for a mouse and a keyboard.</p>
<p>Here is a default xorg.conf created by the NVidia installer (this is an example, don&#8217;t just copy and paste.. do what I tell you to with YOUR copy):</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Section <span style="color: #ff0000;">&quot;ServerLayout&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Layout0&quot;</span><br />
&nbsp; &nbsp; Screen &nbsp; &nbsp; &nbsp;<span style="color: #000000;">0</span> &nbsp;<span style="color: #ff0000;">&quot;Screen0&quot;</span><br />
&nbsp; &nbsp; InputDevice &nbsp; &nbsp;<span style="color: #ff0000;">&quot;Keyboard0&quot;</span> <span style="color: #ff0000;">&quot;CoreKeyboard&quot;</span><br />
&nbsp; &nbsp; InputDevice &nbsp; &nbsp;<span style="color: #ff0000;">&quot;Mouse0&quot;</span> <span style="color: #ff0000;">&quot;CorePointer&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Files&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/misc/:unscaled&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/100dpi/:unscaled&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/75dpi/:unscaled&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/misc/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/Type1/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/Speedo/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/100dpi/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/75dpi/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/cyrillic/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/TTF/&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;InputDevice&quot;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;"># generated from default</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Mouse0&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;mouse&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Protocol&quot;</span> <span style="color: #ff0000;">&quot;auto&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Device&quot;</span> <span style="color: #ff0000;">&quot;/dev/psaux&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Emulate3Buttons&quot;</span> <span style="color: #ff0000;">&quot;no&quot;</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;ZAxisMapping&quot;</span> <span style="color: #ff0000;">&quot;4 5&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;InputDevice&quot;</span><br />
&nbsp; &nbsp; <span style="color: #666666; font-style: italic;"># generated from default</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Keyboard0&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;kbd&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Monitor&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Monitor0&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Unknown&quot;</span><br />
&nbsp; &nbsp; ModelName &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;Unknown&quot;</span><br />
&nbsp; &nbsp; HorizSync &nbsp; &nbsp; &nbsp; <span style="color: #000000;">28.0</span> - <span style="color: #000000;">33.0</span><br />
&nbsp; &nbsp; VertRefresh &nbsp; &nbsp; <span style="color: #000000;">43.0</span> - <span style="color: #000000;">72.0</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;DPMS&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Device&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Device0&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;nvidia&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span style="color: #ff0000;">&quot;NVIDIA Corporation&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Screen&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Screen0&quot;</span><br />
&nbsp; &nbsp; Device &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Device0&quot;</span><br />
&nbsp; &nbsp; Monitor &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;Monitor0&quot;</span><br />
&nbsp; &nbsp; DefaultDepth &nbsp; &nbsp;<span style="color: #000000;">24</span><br />
&nbsp; &nbsp; SubSection &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Display&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Depth &nbsp; &nbsp; &nbsp; <span style="color: #000000;">24</span><br />
&nbsp; &nbsp; EndSubSection<br />
EndSection</div></div>
<p>And here&#8217;s what you need to make it look like by stripping out the input parts:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Section <span style="color: #ff0000;">&quot;ServerLayout&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Layout0&quot;</span><br />
&nbsp; &nbsp; Screen &nbsp; &nbsp; &nbsp;<span style="color: #000000;">0</span> &nbsp;<span style="color: #ff0000;">&quot;Screen0&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Files&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/misc/:unscaled&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/100dpi/:unscaled&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/75dpi/:unscaled&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/misc/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/Type1/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/Speedo/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/100dpi/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/75dpi/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/cyrillic/&quot;</span><br />
&nbsp; &nbsp; FontPath &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;/usr/lib/X11/fonts/TTF/&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Monitor&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Monitor0&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Unknown&quot;</span><br />
&nbsp; &nbsp; ModelName &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;Unknown&quot;</span><br />
&nbsp; &nbsp; HorizSync &nbsp; &nbsp; &nbsp; <span style="color: #000000;">28.0</span> - <span style="color: #000000;">33.0</span><br />
&nbsp; &nbsp; VertRefresh &nbsp; &nbsp; <span style="color: #000000;">43.0</span> - <span style="color: #000000;">72.0</span><br />
&nbsp; &nbsp; Option &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;DPMS&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Device&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Device0&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;nvidia&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span style="color: #ff0000;">&quot;NVIDIA Corporation&quot;</span><br />
EndSection<br />
<br />
Section <span style="color: #ff0000;">&quot;Screen&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Screen0&quot;</span><br />
&nbsp; &nbsp; Device &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Device0&quot;</span><br />
&nbsp; &nbsp; Monitor &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #ff0000;">&quot;Monitor0&quot;</span><br />
&nbsp; &nbsp; DefaultDepth &nbsp; &nbsp;<span style="color: #000000;">24</span><br />
&nbsp; &nbsp; SubSection &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Display&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Depth &nbsp; &nbsp; &nbsp; <span style="color: #000000;">24</span><br />
&nbsp; &nbsp; EndSubSection<br />
EndSection</div></div>
<p>Of all of that the absolute minimum you need is:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;Section <span style="color: #ff0000;">&quot;Device&quot;</span><br />
&nbsp; &nbsp; Identifier &nbsp; &nbsp; <span style="color: #ff0000;">&quot;Device0&quot;</span><br />
&nbsp; &nbsp; Driver &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">&quot;nvidia&quot;</span><br />
&nbsp; &nbsp; VendorName &nbsp; &nbsp; <span style="color: #ff0000;">&quot;NVIDIA Corporation&quot;</span><br />
EndSection</div></div>
<p>But I recommend keeping the other bits that NVidia provide because if you use nvidia-settings later to specifically adjust your config, there may be a number of options it sets and the xorg.conf it will generate will include these anyway. So just take what NVidia give you and strip out the input devices as above.</p>
<p><strong>Option 2: SlackBuilds</strong><br />
Install <a href="http://slackbuilds.org/repository/13.0/system/nvidia-driver/" onclick="pageTracker._trackPageview('/outgoing/slackbuilds.org/repository/13.0/system/nvidia-driver/?referer=');">nvidia-driver</a> and <a href="http://slackbuilds.org/repository/13.0/system/nvidia-kernel/" onclick="pageTracker._trackPageview('/outgoing/slackbuilds.org/repository/13.0/system/nvidia-kernel/?referer=');">nvidia-kernel</a>. I recommend doing so with <a href="http://sbopkg.org/" onclick="pageTracker._trackPageview('/outgoing/sbopkg.org/?referer=');">sbopkg</a>.</p>
<p>Then create yourself a valid xorg.conf. If you&#8217;re not sure how, then you won&#8217;t go far wrong with using the default NVidia-created xorg.conf from above.</p>
<p><strong>Finally&#8230;</strong></p>
<p>Once you&#8217;re done, you can start X back up, either by issuing &#8220;startx&#8221; at the command line, or re-entering runlevel 4 with &#8220;init 4&#8243;.</p>
<p>Now that you are back in X you should have fully functional DRI and compositing.</p>
<p>If you have a non-standard setup such as multiple-monitors or you need to boost the gamma on a bad monitor or something like that, then you need to configure the driver to do what you want. This is done very simply with the NVidia configuration tool:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">$ </span>nvidia-settings</div></div>
<p>Play with the settings however you need, but remember that this is not Windows. Clicking &#8220;Apply&#8221; will apply the settings for this session only. If you want the changes to be permanent you must save the settings to a new xorg.conf. Since you&#8217;re not running X as root because you&#8217;re not an idiot, you will likely not have permissions to overwrite the xorg.conf. There are ways around this, but the simple way is to just save the new xorg.conf in your home directory and move it to /etc/X11 manually (remembering to back up your working copy first).</p>
<p>And that&#8217;s it. Go enjoy your new graphics driver and, if your GPU supports VPDAU, go get the VDPAU-enabled MPlayer too.</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2010/04/09/configuring-nvidia-cards-on-slackware/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>slackware-current and nvidia</title>
		<link>http://blog.tpa.me.uk/2010/04/01/slackware-current-and-nvidia/</link>
		<comments>http://blog.tpa.me.uk/2010/04/01/slackware-current-and-nvidia/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 14:19:26 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[-current]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[nouveau]]></category>
		<category><![CDATA[nvidia]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=349</guid>
		<description><![CDATA[For those hoping to update to slackware-current (2.6.33.1) and make use of alienBOB&#8217;s KDE SC 4.4.2 with PolicyKit packages, you need to be aware of one caveat. If you use the proprietary NVidia driver, you will need to blacklist the nouveau driver in order for it to work. /etc/modprobe.d/nouveau.conf # Blacklisting nouveau to fix NVidia [...]]]></description>
			<content:encoded><![CDATA[<p>For those hoping to update to slackware-current (2.6.33.1) and make use of alienBOB&#8217;s KDE SC 4.4.2 with PolicyKit packages, you need to be aware of one caveat. If you use the proprietary NVidia driver, you will need to blacklist the nouveau driver in order for it to work.</p>
<p>/etc/modprobe.d/nouveau.conf</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># Blacklisting nouveau to fix NVidia</span><br />
blacklist nouveau</div></div>
<p><em><strong>UPDATE: 20100428</strong><br />
A package has been added to slackware-current to do this for you:<br />
<strong>x/xf86-video-nouveau-blacklist-noarch-1.txz</strong><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2010/04/01/slackware-current-and-nvidia/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Slackware 13.0 &#8211; Xorg + Hal</title>
		<link>http://blog.tpa.me.uk/2009/08/30/slackware-13-0-xorg-hal/</link>
		<comments>http://blog.tpa.me.uk/2009/08/30/slackware-13-0-xorg-hal/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 15:04:30 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Slackware]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[hal]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[Xorg]]></category>

		<guid isPermaLink="false">https://blog.tpa.me.uk/?p=13</guid>
		<description><![CDATA[A lot of people have been coming a cropper on the new Xorg in Slackware 13.0. Because Xorg now loads hardware information automatically via hal  by default, people are confused about how to set things up that they&#8217;re used to setting up in the xorg.conf. Now, a lot of people have been choosing to shy [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of people have been coming a cropper on the new Xorg in Slackware 13.0. Because Xorg now loads hardware information automatically via hal  by default, people are confused about how to set things up that they&#8217;re used to setting up in the xorg.conf.</p>
<p>Now, a lot of people have been choosing to shy away from the hal-based auto-detection and simply turn it off. That was my initial reaction too, but the bottom line is that this was brought in as an improvement and if you can get your head around it it may prove to save you effort in the long run.</p>
<p>The two things that affect me in a normal set-up are graphics and keyboard layout.<br />
<br clear="none" /><br />
<strong>Graphics</strong></p>
<p>If you&#8217;re going to use the open source driver shipped with the kernel for your graphics card you almost certainly don&#8217;t have to do a thing. Hal will pick up your card, and your driver will be loaded into Xorg. If you need a different driver like the proprietary nVidia driver, then it&#8217;s business as usual: run the installer, let it create an xorg.conf for you and that information will be used by Xorg.</p>
<p>You might want to check the xorg.conf that gets created as the installer may not be ready for hal yet and may try to insert useless keyboard/mouse information because the installer thinks it&#8217;s required.<br />
<br clear="none" /><br />
<strong>Keyboard Layout</strong></p>
<p>Being in the UK, I use UK keyboards. They are different ot US keyboards in that they have £ above 3 instead of # and &#8221; above 2 instead of @ as well as couple of other subtle differences. I also use the GB Dvorak layout for my IRC box and again, this needs a modification.</p>
<p>You&#8217;re probably used to loading up your xorg.conf and modifying:</p>
<pre>Option     "XkbLayout"     "us"</pre>
<p>to:</p>
<pre>Option     "XkbLayout"     "gb"</pre>
<p>or whatever is relevant to your locale. Well, it&#8217;s different now, but practically just as simple. Instead of telling Xorg about your layout, you now tell hal instead. To do this, you need to change the hal config, but you don&#8217;t modify the configuration &#8216;in-place&#8217;, you copy the config to a secondary location, and then make the changes you need. In Slackware 13.0:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-av</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>hal<span style="color: #000000; font-weight: bold;">/</span>fdi<span style="color: #000000; font-weight: bold;">/</span>policy<span style="color: #000000; font-weight: bold;">/</span>10osvendor<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">10</span>-keymap.fdi <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>hal<span style="color: #000000; font-weight: bold;">/</span>fdi<span style="color: #000000; font-weight: bold;">/</span>policy<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">10</span>-keymap.fdi<br />
<span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>hal<span style="color: #000000; font-weight: bold;">/</span>fdi<span style="color: #000000; font-weight: bold;">/</span>policy<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">10</span>-keymap.fdi</div></div>
<p><br clear="none" /><br />
Modify:</p>
<div class="codecolorer-container xml geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;merge</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;input.xkb.layout&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>us<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/merge<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;merge</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;input.xkb.variant&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></div></div>
<p>To:</p>
<div class="codecolorer-container xml geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;merge</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;input.xkb.layout&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>gb<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/merge<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;merge</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;input.xkb.variant&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></div></div>
<p>Or for uk-dvorak:</p>
<div class="codecolorer-container xml geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;merge</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;input.xkb.layout&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>gb<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/merge<span style="color: #000000; font-weight: bold;">&gt;</span></span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;merge</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;input.xkb.variant&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>dvorak<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/merge<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></div></div>
<p><br clear="none" /><br />
Restart hal. Restart X.<br />
<br clear="none" /><br />
Job done.<br />
<br clear="none" /><br />
<br clear="none" /></p>
<p><em>Post followed-up by:<br />
<a href="http://blog.tpa.me.uk/2011/03/29/slackware-13-37-xorg-hal/">Slackware 13.37 &#8211; Xorg + Hal</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2009/08/30/slackware-13-0-xorg-hal/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

