<?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>driver &#8211; Luxing Huang</title>
	<atom:link href="https://luxing.im/tag/driver/feed/" rel="self" type="application/rss+xml" />
	<link>https://luxing.im</link>
	<description>Thoughs and things</description>
	<lastBuildDate>Tue, 12 Jul 2016 08:01:18 +0000</lastBuildDate>
	<language>en-CA</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
<site xmlns="com-wordpress:feed-additions:1">58771605</site>	<item>
		<title>Installing Bumblebee on Fedora for Lenovo Y510P</title>
		<link>https://luxing.im/installing-bumblebee-on-y510p/</link>
					<comments>https://luxing.im/installing-bumblebee-on-y510p/#comments</comments>
		
		<dc:creator><![CDATA[Luxing Huang]]></dc:creator>
		<pubDate>Mon, 02 Dec 2013 01:49:12 +0000</pubDate>
				<category><![CDATA[Techie Stuff]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nvidia]]></category>
		<guid isPermaLink="false">http://blog.luxing.im/?p=211</guid>

					<description><![CDATA[Previously I wrote down the article Installing Fedora on Lenovo Y510P, today I am going to write down my steps on installing bumblebee and using intel driver by default. Let&#8217;s assume you are using nomodeset setting when boot up, open up a terminal and login to root by sudo -s We need to install a &#8230; <p class="link-more"><a href="https://luxing.im/installing-bumblebee-on-y510p/" class="more-link">Continue reading<span class="screen-reader-text"> "Installing Bumblebee on Fedora for Lenovo Y510P"</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>Previously I wrote down the article <a href="http://blog.luxing.im/installing-fedora-on-lenovo-y510p/" target="_blank">Installing Fedora on Lenovo Y510P</a>, today I am going to write down my steps on installing bumblebee and using intel driver by default.<br />
<span id="more-211"></span><br />
Let&#8217;s assume you are using <strong>nomodeset</strong> setting when boot up, open up a terminal and login to root by </p>
<pre>sudo -s</pre>
<p>We need to install a few things:</p>
<pre>
yum install -y libbsd-devel libbsd glibc-devel libX11-devel help2man autoconf git tar glib2 glib2-devel kernel-devel kernel-headers automake gcc gtk2-devel VirtualGL VirtualGL.i686
</pre>
<pre>yum groupinstall "C Development and Libraries" -y</pre>
<p>Then, </p>
<pre>yum localinstall http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee-nonfree/fedora19/noarch/bumblebee-nonfree-release-1.1-1.noarch.rpm http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee/fedora19/noarch/bumblebee-release-1.1-1.noarch.rpm</pre>
<p>When finished, do </p>
<pre>yum install bumblebee-nvidia bumblebee primus bbswitch-dkms</pre>
<p>Reboot to init level 3 (1 or 2 is fine), login with root. (As long as X is not running)</p>
<p>Type </p>
<pre>X -configure</pre>
<p>this will generate xorg.conf.new under /root folder. Copy this over to /etc/X11/xorg.conf and modify this xorg.conf.</p>
<p>We need to find <strong>Section &#8220;Device&#8221;</strong>, where your Card0 is at, comment out <em>#Driver &#8220;modesetting&#8221;</em>, add <strong>Driver &#8220;intel&#8221;</strong> under it, make sure the <strong>BusID</strong> is matched from <strong>lspci</strong>&#8216;s Intel VGA bus id, in my case, it is <em>&#8220;PCI:0:2:0&#8221;</em> You might also want to delete any other screens/devices/monitors, leave only screen0, device0 and monitor0 in the config file. Leave other unrelated untouched.</p>
<p>Add the following line in <em>Section &#8220;Device&#8221; for card0:</p>
<pre>Option      "Backlight"     "intel_backlight"</pre>
<p>cd to /etc/default/, edit grub, delete nomodeset from GRUB_CMDLINE_LINUX, add acpi_backlight=vendor at the end. Then cd to /boot/efi/EFI/fedora, execute command </p>
<pre>grub2-mkconfig -o grub.cfg</pre>
<p>Now reboot. Wait for a few minutes, you can take a look at what systemd is doing by pressing any arrow key at boot screen. You should see nvidia is compiling kernel.</p>
<p>And now you should be using intel driver for displaying. You could start your games or other graphic intensive applications by using <strong>optirun xxx</strong> in terminal.</p>
<p>Test it using those 2 commands:</p>
<pre>glxgears -info
optirun glxgears -info</pre>
<p>You can see which driver you are using under GL_VENDOR value.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://luxing.im/installing-bumblebee-on-y510p/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">211</post-id>	</item>
	</channel>
</rss>
