<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://together.chrisfaulkner.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cfaulkner</id>
	<title>Together - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://together.chrisfaulkner.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cfaulkner"/>
	<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php/Special:Contributions/Cfaulkner"/>
	<updated>2026-07-29T11:15:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=107</id>
		<title>AzerothCore Debian Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=107"/>
		<updated>2019-02-14T07:12:29Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: /* Finishing up */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This will be a HowTo on how to get AzerothCore compiled and running on Debian in a VirtualBox Setting.  This should work on a Non-VM install as well.  Other Debian variants like Ubuntu and LinuxMint will and should work as well.  If you are running anything else, just use your best judgment on command usage.&lt;br /&gt;
&lt;br /&gt;
== Installing Debian ==&lt;br /&gt;
&lt;br /&gt;
Create a new virtual machine, I&#039;m using the Debian 9.7.0 NetInst version using these settings as a baseline.  You can tweak these for yourself but i&#039;m going with a bare minimum just to get running.  I&#039;m going with 1GB RAM on a 20GB partition since we are not going to use a GUI, and why would you? :)  After you get things setup, be sure to set the video ram to 12MB (the lowest) because we aren&#039;t using a GUI, it&#039;s not needed and we need all the ram we can get. Boot to the ISO, follow these steps to get a base system loaded:&lt;br /&gt;
&lt;br /&gt;
Skip the Graphical Install and go for regular &amp;quot;Install&amp;quot;, go thru the screens to your liking, set the name to whatever you like, you can leave domain blank. Set your Root password. Create your regular user, we are going to set a azerothcore user later on. Set your time zone. On &amp;quot;Partition Disks&amp;quot;, select &amp;quot;Guided - Use entire disk&amp;quot;.. Unless you know what you&#039;re doing.  All files in one partition.  If you are setting up a server for a production use, you&#039;d probably want to separate partitions and assign disk space where you want it but for the purpose of this HowTo, we are going to keep things simple.  Then, Finish partitioning and write changes to disk.  Now it&#039;s going to install the base system.  Remember, we are going for bare minimal into a CLI (Command Line Interface).  Don&#039;t be scared, this is how we do it, we don&#039;t want to waste any cycles on GUI management.  Lean and Mean is what we want.&lt;br /&gt;
&lt;br /&gt;
On configure the package manager, choose &amp;quot;No&amp;quot; on scan another CD or DVD. Pick a close mirror and let it scan that mirror and update during &amp;quot;Configuring apt&amp;quot;.  Now, on to Select and install software section.  Remember, we are going for lean so we only install what we are going to need.  For now we are just going to install the system just so it will boot on its own so we can get to installing AzerothCore.  On &amp;quot;Configuring popularity contest&amp;quot; choose what you want. &lt;br /&gt;
&lt;br /&gt;
Uncheck &amp;quot;Debian desktop environment&amp;quot; and &amp;quot;print server&amp;quot; and check &amp;quot;SSH server&amp;quot;.  This way, you can SSH in from your other computer or whatever.  And leave standard system utilities&amp;quot; checked as well.  Choose to Install the GRUB boot loader to the Master boot record.. Yes.  and which drive.  On Installation Complete, choose Continue. It should reboot into debian.  Go ahead and login, we are ready to prepare system for AzerothCore compile.&lt;br /&gt;
&lt;br /&gt;
== Preparation for compile ==&lt;br /&gt;
&lt;br /&gt;
Go ahead and login.  After you login with your user, type in &amp;quot;su&amp;quot; and enter your root password.  Let&#039;s go ahead and run updates and upgrades so type in &amp;quot;apt update&amp;quot; and when it finishes, type in &amp;quot;apt upgrade&amp;quot;.  This is just to make sure the system is current.  It should come back with 0 packages to update. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt install build-essential git cmake clang default-libmysqlclient-dev libssl1.0-dev libbz2-dev libreadline-dev libncurses5-dev mysql-server libace-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Getting and compiling the source ==&lt;br /&gt;
&lt;br /&gt;
First we need to clone the source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir source&lt;br /&gt;
cd source&lt;br /&gt;
git clone https://github.com/azerothcore/azerothcore-wotlk.git azerothcore&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compiling the source ==&lt;br /&gt;
&lt;br /&gt;
Now, the moment of truth.  :)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd azerothcore&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../ -DCMAKE_INSTALL_PREFIX=/opt/azerothcore/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=1 -DSCRIPTS=1&lt;br /&gt;
make -j4&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the make -j4 command, substitute the number 4 for how many cores you have or want to use.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
Start with number 4 on https://github.com/AzerothCore/azerothcore-wotlk/wiki/Installation#4-setting-the-configuration-files . I may finish the entire thing, but for now this will do&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=106</id>
		<title>AzerothCore Debian Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=106"/>
		<updated>2019-02-14T06:52:21Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: /* Compiling the source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This will be a HowTo on how to get AzerothCore compiled and running on Debian in a VirtualBox Setting.  This should work on a Non-VM install as well.  Other Debian variants like Ubuntu and LinuxMint will and should work as well.  If you are running anything else, just use your best judgment on command usage.&lt;br /&gt;
&lt;br /&gt;
== Installing Debian ==&lt;br /&gt;
&lt;br /&gt;
Create a new virtual machine, I&#039;m using the Debian 9.7.0 NetInst version using these settings as a baseline.  You can tweak these for yourself but i&#039;m going with a bare minimum just to get running.  I&#039;m going with 1GB RAM on a 20GB partition since we are not going to use a GUI, and why would you? :)  After you get things setup, be sure to set the video ram to 12MB (the lowest) because we aren&#039;t using a GUI, it&#039;s not needed and we need all the ram we can get. Boot to the ISO, follow these steps to get a base system loaded:&lt;br /&gt;
&lt;br /&gt;
Skip the Graphical Install and go for regular &amp;quot;Install&amp;quot;, go thru the screens to your liking, set the name to whatever you like, you can leave domain blank. Set your Root password. Create your regular user, we are going to set a azerothcore user later on. Set your time zone. On &amp;quot;Partition Disks&amp;quot;, select &amp;quot;Guided - Use entire disk&amp;quot;.. Unless you know what you&#039;re doing.  All files in one partition.  If you are setting up a server for a production use, you&#039;d probably want to separate partitions and assign disk space where you want it but for the purpose of this HowTo, we are going to keep things simple.  Then, Finish partitioning and write changes to disk.  Now it&#039;s going to install the base system.  Remember, we are going for bare minimal into a CLI (Command Line Interface).  Don&#039;t be scared, this is how we do it, we don&#039;t want to waste any cycles on GUI management.  Lean and Mean is what we want.&lt;br /&gt;
&lt;br /&gt;
On configure the package manager, choose &amp;quot;No&amp;quot; on scan another CD or DVD. Pick a close mirror and let it scan that mirror and update during &amp;quot;Configuring apt&amp;quot;.  Now, on to Select and install software section.  Remember, we are going for lean so we only install what we are going to need.  For now we are just going to install the system just so it will boot on its own so we can get to installing AzerothCore.  On &amp;quot;Configuring popularity contest&amp;quot; choose what you want. &lt;br /&gt;
&lt;br /&gt;
Uncheck &amp;quot;Debian desktop environment&amp;quot; and &amp;quot;print server&amp;quot; and check &amp;quot;SSH server&amp;quot;.  This way, you can SSH in from your other computer or whatever.  And leave standard system utilities&amp;quot; checked as well.  Choose to Install the GRUB boot loader to the Master boot record.. Yes.  and which drive.  On Installation Complete, choose Continue. It should reboot into debian.  Go ahead and login, we are ready to prepare system for AzerothCore compile.&lt;br /&gt;
&lt;br /&gt;
== Preparation for compile ==&lt;br /&gt;
&lt;br /&gt;
Go ahead and login.  After you login with your user, type in &amp;quot;su&amp;quot; and enter your root password.  Let&#039;s go ahead and run updates and upgrades so type in &amp;quot;apt update&amp;quot; and when it finishes, type in &amp;quot;apt upgrade&amp;quot;.  This is just to make sure the system is current.  It should come back with 0 packages to update. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt install build-essential git cmake clang default-libmysqlclient-dev libssl1.0-dev libbz2-dev libreadline-dev libncurses5-dev mysql-server libace-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Getting and compiling the source ==&lt;br /&gt;
&lt;br /&gt;
First we need to clone the source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir source&lt;br /&gt;
cd source&lt;br /&gt;
git clone https://github.com/azerothcore/azerothcore-wotlk.git azerothcore&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compiling the source ==&lt;br /&gt;
&lt;br /&gt;
Now, the moment of truth.  :)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd azerothcore&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../ -DCMAKE_INSTALL_PREFIX=/opt/azerothcore/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=1 -DSCRIPTS=1&lt;br /&gt;
make -j4&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the make -j4 command, substitute the number 4 for how many cores you have or want to use.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
Start with number 4 on Azeroth&#039;s Installation Instructions.  I may finish the entire thing, but for now this will do&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=105</id>
		<title>AzerothCore Debian Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=105"/>
		<updated>2019-02-14T06:38:13Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: /* Preparation for compile */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This will be a HowTo on how to get AzerothCore compiled and running on Debian in a VirtualBox Setting.  This should work on a Non-VM install as well.  Other Debian variants like Ubuntu and LinuxMint will and should work as well.  If you are running anything else, just use your best judgment on command usage.&lt;br /&gt;
&lt;br /&gt;
== Installing Debian ==&lt;br /&gt;
&lt;br /&gt;
Create a new virtual machine, I&#039;m using the Debian 9.7.0 NetInst version using these settings as a baseline.  You can tweak these for yourself but i&#039;m going with a bare minimum just to get running.  I&#039;m going with 1GB RAM on a 20GB partition since we are not going to use a GUI, and why would you? :)  After you get things setup, be sure to set the video ram to 12MB (the lowest) because we aren&#039;t using a GUI, it&#039;s not needed and we need all the ram we can get. Boot to the ISO, follow these steps to get a base system loaded:&lt;br /&gt;
&lt;br /&gt;
Skip the Graphical Install and go for regular &amp;quot;Install&amp;quot;, go thru the screens to your liking, set the name to whatever you like, you can leave domain blank. Set your Root password. Create your regular user, we are going to set a azerothcore user later on. Set your time zone. On &amp;quot;Partition Disks&amp;quot;, select &amp;quot;Guided - Use entire disk&amp;quot;.. Unless you know what you&#039;re doing.  All files in one partition.  If you are setting up a server for a production use, you&#039;d probably want to separate partitions and assign disk space where you want it but for the purpose of this HowTo, we are going to keep things simple.  Then, Finish partitioning and write changes to disk.  Now it&#039;s going to install the base system.  Remember, we are going for bare minimal into a CLI (Command Line Interface).  Don&#039;t be scared, this is how we do it, we don&#039;t want to waste any cycles on GUI management.  Lean and Mean is what we want.&lt;br /&gt;
&lt;br /&gt;
On configure the package manager, choose &amp;quot;No&amp;quot; on scan another CD or DVD. Pick a close mirror and let it scan that mirror and update during &amp;quot;Configuring apt&amp;quot;.  Now, on to Select and install software section.  Remember, we are going for lean so we only install what we are going to need.  For now we are just going to install the system just so it will boot on its own so we can get to installing AzerothCore.  On &amp;quot;Configuring popularity contest&amp;quot; choose what you want. &lt;br /&gt;
&lt;br /&gt;
Uncheck &amp;quot;Debian desktop environment&amp;quot; and &amp;quot;print server&amp;quot; and check &amp;quot;SSH server&amp;quot;.  This way, you can SSH in from your other computer or whatever.  And leave standard system utilities&amp;quot; checked as well.  Choose to Install the GRUB boot loader to the Master boot record.. Yes.  and which drive.  On Installation Complete, choose Continue. It should reboot into debian.  Go ahead and login, we are ready to prepare system for AzerothCore compile.&lt;br /&gt;
&lt;br /&gt;
== Preparation for compile ==&lt;br /&gt;
&lt;br /&gt;
Go ahead and login.  After you login with your user, type in &amp;quot;su&amp;quot; and enter your root password.  Let&#039;s go ahead and run updates and upgrades so type in &amp;quot;apt update&amp;quot; and when it finishes, type in &amp;quot;apt upgrade&amp;quot;.  This is just to make sure the system is current.  It should come back with 0 packages to update. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt install build-essential git cmake clang default-libmysqlclient-dev libssl1.0-dev libbz2-dev libreadline-dev libncurses5-dev mysql-server libace-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Getting and compiling the source ==&lt;br /&gt;
&lt;br /&gt;
First we need to clone the source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir source&lt;br /&gt;
cd source&lt;br /&gt;
git clone https://github.com/azerothcore/azerothcore-wotlk.git azerothcore&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compiling the source ==&lt;br /&gt;
&lt;br /&gt;
Now, the moment of truth.  :)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd azerothcore&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../ -DCMAKE_INSTALL_PREFIX=/home/youruser/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=1 -DSCRIPTS=1&lt;br /&gt;
make -j4&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the make -j4 command, substitute the number 4 for how many cores you have or want to use.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
Start with number 4 on Azeroth&#039;s Installation Instructions.  I may finish the entire thing, but for now this will do&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=104</id>
		<title>AzerothCore Debian Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=104"/>
		<updated>2019-02-14T06:37:28Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This will be a HowTo on how to get AzerothCore compiled and running on Debian in a VirtualBox Setting.  This should work on a Non-VM install as well.  Other Debian variants like Ubuntu and LinuxMint will and should work as well.  If you are running anything else, just use your best judgment on command usage.&lt;br /&gt;
&lt;br /&gt;
== Installing Debian ==&lt;br /&gt;
&lt;br /&gt;
Create a new virtual machine, I&#039;m using the Debian 9.7.0 NetInst version using these settings as a baseline.  You can tweak these for yourself but i&#039;m going with a bare minimum just to get running.  I&#039;m going with 1GB RAM on a 20GB partition since we are not going to use a GUI, and why would you? :)  After you get things setup, be sure to set the video ram to 12MB (the lowest) because we aren&#039;t using a GUI, it&#039;s not needed and we need all the ram we can get. Boot to the ISO, follow these steps to get a base system loaded:&lt;br /&gt;
&lt;br /&gt;
Skip the Graphical Install and go for regular &amp;quot;Install&amp;quot;, go thru the screens to your liking, set the name to whatever you like, you can leave domain blank. Set your Root password. Create your regular user, we are going to set a azerothcore user later on. Set your time zone. On &amp;quot;Partition Disks&amp;quot;, select &amp;quot;Guided - Use entire disk&amp;quot;.. Unless you know what you&#039;re doing.  All files in one partition.  If you are setting up a server for a production use, you&#039;d probably want to separate partitions and assign disk space where you want it but for the purpose of this HowTo, we are going to keep things simple.  Then, Finish partitioning and write changes to disk.  Now it&#039;s going to install the base system.  Remember, we are going for bare minimal into a CLI (Command Line Interface).  Don&#039;t be scared, this is how we do it, we don&#039;t want to waste any cycles on GUI management.  Lean and Mean is what we want.&lt;br /&gt;
&lt;br /&gt;
On configure the package manager, choose &amp;quot;No&amp;quot; on scan another CD or DVD. Pick a close mirror and let it scan that mirror and update during &amp;quot;Configuring apt&amp;quot;.  Now, on to Select and install software section.  Remember, we are going for lean so we only install what we are going to need.  For now we are just going to install the system just so it will boot on its own so we can get to installing AzerothCore.  On &amp;quot;Configuring popularity contest&amp;quot; choose what you want. &lt;br /&gt;
&lt;br /&gt;
Uncheck &amp;quot;Debian desktop environment&amp;quot; and &amp;quot;print server&amp;quot; and check &amp;quot;SSH server&amp;quot;.  This way, you can SSH in from your other computer or whatever.  And leave standard system utilities&amp;quot; checked as well.  Choose to Install the GRUB boot loader to the Master boot record.. Yes.  and which drive.  On Installation Complete, choose Continue. It should reboot into debian.  Go ahead and login, we are ready to prepare system for AzerothCore compile.&lt;br /&gt;
&lt;br /&gt;
== Preparation for compile ==&lt;br /&gt;
&lt;br /&gt;
Go ahead and login.  After you login with your user, type in &amp;quot;su&amp;quot; and enter your root password.  Let&#039;s go ahead and run updates and upgrades so type in &amp;quot;apt update&amp;quot; and when it finishes, type in &amp;quot;apt upgrade&amp;quot;.  This is just to make sure the system is current.  It should come back with 0 packages to update. &lt;br /&gt;
&lt;br /&gt;
apt install build-essential git cmake clang default-libmysqlclient-dev libssl1.0-dev libbz2-dev libreadline-dev libncurses5-dev mysql-server libace-dev &lt;br /&gt;
&lt;br /&gt;
== Getting and compiling the source ==&lt;br /&gt;
&lt;br /&gt;
First we need to clone the source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir source&lt;br /&gt;
cd source&lt;br /&gt;
git clone https://github.com/azerothcore/azerothcore-wotlk.git azerothcore&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compiling the source ==&lt;br /&gt;
&lt;br /&gt;
Now, the moment of truth.  :)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd azerothcore&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../ -DCMAKE_INSTALL_PREFIX=/home/youruser/azeroth-server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DTOOLS=1 -DSCRIPTS=1&lt;br /&gt;
make -j4&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the make -j4 command, substitute the number 4 for how many cores you have or want to use.&lt;br /&gt;
&lt;br /&gt;
== Finishing up ==&lt;br /&gt;
&lt;br /&gt;
Start with number 4 on Azeroth&#039;s Installation Instructions.  I may finish the entire thing, but for now this will do&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=103</id>
		<title>AzerothCore Debian Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=103"/>
		<updated>2019-02-13T12:56:13Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This will be a HowTo on how to get AzerothCore compiled and running on Debian in a VirtualBox Setting.  This should work on a Non-VM install as well.  Other Debian variants like Ubuntu and LinuxMint will and should work as well.  If you are running anything else, just use your best judgment on command usage.&lt;br /&gt;
&lt;br /&gt;
== Installing Debian ==&lt;br /&gt;
&lt;br /&gt;
Create a new virtual machine, I&#039;m using the Debian 9.7.0 NetInst version using these settings as a baseline.  You can tweak these for yourself but i&#039;m going with a bare minimum just to get running.  I&#039;m going with 1GB RAM on a 20GB partition since we are not going to use a GUI, and why would you? :)  After you get things setup, be sure to set the video ram to 12MB (the lowest) because we aren&#039;t using a GUI, it&#039;s not needed and we need all the ram we can get. Boot to the ISO, follow these steps to get a base system loaded:&lt;br /&gt;
&lt;br /&gt;
Skip the Graphical Install and go for regular &amp;quot;Install&amp;quot;, go thru the screens to your liking, set the name to whatever you like, you can leave domain blank. Set your Root password. Create your regular user, we are going to set a azerothcore user later on. Set your time zone. On &amp;quot;Partition Disks&amp;quot;, select &amp;quot;Guided - Use entire disk&amp;quot;.. Unless you know what you&#039;re doing.  All files in one partition.  If you are setting up a server for a production use, you&#039;d probably want to separate partitions and assign disk space where you want it but for the purpose of this HowTo, we are going to keep things simple.  Then, Finish partitioning and write changes to disk.  Now it&#039;s going to install the base system.  Remember, we are going for bare minimal into a CLI (Command Line Interface).  Don&#039;t be scared, this is how we do it, we don&#039;t want to waste any cycles on GUI management.  Lean and Mean is what we want.&lt;br /&gt;
&lt;br /&gt;
On configure the package manager, choose &amp;quot;No&amp;quot; on scan another CD or DVD. Pick a close mirror and let it scan that mirror and update during &amp;quot;Configuring apt&amp;quot;.  Now, on to Select and install software section.  Remember, we are going for lean so we only install what we are going to need.  For now we are just going to install the system just so it will boot on its own so we can get to installing AzerothCore.  On &amp;quot;Configuring popularity contest&amp;quot; choose what you want. &lt;br /&gt;
&lt;br /&gt;
Uncheck &amp;quot;Debian desktop environment&amp;quot; and &amp;quot;print server&amp;quot; and check &amp;quot;SSH server&amp;quot;.  This way, you can SSH in from your other computer or whatever.  And leave standard system utilities&amp;quot; checked as well.  Choose to Install the GRUB boot loader to the Master boot record.. Yes.  and which drive.  On Installation Complete, choose Continue. It should reboot into debian.  Go ahead and login, we are ready to prepare system for AzerothCore compile.&lt;br /&gt;
&lt;br /&gt;
== Preparation for compile ==&lt;br /&gt;
&lt;br /&gt;
Go ahead and login.  After you login with your user, type in &amp;quot;su&amp;quot; and enter your root password.  Let&#039;s go ahead and run updates and upgrades so type in &amp;quot;apt update&amp;quot; and when it finishes, type in &amp;quot;apt upgrade&amp;quot;.  This is just to make sure the system is current.  It should come back with 0 packages to update. &lt;br /&gt;
&lt;br /&gt;
apt install build-essential git cmake clang default-libmysqlclient-dev libssl1.0-dev libbz2-dev libreadline-dev libncurses-dev mysql-server libace&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=102</id>
		<title>AzerothCore Debian Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=102"/>
		<updated>2019-02-13T12:18:21Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This will be a HowTo on how to get AzerothCore compiled and running on Debian in a VirtualBox Setting.  This should work on a Non-VM install as well.  Other Debian variants like Ubuntu and LinuxMint will and should work as well.  If you are running anything else, just use your best judgment on command usage.&lt;br /&gt;
&lt;br /&gt;
== Installing Debian ==&lt;br /&gt;
&lt;br /&gt;
Create a new virtual machine, I&#039;m using the Debian 9.7.0 NetInst version using these settings as a baseline.  You can tweak these for yourself but i&#039;m going with a bare minimum just to get running.  I&#039;m going with 1GB RAM on a 20GB partition since we are not going to use a GUI, and why would you? :)  After you get things setup, be sure to set the video ram to 12MB (the lowest) because we aren&#039;t using a GUI, it&#039;s not needed and we need all the ram we can get. Boot to the ISO, follow these steps to get a base system loaded:&lt;br /&gt;
&lt;br /&gt;
Skip the Graphical Install and go for regular &amp;quot;Install&amp;quot;, go thru the screens to your liking, set the name to whatever you like, you can leave domain blank. Set your Root password. Create your regular user, we are going to set a azerothcore user later on. Set your time zone. On &amp;quot;Partition Disks&amp;quot;, select &amp;quot;Guided - Use entire disk&amp;quot;.. Unless you know what you&#039;re doing.  All files in one partition.  If you are setting up a server for a production use, you&#039;d probably want to separate partitions and assign disk space where you want it but for the purpose of this HowTo, we are going to keep things simple.  Then, Finish partitioning and write changes to disk.  Now it&#039;s going to install the base system.  Remember, we are going for bare minimal into a CLI (Command Line Interface).  Don&#039;t be scared, this is how we do it, we don&#039;t want to waste any cycles on GUI management.  Lean and Mean is what we want.&lt;br /&gt;
&lt;br /&gt;
On configure the package manager, choose &amp;quot;No&amp;quot; on scan another CD or DVD. Pick a close mirror and let it scan that mirror and update during &amp;quot;Configuring apt&amp;quot;.  Now, on to Select and install software section.  Remember, we are going for lean so we only install what we are going to need.  For now we are just going to install the system just so it will boot on its own so we can get to installing AzerothCore.  On &amp;quot;Configuring popularity contest&amp;quot; choose what you want. &lt;br /&gt;
&lt;br /&gt;
Uncheck &amp;quot;Debian desktop environment&amp;quot; and &amp;quot;print server&amp;quot; and check &amp;quot;SSH server&amp;quot;.  This way, you can SSH in from your other computer or whatever.  And leave standard system utilities&amp;quot; checked as well.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=101</id>
		<title>AzerothCore Debian Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=101"/>
		<updated>2019-02-13T12:02:22Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This will be a HowTo on how to get AzerothCore compiled and running on Debian in a VirtualBox Setting.  This should work on a Non-VM install as well.  Other Debian variants like Ubuntu and LinuxMint will and should work as well.  If you are running anything else, just use your best judgment on command usage.&lt;br /&gt;
&lt;br /&gt;
== Installing Debian ==&lt;br /&gt;
&lt;br /&gt;
Create a new virtual machine, I&#039;m using the Debian 9.7.0 NetInst version using these settings as a baseline.  You can tweak these for yourself but i&#039;m going with a bare minimum just to get running.  I&#039;m going with 1GB RAM on a 20GB partition since we are not going to use a GUI, and why would you? :)  After you get things setup, be sure to set the video ram to 12MB (the lowest) because we aren&#039;t using a GUI, it&#039;s not needed and we need all the ram we can get. Boot to the ISO, follow these steps to get a base system loaded:&lt;br /&gt;
&lt;br /&gt;
Skip the Graphical Install and go for regular &amp;quot;Install&amp;quot;, go thru the screens to your liking, set the name to whatever you like, you can leave domain blank. Set your Root password. Create your regular user, we are going to set a azerothcore user later on. Set your time zone. On &amp;quot;Partition Disks&amp;quot;, select &amp;quot;Guided - Use entire disk&amp;quot;.. Unless you know what you&#039;re doing.  All files in one partition.  If you are setting up a server for a production use, you&#039;d probably want to separate partitions and assign disk space where you want it but for the purpose of this HowTo, we are going to keep things simple.  Then, Finish partitioning and write changes to disk.  Now it&#039;s going to install the base system.  Remember, we are going for bare minimal into a CLI (Command Line Interface).  Don&#039;t be scared, this is how we do it, we don&#039;t want to waste any cycles on GUI management.  Lean and Mean is what we want.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=100</id>
		<title>AzerothCore Debian Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=100"/>
		<updated>2019-02-13T11:53:24Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This will be a HowTo on how to get AzerothCore compiled and running on Debian in a VirtualBox Setting.  This should work on a Non-VM install as well.  Other Debian variants like Ubuntu and LinuxMint will and should work as well.  If you are running anything else, just use your best judgment on command usage.&lt;br /&gt;
&lt;br /&gt;
== Installing Debian ==&lt;br /&gt;
&lt;br /&gt;
Create a new virtual machine, I&#039;m using the Debian 9.7.0 NetInst version using these settings as a baseline.  You can tweak these for yourself but i&#039;m going with a bare minimum just to get running.  I&#039;m going with 1GB RAM on a 20GB partition since we are not going to use a GUI, and why would you? :)  After you get things setup, be sure to set the video ram to 12MB (the lowest) because we aren&#039;t using a GUI, it&#039;s not needed and we need all the ram we can get. Boot to the ISO, follow these steps to get a base system loaded:&lt;br /&gt;
&lt;br /&gt;
Skip the Graphical Install and go for regular &amp;quot;Install&amp;quot;, go thru the screens to your liking, set the name to whatever you like, you can leave domain blank. Set your Root password. Create your regular user, we are going to set a azerothcore user later on. Set your time zone. On &amp;quot;Partition Disks&amp;quot;, select &amp;quot;Guided - Use entire disk&amp;quot;.. Unless you know what you&#039;re doing.  All files in one partition.  If you are setting up a server for a production use, you&#039;d probably want to separate partitions and assign disk space where you want it but for the purpose of this HowTo, we are going to keep things simple.  Then, Finish partitioning and write changes to disk.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=99</id>
		<title>AzerothCore Debian Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=99"/>
		<updated>2019-02-13T11:39:47Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This will be a HowTo on how to get AzerothCore compiled and running on Debian in a VirtualBox Setting.  This should work on a Non-VM install as well.  Other Debian variants like Ubuntu and LinuxMint will and should work as well.  If you are running anything else, just use your best judgment on command usage.&lt;br /&gt;
&lt;br /&gt;
== Installing Debian ==&lt;br /&gt;
&lt;br /&gt;
Create a new virtual machine, I&#039;m using the Debian 9.7.0 NetInst version using these settings as a baseline.  You can tweak these for yourself but i&#039;m going with a bare minimum just to get running.  I&#039;m going with 1GB RAM on a 20GB partition since we are not going to use a GUI, and why would you? :)  After you get things setup, be sure to set the video ram to 12MB (the lowest) because we aren&#039;t using a GUI, it&#039;s not needed and we need all the ram we can get. Boot to the ISO&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=98</id>
		<title>AzerothCore Debian Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AzerothCore_Debian_Install&amp;diff=98"/>
		<updated>2019-02-13T11:38:22Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: Created page with &amp;quot;This will be a HowTo on how to get AzerothCore compiled and running on Debian in a VirtualBox Setting.  This should work on a Non-VM install as well.  == Installing Debian ==...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This will be a HowTo on how to get AzerothCore compiled and running on Debian in a VirtualBox Setting.  This should work on a Non-VM install as well.&lt;br /&gt;
&lt;br /&gt;
== Installing Debian ==&lt;br /&gt;
&lt;br /&gt;
Create a new virtual machine, I&#039;m using the Debian 9.7.0 NetInst version using these settings as a baseline.  You can tweak these for yourself but i&#039;m going with a bare minimum just to get running.  I&#039;m going with 1GB RAM on a 20GB partition since we are not going to use a GUI, and why would you? :)  After you get things setup, be sure to set the video ram to 12MB (the lowest) because we aren&#039;t using a GUI, it&#039;s not needed and we need all the ram we can get. Boot to the ISO&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=97</id>
		<title>AMDGPU-PRO Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=97"/>
		<updated>2018-12-22T12:24:40Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=AMDGPU-PRO driver guide for Gentoo=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: this page was copied from the Warwick site that is no longer available.  I&#039;m going to try to maintain this to keep it going in case anyone wants the closed-source drivers.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The following is a short guide to install the proprietary AMDGPU-PRO driver in Gentoo linux.&lt;br /&gt;
&lt;br /&gt;
This driver seems to produce a good increase of performance on older workstation cards (GCN1), but, perhaps more importantly, it introduces support for Raven Ridge. Also, it supports hybrid configurations, including the latest RX500 series.&lt;br /&gt;
&lt;br /&gt;
In the following, I assume you know how to maintain your system, change keywords on a package basis, etc. Needless to say, you need to be root for all these steps. Before the actual steps, a few notes:&lt;br /&gt;
- This guide is for driver version 17.40.492261. I know that there is a newer driver, but it requires at least version 1.0.65 of vulkan-loader, which, at the moment, is not available in Portage.&lt;br /&gt;
- The steps below assume you are making a new installation. If, instead, you are updating from a previous version of the same driver, you should simply install the new ebuild and proceed as for a normal system update (including of course unmasking its keyword, potentially recompiling the kernel and building the new dkms module).&lt;br /&gt;
- During the installation of the driver or later, during a normal system update, it is possible to get compilation errors with libtool complaining about gbm-related stuff. This is a known problem due to libtool getting confused during the link stage, and it happens in exactly the same way for users of the proprietary nVidia driver. Typically the error will occur while compiling mesa or cairo, but it may happen when building other packages as well. The workaround is to run &amp;quot;eselect opengl xorg-x11&amp;quot;, then emerge the package that was failing, then run &amp;quot;eselect opengl amdgpu-pro&amp;quot;, and finally continue whatever you were doing before.&lt;br /&gt;
- The ebuild also works for hybrid configurations, such as new laptops with an integrated Intel card and a discrete AMD one. For such cases, make sure you activate the &amp;quot;hybrid&amp;quot; USE flag and take care of the necessary changes, explained below.&lt;br /&gt;
- For hybrid configurations, in step 1, ensure that the VIDEO_CARDS variable includes the values needed for the integrated card. For example, if you have a laptop with an Intel Core i7 8550U, you will need VIDEO_CARDS=&amp;quot;amdgpu radeonsi intel i965&amp;quot;. To know what values to use, please refer to the relevant guide.&lt;br /&gt;
- In step 5, make sure to specify the right spare region number for the MTRR in CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT. In the instructions, I used the value 2, but this may be different for your card. You can check the right region by running cat /proc/mtrr. Also, the CONFIG_EXTRA_FIRMWARE line is a correct example for an RX480 card. If your card is a different model, you must replace the file names with the appropriate firmware files. To find which firmware files to include, check the list here. However, note that the cards mentioned at this link are all desktop cards. If you are setting up a workstation or a laptop, you can check the type of microarchitecture of your card here and then refer to the previous list, considering that the driver works on cards starting from GCN first generation. Also, if your card is a Southern Islands or a Sea Islands card, then you must also have CONFIG_DRM_AMDGPU_SI=y or CONFIG_DRM_AMDGPU_CIK=y, respectively.&lt;br /&gt;
- The ebuild assumes that the PCI bus of the card is 1:0:0. If this is not the case for your card, after step 7 is complete you must modify the file /etc/X11/xorg.conf.d/10-device.conf and replace the BusID value with the right one, which you can find using lspci. Also, optionally, you can modify the various identifiers in the same file as well as in /etc/X11/xorg.conf.d/10-monitor.conf and /etc/X11/xorg.conf.d/10-screen.conf to match those of your hardware (this has no effect whatsoever on the functioning of your card). Note that this step is not needed if you have a hybrid configuration; in fact, in this case, these files will not even be created.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now, the actual step-by-step guide.&lt;br /&gt;
&lt;br /&gt;
#First of all, make sure that in /etc/portage/make.conf you have the line &#039;&#039;&#039;&#039;&#039;VIDEO_CARDS=&amp;quot;amdgpu radeonsi&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#Edit the file /etc/portage/package.mask and add the lines&amp;lt;br&amp;gt;&lt;br /&gt;
#Mask old version of packages for AMDGPU-PRO&amp;lt;br /&amp;gt;&amp;lt;sys-kernel/gentoo-sources-4.9.0&amp;lt;br /&amp;gt;&amp;gt;=sys-kernel/gentoo-sources-4.11.0&amp;lt;br /&amp;gt;x11-drivers/amdgpu-pro::farmboy0&amp;lt;br&amp;gt;&lt;br /&gt;
#Then, update your system: &#039;&#039;&#039;&#039;&#039;emerge --update --deep --newuse -1 world&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#When the system is properly updated, and any rebuilding and fixing is done, install the firmware package (if it is not already installed): &#039;&#039;&#039;&#039;&#039;emerge linux-firmware&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#Next step is making sure the kernel has the right configuration. Note that you must ensure that you are running a 4.9 kernel, which may mean you must manually accept its keyword. At the moment, I tested it with the latest available kernel of the series, which is the 4.9.85, and which I use in the instructions below. In the kernel configuration, verify that the following options are as shown (please note that some must be modules):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CONFIG_MTRR = y&lt;br /&gt;
# CONFIG_TRIM_UNUSED_KSYMS is not set&lt;br /&gt;
CONFIG_MTRR_SANITIZER = y&lt;br /&gt;
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT = 1&lt;br /&gt;
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT = 2&lt;br /&gt;
CONFIG_BINFMT_ELF=y&lt;br /&gt;
CONFIG_COMPAT_BINFMT_ELF=y&lt;br /&gt;
CONFIG_BINFMT_SCRIPT=y&lt;br /&gt;
CONFIG_BINFMT_MISC=y&lt;br /&gt;
CONFIG_FW_LOADER = y&lt;br /&gt;
CONFIG_FIRMWARE_IN_KERNEL = y&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE = &amp;quot;amdgpu/polaris10_ce.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin&amp;quot;&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE_DIR = &amp;quot;/lib/firmware&amp;quot;&lt;br /&gt;
CONFIG_AGP = y&lt;br /&gt;
CONFIG_VGA_SWITCHEROO = y&lt;br /&gt;
CONFIG_DRM = y&lt;br /&gt;
CONFIG_DRM_FBDEV_EMULATION = y&lt;br /&gt;
CONFIG_DRM_AMDGPU = m&lt;br /&gt;
CONFIG_DRM_AMDGPU_USERPTR = y&lt;br /&gt;
CONFIG_FB = y&lt;br /&gt;
CONFIG_FB_MODE_HELPERS = y&lt;br /&gt;
CONFIG_FB_VESA = y&lt;br /&gt;
# CONFIG_DRM_RADEON is not set&lt;br /&gt;
# CONFIG_FB_RADEON is not set&lt;br /&gt;
DEBUG_KERNEL = n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If needed, recompile the kernel and make sure modules, firmware and system map are installed:&lt;br /&gt;
make&lt;br /&gt;
make modules_install&lt;br /&gt;
make firmware_install&lt;br /&gt;
cp arch/x86/boot/bzImage /boot/kernel&lt;br /&gt;
cp System.map /boot/System.map-4.9.85-gentoo&lt;br /&gt;
&lt;br /&gt;
Reboot into the new kernel.&lt;br /&gt;
&lt;br /&gt;
6. Next, install dkms. The easiest way is to use the farmboy0 overlay. Emerge layman (if it is not already installed), then do&lt;br /&gt;
layman -a farmboy0&lt;br /&gt;
layman -S&lt;br /&gt;
emerge dkms&lt;br /&gt;
&lt;br /&gt;
7. Create a local overlay. I call mine parawlay. If you don&#039;t know how to do this, see here or here. Inside the overlay, create the category &amp;quot;x11-drivers&amp;quot;, and inside this the directory &amp;quot;amdgpu-pro&amp;quot;. Then, downoad this ebuild and put it inside this directory. Create the manifest:&lt;br /&gt;
ebuild amdgpu-pro-17.40.492261-r2.ebuild manifest&lt;br /&gt;
Install the various driver components:&lt;br /&gt;
emerge amdgpu-pro&lt;br /&gt;
Of course, you can choose whatever use flags you want/need, they are self-explanatory.&lt;br /&gt;
&lt;br /&gt;
8. Now, create a directory in which you are going to extract the dkms code, patch it and compile it. For example:&lt;br /&gt;
mkdir amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
Go there, copy the source in it, extract it and go to the directory with the source code:&lt;br /&gt;
cd amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
cp /usr/portage/distfiles/amdgpu-pro-17.40-492261.tar.xz .&lt;br /&gt;
tar xJf amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
rm amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
cd amdgpu-pro-17.40-492261/&lt;br /&gt;
ar x amdgpu-pro-dkms_17.40-492261_all.deb&lt;br /&gt;
tar xJf data.tar.xz&lt;br /&gt;
rm *&lt;br /&gt;
cd usr/src/&lt;br /&gt;
Inside this directory you have the code for the module, which needs to be patched. To do so, download these patches and extract them where you are. Then, patch the code:&lt;br /&gt;
cd amdgpu-17.40-492261/&lt;br /&gt;
for i in `seq 1 1 11`; do patch -p0 &amp;lt; ../patch${i}; done&lt;br /&gt;
cd ..&lt;br /&gt;
If (and only if) you are currently running an old version of the proprietary drive module, uninstall it. For example, if you are running the old driver version 17.10-401251, do&lt;br /&gt;
dkms remove amdgpu-pro/17.10-401251 --all&lt;br /&gt;
Then, install the new driver:&lt;br /&gt;
dkms install amdgpu-17.40-492261 -k 4.9.85-gentoo --force&lt;br /&gt;
&lt;br /&gt;
9. Run&lt;br /&gt;
eselect opengl amdgpu-pro&lt;br /&gt;
eselect opencl amdgpu-pro&lt;br /&gt;
&lt;br /&gt;
10. Finally, if you intend to use the card for cryptocurrency mining, edit the file /etc/grub.d/40_custom and add the option amdgpu.vm_fragment_size=9 in the kernel line, and rebuild the grub config file (typically running grub-mkconfig -o /boot/grub/grub.cfg). Do not perform this step if you will use the card for regular gaming/rendering/computing jobs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot and you are done. In general, update and maintain your system (and overlays) as usual. However, if you recompile the kernel, you will need to reinstall the dkms module. Whenever a new version of the driver is released or there is some change in something, and I have time, I will update the guide.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=96</id>
		<title>AMDGPU-PRO Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=96"/>
		<updated>2018-12-22T12:23:20Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=AMDGPU-PRO driver guide for Gentoo=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: this page was copied from the Warwick site that is no longer available.  I&#039;m going to try to maintain this to keep it going in case anyone wants the closed-source drivers.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The following is a short guide to install the proprietary AMDGPU-PRO driver in Gentoo linux.&lt;br /&gt;
&lt;br /&gt;
This driver seems to produce a good increase of performance on older workstation cards (GCN1), but, perhaps more importantly, it introduces support for Raven Ridge. Also, it supports hybrid configurations, including the latest RX500 series.&lt;br /&gt;
&lt;br /&gt;
In the following, I assume you know how to maintain your system, change keywords on a package basis, etc. Needless to say, you need to be root for all these steps. Before the actual steps, a few notes:&lt;br /&gt;
- This guide is for driver version 17.40.492261. I know that there is a newer driver, but it requires at least version 1.0.65 of vulkan-loader, which, at the moment, is not available in Portage.&lt;br /&gt;
- The steps below assume you are making a new installation. If, instead, you are updating from a previous version of the same driver, you should simply install the new ebuild and proceed as for a normal system update (including of course unmasking its keyword, potentially recompiling the kernel and building the new dkms module).&lt;br /&gt;
- During the installation of the driver or later, during a normal system update, it is possible to get compilation errors with libtool complaining about gbm-related stuff. This is a known problem due to libtool getting confused during the link stage, and it happens in exactly the same way for users of the proprietary nVidia driver. Typically the error will occur while compiling mesa or cairo, but it may happen when building other packages as well. The workaround is to run &amp;quot;eselect opengl xorg-x11&amp;quot;, then emerge the package that was failing, then run &amp;quot;eselect opengl amdgpu-pro&amp;quot;, and finally continue whatever you were doing before.&lt;br /&gt;
- The ebuild also works for hybrid configurations, such as new laptops with an integrated Intel card and a discrete AMD one. For such cases, make sure you activate the &amp;quot;hybrid&amp;quot; USE flag and take care of the necessary changes, explained below.&lt;br /&gt;
- For hybrid configurations, in step 1, ensure that the VIDEO_CARDS variable includes the values needed for the integrated card. For example, if you have a laptop with an Intel Core i7 8550U, you will need VIDEO_CARDS=&amp;quot;amdgpu radeonsi intel i965&amp;quot;. To know what values to use, please refer to the relevant guide.&lt;br /&gt;
- In step 5, make sure to specify the right spare region number for the MTRR in CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT. In the instructions, I used the value 2, but this may be different for your card. You can check the right region by running cat /proc/mtrr. Also, the CONFIG_EXTRA_FIRMWARE line is a correct example for an RX480 card. If your card is a different model, you must replace the file names with the appropriate firmware files. To find which firmware files to include, check the list here. However, note that the cards mentioned at this link are all desktop cards. If you are setting up a workstation or a laptop, you can check the type of microarchitecture of your card here and then refer to the previous list, considering that the driver works on cards starting from GCN first generation. Also, if your card is a Southern Islands or a Sea Islands card, then you must also have CONFIG_DRM_AMDGPU_SI=y or CONFIG_DRM_AMDGPU_CIK=y, respectively.&lt;br /&gt;
- The ebuild assumes that the PCI bus of the card is 1:0:0. If this is not the case for your card, after step 7 is complete you must modify the file /etc/X11/xorg.conf.d/10-device.conf and replace the BusID value with the right one, which you can find using lspci. Also, optionally, you can modify the various identifiers in the same file as well as in /etc/X11/xorg.conf.d/10-monitor.conf and /etc/X11/xorg.conf.d/10-screen.conf to match those of your hardware (this has no effect whatsoever on the functioning of your card). Note that this step is not needed if you have a hybrid configuration; in fact, in this case, these files will not even be created.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now, the actual step-by-step guide.&lt;br /&gt;
&lt;br /&gt;
#First of all, make sure that in /etc/portage/make.conf you have the line &#039;&#039;&#039;&#039;&#039;VIDEO_CARDS=&amp;quot;amdgpu radeonsi&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#Edit the file /etc/portage/package.mask and add the lines&lt;br /&gt;
&amp;lt;pre&amp;gt;#Mask old version of packages for AMDGPU-PRO&amp;lt;br /&amp;gt;&amp;lt;sys-kernel/gentoo-sources-4.9.0&amp;lt;br /&amp;gt;&amp;gt;=sys-kernel/gentoo-sources-4.11.0&amp;lt;br /&amp;gt;x11-drivers/amdgpu-pro::farmboy0&amp;lt;/pre&amp;gt;&lt;br /&gt;
#Then, update your system: &#039;&#039;&#039;&#039;&#039;emerge --update --deep --newuse -1 world&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#When the system is properly updated, and any rebuilding and fixing is done, install the firmware package (if it is not already installed): &#039;&#039;&#039;&#039;&#039;emerge linux-firmware&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#Next step is making sure the kernel has the right configuration. Note that you must ensure that you are running a 4.9 kernel, which may mean you must manually accept its keyword. At the moment, I tested it with the latest available kernel of the series, which is the 4.9.85, and which I use in the instructions below. In the kernel configuration, verify that the following options are as shown (please note that some must be modules):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CONFIG_MTRR = y&lt;br /&gt;
# CONFIG_TRIM_UNUSED_KSYMS is not set&lt;br /&gt;
CONFIG_MTRR_SANITIZER = y&lt;br /&gt;
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT = 1&lt;br /&gt;
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT = 2&lt;br /&gt;
CONFIG_BINFMT_ELF=y&lt;br /&gt;
CONFIG_COMPAT_BINFMT_ELF=y&lt;br /&gt;
CONFIG_BINFMT_SCRIPT=y&lt;br /&gt;
CONFIG_BINFMT_MISC=y&lt;br /&gt;
CONFIG_FW_LOADER = y&lt;br /&gt;
CONFIG_FIRMWARE_IN_KERNEL = y&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE = &amp;quot;amdgpu/polaris10_ce.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin&amp;quot;&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE_DIR = &amp;quot;/lib/firmware&amp;quot;&lt;br /&gt;
CONFIG_AGP = y&lt;br /&gt;
CONFIG_VGA_SWITCHEROO = y&lt;br /&gt;
CONFIG_DRM = y&lt;br /&gt;
CONFIG_DRM_FBDEV_EMULATION = y&lt;br /&gt;
CONFIG_DRM_AMDGPU = m&lt;br /&gt;
CONFIG_DRM_AMDGPU_USERPTR = y&lt;br /&gt;
CONFIG_FB = y&lt;br /&gt;
CONFIG_FB_MODE_HELPERS = y&lt;br /&gt;
CONFIG_FB_VESA = y&lt;br /&gt;
# CONFIG_DRM_RADEON is not set&lt;br /&gt;
# CONFIG_FB_RADEON is not set&lt;br /&gt;
DEBUG_KERNEL = n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If needed, recompile the kernel and make sure modules, firmware and system map are installed:&lt;br /&gt;
make&lt;br /&gt;
make modules_install&lt;br /&gt;
make firmware_install&lt;br /&gt;
cp arch/x86/boot/bzImage /boot/kernel&lt;br /&gt;
cp System.map /boot/System.map-4.9.85-gentoo&lt;br /&gt;
&lt;br /&gt;
Reboot into the new kernel.&lt;br /&gt;
&lt;br /&gt;
6. Next, install dkms. The easiest way is to use the farmboy0 overlay. Emerge layman (if it is not already installed), then do&lt;br /&gt;
layman -a farmboy0&lt;br /&gt;
layman -S&lt;br /&gt;
emerge dkms&lt;br /&gt;
&lt;br /&gt;
7. Create a local overlay. I call mine parawlay. If you don&#039;t know how to do this, see here or here. Inside the overlay, create the category &amp;quot;x11-drivers&amp;quot;, and inside this the directory &amp;quot;amdgpu-pro&amp;quot;. Then, downoad this ebuild and put it inside this directory. Create the manifest:&lt;br /&gt;
ebuild amdgpu-pro-17.40.492261-r2.ebuild manifest&lt;br /&gt;
Install the various driver components:&lt;br /&gt;
emerge amdgpu-pro&lt;br /&gt;
Of course, you can choose whatever use flags you want/need, they are self-explanatory.&lt;br /&gt;
&lt;br /&gt;
8. Now, create a directory in which you are going to extract the dkms code, patch it and compile it. For example:&lt;br /&gt;
mkdir amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
Go there, copy the source in it, extract it and go to the directory with the source code:&lt;br /&gt;
cd amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
cp /usr/portage/distfiles/amdgpu-pro-17.40-492261.tar.xz .&lt;br /&gt;
tar xJf amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
rm amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
cd amdgpu-pro-17.40-492261/&lt;br /&gt;
ar x amdgpu-pro-dkms_17.40-492261_all.deb&lt;br /&gt;
tar xJf data.tar.xz&lt;br /&gt;
rm *&lt;br /&gt;
cd usr/src/&lt;br /&gt;
Inside this directory you have the code for the module, which needs to be patched. To do so, download these patches and extract them where you are. Then, patch the code:&lt;br /&gt;
cd amdgpu-17.40-492261/&lt;br /&gt;
for i in `seq 1 1 11`; do patch -p0 &amp;lt; ../patch${i}; done&lt;br /&gt;
cd ..&lt;br /&gt;
If (and only if) you are currently running an old version of the proprietary drive module, uninstall it. For example, if you are running the old driver version 17.10-401251, do&lt;br /&gt;
dkms remove amdgpu-pro/17.10-401251 --all&lt;br /&gt;
Then, install the new driver:&lt;br /&gt;
dkms install amdgpu-17.40-492261 -k 4.9.85-gentoo --force&lt;br /&gt;
&lt;br /&gt;
9. Run&lt;br /&gt;
eselect opengl amdgpu-pro&lt;br /&gt;
eselect opencl amdgpu-pro&lt;br /&gt;
&lt;br /&gt;
10. Finally, if you intend to use the card for cryptocurrency mining, edit the file /etc/grub.d/40_custom and add the option amdgpu.vm_fragment_size=9 in the kernel line, and rebuild the grub config file (typically running grub-mkconfig -o /boot/grub/grub.cfg). Do not perform this step if you will use the card for regular gaming/rendering/computing jobs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot and you are done. In general, update and maintain your system (and overlays) as usual. However, if you recompile the kernel, you will need to reinstall the dkms module. Whenever a new version of the driver is released or there is some change in something, and I have time, I will update the guide.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=95</id>
		<title>AMDGPU-PRO Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=95"/>
		<updated>2018-12-22T12:22:44Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=AMDGPU-PRO driver guide for Gentoo=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: this page was copied from the Warwick site that is no longer available.  I&#039;m going to try to maintain this to keep it going in case anyone wants the closed-source drivers.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The following is a short guide to install the proprietary AMDGPU-PRO driver in Gentoo linux.&lt;br /&gt;
&lt;br /&gt;
This driver seems to produce a good increase of performance on older workstation cards (GCN1), but, perhaps more importantly, it introduces support for Raven Ridge. Also, it supports hybrid configurations, including the latest RX500 series.&lt;br /&gt;
&lt;br /&gt;
In the following, I assume you know how to maintain your system, change keywords on a package basis, etc. Needless to say, you need to be root for all these steps. Before the actual steps, a few notes:&lt;br /&gt;
- This guide is for driver version 17.40.492261. I know that there is a newer driver, but it requires at least version 1.0.65 of vulkan-loader, which, at the moment, is not available in Portage.&lt;br /&gt;
- The steps below assume you are making a new installation. If, instead, you are updating from a previous version of the same driver, you should simply install the new ebuild and proceed as for a normal system update (including of course unmasking its keyword, potentially recompiling the kernel and building the new dkms module).&lt;br /&gt;
- During the installation of the driver or later, during a normal system update, it is possible to get compilation errors with libtool complaining about gbm-related stuff. This is a known problem due to libtool getting confused during the link stage, and it happens in exactly the same way for users of the proprietary nVidia driver. Typically the error will occur while compiling mesa or cairo, but it may happen when building other packages as well. The workaround is to run &amp;quot;eselect opengl xorg-x11&amp;quot;, then emerge the package that was failing, then run &amp;quot;eselect opengl amdgpu-pro&amp;quot;, and finally continue whatever you were doing before.&lt;br /&gt;
- The ebuild also works for hybrid configurations, such as new laptops with an integrated Intel card and a discrete AMD one. For such cases, make sure you activate the &amp;quot;hybrid&amp;quot; USE flag and take care of the necessary changes, explained below.&lt;br /&gt;
- For hybrid configurations, in step 1, ensure that the VIDEO_CARDS variable includes the values needed for the integrated card. For example, if you have a laptop with an Intel Core i7 8550U, you will need VIDEO_CARDS=&amp;quot;amdgpu radeonsi intel i965&amp;quot;. To know what values to use, please refer to the relevant guide.&lt;br /&gt;
- In step 5, make sure to specify the right spare region number for the MTRR in CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT. In the instructions, I used the value 2, but this may be different for your card. You can check the right region by running cat /proc/mtrr. Also, the CONFIG_EXTRA_FIRMWARE line is a correct example for an RX480 card. If your card is a different model, you must replace the file names with the appropriate firmware files. To find which firmware files to include, check the list here. However, note that the cards mentioned at this link are all desktop cards. If you are setting up a workstation or a laptop, you can check the type of microarchitecture of your card here and then refer to the previous list, considering that the driver works on cards starting from GCN first generation. Also, if your card is a Southern Islands or a Sea Islands card, then you must also have CONFIG_DRM_AMDGPU_SI=y or CONFIG_DRM_AMDGPU_CIK=y, respectively.&lt;br /&gt;
- The ebuild assumes that the PCI bus of the card is 1:0:0. If this is not the case for your card, after step 7 is complete you must modify the file /etc/X11/xorg.conf.d/10-device.conf and replace the BusID value with the right one, which you can find using lspci. Also, optionally, you can modify the various identifiers in the same file as well as in /etc/X11/xorg.conf.d/10-monitor.conf and /etc/X11/xorg.conf.d/10-screen.conf to match those of your hardware (this has no effect whatsoever on the functioning of your card). Note that this step is not needed if you have a hybrid configuration; in fact, in this case, these files will not even be created.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now, the actual step-by-step guide.&lt;br /&gt;
&lt;br /&gt;
#First of all, make sure that in /etc/portage/make.conf you have the line &#039;&#039;&#039;&#039;&#039;VIDEO_CARDS=&amp;quot;amdgpu radeonsi&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#Edit the file /etc/portage/package.mask and add the lines&lt;br /&gt;
&amp;lt;pre&amp;gt;#Mask old version of packages for AMDGPU-PRO&amp;lt;br&amp;gt;&amp;lt;sys-kernel/gentoo-sources-4.9.0&amp;lt;br&amp;gt;&amp;gt;=sys-kernel/gentoo-sources-4.11.0&amp;lt;br&amp;gt;x11-drivers/amdgpu-pro::farmboy0&amp;lt;/pre&amp;gt;&lt;br /&gt;
#Then, update your system: &#039;&#039;&#039;&#039;&#039;emerge --update --deep --newuse -1 world&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#When the system is properly updated, and any rebuilding and fixing is done, install the firmware package (if it is not already installed): &#039;&#039;&#039;&#039;&#039;emerge linux-firmware&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#Next step is making sure the kernel has the right configuration. Note that you must ensure that you are running a 4.9 kernel, which may mean you must manually accept its keyword. At the moment, I tested it with the latest available kernel of the series, which is the 4.9.85, and which I use in the instructions below. In the kernel configuration, verify that the following options are as shown (please note that some must be modules):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CONFIG_MTRR = y&lt;br /&gt;
# CONFIG_TRIM_UNUSED_KSYMS is not set&lt;br /&gt;
CONFIG_MTRR_SANITIZER = y&lt;br /&gt;
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT = 1&lt;br /&gt;
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT = 2&lt;br /&gt;
CONFIG_BINFMT_ELF=y&lt;br /&gt;
CONFIG_COMPAT_BINFMT_ELF=y&lt;br /&gt;
CONFIG_BINFMT_SCRIPT=y&lt;br /&gt;
CONFIG_BINFMT_MISC=y&lt;br /&gt;
CONFIG_FW_LOADER = y&lt;br /&gt;
CONFIG_FIRMWARE_IN_KERNEL = y&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE = &amp;quot;amdgpu/polaris10_ce.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin&amp;quot;&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE_DIR = &amp;quot;/lib/firmware&amp;quot;&lt;br /&gt;
CONFIG_AGP = y&lt;br /&gt;
CONFIG_VGA_SWITCHEROO = y&lt;br /&gt;
CONFIG_DRM = y&lt;br /&gt;
CONFIG_DRM_FBDEV_EMULATION = y&lt;br /&gt;
CONFIG_DRM_AMDGPU = m&lt;br /&gt;
CONFIG_DRM_AMDGPU_USERPTR = y&lt;br /&gt;
CONFIG_FB = y&lt;br /&gt;
CONFIG_FB_MODE_HELPERS = y&lt;br /&gt;
CONFIG_FB_VESA = y&lt;br /&gt;
# CONFIG_DRM_RADEON is not set&lt;br /&gt;
# CONFIG_FB_RADEON is not set&lt;br /&gt;
DEBUG_KERNEL = n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If needed, recompile the kernel and make sure modules, firmware and system map are installed:&lt;br /&gt;
make&lt;br /&gt;
make modules_install&lt;br /&gt;
make firmware_install&lt;br /&gt;
cp arch/x86/boot/bzImage /boot/kernel&lt;br /&gt;
cp System.map /boot/System.map-4.9.85-gentoo&lt;br /&gt;
&lt;br /&gt;
Reboot into the new kernel.&lt;br /&gt;
&lt;br /&gt;
6. Next, install dkms. The easiest way is to use the farmboy0 overlay. Emerge layman (if it is not already installed), then do&lt;br /&gt;
layman -a farmboy0&lt;br /&gt;
layman -S&lt;br /&gt;
emerge dkms&lt;br /&gt;
&lt;br /&gt;
7. Create a local overlay. I call mine parawlay. If you don&#039;t know how to do this, see here or here. Inside the overlay, create the category &amp;quot;x11-drivers&amp;quot;, and inside this the directory &amp;quot;amdgpu-pro&amp;quot;. Then, downoad this ebuild and put it inside this directory. Create the manifest:&lt;br /&gt;
ebuild amdgpu-pro-17.40.492261-r2.ebuild manifest&lt;br /&gt;
Install the various driver components:&lt;br /&gt;
emerge amdgpu-pro&lt;br /&gt;
Of course, you can choose whatever use flags you want/need, they are self-explanatory.&lt;br /&gt;
&lt;br /&gt;
8. Now, create a directory in which you are going to extract the dkms code, patch it and compile it. For example:&lt;br /&gt;
mkdir amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
Go there, copy the source in it, extract it and go to the directory with the source code:&lt;br /&gt;
cd amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
cp /usr/portage/distfiles/amdgpu-pro-17.40-492261.tar.xz .&lt;br /&gt;
tar xJf amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
rm amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
cd amdgpu-pro-17.40-492261/&lt;br /&gt;
ar x amdgpu-pro-dkms_17.40-492261_all.deb&lt;br /&gt;
tar xJf data.tar.xz&lt;br /&gt;
rm *&lt;br /&gt;
cd usr/src/&lt;br /&gt;
Inside this directory you have the code for the module, which needs to be patched. To do so, download these patches and extract them where you are. Then, patch the code:&lt;br /&gt;
cd amdgpu-17.40-492261/&lt;br /&gt;
for i in `seq 1 1 11`; do patch -p0 &amp;lt; ../patch${i}; done&lt;br /&gt;
cd ..&lt;br /&gt;
If (and only if) you are currently running an old version of the proprietary drive module, uninstall it. For example, if you are running the old driver version 17.10-401251, do&lt;br /&gt;
dkms remove amdgpu-pro/17.10-401251 --all&lt;br /&gt;
Then, install the new driver:&lt;br /&gt;
dkms install amdgpu-17.40-492261 -k 4.9.85-gentoo --force&lt;br /&gt;
&lt;br /&gt;
9. Run&lt;br /&gt;
eselect opengl amdgpu-pro&lt;br /&gt;
eselect opencl amdgpu-pro&lt;br /&gt;
&lt;br /&gt;
10. Finally, if you intend to use the card for cryptocurrency mining, edit the file /etc/grub.d/40_custom and add the option amdgpu.vm_fragment_size=9 in the kernel line, and rebuild the grub config file (typically running grub-mkconfig -o /boot/grub/grub.cfg). Do not perform this step if you will use the card for regular gaming/rendering/computing jobs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot and you are done. In general, update and maintain your system (and overlays) as usual. However, if you recompile the kernel, you will need to reinstall the dkms module. Whenever a new version of the driver is released or there is some change in something, and I have time, I will update the guide.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=94</id>
		<title>AMDGPU-PRO Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=94"/>
		<updated>2018-12-22T12:22:08Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=AMDGPU-PRO driver guide for Gentoo=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: this page was copied from the Warwick site that is no longer available.  I&#039;m going to try to maintain this to keep it going in case anyone wants the closed-source drivers.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The following is a short guide to install the proprietary AMDGPU-PRO driver in Gentoo linux.&lt;br /&gt;
&lt;br /&gt;
This driver seems to produce a good increase of performance on older workstation cards (GCN1), but, perhaps more importantly, it introduces support for Raven Ridge. Also, it supports hybrid configurations, including the latest RX500 series.&lt;br /&gt;
&lt;br /&gt;
In the following, I assume you know how to maintain your system, change keywords on a package basis, etc. Needless to say, you need to be root for all these steps. Before the actual steps, a few notes:&lt;br /&gt;
- This guide is for driver version 17.40.492261. I know that there is a newer driver, but it requires at least version 1.0.65 of vulkan-loader, which, at the moment, is not available in Portage.&lt;br /&gt;
- The steps below assume you are making a new installation. If, instead, you are updating from a previous version of the same driver, you should simply install the new ebuild and proceed as for a normal system update (including of course unmasking its keyword, potentially recompiling the kernel and building the new dkms module).&lt;br /&gt;
- During the installation of the driver or later, during a normal system update, it is possible to get compilation errors with libtool complaining about gbm-related stuff. This is a known problem due to libtool getting confused during the link stage, and it happens in exactly the same way for users of the proprietary nVidia driver. Typically the error will occur while compiling mesa or cairo, but it may happen when building other packages as well. The workaround is to run &amp;quot;eselect opengl xorg-x11&amp;quot;, then emerge the package that was failing, then run &amp;quot;eselect opengl amdgpu-pro&amp;quot;, and finally continue whatever you were doing before.&lt;br /&gt;
- The ebuild also works for hybrid configurations, such as new laptops with an integrated Intel card and a discrete AMD one. For such cases, make sure you activate the &amp;quot;hybrid&amp;quot; USE flag and take care of the necessary changes, explained below.&lt;br /&gt;
- For hybrid configurations, in step 1, ensure that the VIDEO_CARDS variable includes the values needed for the integrated card. For example, if you have a laptop with an Intel Core i7 8550U, you will need VIDEO_CARDS=&amp;quot;amdgpu radeonsi intel i965&amp;quot;. To know what values to use, please refer to the relevant guide.&lt;br /&gt;
- In step 5, make sure to specify the right spare region number for the MTRR in CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT. In the instructions, I used the value 2, but this may be different for your card. You can check the right region by running cat /proc/mtrr. Also, the CONFIG_EXTRA_FIRMWARE line is a correct example for an RX480 card. If your card is a different model, you must replace the file names with the appropriate firmware files. To find which firmware files to include, check the list here. However, note that the cards mentioned at this link are all desktop cards. If you are setting up a workstation or a laptop, you can check the type of microarchitecture of your card here and then refer to the previous list, considering that the driver works on cards starting from GCN first generation. Also, if your card is a Southern Islands or a Sea Islands card, then you must also have CONFIG_DRM_AMDGPU_SI=y or CONFIG_DRM_AMDGPU_CIK=y, respectively.&lt;br /&gt;
- The ebuild assumes that the PCI bus of the card is 1:0:0. If this is not the case for your card, after step 7 is complete you must modify the file /etc/X11/xorg.conf.d/10-device.conf and replace the BusID value with the right one, which you can find using lspci. Also, optionally, you can modify the various identifiers in the same file as well as in /etc/X11/xorg.conf.d/10-monitor.conf and /etc/X11/xorg.conf.d/10-screen.conf to match those of your hardware (this has no effect whatsoever on the functioning of your card). Note that this step is not needed if you have a hybrid configuration; in fact, in this case, these files will not even be created.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now, the actual step-by-step guide.&lt;br /&gt;
&lt;br /&gt;
#First of all, make sure that in /etc/portage/make.conf you have the line &#039;&#039;&#039;&#039;&#039;VIDEO_CARDS=&amp;quot;amdgpu radeonsi&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#Edit the file /etc/portage/package.mask and add the lines&amp;lt;pre&amp;gt;#Mask old version of packages for AMDGPU-PRO&amp;lt;br&amp;gt;&amp;lt;sys-kernel/gentoo-sources-4.9.0&amp;lt;br&amp;gt;&amp;gt;=sys-kernel/gentoo-sources-4.11.0&amp;lt;br&amp;gt;x11-drivers/amdgpu-pro::farmboy0&amp;lt;/pre&amp;gt;&lt;br /&gt;
#Then, update your system: &#039;&#039;&#039;&#039;&#039;emerge --update --deep --newuse -1 world&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#When the system is properly updated, and any rebuilding and fixing is done, install the firmware package (if it is not already installed): &#039;&#039;&#039;&#039;&#039;emerge linux-firmware&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#Next step is making sure the kernel has the right configuration. Note that you must ensure that you are running a 4.9 kernel, which may mean you must manually accept its keyword. At the moment, I tested it with the latest available kernel of the series, which is the 4.9.85, and which I use in the instructions below. In the kernel configuration, verify that the following options are as shown (please note that some must be modules):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CONFIG_MTRR = y&lt;br /&gt;
# CONFIG_TRIM_UNUSED_KSYMS is not set&lt;br /&gt;
CONFIG_MTRR_SANITIZER = y&lt;br /&gt;
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT = 1&lt;br /&gt;
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT = 2&lt;br /&gt;
CONFIG_BINFMT_ELF=y&lt;br /&gt;
CONFIG_COMPAT_BINFMT_ELF=y&lt;br /&gt;
CONFIG_BINFMT_SCRIPT=y&lt;br /&gt;
CONFIG_BINFMT_MISC=y&lt;br /&gt;
CONFIG_FW_LOADER = y&lt;br /&gt;
CONFIG_FIRMWARE_IN_KERNEL = y&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE = &amp;quot;amdgpu/polaris10_ce.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin&amp;quot;&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE_DIR = &amp;quot;/lib/firmware&amp;quot;&lt;br /&gt;
CONFIG_AGP = y&lt;br /&gt;
CONFIG_VGA_SWITCHEROO = y&lt;br /&gt;
CONFIG_DRM = y&lt;br /&gt;
CONFIG_DRM_FBDEV_EMULATION = y&lt;br /&gt;
CONFIG_DRM_AMDGPU = m&lt;br /&gt;
CONFIG_DRM_AMDGPU_USERPTR = y&lt;br /&gt;
CONFIG_FB = y&lt;br /&gt;
CONFIG_FB_MODE_HELPERS = y&lt;br /&gt;
CONFIG_FB_VESA = y&lt;br /&gt;
# CONFIG_DRM_RADEON is not set&lt;br /&gt;
# CONFIG_FB_RADEON is not set&lt;br /&gt;
DEBUG_KERNEL = n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If needed, recompile the kernel and make sure modules, firmware and system map are installed:&lt;br /&gt;
make&lt;br /&gt;
make modules_install&lt;br /&gt;
make firmware_install&lt;br /&gt;
cp arch/x86/boot/bzImage /boot/kernel&lt;br /&gt;
cp System.map /boot/System.map-4.9.85-gentoo&lt;br /&gt;
&lt;br /&gt;
Reboot into the new kernel.&lt;br /&gt;
&lt;br /&gt;
6. Next, install dkms. The easiest way is to use the farmboy0 overlay. Emerge layman (if it is not already installed), then do&lt;br /&gt;
layman -a farmboy0&lt;br /&gt;
layman -S&lt;br /&gt;
emerge dkms&lt;br /&gt;
&lt;br /&gt;
7. Create a local overlay. I call mine parawlay. If you don&#039;t know how to do this, see here or here. Inside the overlay, create the category &amp;quot;x11-drivers&amp;quot;, and inside this the directory &amp;quot;amdgpu-pro&amp;quot;. Then, downoad this ebuild and put it inside this directory. Create the manifest:&lt;br /&gt;
ebuild amdgpu-pro-17.40.492261-r2.ebuild manifest&lt;br /&gt;
Install the various driver components:&lt;br /&gt;
emerge amdgpu-pro&lt;br /&gt;
Of course, you can choose whatever use flags you want/need, they are self-explanatory.&lt;br /&gt;
&lt;br /&gt;
8. Now, create a directory in which you are going to extract the dkms code, patch it and compile it. For example:&lt;br /&gt;
mkdir amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
Go there, copy the source in it, extract it and go to the directory with the source code:&lt;br /&gt;
cd amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
cp /usr/portage/distfiles/amdgpu-pro-17.40-492261.tar.xz .&lt;br /&gt;
tar xJf amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
rm amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
cd amdgpu-pro-17.40-492261/&lt;br /&gt;
ar x amdgpu-pro-dkms_17.40-492261_all.deb&lt;br /&gt;
tar xJf data.tar.xz&lt;br /&gt;
rm *&lt;br /&gt;
cd usr/src/&lt;br /&gt;
Inside this directory you have the code for the module, which needs to be patched. To do so, download these patches and extract them where you are. Then, patch the code:&lt;br /&gt;
cd amdgpu-17.40-492261/&lt;br /&gt;
for i in `seq 1 1 11`; do patch -p0 &amp;lt; ../patch${i}; done&lt;br /&gt;
cd ..&lt;br /&gt;
If (and only if) you are currently running an old version of the proprietary drive module, uninstall it. For example, if you are running the old driver version 17.10-401251, do&lt;br /&gt;
dkms remove amdgpu-pro/17.10-401251 --all&lt;br /&gt;
Then, install the new driver:&lt;br /&gt;
dkms install amdgpu-17.40-492261 -k 4.9.85-gentoo --force&lt;br /&gt;
&lt;br /&gt;
9. Run&lt;br /&gt;
eselect opengl amdgpu-pro&lt;br /&gt;
eselect opencl amdgpu-pro&lt;br /&gt;
&lt;br /&gt;
10. Finally, if you intend to use the card for cryptocurrency mining, edit the file /etc/grub.d/40_custom and add the option amdgpu.vm_fragment_size=9 in the kernel line, and rebuild the grub config file (typically running grub-mkconfig -o /boot/grub/grub.cfg). Do not perform this step if you will use the card for regular gaming/rendering/computing jobs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot and you are done. In general, update and maintain your system (and overlays) as usual. However, if you recompile the kernel, you will need to reinstall the dkms module. Whenever a new version of the driver is released or there is some change in something, and I have time, I will update the guide.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=93</id>
		<title>AMDGPU-PRO Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=93"/>
		<updated>2018-12-22T12:21:15Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=AMDGPU-PRO driver guide for Gentoo=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: this page was copied from the Warwick site that is no longer available.  I&#039;m going to try to maintain this to keep it going in case anyone wants the closed-source drivers.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The following is a short guide to install the proprietary AMDGPU-PRO driver in Gentoo linux.&lt;br /&gt;
&lt;br /&gt;
This driver seems to produce a good increase of performance on older workstation cards (GCN1), but, perhaps more importantly, it introduces support for Raven Ridge. Also, it supports hybrid configurations, including the latest RX500 series.&lt;br /&gt;
&lt;br /&gt;
In the following, I assume you know how to maintain your system, change keywords on a package basis, etc. Needless to say, you need to be root for all these steps. Before the actual steps, a few notes:&lt;br /&gt;
- This guide is for driver version 17.40.492261. I know that there is a newer driver, but it requires at least version 1.0.65 of vulkan-loader, which, at the moment, is not available in Portage.&lt;br /&gt;
- The steps below assume you are making a new installation. If, instead, you are updating from a previous version of the same driver, you should simply install the new ebuild and proceed as for a normal system update (including of course unmasking its keyword, potentially recompiling the kernel and building the new dkms module).&lt;br /&gt;
- During the installation of the driver or later, during a normal system update, it is possible to get compilation errors with libtool complaining about gbm-related stuff. This is a known problem due to libtool getting confused during the link stage, and it happens in exactly the same way for users of the proprietary nVidia driver. Typically the error will occur while compiling mesa or cairo, but it may happen when building other packages as well. The workaround is to run &amp;quot;eselect opengl xorg-x11&amp;quot;, then emerge the package that was failing, then run &amp;quot;eselect opengl amdgpu-pro&amp;quot;, and finally continue whatever you were doing before.&lt;br /&gt;
- The ebuild also works for hybrid configurations, such as new laptops with an integrated Intel card and a discrete AMD one. For such cases, make sure you activate the &amp;quot;hybrid&amp;quot; USE flag and take care of the necessary changes, explained below.&lt;br /&gt;
- For hybrid configurations, in step 1, ensure that the VIDEO_CARDS variable includes the values needed for the integrated card. For example, if you have a laptop with an Intel Core i7 8550U, you will need VIDEO_CARDS=&amp;quot;amdgpu radeonsi intel i965&amp;quot;. To know what values to use, please refer to the relevant guide.&lt;br /&gt;
- In step 5, make sure to specify the right spare region number for the MTRR in CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT. In the instructions, I used the value 2, but this may be different for your card. You can check the right region by running cat /proc/mtrr. Also, the CONFIG_EXTRA_FIRMWARE line is a correct example for an RX480 card. If your card is a different model, you must replace the file names with the appropriate firmware files. To find which firmware files to include, check the list here. However, note that the cards mentioned at this link are all desktop cards. If you are setting up a workstation or a laptop, you can check the type of microarchitecture of your card here and then refer to the previous list, considering that the driver works on cards starting from GCN first generation. Also, if your card is a Southern Islands or a Sea Islands card, then you must also have CONFIG_DRM_AMDGPU_SI=y or CONFIG_DRM_AMDGPU_CIK=y, respectively.&lt;br /&gt;
- The ebuild assumes that the PCI bus of the card is 1:0:0. If this is not the case for your card, after step 7 is complete you must modify the file /etc/X11/xorg.conf.d/10-device.conf and replace the BusID value with the right one, which you can find using lspci. Also, optionally, you can modify the various identifiers in the same file as well as in /etc/X11/xorg.conf.d/10-monitor.conf and /etc/X11/xorg.conf.d/10-screen.conf to match those of your hardware (this has no effect whatsoever on the functioning of your card). Note that this step is not needed if you have a hybrid configuration; in fact, in this case, these files will not even be created.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now, the actual step-by-step guide.&lt;br /&gt;
&lt;br /&gt;
#First of all, make sure that in /etc/portage/make.conf you have the line &#039;&#039;&#039;&#039;&#039;VIDEO_CARDS=&amp;quot;amdgpu radeonsi&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#Edit the file /etc/portage/package.mask and add the lines&lt;br /&gt;
##&amp;lt;pre&amp;gt;#Mask old version of packages for AMDGPU-PRO&lt;br /&gt;
&amp;lt;sys-kernel/gentoo-sources-4.9.0&lt;br /&gt;
&amp;gt;=sys-kernel/gentoo-sources-4.11.0&lt;br /&gt;
x11-drivers/amdgpu-pro::farmboy0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
#Then, update your system: &#039;&#039;&#039;&#039;&#039;emerge --update --deep --newuse -1 world&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#When the system is properly updated, and any rebuilding and fixing is done, install the firmware package (if it is not already installed): &#039;&#039;&#039;&#039;&#039;emerge linux-firmware&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#Next step is making sure the kernel has the right configuration. Note that you must ensure that you are running a 4.9 kernel, which may mean you must manually accept its keyword. At the moment, I tested it with the latest available kernel of the series, which is the 4.9.85, and which I use in the instructions below. In the kernel configuration, verify that the following options are as shown (please note that some must be modules):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CONFIG_MTRR = y&lt;br /&gt;
# CONFIG_TRIM_UNUSED_KSYMS is not set&lt;br /&gt;
CONFIG_MTRR_SANITIZER = y&lt;br /&gt;
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT = 1&lt;br /&gt;
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT = 2&lt;br /&gt;
CONFIG_BINFMT_ELF=y&lt;br /&gt;
CONFIG_COMPAT_BINFMT_ELF=y&lt;br /&gt;
CONFIG_BINFMT_SCRIPT=y&lt;br /&gt;
CONFIG_BINFMT_MISC=y&lt;br /&gt;
CONFIG_FW_LOADER = y&lt;br /&gt;
CONFIG_FIRMWARE_IN_KERNEL = y&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE = &amp;quot;amdgpu/polaris10_ce.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin&amp;quot;&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE_DIR = &amp;quot;/lib/firmware&amp;quot;&lt;br /&gt;
CONFIG_AGP = y&lt;br /&gt;
CONFIG_VGA_SWITCHEROO = y&lt;br /&gt;
CONFIG_DRM = y&lt;br /&gt;
CONFIG_DRM_FBDEV_EMULATION = y&lt;br /&gt;
CONFIG_DRM_AMDGPU = m&lt;br /&gt;
CONFIG_DRM_AMDGPU_USERPTR = y&lt;br /&gt;
CONFIG_FB = y&lt;br /&gt;
CONFIG_FB_MODE_HELPERS = y&lt;br /&gt;
CONFIG_FB_VESA = y&lt;br /&gt;
# CONFIG_DRM_RADEON is not set&lt;br /&gt;
# CONFIG_FB_RADEON is not set&lt;br /&gt;
DEBUG_KERNEL = n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If needed, recompile the kernel and make sure modules, firmware and system map are installed:&lt;br /&gt;
make&lt;br /&gt;
make modules_install&lt;br /&gt;
make firmware_install&lt;br /&gt;
cp arch/x86/boot/bzImage /boot/kernel&lt;br /&gt;
cp System.map /boot/System.map-4.9.85-gentoo&lt;br /&gt;
&lt;br /&gt;
Reboot into the new kernel.&lt;br /&gt;
&lt;br /&gt;
6. Next, install dkms. The easiest way is to use the farmboy0 overlay. Emerge layman (if it is not already installed), then do&lt;br /&gt;
layman -a farmboy0&lt;br /&gt;
layman -S&lt;br /&gt;
emerge dkms&lt;br /&gt;
&lt;br /&gt;
7. Create a local overlay. I call mine parawlay. If you don&#039;t know how to do this, see here or here. Inside the overlay, create the category &amp;quot;x11-drivers&amp;quot;, and inside this the directory &amp;quot;amdgpu-pro&amp;quot;. Then, downoad this ebuild and put it inside this directory. Create the manifest:&lt;br /&gt;
ebuild amdgpu-pro-17.40.492261-r2.ebuild manifest&lt;br /&gt;
Install the various driver components:&lt;br /&gt;
emerge amdgpu-pro&lt;br /&gt;
Of course, you can choose whatever use flags you want/need, they are self-explanatory.&lt;br /&gt;
&lt;br /&gt;
8. Now, create a directory in which you are going to extract the dkms code, patch it and compile it. For example:&lt;br /&gt;
mkdir amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
Go there, copy the source in it, extract it and go to the directory with the source code:&lt;br /&gt;
cd amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
cp /usr/portage/distfiles/amdgpu-pro-17.40-492261.tar.xz .&lt;br /&gt;
tar xJf amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
rm amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
cd amdgpu-pro-17.40-492261/&lt;br /&gt;
ar x amdgpu-pro-dkms_17.40-492261_all.deb&lt;br /&gt;
tar xJf data.tar.xz&lt;br /&gt;
rm *&lt;br /&gt;
cd usr/src/&lt;br /&gt;
Inside this directory you have the code for the module, which needs to be patched. To do so, download these patches and extract them where you are. Then, patch the code:&lt;br /&gt;
cd amdgpu-17.40-492261/&lt;br /&gt;
for i in `seq 1 1 11`; do patch -p0 &amp;lt; ../patch${i}; done&lt;br /&gt;
cd ..&lt;br /&gt;
If (and only if) you are currently running an old version of the proprietary drive module, uninstall it. For example, if you are running the old driver version 17.10-401251, do&lt;br /&gt;
dkms remove amdgpu-pro/17.10-401251 --all&lt;br /&gt;
Then, install the new driver:&lt;br /&gt;
dkms install amdgpu-17.40-492261 -k 4.9.85-gentoo --force&lt;br /&gt;
&lt;br /&gt;
9. Run&lt;br /&gt;
eselect opengl amdgpu-pro&lt;br /&gt;
eselect opencl amdgpu-pro&lt;br /&gt;
&lt;br /&gt;
10. Finally, if you intend to use the card for cryptocurrency mining, edit the file /etc/grub.d/40_custom and add the option amdgpu.vm_fragment_size=9 in the kernel line, and rebuild the grub config file (typically running grub-mkconfig -o /boot/grub/grub.cfg). Do not perform this step if you will use the card for regular gaming/rendering/computing jobs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot and you are done. In general, update and maintain your system (and overlays) as usual. However, if you recompile the kernel, you will need to reinstall the dkms module. Whenever a new version of the driver is released or there is some change in something, and I have time, I will update the guide.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=92</id>
		<title>AMDGPU-PRO Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=92"/>
		<updated>2018-12-22T12:19:55Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=AMDGPU-PRO driver guide for Gentoo=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: this page was copied from the Warwick site that is no longer available.  I&#039;m going to try to maintain this to keep it going in case anyone wants the closed-source drivers.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The following is a short guide to install the proprietary AMDGPU-PRO driver in Gentoo linux.&lt;br /&gt;
&lt;br /&gt;
This driver seems to produce a good increase of performance on older workstation cards (GCN1), but, perhaps more importantly, it introduces support for Raven Ridge. Also, it supports hybrid configurations, including the latest RX500 series.&lt;br /&gt;
&lt;br /&gt;
In the following, I assume you know how to maintain your system, change keywords on a package basis, etc. Needless to say, you need to be root for all these steps. Before the actual steps, a few notes:&lt;br /&gt;
- This guide is for driver version 17.40.492261. I know that there is a newer driver, but it requires at least version 1.0.65 of vulkan-loader, which, at the moment, is not available in Portage.&lt;br /&gt;
- The steps below assume you are making a new installation. If, instead, you are updating from a previous version of the same driver, you should simply install the new ebuild and proceed as for a normal system update (including of course unmasking its keyword, potentially recompiling the kernel and building the new dkms module).&lt;br /&gt;
- During the installation of the driver or later, during a normal system update, it is possible to get compilation errors with libtool complaining about gbm-related stuff. This is a known problem due to libtool getting confused during the link stage, and it happens in exactly the same way for users of the proprietary nVidia driver. Typically the error will occur while compiling mesa or cairo, but it may happen when building other packages as well. The workaround is to run &amp;quot;eselect opengl xorg-x11&amp;quot;, then emerge the package that was failing, then run &amp;quot;eselect opengl amdgpu-pro&amp;quot;, and finally continue whatever you were doing before.&lt;br /&gt;
- The ebuild also works for hybrid configurations, such as new laptops with an integrated Intel card and a discrete AMD one. For such cases, make sure you activate the &amp;quot;hybrid&amp;quot; USE flag and take care of the necessary changes, explained below.&lt;br /&gt;
- For hybrid configurations, in step 1, ensure that the VIDEO_CARDS variable includes the values needed for the integrated card. For example, if you have a laptop with an Intel Core i7 8550U, you will need VIDEO_CARDS=&amp;quot;amdgpu radeonsi intel i965&amp;quot;. To know what values to use, please refer to the relevant guide.&lt;br /&gt;
- In step 5, make sure to specify the right spare region number for the MTRR in CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT. In the instructions, I used the value 2, but this may be different for your card. You can check the right region by running cat /proc/mtrr. Also, the CONFIG_EXTRA_FIRMWARE line is a correct example for an RX480 card. If your card is a different model, you must replace the file names with the appropriate firmware files. To find which firmware files to include, check the list here. However, note that the cards mentioned at this link are all desktop cards. If you are setting up a workstation or a laptop, you can check the type of microarchitecture of your card here and then refer to the previous list, considering that the driver works on cards starting from GCN first generation. Also, if your card is a Southern Islands or a Sea Islands card, then you must also have CONFIG_DRM_AMDGPU_SI=y or CONFIG_DRM_AMDGPU_CIK=y, respectively.&lt;br /&gt;
- The ebuild assumes that the PCI bus of the card is 1:0:0. If this is not the case for your card, after step 7 is complete you must modify the file /etc/X11/xorg.conf.d/10-device.conf and replace the BusID value with the right one, which you can find using lspci. Also, optionally, you can modify the various identifiers in the same file as well as in /etc/X11/xorg.conf.d/10-monitor.conf and /etc/X11/xorg.conf.d/10-screen.conf to match those of your hardware (this has no effect whatsoever on the functioning of your card). Note that this step is not needed if you have a hybrid configuration; in fact, in this case, these files will not even be created.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now, the actual step-by-step guide.&lt;br /&gt;
&lt;br /&gt;
#First of all, make sure that in /etc/portage/make.conf you have the line &#039;&#039;&#039;&#039;&#039;VIDEO_CARDS=&amp;quot;amdgpu radeonsi&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#Edit the file /etc/portage/package.mask and add the lines&lt;br /&gt;
&amp;lt;code&amp;gt;#Mask old version of packages for AMDGPU-PRO&lt;br /&gt;
&amp;lt;sys-kernel/gentoo-sources-4.9.0&lt;br /&gt;
&amp;gt;=sys-kernel/gentoo-sources-4.11.0&lt;br /&gt;
x11-drivers/amdgpu-pro::farmboy0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
#Then, update your system: &#039;&#039;&#039;&#039;&#039;emerge --update --deep --newuse -1 world&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#When the system is properly updated, and any rebuilding and fixing is done, install the firmware package (if it is not already installed): &#039;&#039;&#039;&#039;&#039;emerge linux-firmware&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#Next step is making sure the kernel has the right configuration. Note that you must ensure that you are running a 4.9 kernel, which may mean you must manually accept its keyword. At the moment, I tested it with the latest available kernel of the series, which is the 4.9.85, and which I use in the instructions below. In the kernel configuration, verify that the following options are as shown (please note that some must be modules):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CONFIG_MTRR = y&lt;br /&gt;
# CONFIG_TRIM_UNUSED_KSYMS is not set&lt;br /&gt;
CONFIG_MTRR_SANITIZER = y&lt;br /&gt;
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT = 1&lt;br /&gt;
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT = 2&lt;br /&gt;
CONFIG_BINFMT_ELF=y&lt;br /&gt;
CONFIG_COMPAT_BINFMT_ELF=y&lt;br /&gt;
CONFIG_BINFMT_SCRIPT=y&lt;br /&gt;
CONFIG_BINFMT_MISC=y&lt;br /&gt;
CONFIG_FW_LOADER = y&lt;br /&gt;
CONFIG_FIRMWARE_IN_KERNEL = y&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE = &amp;quot;amdgpu/polaris10_ce.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin&amp;quot;&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE_DIR = &amp;quot;/lib/firmware&amp;quot;&lt;br /&gt;
CONFIG_AGP = y&lt;br /&gt;
CONFIG_VGA_SWITCHEROO = y&lt;br /&gt;
CONFIG_DRM = y&lt;br /&gt;
CONFIG_DRM_FBDEV_EMULATION = y&lt;br /&gt;
CONFIG_DRM_AMDGPU = m&lt;br /&gt;
CONFIG_DRM_AMDGPU_USERPTR = y&lt;br /&gt;
CONFIG_FB = y&lt;br /&gt;
CONFIG_FB_MODE_HELPERS = y&lt;br /&gt;
CONFIG_FB_VESA = y&lt;br /&gt;
# CONFIG_DRM_RADEON is not set&lt;br /&gt;
# CONFIG_FB_RADEON is not set&lt;br /&gt;
DEBUG_KERNEL = n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If needed, recompile the kernel and make sure modules, firmware and system map are installed:&lt;br /&gt;
make&lt;br /&gt;
make modules_install&lt;br /&gt;
make firmware_install&lt;br /&gt;
cp arch/x86/boot/bzImage /boot/kernel&lt;br /&gt;
cp System.map /boot/System.map-4.9.85-gentoo&lt;br /&gt;
&lt;br /&gt;
Reboot into the new kernel.&lt;br /&gt;
&lt;br /&gt;
6. Next, install dkms. The easiest way is to use the farmboy0 overlay. Emerge layman (if it is not already installed), then do&lt;br /&gt;
layman -a farmboy0&lt;br /&gt;
layman -S&lt;br /&gt;
emerge dkms&lt;br /&gt;
&lt;br /&gt;
7. Create a local overlay. I call mine parawlay. If you don&#039;t know how to do this, see here or here. Inside the overlay, create the category &amp;quot;x11-drivers&amp;quot;, and inside this the directory &amp;quot;amdgpu-pro&amp;quot;. Then, downoad this ebuild and put it inside this directory. Create the manifest:&lt;br /&gt;
ebuild amdgpu-pro-17.40.492261-r2.ebuild manifest&lt;br /&gt;
Install the various driver components:&lt;br /&gt;
emerge amdgpu-pro&lt;br /&gt;
Of course, you can choose whatever use flags you want/need, they are self-explanatory.&lt;br /&gt;
&lt;br /&gt;
8. Now, create a directory in which you are going to extract the dkms code, patch it and compile it. For example:&lt;br /&gt;
mkdir amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
Go there, copy the source in it, extract it and go to the directory with the source code:&lt;br /&gt;
cd amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
cp /usr/portage/distfiles/amdgpu-pro-17.40-492261.tar.xz .&lt;br /&gt;
tar xJf amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
rm amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
cd amdgpu-pro-17.40-492261/&lt;br /&gt;
ar x amdgpu-pro-dkms_17.40-492261_all.deb&lt;br /&gt;
tar xJf data.tar.xz&lt;br /&gt;
rm *&lt;br /&gt;
cd usr/src/&lt;br /&gt;
Inside this directory you have the code for the module, which needs to be patched. To do so, download these patches and extract them where you are. Then, patch the code:&lt;br /&gt;
cd amdgpu-17.40-492261/&lt;br /&gt;
for i in `seq 1 1 11`; do patch -p0 &amp;lt; ../patch${i}; done&lt;br /&gt;
cd ..&lt;br /&gt;
If (and only if) you are currently running an old version of the proprietary drive module, uninstall it. For example, if you are running the old driver version 17.10-401251, do&lt;br /&gt;
dkms remove amdgpu-pro/17.10-401251 --all&lt;br /&gt;
Then, install the new driver:&lt;br /&gt;
dkms install amdgpu-17.40-492261 -k 4.9.85-gentoo --force&lt;br /&gt;
&lt;br /&gt;
9. Run&lt;br /&gt;
eselect opengl amdgpu-pro&lt;br /&gt;
eselect opencl amdgpu-pro&lt;br /&gt;
&lt;br /&gt;
10. Finally, if you intend to use the card for cryptocurrency mining, edit the file /etc/grub.d/40_custom and add the option amdgpu.vm_fragment_size=9 in the kernel line, and rebuild the grub config file (typically running grub-mkconfig -o /boot/grub/grub.cfg). Do not perform this step if you will use the card for regular gaming/rendering/computing jobs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot and you are done. In general, update and maintain your system (and overlays) as usual. However, if you recompile the kernel, you will need to reinstall the dkms module. Whenever a new version of the driver is released or there is some change in something, and I have time, I will update the guide.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=91</id>
		<title>AMDGPU-PRO Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=91"/>
		<updated>2018-12-22T12:18:47Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=AMDGPU-PRO driver guide for Gentoo=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: this page was copied from the Warwick site that is no longer available.  I&#039;m going to try to maintain this to keep it going in case anyone wants the closed-source drivers.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The following is a short guide to install the proprietary AMDGPU-PRO driver in Gentoo linux.&lt;br /&gt;
&lt;br /&gt;
This driver seems to produce a good increase of performance on older workstation cards (GCN1), but, perhaps more importantly, it introduces support for Raven Ridge. Also, it supports hybrid configurations, including the latest RX500 series.&lt;br /&gt;
&lt;br /&gt;
In the following, I assume you know how to maintain your system, change keywords on a package basis, etc. Needless to say, you need to be root for all these steps. Before the actual steps, a few notes:&lt;br /&gt;
- This guide is for driver version 17.40.492261. I know that there is a newer driver, but it requires at least version 1.0.65 of vulkan-loader, which, at the moment, is not available in Portage.&lt;br /&gt;
- The steps below assume you are making a new installation. If, instead, you are updating from a previous version of the same driver, you should simply install the new ebuild and proceed as for a normal system update (including of course unmasking its keyword, potentially recompiling the kernel and building the new dkms module).&lt;br /&gt;
- During the installation of the driver or later, during a normal system update, it is possible to get compilation errors with libtool complaining about gbm-related stuff. This is a known problem due to libtool getting confused during the link stage, and it happens in exactly the same way for users of the proprietary nVidia driver. Typically the error will occur while compiling mesa or cairo, but it may happen when building other packages as well. The workaround is to run &amp;quot;eselect opengl xorg-x11&amp;quot;, then emerge the package that was failing, then run &amp;quot;eselect opengl amdgpu-pro&amp;quot;, and finally continue whatever you were doing before.&lt;br /&gt;
- The ebuild also works for hybrid configurations, such as new laptops with an integrated Intel card and a discrete AMD one. For such cases, make sure you activate the &amp;quot;hybrid&amp;quot; USE flag and take care of the necessary changes, explained below.&lt;br /&gt;
- For hybrid configurations, in step 1, ensure that the VIDEO_CARDS variable includes the values needed for the integrated card. For example, if you have a laptop with an Intel Core i7 8550U, you will need VIDEO_CARDS=&amp;quot;amdgpu radeonsi intel i965&amp;quot;. To know what values to use, please refer to the relevant guide.&lt;br /&gt;
- In step 5, make sure to specify the right spare region number for the MTRR in CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT. In the instructions, I used the value 2, but this may be different for your card. You can check the right region by running cat /proc/mtrr. Also, the CONFIG_EXTRA_FIRMWARE line is a correct example for an RX480 card. If your card is a different model, you must replace the file names with the appropriate firmware files. To find which firmware files to include, check the list here. However, note that the cards mentioned at this link are all desktop cards. If you are setting up a workstation or a laptop, you can check the type of microarchitecture of your card here and then refer to the previous list, considering that the driver works on cards starting from GCN first generation. Also, if your card is a Southern Islands or a Sea Islands card, then you must also have CONFIG_DRM_AMDGPU_SI=y or CONFIG_DRM_AMDGPU_CIK=y, respectively.&lt;br /&gt;
- The ebuild assumes that the PCI bus of the card is 1:0:0. If this is not the case for your card, after step 7 is complete you must modify the file /etc/X11/xorg.conf.d/10-device.conf and replace the BusID value with the right one, which you can find using lspci. Also, optionally, you can modify the various identifiers in the same file as well as in /etc/X11/xorg.conf.d/10-monitor.conf and /etc/X11/xorg.conf.d/10-screen.conf to match those of your hardware (this has no effect whatsoever on the functioning of your card). Note that this step is not needed if you have a hybrid configuration; in fact, in this case, these files will not even be created.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now, the actual step-by-step guide.&lt;br /&gt;
&lt;br /&gt;
#First of all, make sure that in /etc/portage/make.conf you have the line &#039;&#039;&#039;&#039;&#039;VIDEO_CARDS=&amp;quot;amdgpu radeonsi&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#Edit the file /etc/portage/package.mask and add the lines&lt;br /&gt;
&amp;lt;pre&amp;gt;#Mask old version of packages for AMDGPU-PRO&lt;br /&gt;
&amp;lt;sys-kernel/gentoo-sources-4.9.0&lt;br /&gt;
&amp;gt;=sys-kernel/gentoo-sources-4.11.0&lt;br /&gt;
x11-drivers/amdgpu-pro::farmboy0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
#Then, update your system: &#039;&#039;&#039;&#039;&#039;emerge --update --deep --newuse -1 world&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#When the system is properly updated, and any rebuilding and fixing is done, install the firmware package (if it is not already installed): &#039;&#039;&#039;&#039;&#039;emerge linux-firmware&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#Next step is making sure the kernel has the right configuration. Note that you must ensure that you are running a 4.9 kernel, which may mean you must manually accept its keyword. At the moment, I tested it with the latest available kernel of the series, which is the 4.9.85, and which I use in the instructions below. In the kernel configuration, verify that the following options are as shown (please note that some must be modules):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CONFIG_MTRR = y&lt;br /&gt;
# CONFIG_TRIM_UNUSED_KSYMS is not set&lt;br /&gt;
CONFIG_MTRR_SANITIZER = y&lt;br /&gt;
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT = 1&lt;br /&gt;
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT = 2&lt;br /&gt;
CONFIG_BINFMT_ELF=y&lt;br /&gt;
CONFIG_COMPAT_BINFMT_ELF=y&lt;br /&gt;
CONFIG_BINFMT_SCRIPT=y&lt;br /&gt;
CONFIG_BINFMT_MISC=y&lt;br /&gt;
CONFIG_FW_LOADER = y&lt;br /&gt;
CONFIG_FIRMWARE_IN_KERNEL = y&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE = &amp;quot;amdgpu/polaris10_ce.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin&amp;quot;&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE_DIR = &amp;quot;/lib/firmware&amp;quot;&lt;br /&gt;
CONFIG_AGP = y&lt;br /&gt;
CONFIG_VGA_SWITCHEROO = y&lt;br /&gt;
CONFIG_DRM = y&lt;br /&gt;
CONFIG_DRM_FBDEV_EMULATION = y&lt;br /&gt;
CONFIG_DRM_AMDGPU = m&lt;br /&gt;
CONFIG_DRM_AMDGPU_USERPTR = y&lt;br /&gt;
CONFIG_FB = y&lt;br /&gt;
CONFIG_FB_MODE_HELPERS = y&lt;br /&gt;
CONFIG_FB_VESA = y&lt;br /&gt;
# CONFIG_DRM_RADEON is not set&lt;br /&gt;
# CONFIG_FB_RADEON is not set&lt;br /&gt;
DEBUG_KERNEL = n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If needed, recompile the kernel and make sure modules, firmware and system map are installed:&lt;br /&gt;
make&lt;br /&gt;
make modules_install&lt;br /&gt;
make firmware_install&lt;br /&gt;
cp arch/x86/boot/bzImage /boot/kernel&lt;br /&gt;
cp System.map /boot/System.map-4.9.85-gentoo&lt;br /&gt;
&lt;br /&gt;
Reboot into the new kernel.&lt;br /&gt;
&lt;br /&gt;
6. Next, install dkms. The easiest way is to use the farmboy0 overlay. Emerge layman (if it is not already installed), then do&lt;br /&gt;
layman -a farmboy0&lt;br /&gt;
layman -S&lt;br /&gt;
emerge dkms&lt;br /&gt;
&lt;br /&gt;
7. Create a local overlay. I call mine parawlay. If you don&#039;t know how to do this, see here or here. Inside the overlay, create the category &amp;quot;x11-drivers&amp;quot;, and inside this the directory &amp;quot;amdgpu-pro&amp;quot;. Then, downoad this ebuild and put it inside this directory. Create the manifest:&lt;br /&gt;
ebuild amdgpu-pro-17.40.492261-r2.ebuild manifest&lt;br /&gt;
Install the various driver components:&lt;br /&gt;
emerge amdgpu-pro&lt;br /&gt;
Of course, you can choose whatever use flags you want/need, they are self-explanatory.&lt;br /&gt;
&lt;br /&gt;
8. Now, create a directory in which you are going to extract the dkms code, patch it and compile it. For example:&lt;br /&gt;
mkdir amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
Go there, copy the source in it, extract it and go to the directory with the source code:&lt;br /&gt;
cd amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
cp /usr/portage/distfiles/amdgpu-pro-17.40-492261.tar.xz .&lt;br /&gt;
tar xJf amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
rm amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
cd amdgpu-pro-17.40-492261/&lt;br /&gt;
ar x amdgpu-pro-dkms_17.40-492261_all.deb&lt;br /&gt;
tar xJf data.tar.xz&lt;br /&gt;
rm *&lt;br /&gt;
cd usr/src/&lt;br /&gt;
Inside this directory you have the code for the module, which needs to be patched. To do so, download these patches and extract them where you are. Then, patch the code:&lt;br /&gt;
cd amdgpu-17.40-492261/&lt;br /&gt;
for i in `seq 1 1 11`; do patch -p0 &amp;lt; ../patch${i}; done&lt;br /&gt;
cd ..&lt;br /&gt;
If (and only if) you are currently running an old version of the proprietary drive module, uninstall it. For example, if you are running the old driver version 17.10-401251, do&lt;br /&gt;
dkms remove amdgpu-pro/17.10-401251 --all&lt;br /&gt;
Then, install the new driver:&lt;br /&gt;
dkms install amdgpu-17.40-492261 -k 4.9.85-gentoo --force&lt;br /&gt;
&lt;br /&gt;
9. Run&lt;br /&gt;
eselect opengl amdgpu-pro&lt;br /&gt;
eselect opencl amdgpu-pro&lt;br /&gt;
&lt;br /&gt;
10. Finally, if you intend to use the card for cryptocurrency mining, edit the file /etc/grub.d/40_custom and add the option amdgpu.vm_fragment_size=9 in the kernel line, and rebuild the grub config file (typically running grub-mkconfig -o /boot/grub/grub.cfg). Do not perform this step if you will use the card for regular gaming/rendering/computing jobs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot and you are done. In general, update and maintain your system (and overlays) as usual. However, if you recompile the kernel, you will need to reinstall the dkms module. Whenever a new version of the driver is released or there is some change in something, and I have time, I will update the guide.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=90</id>
		<title>AMDGPU-PRO Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=90"/>
		<updated>2018-12-22T12:18:04Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=AMDGPU-PRO driver guide for Gentoo=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: this page was copied from the Warwick site that is no longer available.  I&#039;m going to try to maintain this to keep it going in case anyone wants the closed-source drivers.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The following is a short guide to install the proprietary AMDGPU-PRO driver in Gentoo linux.&lt;br /&gt;
&lt;br /&gt;
This driver seems to produce a good increase of performance on older workstation cards (GCN1), but, perhaps more importantly, it introduces support for Raven Ridge. Also, it supports hybrid configurations, including the latest RX500 series.&lt;br /&gt;
&lt;br /&gt;
In the following, I assume you know how to maintain your system, change keywords on a package basis, etc. Needless to say, you need to be root for all these steps. Before the actual steps, a few notes:&lt;br /&gt;
- This guide is for driver version 17.40.492261. I know that there is a newer driver, but it requires at least version 1.0.65 of vulkan-loader, which, at the moment, is not available in Portage.&lt;br /&gt;
- The steps below assume you are making a new installation. If, instead, you are updating from a previous version of the same driver, you should simply install the new ebuild and proceed as for a normal system update (including of course unmasking its keyword, potentially recompiling the kernel and building the new dkms module).&lt;br /&gt;
- During the installation of the driver or later, during a normal system update, it is possible to get compilation errors with libtool complaining about gbm-related stuff. This is a known problem due to libtool getting confused during the link stage, and it happens in exactly the same way for users of the proprietary nVidia driver. Typically the error will occur while compiling mesa or cairo, but it may happen when building other packages as well. The workaround is to run &amp;quot;eselect opengl xorg-x11&amp;quot;, then emerge the package that was failing, then run &amp;quot;eselect opengl amdgpu-pro&amp;quot;, and finally continue whatever you were doing before.&lt;br /&gt;
- The ebuild also works for hybrid configurations, such as new laptops with an integrated Intel card and a discrete AMD one. For such cases, make sure you activate the &amp;quot;hybrid&amp;quot; USE flag and take care of the necessary changes, explained below.&lt;br /&gt;
- For hybrid configurations, in step 1, ensure that the VIDEO_CARDS variable includes the values needed for the integrated card. For example, if you have a laptop with an Intel Core i7 8550U, you will need VIDEO_CARDS=&amp;quot;amdgpu radeonsi intel i965&amp;quot;. To know what values to use, please refer to the relevant guide.&lt;br /&gt;
- In step 5, make sure to specify the right spare region number for the MTRR in CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT. In the instructions, I used the value 2, but this may be different for your card. You can check the right region by running cat /proc/mtrr. Also, the CONFIG_EXTRA_FIRMWARE line is a correct example for an RX480 card. If your card is a different model, you must replace the file names with the appropriate firmware files. To find which firmware files to include, check the list here. However, note that the cards mentioned at this link are all desktop cards. If you are setting up a workstation or a laptop, you can check the type of microarchitecture of your card here and then refer to the previous list, considering that the driver works on cards starting from GCN first generation. Also, if your card is a Southern Islands or a Sea Islands card, then you must also have CONFIG_DRM_AMDGPU_SI=y or CONFIG_DRM_AMDGPU_CIK=y, respectively.&lt;br /&gt;
- The ebuild assumes that the PCI bus of the card is 1:0:0. If this is not the case for your card, after step 7 is complete you must modify the file /etc/X11/xorg.conf.d/10-device.conf and replace the BusID value with the right one, which you can find using lspci. Also, optionally, you can modify the various identifiers in the same file as well as in /etc/X11/xorg.conf.d/10-monitor.conf and /etc/X11/xorg.conf.d/10-screen.conf to match those of your hardware (this has no effect whatsoever on the functioning of your card). Note that this step is not needed if you have a hybrid configuration; in fact, in this case, these files will not even be created.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now, the actual step-by-step guide.&lt;br /&gt;
&lt;br /&gt;
#First of all, make sure that in /etc/portage/make.conf you have the line &#039;&#039;&#039;&#039;&#039;VIDEO_CARDS=&amp;quot;amdgpu radeonsi&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#Edit the file /etc/portage/package.mask and add the lines&lt;br /&gt;
&amp;lt;pre&amp;gt;[[Wikipedia:Number_sign|number sign]]Mask old version of packages for AMDGPU-PRO&lt;br /&gt;
&amp;lt;sys-kernel/gentoo-sources-4.9.0&lt;br /&gt;
&amp;gt;=sys-kernel/gentoo-sources-4.11.0&lt;br /&gt;
x11-drivers/amdgpu-pro::farmboy0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
#Then, update your system: &#039;&#039;&#039;&#039;&#039;emerge --update --deep --newuse -1 world&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#When the system is properly updated, and any rebuilding and fixing is done, install the firmware package (if it is not already installed): &#039;&#039;&#039;&#039;&#039;emerge linux-firmware&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
#Next step is making sure the kernel has the right configuration. Note that you must ensure that you are running a 4.9 kernel, which may mean you must manually accept its keyword. At the moment, I tested it with the latest available kernel of the series, which is the 4.9.85, and which I use in the instructions below. In the kernel configuration, verify that the following options are as shown (please note that some must be modules):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CONFIG_MTRR = y&lt;br /&gt;
# CONFIG_TRIM_UNUSED_KSYMS is not set&lt;br /&gt;
CONFIG_MTRR_SANITIZER = y&lt;br /&gt;
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT = 1&lt;br /&gt;
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT = 2&lt;br /&gt;
CONFIG_BINFMT_ELF=y&lt;br /&gt;
CONFIG_COMPAT_BINFMT_ELF=y&lt;br /&gt;
CONFIG_BINFMT_SCRIPT=y&lt;br /&gt;
CONFIG_BINFMT_MISC=y&lt;br /&gt;
CONFIG_FW_LOADER = y&lt;br /&gt;
CONFIG_FIRMWARE_IN_KERNEL = y&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE = &amp;quot;amdgpu/polaris10_ce.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin&amp;quot;&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE_DIR = &amp;quot;/lib/firmware&amp;quot;&lt;br /&gt;
CONFIG_AGP = y&lt;br /&gt;
CONFIG_VGA_SWITCHEROO = y&lt;br /&gt;
CONFIG_DRM = y&lt;br /&gt;
CONFIG_DRM_FBDEV_EMULATION = y&lt;br /&gt;
CONFIG_DRM_AMDGPU = m&lt;br /&gt;
CONFIG_DRM_AMDGPU_USERPTR = y&lt;br /&gt;
CONFIG_FB = y&lt;br /&gt;
CONFIG_FB_MODE_HELPERS = y&lt;br /&gt;
CONFIG_FB_VESA = y&lt;br /&gt;
# CONFIG_DRM_RADEON is not set&lt;br /&gt;
# CONFIG_FB_RADEON is not set&lt;br /&gt;
DEBUG_KERNEL = n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If needed, recompile the kernel and make sure modules, firmware and system map are installed:&lt;br /&gt;
make&lt;br /&gt;
make modules_install&lt;br /&gt;
make firmware_install&lt;br /&gt;
cp arch/x86/boot/bzImage /boot/kernel&lt;br /&gt;
cp System.map /boot/System.map-4.9.85-gentoo&lt;br /&gt;
&lt;br /&gt;
Reboot into the new kernel.&lt;br /&gt;
&lt;br /&gt;
6. Next, install dkms. The easiest way is to use the farmboy0 overlay. Emerge layman (if it is not already installed), then do&lt;br /&gt;
layman -a farmboy0&lt;br /&gt;
layman -S&lt;br /&gt;
emerge dkms&lt;br /&gt;
&lt;br /&gt;
7. Create a local overlay. I call mine parawlay. If you don&#039;t know how to do this, see here or here. Inside the overlay, create the category &amp;quot;x11-drivers&amp;quot;, and inside this the directory &amp;quot;amdgpu-pro&amp;quot;. Then, downoad this ebuild and put it inside this directory. Create the manifest:&lt;br /&gt;
ebuild amdgpu-pro-17.40.492261-r2.ebuild manifest&lt;br /&gt;
Install the various driver components:&lt;br /&gt;
emerge amdgpu-pro&lt;br /&gt;
Of course, you can choose whatever use flags you want/need, they are self-explanatory.&lt;br /&gt;
&lt;br /&gt;
8. Now, create a directory in which you are going to extract the dkms code, patch it and compile it. For example:&lt;br /&gt;
mkdir amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
Go there, copy the source in it, extract it and go to the directory with the source code:&lt;br /&gt;
cd amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
cp /usr/portage/distfiles/amdgpu-pro-17.40-492261.tar.xz .&lt;br /&gt;
tar xJf amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
rm amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
cd amdgpu-pro-17.40-492261/&lt;br /&gt;
ar x amdgpu-pro-dkms_17.40-492261_all.deb&lt;br /&gt;
tar xJf data.tar.xz&lt;br /&gt;
rm *&lt;br /&gt;
cd usr/src/&lt;br /&gt;
Inside this directory you have the code for the module, which needs to be patched. To do so, download these patches and extract them where you are. Then, patch the code:&lt;br /&gt;
cd amdgpu-17.40-492261/&lt;br /&gt;
for i in `seq 1 1 11`; do patch -p0 &amp;lt; ../patch${i}; done&lt;br /&gt;
cd ..&lt;br /&gt;
If (and only if) you are currently running an old version of the proprietary drive module, uninstall it. For example, if you are running the old driver version 17.10-401251, do&lt;br /&gt;
dkms remove amdgpu-pro/17.10-401251 --all&lt;br /&gt;
Then, install the new driver:&lt;br /&gt;
dkms install amdgpu-17.40-492261 -k 4.9.85-gentoo --force&lt;br /&gt;
&lt;br /&gt;
9. Run&lt;br /&gt;
eselect opengl amdgpu-pro&lt;br /&gt;
eselect opencl amdgpu-pro&lt;br /&gt;
&lt;br /&gt;
10. Finally, if you intend to use the card for cryptocurrency mining, edit the file /etc/grub.d/40_custom and add the option amdgpu.vm_fragment_size=9 in the kernel line, and rebuild the grub config file (typically running grub-mkconfig -o /boot/grub/grub.cfg). Do not perform this step if you will use the card for regular gaming/rendering/computing jobs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot and you are done. In general, update and maintain your system (and overlays) as usual. However, if you recompile the kernel, you will need to reinstall the dkms module. Whenever a new version of the driver is released or there is some change in something, and I have time, I will update the guide.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=89</id>
		<title>AMDGPU-PRO Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=89"/>
		<updated>2018-12-22T12:16:03Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=AMDGPU-PRO driver guide for Gentoo=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: this page was copied from the Warwick site that is no longer available.  I&#039;m going to try to maintain this to keep it going in case anyone wants the closed-source drivers.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The following is a short guide to install the proprietary AMDGPU-PRO driver in Gentoo linux.&lt;br /&gt;
&lt;br /&gt;
This driver seems to produce a good increase of performance on older workstation cards (GCN1), but, perhaps more importantly, it introduces support for Raven Ridge. Also, it supports hybrid configurations, including the latest RX500 series.&lt;br /&gt;
&lt;br /&gt;
In the following, I assume you know how to maintain your system, change keywords on a package basis, etc. Needless to say, you need to be root for all these steps. Before the actual steps, a few notes:&lt;br /&gt;
- This guide is for driver version 17.40.492261. I know that there is a newer driver, but it requires at least version 1.0.65 of vulkan-loader, which, at the moment, is not available in Portage.&lt;br /&gt;
- The steps below assume you are making a new installation. If, instead, you are updating from a previous version of the same driver, you should simply install the new ebuild and proceed as for a normal system update (including of course unmasking its keyword, potentially recompiling the kernel and building the new dkms module).&lt;br /&gt;
- During the installation of the driver or later, during a normal system update, it is possible to get compilation errors with libtool complaining about gbm-related stuff. This is a known problem due to libtool getting confused during the link stage, and it happens in exactly the same way for users of the proprietary nVidia driver. Typically the error will occur while compiling mesa or cairo, but it may happen when building other packages as well. The workaround is to run &amp;quot;eselect opengl xorg-x11&amp;quot;, then emerge the package that was failing, then run &amp;quot;eselect opengl amdgpu-pro&amp;quot;, and finally continue whatever you were doing before.&lt;br /&gt;
- The ebuild also works for hybrid configurations, such as new laptops with an integrated Intel card and a discrete AMD one. For such cases, make sure you activate the &amp;quot;hybrid&amp;quot; USE flag and take care of the necessary changes, explained below.&lt;br /&gt;
- For hybrid configurations, in step 1, ensure that the VIDEO_CARDS variable includes the values needed for the integrated card. For example, if you have a laptop with an Intel Core i7 8550U, you will need VIDEO_CARDS=&amp;quot;amdgpu radeonsi intel i965&amp;quot;. To know what values to use, please refer to the relevant guide.&lt;br /&gt;
- In step 5, make sure to specify the right spare region number for the MTRR in CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT. In the instructions, I used the value 2, but this may be different for your card. You can check the right region by running cat /proc/mtrr. Also, the CONFIG_EXTRA_FIRMWARE line is a correct example for an RX480 card. If your card is a different model, you must replace the file names with the appropriate firmware files. To find which firmware files to include, check the list here. However, note that the cards mentioned at this link are all desktop cards. If you are setting up a workstation or a laptop, you can check the type of microarchitecture of your card here and then refer to the previous list, considering that the driver works on cards starting from GCN first generation. Also, if your card is a Southern Islands or a Sea Islands card, then you must also have CONFIG_DRM_AMDGPU_SI=y or CONFIG_DRM_AMDGPU_CIK=y, respectively.&lt;br /&gt;
- The ebuild assumes that the PCI bus of the card is 1:0:0. If this is not the case for your card, after step 7 is complete you must modify the file /etc/X11/xorg.conf.d/10-device.conf and replace the BusID value with the right one, which you can find using lspci. Also, optionally, you can modify the various identifiers in the same file as well as in /etc/X11/xorg.conf.d/10-monitor.conf and /etc/X11/xorg.conf.d/10-screen.conf to match those of your hardware (this has no effect whatsoever on the functioning of your card). Note that this step is not needed if you have a hybrid configuration; in fact, in this case, these files will not even be created.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now, the actual step-by-step guide.&lt;br /&gt;
&lt;br /&gt;
#First of all, make sure that in /etc/portage/make.conf you have the line &#039;&#039;&#039;&#039;&#039;VIDEO_CARDS=&amp;quot;amdgpu radeonsi&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
2. Edit the file /etc/portage/package.mask and add the lines&lt;br /&gt;
# Mask old version of packages for AMDGPU-PRO&lt;br /&gt;
&amp;lt;sys-kernel/gentoo-sources-4.9.0&lt;br /&gt;
&amp;gt;=sys-kernel/gentoo-sources-4.11.0&lt;br /&gt;
x11-drivers/amdgpu-pro::farmboy0&lt;br /&gt;
&lt;br /&gt;
3. Then, update your system:&lt;br /&gt;
emerge --update --deep --newuse -1 world&lt;br /&gt;
&lt;br /&gt;
4. When the system is properly updated, and any rebuilding and fixing is done, install the firmware package (if it is not already installed):&lt;br /&gt;
emerge linux-firmware&lt;br /&gt;
&lt;br /&gt;
5. Next step is making sure the kernel has the right configuration. Note that you must ensure that you are running a 4.9 kernel, which may mean you must manually accept its keyword. At the moment, I tested it with the latest available kernel of the series, which is the 4.9.85, and which I use in the instructions below. In the kernel configuration, verify that the following options are as shown (please note that some must be modules):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CONFIG_MTRR = y&lt;br /&gt;
# CONFIG_TRIM_UNUSED_KSYMS is not set&lt;br /&gt;
CONFIG_MTRR_SANITIZER = y&lt;br /&gt;
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT = 1&lt;br /&gt;
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT = 2&lt;br /&gt;
CONFIG_BINFMT_ELF=y&lt;br /&gt;
CONFIG_COMPAT_BINFMT_ELF=y&lt;br /&gt;
CONFIG_BINFMT_SCRIPT=y&lt;br /&gt;
CONFIG_BINFMT_MISC=y&lt;br /&gt;
CONFIG_FW_LOADER = y&lt;br /&gt;
CONFIG_FIRMWARE_IN_KERNEL = y&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE = &amp;quot;amdgpu/polaris10_ce.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin&amp;quot;&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE_DIR = &amp;quot;/lib/firmware&amp;quot;&lt;br /&gt;
CONFIG_AGP = y&lt;br /&gt;
CONFIG_VGA_SWITCHEROO = y&lt;br /&gt;
CONFIG_DRM = y&lt;br /&gt;
CONFIG_DRM_FBDEV_EMULATION = y&lt;br /&gt;
CONFIG_DRM_AMDGPU = m&lt;br /&gt;
CONFIG_DRM_AMDGPU_USERPTR = y&lt;br /&gt;
CONFIG_FB = y&lt;br /&gt;
CONFIG_FB_MODE_HELPERS = y&lt;br /&gt;
CONFIG_FB_VESA = y&lt;br /&gt;
# CONFIG_DRM_RADEON is not set&lt;br /&gt;
# CONFIG_FB_RADEON is not set&lt;br /&gt;
DEBUG_KERNEL = n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If needed, recompile the kernel and make sure modules, firmware and system map are installed:&lt;br /&gt;
make&lt;br /&gt;
make modules_install&lt;br /&gt;
make firmware_install&lt;br /&gt;
cp arch/x86/boot/bzImage /boot/kernel&lt;br /&gt;
cp System.map /boot/System.map-4.9.85-gentoo&lt;br /&gt;
&lt;br /&gt;
Reboot into the new kernel.&lt;br /&gt;
&lt;br /&gt;
6. Next, install dkms. The easiest way is to use the farmboy0 overlay. Emerge layman (if it is not already installed), then do&lt;br /&gt;
layman -a farmboy0&lt;br /&gt;
layman -S&lt;br /&gt;
emerge dkms&lt;br /&gt;
&lt;br /&gt;
7. Create a local overlay. I call mine parawlay. If you don&#039;t know how to do this, see here or here. Inside the overlay, create the category &amp;quot;x11-drivers&amp;quot;, and inside this the directory &amp;quot;amdgpu-pro&amp;quot;. Then, downoad this ebuild and put it inside this directory. Create the manifest:&lt;br /&gt;
ebuild amdgpu-pro-17.40.492261-r2.ebuild manifest&lt;br /&gt;
Install the various driver components:&lt;br /&gt;
emerge amdgpu-pro&lt;br /&gt;
Of course, you can choose whatever use flags you want/need, they are self-explanatory.&lt;br /&gt;
&lt;br /&gt;
8. Now, create a directory in which you are going to extract the dkms code, patch it and compile it. For example:&lt;br /&gt;
mkdir amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
Go there, copy the source in it, extract it and go to the directory with the source code:&lt;br /&gt;
cd amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
cp /usr/portage/distfiles/amdgpu-pro-17.40-492261.tar.xz .&lt;br /&gt;
tar xJf amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
rm amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
cd amdgpu-pro-17.40-492261/&lt;br /&gt;
ar x amdgpu-pro-dkms_17.40-492261_all.deb&lt;br /&gt;
tar xJf data.tar.xz&lt;br /&gt;
rm *&lt;br /&gt;
cd usr/src/&lt;br /&gt;
Inside this directory you have the code for the module, which needs to be patched. To do so, download these patches and extract them where you are. Then, patch the code:&lt;br /&gt;
cd amdgpu-17.40-492261/&lt;br /&gt;
for i in `seq 1 1 11`; do patch -p0 &amp;lt; ../patch${i}; done&lt;br /&gt;
cd ..&lt;br /&gt;
If (and only if) you are currently running an old version of the proprietary drive module, uninstall it. For example, if you are running the old driver version 17.10-401251, do&lt;br /&gt;
dkms remove amdgpu-pro/17.10-401251 --all&lt;br /&gt;
Then, install the new driver:&lt;br /&gt;
dkms install amdgpu-17.40-492261 -k 4.9.85-gentoo --force&lt;br /&gt;
&lt;br /&gt;
9. Run&lt;br /&gt;
eselect opengl amdgpu-pro&lt;br /&gt;
eselect opencl amdgpu-pro&lt;br /&gt;
&lt;br /&gt;
10. Finally, if you intend to use the card for cryptocurrency mining, edit the file /etc/grub.d/40_custom and add the option amdgpu.vm_fragment_size=9 in the kernel line, and rebuild the grub config file (typically running grub-mkconfig -o /boot/grub/grub.cfg). Do not perform this step if you will use the card for regular gaming/rendering/computing jobs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot and you are done. In general, update and maintain your system (and overlays) as usual. However, if you recompile the kernel, you will need to reinstall the dkms module. Whenever a new version of the driver is released or there is some change in something, and I have time, I will update the guide.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=88</id>
		<title>AMDGPU-PRO Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=88"/>
		<updated>2018-12-22T12:15:29Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=AMDGPU-PRO driver guide for Gentoo=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: this page was copied from the Warwick site that is no longer available.  I&#039;m going to try to maintain this to keep it going in case anyone wants the closed-source drivers.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The following is a short guide to install the proprietary AMDGPU-PRO driver in Gentoo linux.&lt;br /&gt;
&lt;br /&gt;
This driver seems to produce a good increase of performance on older workstation cards (GCN1), but, perhaps more importantly, it introduces support for Raven Ridge. Also, it supports hybrid configurations, including the latest RX500 series.&lt;br /&gt;
&lt;br /&gt;
In the following, I assume you know how to maintain your system, change keywords on a package basis, etc. Needless to say, you need to be root for all these steps. Before the actual steps, a few notes:&lt;br /&gt;
- This guide is for driver version 17.40.492261. I know that there is a newer driver, but it requires at least version 1.0.65 of vulkan-loader, which, at the moment, is not available in Portage.&lt;br /&gt;
- The steps below assume you are making a new installation. If, instead, you are updating from a previous version of the same driver, you should simply install the new ebuild and proceed as for a normal system update (including of course unmasking its keyword, potentially recompiling the kernel and building the new dkms module).&lt;br /&gt;
- During the installation of the driver or later, during a normal system update, it is possible to get compilation errors with libtool complaining about gbm-related stuff. This is a known problem due to libtool getting confused during the link stage, and it happens in exactly the same way for users of the proprietary nVidia driver. Typically the error will occur while compiling mesa or cairo, but it may happen when building other packages as well. The workaround is to run &amp;quot;eselect opengl xorg-x11&amp;quot;, then emerge the package that was failing, then run &amp;quot;eselect opengl amdgpu-pro&amp;quot;, and finally continue whatever you were doing before.&lt;br /&gt;
- The ebuild also works for hybrid configurations, such as new laptops with an integrated Intel card and a discrete AMD one. For such cases, make sure you activate the &amp;quot;hybrid&amp;quot; USE flag and take care of the necessary changes, explained below.&lt;br /&gt;
- For hybrid configurations, in step 1, ensure that the VIDEO_CARDS variable includes the values needed for the integrated card. For example, if you have a laptop with an Intel Core i7 8550U, you will need VIDEO_CARDS=&amp;quot;amdgpu radeonsi intel i965&amp;quot;. To know what values to use, please refer to the relevant guide.&lt;br /&gt;
- In step 5, make sure to specify the right spare region number for the MTRR in CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT. In the instructions, I used the value 2, but this may be different for your card. You can check the right region by running cat /proc/mtrr. Also, the CONFIG_EXTRA_FIRMWARE line is a correct example for an RX480 card. If your card is a different model, you must replace the file names with the appropriate firmware files. To find which firmware files to include, check the list here. However, note that the cards mentioned at this link are all desktop cards. If you are setting up a workstation or a laptop, you can check the type of microarchitecture of your card here and then refer to the previous list, considering that the driver works on cards starting from GCN first generation. Also, if your card is a Southern Islands or a Sea Islands card, then you must also have CONFIG_DRM_AMDGPU_SI=y or CONFIG_DRM_AMDGPU_CIK=y, respectively.&lt;br /&gt;
- The ebuild assumes that the PCI bus of the card is 1:0:0. If this is not the case for your card, after step 7 is complete you must modify the file /etc/X11/xorg.conf.d/10-device.conf and replace the BusID value with the right one, which you can find using lspci. Also, optionally, you can modify the various identifiers in the same file as well as in /etc/X11/xorg.conf.d/10-monitor.conf and /etc/X11/xorg.conf.d/10-screen.conf to match those of your hardware (this has no effect whatsoever on the functioning of your card). Note that this step is not needed if you have a hybrid configuration; in fact, in this case, these files will not even be created.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now, the actual step-by-step guide.&lt;br /&gt;
&lt;br /&gt;
#First of all, make sure that in /etc/portage/make.conf you have the line &#039;&#039;VIDEO_CARDS=&amp;quot;amdgpu radeonsi&amp;quot;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
2. Edit the file /etc/portage/package.mask and add the lines&lt;br /&gt;
# Mask old version of packages for AMDGPU-PRO&lt;br /&gt;
&amp;lt;sys-kernel/gentoo-sources-4.9.0&lt;br /&gt;
&amp;gt;=sys-kernel/gentoo-sources-4.11.0&lt;br /&gt;
x11-drivers/amdgpu-pro::farmboy0&lt;br /&gt;
&lt;br /&gt;
3. Then, update your system:&lt;br /&gt;
emerge --update --deep --newuse -1 world&lt;br /&gt;
&lt;br /&gt;
4. When the system is properly updated, and any rebuilding and fixing is done, install the firmware package (if it is not already installed):&lt;br /&gt;
emerge linux-firmware&lt;br /&gt;
&lt;br /&gt;
5. Next step is making sure the kernel has the right configuration. Note that you must ensure that you are running a 4.9 kernel, which may mean you must manually accept its keyword. At the moment, I tested it with the latest available kernel of the series, which is the 4.9.85, and which I use in the instructions below. In the kernel configuration, verify that the following options are as shown (please note that some must be modules):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CONFIG_MTRR = y&lt;br /&gt;
# CONFIG_TRIM_UNUSED_KSYMS is not set&lt;br /&gt;
CONFIG_MTRR_SANITIZER = y&lt;br /&gt;
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT = 1&lt;br /&gt;
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT = 2&lt;br /&gt;
CONFIG_BINFMT_ELF=y&lt;br /&gt;
CONFIG_COMPAT_BINFMT_ELF=y&lt;br /&gt;
CONFIG_BINFMT_SCRIPT=y&lt;br /&gt;
CONFIG_BINFMT_MISC=y&lt;br /&gt;
CONFIG_FW_LOADER = y&lt;br /&gt;
CONFIG_FIRMWARE_IN_KERNEL = y&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE = &amp;quot;amdgpu/polaris10_ce.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin&amp;quot;&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE_DIR = &amp;quot;/lib/firmware&amp;quot;&lt;br /&gt;
CONFIG_AGP = y&lt;br /&gt;
CONFIG_VGA_SWITCHEROO = y&lt;br /&gt;
CONFIG_DRM = y&lt;br /&gt;
CONFIG_DRM_FBDEV_EMULATION = y&lt;br /&gt;
CONFIG_DRM_AMDGPU = m&lt;br /&gt;
CONFIG_DRM_AMDGPU_USERPTR = y&lt;br /&gt;
CONFIG_FB = y&lt;br /&gt;
CONFIG_FB_MODE_HELPERS = y&lt;br /&gt;
CONFIG_FB_VESA = y&lt;br /&gt;
# CONFIG_DRM_RADEON is not set&lt;br /&gt;
# CONFIG_FB_RADEON is not set&lt;br /&gt;
DEBUG_KERNEL = n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If needed, recompile the kernel and make sure modules, firmware and system map are installed:&lt;br /&gt;
make&lt;br /&gt;
make modules_install&lt;br /&gt;
make firmware_install&lt;br /&gt;
cp arch/x86/boot/bzImage /boot/kernel&lt;br /&gt;
cp System.map /boot/System.map-4.9.85-gentoo&lt;br /&gt;
&lt;br /&gt;
Reboot into the new kernel.&lt;br /&gt;
&lt;br /&gt;
6. Next, install dkms. The easiest way is to use the farmboy0 overlay. Emerge layman (if it is not already installed), then do&lt;br /&gt;
layman -a farmboy0&lt;br /&gt;
layman -S&lt;br /&gt;
emerge dkms&lt;br /&gt;
&lt;br /&gt;
7. Create a local overlay. I call mine parawlay. If you don&#039;t know how to do this, see here or here. Inside the overlay, create the category &amp;quot;x11-drivers&amp;quot;, and inside this the directory &amp;quot;amdgpu-pro&amp;quot;. Then, downoad this ebuild and put it inside this directory. Create the manifest:&lt;br /&gt;
ebuild amdgpu-pro-17.40.492261-r2.ebuild manifest&lt;br /&gt;
Install the various driver components:&lt;br /&gt;
emerge amdgpu-pro&lt;br /&gt;
Of course, you can choose whatever use flags you want/need, they are self-explanatory.&lt;br /&gt;
&lt;br /&gt;
8. Now, create a directory in which you are going to extract the dkms code, patch it and compile it. For example:&lt;br /&gt;
mkdir amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
Go there, copy the source in it, extract it and go to the directory with the source code:&lt;br /&gt;
cd amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
cp /usr/portage/distfiles/amdgpu-pro-17.40-492261.tar.xz .&lt;br /&gt;
tar xJf amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
rm amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
cd amdgpu-pro-17.40-492261/&lt;br /&gt;
ar x amdgpu-pro-dkms_17.40-492261_all.deb&lt;br /&gt;
tar xJf data.tar.xz&lt;br /&gt;
rm *&lt;br /&gt;
cd usr/src/&lt;br /&gt;
Inside this directory you have the code for the module, which needs to be patched. To do so, download these patches and extract them where you are. Then, patch the code:&lt;br /&gt;
cd amdgpu-17.40-492261/&lt;br /&gt;
for i in `seq 1 1 11`; do patch -p0 &amp;lt; ../patch${i}; done&lt;br /&gt;
cd ..&lt;br /&gt;
If (and only if) you are currently running an old version of the proprietary drive module, uninstall it. For example, if you are running the old driver version 17.10-401251, do&lt;br /&gt;
dkms remove amdgpu-pro/17.10-401251 --all&lt;br /&gt;
Then, install the new driver:&lt;br /&gt;
dkms install amdgpu-17.40-492261 -k 4.9.85-gentoo --force&lt;br /&gt;
&lt;br /&gt;
9. Run&lt;br /&gt;
eselect opengl amdgpu-pro&lt;br /&gt;
eselect opencl amdgpu-pro&lt;br /&gt;
&lt;br /&gt;
10. Finally, if you intend to use the card for cryptocurrency mining, edit the file /etc/grub.d/40_custom and add the option amdgpu.vm_fragment_size=9 in the kernel line, and rebuild the grub config file (typically running grub-mkconfig -o /boot/grub/grub.cfg). Do not perform this step if you will use the card for regular gaming/rendering/computing jobs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot and you are done. In general, update and maintain your system (and overlays) as usual. However, if you recompile the kernel, you will need to reinstall the dkms module. Whenever a new version of the driver is released or there is some change in something, and I have time, I will update the guide.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=87</id>
		<title>AMDGPU-PRO Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=87"/>
		<updated>2018-12-22T12:13:21Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=AMDGPU-PRO driver guide for Gentoo=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: this page was copied from the Warwick site that is no longer available.  I&#039;m going to try to maintain this to keep it going in case anyone wants the closed-source drivers.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The following is a short guide to install the proprietary AMDGPU-PRO driver in Gentoo linux.&lt;br /&gt;
&lt;br /&gt;
This driver seems to produce a good increase of performance on older workstation cards (GCN1), but, perhaps more importantly, it introduces support for Raven Ridge. Also, it supports hybrid configurations, including the latest RX500 series.&lt;br /&gt;
&lt;br /&gt;
In the following, I assume you know how to maintain your system, change keywords on a package basis, etc. Needless to say, you need to be root for all these steps. Before the actual steps, a few notes:&lt;br /&gt;
- This guide is for driver version 17.40.492261. I know that there is a newer driver, but it requires at least version 1.0.65 of vulkan-loader, which, at the moment, is not available in Portage.&lt;br /&gt;
- The steps below assume you are making a new installation. If, instead, you are updating from a previous version of the same driver, you should simply install the new ebuild and proceed as for a normal system update (including of course unmasking its keyword, potentially recompiling the kernel and building the new dkms module).&lt;br /&gt;
- During the installation of the driver or later, during a normal system update, it is possible to get compilation errors with libtool complaining about gbm-related stuff. This is a known problem due to libtool getting confused during the link stage, and it happens in exactly the same way for users of the proprietary nVidia driver. Typically the error will occur while compiling mesa or cairo, but it may happen when building other packages as well. The workaround is to run &amp;quot;eselect opengl xorg-x11&amp;quot;, then emerge the package that was failing, then run &amp;quot;eselect opengl amdgpu-pro&amp;quot;, and finally continue whatever you were doing before.&lt;br /&gt;
- The ebuild also works for hybrid configurations, such as new laptops with an integrated Intel card and a discrete AMD one. For such cases, make sure you activate the &amp;quot;hybrid&amp;quot; USE flag and take care of the necessary changes, explained below.&lt;br /&gt;
- For hybrid configurations, in step 1, ensure that the VIDEO_CARDS variable includes the values needed for the integrated card. For example, if you have a laptop with an Intel Core i7 8550U, you will need VIDEO_CARDS=&amp;quot;amdgpu radeonsi intel i965&amp;quot;. To know what values to use, please refer to the relevant guide.&lt;br /&gt;
- In step 5, make sure to specify the right spare region number for the MTRR in CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT. In the instructions, I used the value 2, but this may be different for your card. You can check the right region by running cat /proc/mtrr. Also, the CONFIG_EXTRA_FIRMWARE line is a correct example for an RX480 card. If your card is a different model, you must replace the file names with the appropriate firmware files. To find which firmware files to include, check the list here. However, note that the cards mentioned at this link are all desktop cards. If you are setting up a workstation or a laptop, you can check the type of microarchitecture of your card here and then refer to the previous list, considering that the driver works on cards starting from GCN first generation. Also, if your card is a Southern Islands or a Sea Islands card, then you must also have CONFIG_DRM_AMDGPU_SI=y or CONFIG_DRM_AMDGPU_CIK=y, respectively.&lt;br /&gt;
- The ebuild assumes that the PCI bus of the card is 1:0:0. If this is not the case for your card, after step 7 is complete you must modify the file /etc/X11/xorg.conf.d/10-device.conf and replace the BusID value with the right one, which you can find using lspci. Also, optionally, you can modify the various identifiers in the same file as well as in /etc/X11/xorg.conf.d/10-monitor.conf and /etc/X11/xorg.conf.d/10-screen.conf to match those of your hardware (this has no effect whatsoever on the functioning of your card). Note that this step is not needed if you have a hybrid configuration; in fact, in this case, these files will not even be created.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now, the actual step-by-step guide.&lt;br /&gt;
&lt;br /&gt;
1. First of all, make sure that in /etc/portage/make.conf you have the line&lt;br /&gt;
VIDEO_CARDS=&amp;quot;amdgpu radeonsi&amp;quot;&lt;br /&gt;
&lt;br /&gt;
2. Edit the file /etc/portage/package.mask and add the lines&lt;br /&gt;
# Mask old version of packages for AMDGPU-PRO&lt;br /&gt;
&amp;lt;sys-kernel/gentoo-sources-4.9.0&lt;br /&gt;
&amp;gt;=sys-kernel/gentoo-sources-4.11.0&lt;br /&gt;
x11-drivers/amdgpu-pro::farmboy0&lt;br /&gt;
&lt;br /&gt;
3. Then, update your system:&lt;br /&gt;
emerge --update --deep --newuse -1 world&lt;br /&gt;
&lt;br /&gt;
4. When the system is properly updated, and any rebuilding and fixing is done, install the firmware package (if it is not already installed):&lt;br /&gt;
emerge linux-firmware&lt;br /&gt;
&lt;br /&gt;
5. Next step is making sure the kernel has the right configuration. Note that you must ensure that you are running a 4.9 kernel, which may mean you must manually accept its keyword. At the moment, I tested it with the latest available kernel of the series, which is the 4.9.85, and which I use in the instructions below. In the kernel configuration, verify that the following options are as shown (please note that some must be modules):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CONFIG_MTRR = y&lt;br /&gt;
# CONFIG_TRIM_UNUSED_KSYMS is not set&lt;br /&gt;
CONFIG_MTRR_SANITIZER = y&lt;br /&gt;
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT = 1&lt;br /&gt;
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT = 2&lt;br /&gt;
CONFIG_BINFMT_ELF=y&lt;br /&gt;
CONFIG_COMPAT_BINFMT_ELF=y&lt;br /&gt;
CONFIG_BINFMT_SCRIPT=y&lt;br /&gt;
CONFIG_BINFMT_MISC=y&lt;br /&gt;
CONFIG_FW_LOADER = y&lt;br /&gt;
CONFIG_FIRMWARE_IN_KERNEL = y&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE = &amp;quot;amdgpu/polaris10_ce.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin&amp;quot;&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE_DIR = &amp;quot;/lib/firmware&amp;quot;&lt;br /&gt;
CONFIG_AGP = y&lt;br /&gt;
CONFIG_VGA_SWITCHEROO = y&lt;br /&gt;
CONFIG_DRM = y&lt;br /&gt;
CONFIG_DRM_FBDEV_EMULATION = y&lt;br /&gt;
CONFIG_DRM_AMDGPU = m&lt;br /&gt;
CONFIG_DRM_AMDGPU_USERPTR = y&lt;br /&gt;
CONFIG_FB = y&lt;br /&gt;
CONFIG_FB_MODE_HELPERS = y&lt;br /&gt;
CONFIG_FB_VESA = y&lt;br /&gt;
# CONFIG_DRM_RADEON is not set&lt;br /&gt;
# CONFIG_FB_RADEON is not set&lt;br /&gt;
DEBUG_KERNEL = n&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If needed, recompile the kernel and make sure modules, firmware and system map are installed:&lt;br /&gt;
make&lt;br /&gt;
make modules_install&lt;br /&gt;
make firmware_install&lt;br /&gt;
cp arch/x86/boot/bzImage /boot/kernel&lt;br /&gt;
cp System.map /boot/System.map-4.9.85-gentoo&lt;br /&gt;
&lt;br /&gt;
Reboot into the new kernel.&lt;br /&gt;
&lt;br /&gt;
6. Next, install dkms. The easiest way is to use the farmboy0 overlay. Emerge layman (if it is not already installed), then do&lt;br /&gt;
layman -a farmboy0&lt;br /&gt;
layman -S&lt;br /&gt;
emerge dkms&lt;br /&gt;
&lt;br /&gt;
7. Create a local overlay. I call mine parawlay. If you don&#039;t know how to do this, see here or here. Inside the overlay, create the category &amp;quot;x11-drivers&amp;quot;, and inside this the directory &amp;quot;amdgpu-pro&amp;quot;. Then, downoad this ebuild and put it inside this directory. Create the manifest:&lt;br /&gt;
ebuild amdgpu-pro-17.40.492261-r2.ebuild manifest&lt;br /&gt;
Install the various driver components:&lt;br /&gt;
emerge amdgpu-pro&lt;br /&gt;
Of course, you can choose whatever use flags you want/need, they are self-explanatory.&lt;br /&gt;
&lt;br /&gt;
8. Now, create a directory in which you are going to extract the dkms code, patch it and compile it. For example:&lt;br /&gt;
mkdir amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
Go there, copy the source in it, extract it and go to the directory with the source code:&lt;br /&gt;
cd amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
cp /usr/portage/distfiles/amdgpu-pro-17.40-492261.tar.xz .&lt;br /&gt;
tar xJf amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
rm amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
cd amdgpu-pro-17.40-492261/&lt;br /&gt;
ar x amdgpu-pro-dkms_17.40-492261_all.deb&lt;br /&gt;
tar xJf data.tar.xz&lt;br /&gt;
rm *&lt;br /&gt;
cd usr/src/&lt;br /&gt;
Inside this directory you have the code for the module, which needs to be patched. To do so, download these patches and extract them where you are. Then, patch the code:&lt;br /&gt;
cd amdgpu-17.40-492261/&lt;br /&gt;
for i in `seq 1 1 11`; do patch -p0 &amp;lt; ../patch${i}; done&lt;br /&gt;
cd ..&lt;br /&gt;
If (and only if) you are currently running an old version of the proprietary drive module, uninstall it. For example, if you are running the old driver version 17.10-401251, do&lt;br /&gt;
dkms remove amdgpu-pro/17.10-401251 --all&lt;br /&gt;
Then, install the new driver:&lt;br /&gt;
dkms install amdgpu-17.40-492261 -k 4.9.85-gentoo --force&lt;br /&gt;
&lt;br /&gt;
9. Run&lt;br /&gt;
eselect opengl amdgpu-pro&lt;br /&gt;
eselect opencl amdgpu-pro&lt;br /&gt;
&lt;br /&gt;
10. Finally, if you intend to use the card for cryptocurrency mining, edit the file /etc/grub.d/40_custom and add the option amdgpu.vm_fragment_size=9 in the kernel line, and rebuild the grub config file (typically running grub-mkconfig -o /boot/grub/grub.cfg). Do not perform this step if you will use the card for regular gaming/rendering/computing jobs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot and you are done. In general, update and maintain your system (and overlays) as usual. However, if you recompile the kernel, you will need to reinstall the dkms module. Whenever a new version of the driver is released or there is some change in something, and I have time, I will update the guide.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=86</id>
		<title>AMDGPU-PRO Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=86"/>
		<updated>2018-12-22T12:11:58Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=AMDGPU-PRO driver guide for Gentoo=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: this page was copied from the Warwick site that is no longer available.  I&#039;m going to try to maintain this to keep it going in case anyone wants the closed-source drivers.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The following is a short guide to install the proprietary AMDGPU-PRO driver in Gentoo linux.&lt;br /&gt;
&lt;br /&gt;
This driver seems to produce a good increase of performance on older workstation cards (GCN1), but, perhaps more importantly, it introduces support for Raven Ridge. Also, it supports hybrid configurations, including the latest RX500 series.&lt;br /&gt;
&lt;br /&gt;
In the following, I assume you know how to maintain your system, change keywords on a package basis, etc. Needless to say, you need to be root for all these steps. Before the actual steps, a few notes:&lt;br /&gt;
- This guide is for driver version 17.40.492261. I know that there is a newer driver, but it requires at least version 1.0.65 of vulkan-loader, which, at the moment, is not available in Portage.&lt;br /&gt;
- The steps below assume you are making a new installation. If, instead, you are updating from a previous version of the same driver, you should simply install the new ebuild and proceed as for a normal system update (including of course unmasking its keyword, potentially recompiling the kernel and building the new dkms module).&lt;br /&gt;
- During the installation of the driver or later, during a normal system update, it is possible to get compilation errors with libtool complaining about gbm-related stuff. This is a known problem due to libtool getting confused during the link stage, and it happens in exactly the same way for users of the proprietary nVidia driver. Typically the error will occur while compiling mesa or cairo, but it may happen when building other packages as well. The workaround is to run &amp;quot;eselect opengl xorg-x11&amp;quot;, then emerge the package that was failing, then run &amp;quot;eselect opengl amdgpu-pro&amp;quot;, and finally continue whatever you were doing before.&lt;br /&gt;
- The ebuild also works for hybrid configurations, such as new laptops with an integrated Intel card and a discrete AMD one. For such cases, make sure you activate the &amp;quot;hybrid&amp;quot; USE flag and take care of the necessary changes, explained below.&lt;br /&gt;
- For hybrid configurations, in step 1, ensure that the VIDEO_CARDS variable includes the values needed for the integrated card. For example, if you have a laptop with an Intel Core i7 8550U, you will need VIDEO_CARDS=&amp;quot;amdgpu radeonsi intel i965&amp;quot;. To know what values to use, please refer to the relevant guide.&lt;br /&gt;
- In step 5, make sure to specify the right spare region number for the MTRR in CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT. In the instructions, I used the value 2, but this may be different for your card. You can check the right region by running cat /proc/mtrr. Also, the CONFIG_EXTRA_FIRMWARE line is a correct example for an RX480 card. If your card is a different model, you must replace the file names with the appropriate firmware files. To find which firmware files to include, check the list here. However, note that the cards mentioned at this link are all desktop cards. If you are setting up a workstation or a laptop, you can check the type of microarchitecture of your card here and then refer to the previous list, considering that the driver works on cards starting from GCN first generation. Also, if your card is a Southern Islands or a Sea Islands card, then you must also have CONFIG_DRM_AMDGPU_SI=y or CONFIG_DRM_AMDGPU_CIK=y, respectively.&lt;br /&gt;
- The ebuild assumes that the PCI bus of the card is 1:0:0. If this is not the case for your card, after step 7 is complete you must modify the file /etc/X11/xorg.conf.d/10-device.conf and replace the BusID value with the right one, which you can find using lspci. Also, optionally, you can modify the various identifiers in the same file as well as in /etc/X11/xorg.conf.d/10-monitor.conf and /etc/X11/xorg.conf.d/10-screen.conf to match those of your hardware (this has no effect whatsoever on the functioning of your card). Note that this step is not needed if you have a hybrid configuration; in fact, in this case, these files will not even be created.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now, the actual step-by-step guide.&lt;br /&gt;
&lt;br /&gt;
1. First of all, make sure that in /etc/portage/make.conf you have the line&lt;br /&gt;
VIDEO_CARDS=&amp;quot;amdgpu radeonsi&amp;quot;&lt;br /&gt;
&lt;br /&gt;
2. Edit the file /etc/portage/package.mask and add the lines&lt;br /&gt;
# Mask old version of packages for AMDGPU-PRO&lt;br /&gt;
&amp;lt;sys-kernel/gentoo-sources-4.9.0&lt;br /&gt;
&amp;gt;=sys-kernel/gentoo-sources-4.11.0&lt;br /&gt;
x11-drivers/amdgpu-pro::farmboy0&lt;br /&gt;
&lt;br /&gt;
3. Then, update your system:&lt;br /&gt;
emerge --update --deep --newuse -1 world&lt;br /&gt;
&lt;br /&gt;
4. When the system is properly updated, and any rebuilding and fixing is done, install the firmware package (if it is not already installed):&lt;br /&gt;
emerge linux-firmware&lt;br /&gt;
&lt;br /&gt;
5. Next step is making sure the kernel has the right configuration. Note that you must ensure that you are running a 4.9 kernel, which may mean you must manually accept its keyword. At the moment, I tested it with the latest available kernel of the series, which is the 4.9.85, and which I use in the instructions below. In the kernel configuration, verify that the following options are as shown (please note that some must be modules):&lt;br /&gt;
CONFIG_MTRR = y&lt;br /&gt;
# CONFIG_TRIM_UNUSED_KSYMS is not set&lt;br /&gt;
CONFIG_MTRR_SANITIZER = y&lt;br /&gt;
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT = 1&lt;br /&gt;
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT = 2&lt;br /&gt;
CONFIG_BINFMT_ELF=y&lt;br /&gt;
CONFIG_COMPAT_BINFMT_ELF=y&lt;br /&gt;
CONFIG_BINFMT_SCRIPT=y&lt;br /&gt;
CONFIG_BINFMT_MISC=y&lt;br /&gt;
CONFIG_FW_LOADER = y&lt;br /&gt;
CONFIG_FIRMWARE_IN_KERNEL = y&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE = &amp;quot;amdgpu/polaris10_ce.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin&amp;quot;&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE_DIR = &amp;quot;/lib/firmware&amp;quot;&lt;br /&gt;
CONFIG_AGP = y&lt;br /&gt;
CONFIG_VGA_SWITCHEROO = y&lt;br /&gt;
CONFIG_DRM = y&lt;br /&gt;
CONFIG_DRM_FBDEV_EMULATION = y&lt;br /&gt;
CONFIG_DRM_AMDGPU = m&lt;br /&gt;
CONFIG_DRM_AMDGPU_USERPTR = y&lt;br /&gt;
CONFIG_FB = y&lt;br /&gt;
CONFIG_FB_MODE_HELPERS = y&lt;br /&gt;
CONFIG_FB_VESA = y&lt;br /&gt;
# CONFIG_DRM_RADEON is not set&lt;br /&gt;
# CONFIG_FB_RADEON is not set&lt;br /&gt;
DEBUG_KERNEL = n&lt;br /&gt;
&lt;br /&gt;
If needed, recompile the kernel and make sure modules, firmware and system map are installed:&lt;br /&gt;
make&lt;br /&gt;
make modules_install&lt;br /&gt;
make firmware_install&lt;br /&gt;
cp arch/x86/boot/bzImage /boot/kernel&lt;br /&gt;
cp System.map /boot/System.map-4.9.85-gentoo&lt;br /&gt;
&lt;br /&gt;
Reboot into the new kernel.&lt;br /&gt;
&lt;br /&gt;
6. Next, install dkms. The easiest way is to use the farmboy0 overlay. Emerge layman (if it is not already installed), then do&lt;br /&gt;
layman -a farmboy0&lt;br /&gt;
layman -S&lt;br /&gt;
emerge dkms&lt;br /&gt;
&lt;br /&gt;
7. Create a local overlay. I call mine parawlay. If you don&#039;t know how to do this, see here or here. Inside the overlay, create the category &amp;quot;x11-drivers&amp;quot;, and inside this the directory &amp;quot;amdgpu-pro&amp;quot;. Then, downoad this ebuild and put it inside this directory. Create the manifest:&lt;br /&gt;
ebuild amdgpu-pro-17.40.492261-r2.ebuild manifest&lt;br /&gt;
Install the various driver components:&lt;br /&gt;
emerge amdgpu-pro&lt;br /&gt;
Of course, you can choose whatever use flags you want/need, they are self-explanatory.&lt;br /&gt;
&lt;br /&gt;
8. Now, create a directory in which you are going to extract the dkms code, patch it and compile it. For example:&lt;br /&gt;
mkdir amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
Go there, copy the source in it, extract it and go to the directory with the source code:&lt;br /&gt;
cd amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
cp /usr/portage/distfiles/amdgpu-pro-17.40-492261.tar.xz .&lt;br /&gt;
tar xJf amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
rm amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
cd amdgpu-pro-17.40-492261/&lt;br /&gt;
ar x amdgpu-pro-dkms_17.40-492261_all.deb&lt;br /&gt;
tar xJf data.tar.xz&lt;br /&gt;
rm *&lt;br /&gt;
cd usr/src/&lt;br /&gt;
Inside this directory you have the code for the module, which needs to be patched. To do so, download these patches and extract them where you are. Then, patch the code:&lt;br /&gt;
cd amdgpu-17.40-492261/&lt;br /&gt;
for i in `seq 1 1 11`; do patch -p0 &amp;lt; ../patch${i}; done&lt;br /&gt;
cd ..&lt;br /&gt;
If (and only if) you are currently running an old version of the proprietary drive module, uninstall it. For example, if you are running the old driver version 17.10-401251, do&lt;br /&gt;
dkms remove amdgpu-pro/17.10-401251 --all&lt;br /&gt;
Then, install the new driver:&lt;br /&gt;
dkms install amdgpu-17.40-492261 -k 4.9.85-gentoo --force&lt;br /&gt;
&lt;br /&gt;
9. Run&lt;br /&gt;
eselect opengl amdgpu-pro&lt;br /&gt;
eselect opencl amdgpu-pro&lt;br /&gt;
&lt;br /&gt;
10. Finally, if you intend to use the card for cryptocurrency mining, edit the file /etc/grub.d/40_custom and add the option amdgpu.vm_fragment_size=9 in the kernel line, and rebuild the grub config file (typically running grub-mkconfig -o /boot/grub/grub.cfg). Do not perform this step if you will use the card for regular gaming/rendering/computing jobs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot and you are done. In general, update and maintain your system (and overlays) as usual. However, if you recompile the kernel, you will need to reinstall the dkms module. Whenever a new version of the driver is released or there is some change in something, and I have time, I will update the guide.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=85</id>
		<title>AMDGPU-PRO Gentoo Install</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=AMDGPU-PRO_Gentoo_Install&amp;diff=85"/>
		<updated>2018-12-22T12:10:44Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: Created page with &amp;quot; =AMDGPU-PRO driver guide for Gentoo=  NOTE: This page is no longer maintained. I currently have no AMD cards that are supported by the proprietary driver and for which I need...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=AMDGPU-PRO driver guide for Gentoo=&lt;br /&gt;
&lt;br /&gt;
NOTE: This page is no longer maintained. I currently have no AMD cards that are supported by the proprietary driver and for which I need to use it. I do not know whether, in the future, the situation will change. If so, I may try to keep updating the ebuilds and patches. I am leaving the instructions below for reference, should they be of use to anyone.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The following is a short guide to install the proprietary AMDGPU-PRO driver in Gentoo linux.&lt;br /&gt;
&lt;br /&gt;
This driver seems to produce a good increase of performance on older workstation cards (GCN1), but, perhaps more importantly, it introduces support for Raven Ridge. Also, it supports hybrid configurations, including the latest RX500 series.&lt;br /&gt;
&lt;br /&gt;
In the following, I assume you know how to maintain your system, change keywords on a package basis, etc. Needless to say, you need to be root for all these steps. Before the actual steps, a few notes:&lt;br /&gt;
- This guide is for driver version 17.40.492261. I know that there is a newer driver, but it requires at least version 1.0.65 of vulkan-loader, which, at the moment, is not available in Portage.&lt;br /&gt;
- The steps below assume you are making a new installation. If, instead, you are updating from a previous version of the same driver, you should simply install the new ebuild and proceed as for a normal system update (including of course unmasking its keyword, potentially recompiling the kernel and building the new dkms module).&lt;br /&gt;
- During the installation of the driver or later, during a normal system update, it is possible to get compilation errors with libtool complaining about gbm-related stuff. This is a known problem due to libtool getting confused during the link stage, and it happens in exactly the same way for users of the proprietary nVidia driver. Typically the error will occur while compiling mesa or cairo, but it may happen when building other packages as well. The workaround is to run &amp;quot;eselect opengl xorg-x11&amp;quot;, then emerge the package that was failing, then run &amp;quot;eselect opengl amdgpu-pro&amp;quot;, and finally continue whatever you were doing before.&lt;br /&gt;
- The ebuild also works for hybrid configurations, such as new laptops with an integrated Intel card and a discrete AMD one. For such cases, make sure you activate the &amp;quot;hybrid&amp;quot; USE flag and take care of the necessary changes, explained below.&lt;br /&gt;
- For hybrid configurations, in step 1, ensure that the VIDEO_CARDS variable includes the values needed for the integrated card. For example, if you have a laptop with an Intel Core i7 8550U, you will need VIDEO_CARDS=&amp;quot;amdgpu radeonsi intel i965&amp;quot;. To know what values to use, please refer to the relevant guide.&lt;br /&gt;
- In step 5, make sure to specify the right spare region number for the MTRR in CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT. In the instructions, I used the value 2, but this may be different for your card. You can check the right region by running cat /proc/mtrr. Also, the CONFIG_EXTRA_FIRMWARE line is a correct example for an RX480 card. If your card is a different model, you must replace the file names with the appropriate firmware files. To find which firmware files to include, check the list here. However, note that the cards mentioned at this link are all desktop cards. If you are setting up a workstation or a laptop, you can check the type of microarchitecture of your card here and then refer to the previous list, considering that the driver works on cards starting from GCN first generation. Also, if your card is a Southern Islands or a Sea Islands card, then you must also have CONFIG_DRM_AMDGPU_SI=y or CONFIG_DRM_AMDGPU_CIK=y, respectively.&lt;br /&gt;
- The ebuild assumes that the PCI bus of the card is 1:0:0. If this is not the case for your card, after step 7 is complete you must modify the file /etc/X11/xorg.conf.d/10-device.conf and replace the BusID value with the right one, which you can find using lspci. Also, optionally, you can modify the various identifiers in the same file as well as in /etc/X11/xorg.conf.d/10-monitor.conf and /etc/X11/xorg.conf.d/10-screen.conf to match those of your hardware (this has no effect whatsoever on the functioning of your card). Note that this step is not needed if you have a hybrid configuration; in fact, in this case, these files will not even be created.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now, the actual step-by-step guide.&lt;br /&gt;
&lt;br /&gt;
1. First of all, make sure that in /etc/portage/make.conf you have the line&lt;br /&gt;
VIDEO_CARDS=&amp;quot;amdgpu radeonsi&amp;quot;&lt;br /&gt;
&lt;br /&gt;
2. Edit the file /etc/portage/package.mask and add the lines&lt;br /&gt;
# Mask old version of packages for AMDGPU-PRO&lt;br /&gt;
&amp;lt;sys-kernel/gentoo-sources-4.9.0&lt;br /&gt;
&amp;gt;=sys-kernel/gentoo-sources-4.11.0&lt;br /&gt;
x11-drivers/amdgpu-pro::farmboy0&lt;br /&gt;
&lt;br /&gt;
3. Then, update your system:&lt;br /&gt;
emerge --update --deep --newuse -1 world&lt;br /&gt;
&lt;br /&gt;
4. When the system is properly updated, and any rebuilding and fixing is done, install the firmware package (if it is not already installed):&lt;br /&gt;
emerge linux-firmware&lt;br /&gt;
&lt;br /&gt;
5. Next step is making sure the kernel has the right configuration. Note that you must ensure that you are running a 4.9 kernel, which may mean you must manually accept its keyword. At the moment, I tested it with the latest available kernel of the series, which is the 4.9.85, and which I use in the instructions below. In the kernel configuration, verify that the following options are as shown (please note that some must be modules):&lt;br /&gt;
CONFIG_MTRR = y&lt;br /&gt;
# CONFIG_TRIM_UNUSED_KSYMS is not set&lt;br /&gt;
CONFIG_MTRR_SANITIZER = y&lt;br /&gt;
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT = 1&lt;br /&gt;
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT = 2&lt;br /&gt;
CONFIG_BINFMT_ELF=y&lt;br /&gt;
CONFIG_COMPAT_BINFMT_ELF=y&lt;br /&gt;
CONFIG_BINFMT_SCRIPT=y&lt;br /&gt;
CONFIG_BINFMT_MISC=y&lt;br /&gt;
CONFIG_FW_LOADER = y&lt;br /&gt;
CONFIG_FIRMWARE_IN_KERNEL = y&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE = &amp;quot;amdgpu/polaris10_ce.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin&amp;quot;&lt;br /&gt;
CONFIG_EXTRA_FIRMWARE_DIR = &amp;quot;/lib/firmware&amp;quot;&lt;br /&gt;
CONFIG_AGP = y&lt;br /&gt;
CONFIG_VGA_SWITCHEROO = y&lt;br /&gt;
CONFIG_DRM = y&lt;br /&gt;
CONFIG_DRM_FBDEV_EMULATION = y&lt;br /&gt;
CONFIG_DRM_AMDGPU = m&lt;br /&gt;
CONFIG_DRM_AMDGPU_USERPTR = y&lt;br /&gt;
CONFIG_FB = y&lt;br /&gt;
CONFIG_FB_MODE_HELPERS = y&lt;br /&gt;
CONFIG_FB_VESA = y&lt;br /&gt;
# CONFIG_DRM_RADEON is not set&lt;br /&gt;
# CONFIG_FB_RADEON is not set&lt;br /&gt;
DEBUG_KERNEL = n&lt;br /&gt;
&lt;br /&gt;
If needed, recompile the kernel and make sure modules, firmware and system map are installed:&lt;br /&gt;
make&lt;br /&gt;
make modules_install&lt;br /&gt;
make firmware_install&lt;br /&gt;
cp arch/x86/boot/bzImage /boot/kernel&lt;br /&gt;
cp System.map /boot/System.map-4.9.85-gentoo&lt;br /&gt;
&lt;br /&gt;
Reboot into the new kernel.&lt;br /&gt;
&lt;br /&gt;
6. Next, install dkms. The easiest way is to use the farmboy0 overlay. Emerge layman (if it is not already installed), then do&lt;br /&gt;
layman -a farmboy0&lt;br /&gt;
layman -S&lt;br /&gt;
emerge dkms&lt;br /&gt;
&lt;br /&gt;
7. Create a local overlay. I call mine parawlay. If you don&#039;t know how to do this, see here or here. Inside the overlay, create the category &amp;quot;x11-drivers&amp;quot;, and inside this the directory &amp;quot;amdgpu-pro&amp;quot;. Then, downoad this ebuild and put it inside this directory. Create the manifest:&lt;br /&gt;
ebuild amdgpu-pro-17.40.492261-r2.ebuild manifest&lt;br /&gt;
Install the various driver components:&lt;br /&gt;
emerge amdgpu-pro&lt;br /&gt;
Of course, you can choose whatever use flags you want/need, they are self-explanatory.&lt;br /&gt;
&lt;br /&gt;
8. Now, create a directory in which you are going to extract the dkms code, patch it and compile it. For example:&lt;br /&gt;
mkdir amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
Go there, copy the source in it, extract it and go to the directory with the source code:&lt;br /&gt;
cd amdgpupro-17.40.492261_4.9.85&lt;br /&gt;
cp /usr/portage/distfiles/amdgpu-pro-17.40-492261.tar.xz .&lt;br /&gt;
tar xJf amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
rm amdgpu-pro-17.40-492261.tar.xz&lt;br /&gt;
cd amdgpu-pro-17.40-492261/&lt;br /&gt;
ar x amdgpu-pro-dkms_17.40-492261_all.deb&lt;br /&gt;
tar xJf data.tar.xz&lt;br /&gt;
rm *&lt;br /&gt;
cd usr/src/&lt;br /&gt;
Inside this directory you have the code for the module, which needs to be patched. To do so, download these patches and extract them where you are. Then, patch the code:&lt;br /&gt;
cd amdgpu-17.40-492261/&lt;br /&gt;
for i in `seq 1 1 11`; do patch -p0 &amp;lt; ../patch${i}; done&lt;br /&gt;
cd ..&lt;br /&gt;
If (and only if) you are currently running an old version of the proprietary drive module, uninstall it. For example, if you are running the old driver version 17.10-401251, do&lt;br /&gt;
dkms remove amdgpu-pro/17.10-401251 --all&lt;br /&gt;
Then, install the new driver:&lt;br /&gt;
dkms install amdgpu-17.40-492261 -k 4.9.85-gentoo --force&lt;br /&gt;
&lt;br /&gt;
9. Run&lt;br /&gt;
eselect opengl amdgpu-pro&lt;br /&gt;
eselect opencl amdgpu-pro&lt;br /&gt;
&lt;br /&gt;
10. Finally, if you intend to use the card for cryptocurrency mining, edit the file /etc/grub.d/40_custom and add the option amdgpu.vm_fragment_size=9 in the kernel line, and rebuild the grub config file (typically running grub-mkconfig -o /boot/grub/grub.cfg). Do not perform this step if you will use the card for regular gaming/rendering/computing jobs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reboot and you are done. In general, update and maintain your system (and overlays) as usual. However, if you recompile the kernel, you will need to reinstall the dkms module. Whenever a new version of the driver is released or there is some change in something, and I have time, I will update the guide.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=WotLK_3.3.5a_client_in_WINE&amp;diff=84</id>
		<title>WotLK 3.3.5a client in WINE</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=WotLK_3.3.5a_client_in_WINE&amp;diff=84"/>
		<updated>2018-12-22T11:59:49Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;WotLK 3.3.5a Client in Linux&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Download the client==&lt;br /&gt;
There are several sites out there that have torrents running for the 3.3.5a client which most WotLK servers run.  The one that I play is on www.warmane.com and they also have a few patches you can put in the data directory for extra models and such.  I&#039;d suggest that one as I&#039;ve had no issues running it in Wine.&lt;br /&gt;
== Installing Wine ==&lt;br /&gt;
Be sure to check with your distros install.  I use Gentoo so just doing &amp;quot;emerge wine-staging&amp;quot; did it for me.  Make sure you are running wine-staging and vanilla-wine or any other version will not work.  Be sure to install winetricks as well.&lt;br /&gt;
===Configuring Wine===&lt;br /&gt;
I&#039;m running my instance in 32-bit mode on my Multilib 32/64 bit system.  Your mileage may vary.  I was running in 64 bit mode, but switched to 32-bit mode for compatibility and it seems to run better.  First thing you want to do is create a directory off your home directory.  Do all this as a user and not as root.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir WineWoW&lt;br /&gt;
WINEARCH=win32 WINEPREFIX=~/WineWoW winetricks d3dx9_43 d3dx10_43 d3dx11_43&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will install DirectX 9,10 and 11&lt;br /&gt;
&lt;br /&gt;
Now we go into winecfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
WINEARCH=win32 WINEPREFIX=~/WineWoW winecfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure it says Windows 7 and OK out of winecfg&lt;br /&gt;
&lt;br /&gt;
==Running WoW==&lt;br /&gt;
&lt;br /&gt;
Be sure to copy the game client files to ~/WineWoW/drive_c/Program Files/, then goto ~/WineWoW/drive_c/Program Files/WoW and type WINEARCH=win32 WINEPREFIX=~/WineWoW wine WoW.exe&lt;br /&gt;
&lt;br /&gt;
===Installing Lutris===&lt;br /&gt;
On the other hand, you can do what I do and install Lutris, according to your distro package system.  Install game manually.  Make sure you specify WINEARCH and WINEPREFIX and most things set as default.&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=WotLK_3.3.5a_client_in_WINE&amp;diff=83</id>
		<title>WotLK 3.3.5a client in WINE</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=WotLK_3.3.5a_client_in_WINE&amp;diff=83"/>
		<updated>2018-12-22T11:59:20Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;WotLK 3.3.5a Client in Linux&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Download the client==&lt;br /&gt;
There are several sites out there that have torrents running for the 3.3.5a client which most WotLK servers run.  The one that I play is on www.warmane.com and they also have a few patches you can put in the data directory for extra models and such.  I&#039;d suggest that one as I&#039;ve had no issues running it in Wine.&lt;br /&gt;
== Installing Wine ==&lt;br /&gt;
Be sure to check with your distros install.  I use Gentoo so just doing &amp;quot;emerge wine-staging&amp;quot; did it for me.  Make sure you are running wine-staging and vanilla-wine or any other version will not work.  Be sure to install winetricks as well.&lt;br /&gt;
===Configuring Wine===&lt;br /&gt;
I&#039;m running my instance in 32-bit mode on my Multilib 32/64 bit system.  Your mileage may vary.  I was running in 64 bit mode, but switched to 32-bit mode for compatibility and it seems to run better.  First thing you want to do is create a directory off your home directory.  Do all this as a user and not as root.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir WineWoW&lt;br /&gt;
WINEARCH=win32 WINEPREFIX=~/WineWoW winetricks d3dx9_43 d3dx10_43 d3dx11_43&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will install DirectX 9,10 and 11&lt;br /&gt;
&lt;br /&gt;
Now we go into winecfg&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
WINEARCH=win32 WINEPREFIX=~/WineWoW winecfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure it says Windows 7 and OK out of winecfg&lt;br /&gt;
&lt;br /&gt;
==Running WoW==&lt;br /&gt;
&lt;br /&gt;
Be sure to copy the game client files to ~/WineWoW/drive_c/Program Files/, then goto ~/WineWoW/drive_c/Program Files/WoW and type WINEARCH=win32 WINEPREFIX=~/WineWoW wine WoW.exe&lt;br /&gt;
&lt;br /&gt;
===Installing Lutris===&lt;br /&gt;
On the other hand, you can do what I do and install Lutris, according to your distro package system.  Install game manually.  Make sure you specify WINEARCH and WINE&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=WotLK_3.3.5a_client_in_WINE&amp;diff=82</id>
		<title>WotLK 3.3.5a client in WINE</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=WotLK_3.3.5a_client_in_WINE&amp;diff=82"/>
		<updated>2018-12-22T11:48:37Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;WotLK 3.3.5a Client in Linux&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Download the client==&lt;br /&gt;
There are several sites out there that have torrents running for the 3.3.5a client which most WotLK servers run.  The one that I play is on www.warmane.com and they also have a few patches you can put in the data directory for extra models and such.  I&#039;d suggest that one as I&#039;ve had no issues running it in Wine.&lt;br /&gt;
== Installing Wine ==&lt;br /&gt;
Be sure to check with your distros install.  I use Gentoo so just doing &amp;quot;emerge wine-staging&amp;quot; did it for me.  Make sure you are running wine-staging and vanilla-wine or any other version will not work.  Be sure to install winetricks as well.&lt;br /&gt;
===Configuring Wine===&lt;br /&gt;
I&#039;m running my instance in 32-bit mode on my Multilib 32/64 bit system.  Your mileage may vary.  I was running in 64 bit mode, but switched to 32-bit mode for compatibility and it seems to run better.  First thing you want to do is create a directory off your home directory.  Do all this as a user and not as root.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir WineWoW&lt;br /&gt;
WINEARCH=win32 WINEPREFIX=~/WineWoW winetricks d3dx9_43 d3dx10_43 d3dx11_43&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will install DirectX 9,10 and 11&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Test 3 ===&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=WotLK_3.3.5a_client_in_WINE&amp;diff=81</id>
		<title>WotLK 3.3.5a client in WINE</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=WotLK_3.3.5a_client_in_WINE&amp;diff=81"/>
		<updated>2018-12-22T11:34:33Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;WotLK 3.3.5a Client in Linux&amp;#039;&amp;#039;&amp;#039;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;WotLK 3.3.5a Client in Linux&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=80</id>
		<title>Deepin WM on Gentoo Linux</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=80"/>
		<updated>2018-09-08T18:35:19Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: /* Installing Deepin on Gentoo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Installing Deepin on Gentoo ===&lt;br /&gt;
I&#039;ve had some difficulty with this overlay.  Here&#039;s what i&#039;ve done so far:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;layman -L &amp;amp;&amp;amp; layman -a deepin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Then put these into a /etc/portage/package.use/10deepin&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;sys-devel/gcc go&lt;br /&gt;
media-libs/cogl gles2&lt;br /&gt;
dev-libs/libxslt python&lt;br /&gt;
media-libs/clutter egl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Then, start installing the packages&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge -av deepin-desktop-base&lt;br /&gt;
emerge -av deepin-tool-kit deepin-gettext-tools go go-x11-client dde-polkit-agent dde-go-essential deepin-tool-kit&lt;br /&gt;
emerge -av deepin-desktop-base&lt;br /&gt;
emerge -av deepin-wm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
This is where i&#039;ve stopped because of errors, will update soon&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=79</id>
		<title>Deepin WM on Gentoo Linux</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=79"/>
		<updated>2018-09-08T18:34:59Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: /* Installing Deepin on Gentoo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Installing Deepin on Gentoo ===&lt;br /&gt;
I&#039;ve had some difficulty with this overlay.  Here&#039;s what i&#039;ve done so far:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;layman -L &amp;amp;&amp;amp; layman -a deepin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Then put these into a /etc/portage/package.use/10deepin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;sys-devel/gcc go&lt;br /&gt;
media-libs/cogl gles2&lt;br /&gt;
dev-libs/libxslt python&lt;br /&gt;
media-libs/clutter egl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, start installing the packages&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge -av deepin-desktop-base&lt;br /&gt;
emerge -av deepin-tool-kit deepin-gettext-tools go go-x11-client dde-polkit-agent dde-go-essential deepin-tool-kit&lt;br /&gt;
emerge -av deepin-desktop-base&lt;br /&gt;
emerge -av deepin-wm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
This is where i&#039;ve stopped because of errors, will update soon&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=78</id>
		<title>Deepin WM on Gentoo Linux</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=78"/>
		<updated>2018-09-08T18:34:04Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Installing Deepin on Gentoo ===&lt;br /&gt;
I&#039;ve had some difficulty with this overlay.  Here&#039;s what i&#039;ve done so far:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;layman -L &amp;amp;&amp;amp; layman -a deepin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Then put these into a /etc/portage/package.use/10deepin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sys-devel/gcc go&lt;br /&gt;
media-libs/cogl gles2&lt;br /&gt;
dev-libs/libxslt python&lt;br /&gt;
media-libs/clutter egl&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, start installing the packages&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
emerge -av deepin-desktop-base&lt;br /&gt;
emerge -av deepin-tool-kit deepin-gettext-tools go go-x11-client dde-polkit-agent dde-go-essential deepin-tool-kit&lt;br /&gt;
emerge -av deepin-desktop-base&lt;br /&gt;
emerge -av deepin-wm&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
This is where i&#039;ve stopped because of errors, will update soon&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=77</id>
		<title>Deepin WM on Gentoo Linux</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=77"/>
		<updated>2018-09-08T18:32:39Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Installing Deepin on Gentoo ===&lt;br /&gt;
I&#039;ve had some difficulty with this overlay.  Here&#039;s what i&#039;ve done so far:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;layman -L &amp;amp;&amp;amp; layman -a deepin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Then put these into a /etc/portage/package.use/10deepin&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;sys-devel/gcc go&#039;&#039;&lt;br /&gt;
&#039; &#039;&lt;br /&gt;
&#039;&#039;media-libs/cogl gles2&#039;&#039;&lt;br /&gt;
&#039;&#039;dev-libs/libxslt python&#039;&#039;&lt;br /&gt;
&#039;&#039;media-libs/clutter egl&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, start installing the packages&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;emerge -av deepin-desktop-base&#039;&#039;&lt;br /&gt;
&#039;&#039;emerge -av deepin-tool-kit deepin-gettext-tools go go-x11-client dde-polkit-agent dde-go-essential deepin-tool-kit&#039;&#039;&lt;br /&gt;
&#039;&#039;emerge -av deepin-desktop-base&#039;&#039;&lt;br /&gt;
&#039;&#039;emerge -av deepin-wm&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This is where i&#039;ve stopped because of errors, will update soon&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=76</id>
		<title>Deepin WM on Gentoo Linux</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=76"/>
		<updated>2018-09-08T18:32:18Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Installing Deepin on Gentoo ===&lt;br /&gt;
I&#039;ve had some difficulty with this overlay.  Here&#039;s what i&#039;ve done so far:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;layman -L &amp;amp;&amp;amp; layman -a deepin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Then put these into a /etc/portage/package.use/10deepin&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;sys-devel/gcc go&#039;&#039;&lt;br /&gt;
&#039;&#039;media-libs/cogl gles2&#039;&#039;&lt;br /&gt;
&#039;&#039;dev-libs/libxslt python&#039;&#039;&lt;br /&gt;
&#039;&#039;media-libs/clutter egl&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, start installing the packages&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;emerge -av deepin-desktop-base&#039;&#039;&lt;br /&gt;
&#039;&#039;emerge -av deepin-tool-kit deepin-gettext-tools go go-x11-client dde-polkit-agent dde-go-essential deepin-tool-kit&#039;&#039;&lt;br /&gt;
&#039;&#039;emerge -av deepin-desktop-base&#039;&#039;&lt;br /&gt;
&#039;&#039;emerge -av deepin-wm&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This is where i&#039;ve stopped because of errors, will update soon&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=75</id>
		<title>Deepin WM on Gentoo Linux</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=75"/>
		<updated>2018-09-08T18:30:57Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Installing Deepin on Gentoo ===&lt;br /&gt;
I&#039;ve had some difficulty with this overlay.  Here&#039;s what i&#039;ve done so far:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;layman -L &amp;amp;&amp;amp; layman -a deepin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Then put these into a /etc/portage/package.use/10deepin&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;sys-devel/gcc go&lt;br /&gt;
media-libs/cogl gles2&lt;br /&gt;
dev-libs/libxslt python&lt;br /&gt;
media-libs/clutter egl&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Then, start installing the packages&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;emerge -av deepin-desktop-base&lt;br /&gt;
emerge -av deepin-tool-kit deepin-gettext-tools go go-x11-client dde-polkit-agent dde-go-essential deepin-tool-kit&lt;br /&gt;
emerge -av deepin-desktop-base&lt;br /&gt;
emerge -av deepin-wm&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This is where i&#039;ve stopped because of errors, will update soon&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=74</id>
		<title>Deepin WM on Gentoo Linux</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=74"/>
		<updated>2018-09-08T18:29:45Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Installing Deepin on Gentoo ===&lt;br /&gt;
I&#039;ve had some difficulty with this overlay.  Here&#039;s what i&#039;ve done so far:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;layman -L &amp;amp;&amp;amp; layman -a deepin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Then put these into a /etc/portage/package.use/10deepin&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;sys-devel/gcc go&lt;br /&gt;
# required by media-libs/clutter-1.26.2-r1::gentoo[egl]&lt;br /&gt;
# required by x11-wm/deepin-mutter-3.20.34::deepin[kms]&lt;br /&gt;
# required by x11-wm/deepin-wm-1.9.31::deepin&lt;br /&gt;
# required by deepin-wm (argument)&lt;br /&gt;
media-libs/cogl gles2&lt;br /&gt;
# required by x11-libs/bamf-0.5.3::deepin&lt;br /&gt;
# required by x11-wm/deepin-wm-1.9.31::deepin&lt;br /&gt;
# required by deepin-wm (argument)&lt;br /&gt;
dev-libs/libxslt python&lt;br /&gt;
# required by x11-wm/deepin-mutter-3.20.34::deepin[kms]&lt;br /&gt;
# required by x11-wm/deepin-wm-1.9.31::deepin&lt;br /&gt;
# required by deepin-wm (argument)&lt;br /&gt;
media-libs/clutter egl&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Then, start installing the packages&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;emerge -av deepin-desktop-base&lt;br /&gt;
emerge -av deepin-tool-kit deepin-gettext-tools go go-x11-client dde-polkit-agent dde-go-essential deepin-tool-kit&lt;br /&gt;
emerge -av deepin-desktop-base&lt;br /&gt;
emerge -av deepin-wm&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This is where i&#039;ve stopped because of errors, will update soon&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=73</id>
		<title>Deepin WM on Gentoo Linux</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=73"/>
		<updated>2018-09-08T18:23:34Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Installing Deepin on Gentoo ===&lt;br /&gt;
I&#039;ve had some difficulty with this overlay.  Here&#039;s what i&#039;ve done so far:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;layman -L &amp;amp;&amp;amp; layman -a deepin&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=72</id>
		<title>Deepin WM on Gentoo Linux</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Deepin_WM_on_Gentoo_Linux&amp;diff=72"/>
		<updated>2018-09-08T18:22:42Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: Created page with &amp;quot;=== Installing Deepin on Gentoo === I&amp;#039;ve had some difficulty with this overlay&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Installing Deepin on Gentoo ===&lt;br /&gt;
I&#039;ve had some difficulty with this overlay&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Raspberry_Pi_Distros&amp;diff=71</id>
		<title>Raspberry Pi Distros</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Raspberry_Pi_Distros&amp;diff=71"/>
		<updated>2018-08-25T08:15:54Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a collection of links i&#039;ve found for Raspberry Pi Distros&lt;br /&gt;
&lt;br /&gt;
= Distros =&lt;br /&gt;
== Raspberry Pi 1 ==&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi 2 ==&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi 3 ==&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Raspberry_Pi_Distros&amp;diff=70</id>
		<title>Raspberry Pi Distros</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Raspberry_Pi_Distros&amp;diff=70"/>
		<updated>2018-08-25T08:15:31Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a collection of links i&#039;ve found for Raspberry Pi Distros&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi 1 ==&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi 2 ==&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi 3 ==&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Raspberry_Pi_Distros&amp;diff=69</id>
		<title>Raspberry Pi Distros</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Raspberry_Pi_Distros&amp;diff=69"/>
		<updated>2018-08-25T08:14:50Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is a collection of links i&#039;ve found for Raspberry Pi Distros&lt;br /&gt;
&lt;br /&gt;
= Raspberry Pi =&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi 1 ==&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi 2 ==&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi 3 ==&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Raspberry_Pi_Distros&amp;diff=68</id>
		<title>Raspberry Pi Distros</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Raspberry_Pi_Distros&amp;diff=68"/>
		<updated>2018-08-25T08:13:19Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: Created page with &amp;quot;== Raspberry pi 1 ==  == Raspberry Pi 2 ==  == Raspberry Pi 3 ==&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Raspberry pi 1 ==&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi 2 ==&lt;br /&gt;
&lt;br /&gt;
== Raspberry Pi 3 ==&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Main_Page&amp;diff=67</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Main_Page&amp;diff=67"/>
		<updated>2018-08-25T08:10:50Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: Reverted edits by Cfaulkner (talk) to last revision by MediaWiki default&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;strong&amp;gt;MediaWiki has been successfully installed.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consult the [//meta.wikimedia.org/wiki/Help:Contents User&#039;s Guide] for information on using the wiki software.&lt;br /&gt;
&lt;br /&gt;
== Getting started ==&lt;br /&gt;
* [//www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ]&lt;br /&gt;
* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]&lt;br /&gt;
* [//www.mediawiki.org/wiki/Localisation#Translation_resources Localise MediaWiki for your language]&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=Main_Page&amp;diff=66</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=Main_Page&amp;diff=66"/>
		<updated>2018-08-25T08:09:50Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;templatestyles src=&amp;quot;Template:Main_page/styles.css&amp;quot; /&amp;gt;&amp;lt;div class=&amp;quot;mainpage_topbox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mainpage_pagetitle&amp;quot;&amp;gt;&#039;&#039;&#039;{{Main page/include|welcome|{{{1|}}}|3=[[MediaWiki|&amp;lt;span class=&amp;quot;mainpage_mwtitle&amp;quot;&amp;gt;MediaWiki.org&amp;lt;/span&amp;gt;]]}}&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mainpage_boxcontents&amp;quot;&amp;gt;{{Main page/include|intro|{{{1|}}}}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mainpage_sitelinks&amp;quot;&amp;gt;&lt;br /&gt;
{{Main page/include|sitelink1|{{{1|}}}}} &amp;amp;nbsp; | &amp;amp;nbsp; &lt;br /&gt;
{{Main page/include|sitelink2|{{{1|}}}}} &amp;amp;nbsp; | &amp;amp;nbsp; &lt;br /&gt;
{{Main page/include|sitelink3|{{{1|}}}}} &amp;amp;nbsp; | &amp;amp;nbsp; &lt;br /&gt;
{{Main page/include|sitelink4|{{{1|}}}}} &amp;amp;nbsp; | &amp;amp;nbsp;&lt;br /&gt;
{{Main page/include|sitelink5|{{{1|}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;!--&lt;br /&gt;
&amp;lt;div class =&amp;quot;mainpage_notice&amp;quot;&amp;gt;&lt;br /&gt;
{{Main page/include|notice|{{{1|}}}}}&lt;br /&gt;
&amp;lt;/div&amp;gt;--&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mainpage_row2&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;mainpage_hubbox&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;mainpage_boxtitle&amp;quot;&amp;gt;{{Main page/include|users title|{{{1|}}}}}&amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;mainpage_boxcontents&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Crystal Clear app display.png|x80px|center|link={{#if: {{{1|}}}|{{#ifexist: User hub/{{{1}}}|User hub/{{{1}}}|User hub}}|User hub}}]]&lt;br /&gt;
{{Main page/include|users text|{{{1|}}}}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;mainpage_hubbox&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;mainpage_boxtitle&amp;quot;&amp;gt;&#039;&#039;&#039;{{Main page/include|admins title|{{{1|}}}}}&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;mainpage_boxcontents&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Nuvola-inspired-terminal.svg|x80px|center|link={{#if: {{{1|}}}|{{#ifexist: Sysadmin hub/{{{1}}}|Sysadmin hub/{{{1}}}|Sysadmin hub}}|Sysadmin hub}}]]&lt;br /&gt;
{{Main page/include|admins text|{{{1|}}}}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;mainpage_hubbox&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;mainpage_boxtitle&amp;quot;&amp;gt;&#039;&#039;&#039;{{Main page/include|devs title|{{{1|}}}}}&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;mainpage_boxcontents&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Crystal Clear app tutorials.png|x80px|center|link={{#if: {{{1|}}}|{{#ifexist: Developer hub/{{{1}}}|Developer hub/{{{1}}}|Developer hub}}|Developer hub}}]]&lt;br /&gt;
{{Main page/include|devs text|{{{1|}}}}}&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mainpage_row3&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;mainpage_hubbox mainpage_downloadcell&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;mainpage_boxtitle&amp;quot;&amp;gt;{{Main page/include|current versions|{{{1|}}}}}&amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;mainpage_boxcontents mainpage_boxcontents_small&amp;quot;&amp;gt;&lt;br /&gt;
{{Current versions}}&lt;br /&gt;
&amp;lt;div style=&amp;quot;width:90%; text-align:center; margin:10px auto;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:2px outset #cccccc; background:#dddddd; margin:5px; padding:5px; white-space:nowrap;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Nuvola_apps_download_manager.png|40px|alt=|link={{#ifexist: Download/{{{1}}}|Download/{{{1}}}|Download}}]]&amp;lt;span style=&amp;quot;padding-left:5px; font-size:130%; font-weight:bold;&amp;quot;&amp;gt;[[{{#if: {{{1|}}}|{{#ifexist: Download/{{{1}}}|Download/{{{1}}}|Download}}|Download}}|{{Main page/include|download|{{{1|}}}}}]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;mainpage_hubbox mainpage_newscell&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;mainpage_boxtitle&amp;quot;&amp;gt;{{Main page/include|news title|{{{1|}}}}}&amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;mainpage_boxcontents mainpage_box contents_small&amp;quot;&amp;gt;&lt;br /&gt;
{{#if: {{{1|}}}|{{#ifexist: Template:MediaWiki News/{{{1}}}|{{MediaWiki News/{{{1}}}}}|{{MediaWiki News}}}}|{{MediaWiki News}}}}&lt;br /&gt;
* &#039;&#039;&#039;{{Main page/include|old news link|{{{1|}}}}}&#039;&#039;&#039;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&amp;lt;div class=&amp;quot;mainpage_languages&amp;quot;&amp;gt;{{Languages}}&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;__NOEDITSECTION__ __NOTOC__&amp;lt;noinclude&amp;gt;[[Category:Main page templates|*]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=MangosTwo_Install_-_Raspbian&amp;diff=65</id>
		<title>MangosTwo Install - Raspbian</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=MangosTwo_Install_-_Raspbian&amp;diff=65"/>
		<updated>2016-06-14T15:21:45Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This howto will be on how to get MangosTwo running on Rasbian on a RaspberryPi 2&lt;br /&gt;
&lt;br /&gt;
== Installing Rasbian ==&lt;br /&gt;
Download the Rasbian Image from the RaspberryPi Download page: [https://www.raspberrypi.org/downloads/raspbian/] and install it to your sd card.  For mine, I am going to use an 8GB card and use a USB Flash Drive as extra storage.  I&#039;m using the 2016-05-27-raspbian-jessie-lite.img image&lt;br /&gt;
&lt;br /&gt;
== Starting up basic Rasbian Environment ==&lt;br /&gt;
&lt;br /&gt;
After creating the sd card and booting into Rasbian, the default login is username: pi password: raspberry&lt;br /&gt;
&lt;br /&gt;
check ifconfig for your ip address as I will be running on eth0 (hard wire) until after the compile is complete, then I will switch to running the RaspberryPi as an AP hotspot to make a portable WoW server. (Amazing little boxes these are).&lt;br /&gt;
&lt;br /&gt;
First thing is to update the OS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, reboot and log back in&lt;br /&gt;
&lt;br /&gt;
== Setting up Build Environment for Mangos ==&lt;br /&gt;
You can immediately SSH in now as the process is already running.&lt;br /&gt;
&lt;br /&gt;
After logging in, Add the user mangos and edit the /etc/sudoers file and add the mangos username&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo adduser mangos&lt;br /&gt;
&lt;br /&gt;
edit /etc/sudoers&lt;br /&gt;
&lt;br /&gt;
Add under &#039;User Privilege Section&#039; underneath root&lt;br /&gt;
&lt;br /&gt;
mangos ALL=(ALL) NOPASSWD: ALL&lt;br /&gt;
&lt;br /&gt;
Exit and save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now type in exit and login as mangos username.  You should have sudo rights now.&lt;br /&gt;
&lt;br /&gt;
Type in these commands to establish a build environment&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y autoconf automake clang cmake gcc g++ libtool make patch&lt;br /&gt;
sudo apt-get install -y cmake-curses-gui git-core&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this version of Rasbian, all software was installed without an error because they were in the repositories.&lt;br /&gt;
&lt;br /&gt;
=== Installing the Development headers ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y libace-dev libbz2-dev libmysqlclient-dev libncurses5-dev libreadline-dev libssl-dev zlib1g-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing the Database Server (MySQL) ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y mysql-server mysql-common mysql-client&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the root password for the MySQL server&lt;br /&gt;
&lt;br /&gt;
=== Creating and Setting Permissions for MySQL User ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
CREATE USER &#039;mangos&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;password&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for Password, use whatever you want and for user mangos, use whatever you want.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GRANT ALL PRIVILEGES ON `mangos\_%` . * TO &#039;mangos&#039;@&#039;localhost&#039;;&lt;br /&gt;
GRANT USAGE ON * . * TO &#039;mangos&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;password&#039; WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
again for username and password, use whatever you want, just ensure they match&lt;br /&gt;
&lt;br /&gt;
=== Creating the Mangos Databases ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CREATE DATABASE `mTwo_characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mTwo_realmd` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mTwo_world` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
FLUSH PRIVILEGES ;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Downloading the Mangos-Two Source from github and compiling ==&lt;br /&gt;
&lt;br /&gt;
While you are in user mode and not root, create the mangos source directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir mangos-two&lt;br /&gt;
cd mangos-two&lt;br /&gt;
** Case Sensitive, be sure to take note of this as the branches are different **&lt;br /&gt;
git clone --recursive -b develop21 https://github.com/mangoszero/server.git&lt;br /&gt;
git clone --recursive -b Develop21 https://github.com/mangoszero/database.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure to use the &#039;&#039;&#039;--recursive&#039;&#039;&#039; so git will pull in everything, without this your compile will fail&lt;br /&gt;
&lt;br /&gt;
=== Compiling Mangos ===&lt;br /&gt;
create the directories needed for build&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir -p /opt/mTwo/&lt;br /&gt;
sudo mkdir -p /opt/mTwo/logs/mangos-two/&lt;br /&gt;
sudo mkdir -p /opt/mTwo/share/mangos-two/&lt;br /&gt;
sudo chown -R mangos:mangos /opt/mTwo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd server&lt;br /&gt;
mkdir _build&lt;br /&gt;
cd _build&lt;br /&gt;
cmake -DCMAKE_INSTALL_PREFIX=/opt/mTwo -DCMAKE_BUILD_TYPE=Debug -DACE_USE_EXTERNAL=1 -DSOAP=1 ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DACE_USE_EXTERNAL=1 is important for the Tools to compile&lt;br /&gt;
&lt;br /&gt;
Now in the ~/mangos-two/server/_build directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*** Errors on compile because the ARM Processor in the Raspberry Pi doesn&#039;t have SSE2 instructions ***&lt;br /&gt;
**** STOP ****&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After a successful compile run this.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration of Mangos ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/etc&lt;br /&gt;
cp ahbot.conf.dist ahbot.conf&lt;br /&gt;
cp mangosd.conf.dist mangosd.conf&lt;br /&gt;
cp realmd.conf.dist realmd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano realmd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;LoginDatabaseInfo&#039;&#039;&#039; Variable looks like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;realmd&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_realmd&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then for mangosd.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano mangosd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The lines that need to be changed are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;realmd&amp;quot;&lt;br /&gt;
WorldDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;mangos&amp;quot;&lt;br /&gt;
CharacterDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;characters&amp;quot;&lt;br /&gt;
ScriptDev2DatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;mangos&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These lines should be changed to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_realm&amp;quot;&lt;br /&gt;
WorldDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_world&amp;quot;&lt;br /&gt;
CharacterDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_characters&amp;quot;&lt;br /&gt;
ScriptDev2DatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_scripts&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also in mangosd.conf, the &amp;quot;DataDir&amp;quot; needs to be changed from &amp;quot;.&amp;quot; to &amp;quot;/opt/mTwo/data&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Map Extraction ==&lt;br /&gt;
&lt;br /&gt;
Go into /opt/mTwo/bin and copy these files to your main World of Warcraft directory ( c:\program files\World of Warcraft in Windows.  You should know where it is )&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp map-extractor [WoW DIR]&lt;br /&gt;
cp vmap-extractor [WoW DIR]&lt;br /&gt;
cp vmap-assembler [WoW DIR]&lt;br /&gt;
cp mmap-generator [WoW DIR]&lt;br /&gt;
cp ExtractResources.sh [WoW DIR]&lt;br /&gt;
cp MoveMapGen.sh [WoW DIR]&lt;br /&gt;
cp offmesh.txt[WoW DIR]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to your WoW DIR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chown +x ExtractResources.sh&lt;br /&gt;
./ExtractResources.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer the questions, should take a while.  If you ever edit the offmesh.txt file, you have to re-run the ExtractResources.sh again.&lt;br /&gt;
&lt;br /&gt;
After it&#039;s done, Create a &#039;data&#039; directory in /opt/mTwo and copy the dbc,vmaps and mmaps directories to /opt/mTwo/data&lt;br /&gt;
&lt;br /&gt;
== Inserting Database Information ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/Realm/Setup&lt;br /&gt;
mysql -u root -p mTwo_realmd &amp;lt; realmdLoadDB.sql&lt;br /&gt;
cd ~/mangos-two/database/Character/Setup&lt;br /&gt;
mysql -u root -p mTwo_characters &amp;lt; characterLoadDB.sql&lt;br /&gt;
cd ~/mangos-two/database/World/Setup&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; mangosdLoadDB.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Inserting Table Information and Full DB ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/&lt;br /&gt;
&lt;br /&gt;
chmod +x make_full_WorldDB.sh&lt;br /&gt;
./make_full_WorldDB.sh&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; full_db.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running the Server ==&lt;br /&gt;
&lt;br /&gt;
=== Realmd (Realm Server) ===&lt;br /&gt;
&lt;br /&gt;
go to /opt/mTwo/bin and run the realmd server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
./realmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after running realmd and you get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/Realm/Updates/Rel20&lt;br /&gt;
mysql -u root -p mTwo_realm &amp;lt; update_the_SQL_file_it_was_screaming_for.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get realmd listening for connections at this time.&lt;br /&gt;
&lt;br /&gt;
=== Mangos (World Server) ===&lt;br /&gt;
go to /opt/mTwo/bin and run the mangosd server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
./mangosd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after running mangosd and you get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/World/Updates/Rel20&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; update_the_SQL_file_it_was_screaming_for.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get mangosd listening for connections at this time.&lt;br /&gt;
&lt;br /&gt;
== Finalizing running the server ==&lt;br /&gt;
&lt;br /&gt;
I use Screen so you&#039;ll have to install this&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install screen&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the /opt/mTwo/bin directory, create a file called runserver.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
screen -A -m -d -S mangosworld ./mangosd&lt;br /&gt;
&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
screen -A -m -d -S mangosrealm ./realmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save it and then chmod +x runserver.sh&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
If you have any issues with this, please feel free to email me at me@chrisfaulkner.org&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=MangosTwo_Install_-_Raspbian&amp;diff=64</id>
		<title>MangosTwo Install - Raspbian</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=MangosTwo_Install_-_Raspbian&amp;diff=64"/>
		<updated>2016-06-14T14:24:09Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This howto will be on how to get MangosTwo running on Rasbian on a RaspberryPi 2&lt;br /&gt;
&lt;br /&gt;
== Installing Rasbian ==&lt;br /&gt;
Download the Rasbian Image from the RaspberryPi Download page: [https://www.raspberrypi.org/downloads/raspbian/] and install it to your sd card.  For mine, I am going to use an 8GB card and use a USB Flash Drive as extra storage.  I&#039;m using the 2016-05-27-raspbian-jessie-lite.img image&lt;br /&gt;
&lt;br /&gt;
== Starting up basic Rasbian Environment ==&lt;br /&gt;
&lt;br /&gt;
After creating the sd card and booting into Rasbian, the default login is username: pi password: raspberry&lt;br /&gt;
&lt;br /&gt;
check ifconfig for your ip address as I will be running on eth0 (hard wire) until after the compile is complete, then I will switch to running the RaspberryPi as an AP hotspot to make a portable WoW server. (Amazing little boxes these are).&lt;br /&gt;
&lt;br /&gt;
First thing is to update the OS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, reboot and log back in&lt;br /&gt;
&lt;br /&gt;
== Setting up Build Environment for Mangos ==&lt;br /&gt;
You can immediately SSH in now as the process is already running.&lt;br /&gt;
&lt;br /&gt;
After logging in, Add the user mangos and edit the /etc/sudoers file and add the mangos username&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo adduser mangos&lt;br /&gt;
&lt;br /&gt;
edit /etc/sudoers&lt;br /&gt;
&lt;br /&gt;
Add under &#039;User Privilege Section&#039; underneath root&lt;br /&gt;
&lt;br /&gt;
mangos ALL=(ALL) NOPASSWD: ALL&lt;br /&gt;
&lt;br /&gt;
Exit and save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now type in exit and login as mangos username.  You should have sudo rights now.&lt;br /&gt;
&lt;br /&gt;
Type in these commands to establish a build environment&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y autoconf automake clang cmake gcc g++ libtool make patch&lt;br /&gt;
sudo apt-get install -y cmake-curses-gui git-core&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I had an issue with these commands not being found so I had to add the default repos in /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://http.debian.net/debian wheezy main&lt;br /&gt;
deb-src http://http.debian.net/debian wheezy main&lt;br /&gt;
&lt;br /&gt;
deb http://http.debian.net/debian wheezy-updates main&lt;br /&gt;
deb-src http://http.debian.net/debian wheezy-updates main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
to update the repos&lt;br /&gt;
&lt;br /&gt;
=== Installing the Development headers ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y libace-dev libbz2-dev libmysqlclient-dev libncurses5-dev libreadline-dev libssl-dev zlib1g-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing the Database Server (MySQL) ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y mysql-server mysql-common mysql-client&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the root password for the MySQL server&lt;br /&gt;
&lt;br /&gt;
=== Creating and Setting Permissions for MySQL User ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
CREATE USER &#039;mangos&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;password&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for Password, use whatever you want and for user mangos, use whatever you want.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GRANT ALL PRIVILEGES ON `mangos\_%` . * TO &#039;mangos&#039;@&#039;localhost&#039;;&lt;br /&gt;
GRANT USAGE ON * . * TO &#039;mangos&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;password&#039; WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
again for username and password, use whatever you want, just ensure they match&lt;br /&gt;
&lt;br /&gt;
=== Creating the Mangos Databases ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
CREATE DATABASE `mTwo_characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mTwo_realmd` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mTwo_world` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
FLUSH PRIVILEGES ;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Downloading the Mangos-Two Source from github and compiling ==&lt;br /&gt;
&lt;br /&gt;
While you are in user mode and not root, create the mangos source directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir mangos-two&lt;br /&gt;
cd mangos-two&lt;br /&gt;
** Case Sensitive, be sure to take note of this as the branches are different **&lt;br /&gt;
git clone --recursive -b develop21 https://github.com/mangoszero/server.git&lt;br /&gt;
git clone --recursive -b Develop21 https://github.com/mangoszero/database.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure to use the &#039;&#039;&#039;--recursive&#039;&#039;&#039; so git will pull in everything, without this your compile will fail&lt;br /&gt;
&lt;br /&gt;
=== Compiling Mangos ===&lt;br /&gt;
create the directories needed for build&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir -p /opt/mTwo/&lt;br /&gt;
sudo mkdir -p /opt/mTwo/logs/mangos-two/&lt;br /&gt;
sudo mkdir -p /opt/mTwo/share/mangos-two/&lt;br /&gt;
sudo chown -R mangos:mangos mTwo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd server&lt;br /&gt;
mkdir _build&lt;br /&gt;
cd _build&lt;br /&gt;
cmake -DCMAKE_INSTALL_PREFIX=/opt/mTwo -DCMAKE_BUILD_TYPE=Debug -DACE_USE_EXTERNAL=1 -DSOAP=1 &lt;br /&gt;
..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DACE_USE_EXTERNAL=1 is important for the Tools to compile&lt;br /&gt;
&lt;br /&gt;
Now in the ~/mangos-two/server/_build directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After a successful compile run this.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration of Mangos ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/etc&lt;br /&gt;
cp ahbot.conf.dist ahbot.conf&lt;br /&gt;
cp mangosd.conf.dist mangosd.conf&lt;br /&gt;
cp realmd.conf.dist realmd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano realmd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;LoginDatabaseInfo&#039;&#039;&#039; Variable looks like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;realmd&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_realmd&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then for mangosd.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano mangosd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The lines that need to be changed are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;realmd&amp;quot;&lt;br /&gt;
WorldDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;mangos&amp;quot;&lt;br /&gt;
CharacterDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;characters&amp;quot;&lt;br /&gt;
ScriptDev2DatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;mangos&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These lines should be changed to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_realm&amp;quot;&lt;br /&gt;
WorldDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_world&amp;quot;&lt;br /&gt;
CharacterDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_characters&amp;quot;&lt;br /&gt;
ScriptDev2DatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_scripts&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also in mangosd.conf, the &amp;quot;DataDir&amp;quot; needs to be changed from &amp;quot;.&amp;quot; to &amp;quot;/opt/mTwo/data&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Map Extraction ==&lt;br /&gt;
&lt;br /&gt;
Go into /opt/mTwo/bin and copy these files to your main World of Warcraft directory ( c:\program files\World of Warcraft in Windows.  You should know where it is )&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp map-extractor [WoW DIR]&lt;br /&gt;
cp vmap-extractor [WoW DIR]&lt;br /&gt;
cp vmap-assembler [WoW DIR]&lt;br /&gt;
cp mmap-generator [WoW DIR]&lt;br /&gt;
cp ExtractResources.sh [WoW DIR]&lt;br /&gt;
cp MoveMapGen.sh [WoW DIR]&lt;br /&gt;
cp offmesh.txt[WoW DIR]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to your WoW DIR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chown +x ExtractResources.sh&lt;br /&gt;
./ExtractResources.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer the questions, should take a while.  If you ever edit the offmesh.txt file, you have to re-run the ExtractResources.sh again.&lt;br /&gt;
&lt;br /&gt;
After it&#039;s done, Create a &#039;data&#039; directory in /opt/mTwo and copy the dbc,vmaps and mmaps directories to /opt/mTwo/data&lt;br /&gt;
&lt;br /&gt;
== Inserting Database Information ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/Realm/Setup&lt;br /&gt;
mysql -u root -p mTwo_realmd &amp;lt; realmdLoadDB.sql&lt;br /&gt;
cd ~/mangos-two/database/Character/Setup&lt;br /&gt;
mysql -u root -p mTwo_characters &amp;lt; characterLoadDB.sql&lt;br /&gt;
cd ~/mangos-two/database/World/Setup&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; mangosdLoadDB.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Inserting Table Information and Full DB ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/&lt;br /&gt;
&lt;br /&gt;
chmod +x make_full_WorldDB.sh&lt;br /&gt;
./make_full_WorldDB.sh&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; full_db.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running the Server ==&lt;br /&gt;
&lt;br /&gt;
=== Realmd (Realm Server) ===&lt;br /&gt;
&lt;br /&gt;
go to /opt/mTwo/bin and run the realmd server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
./realmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after running realmd and you get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/Realm/Updates/Rel20&lt;br /&gt;
mysql -u root -p mTwo_realm &amp;lt; update_the_SQL_file_it_was_screaming_for.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get realmd listening for connections at this time.&lt;br /&gt;
&lt;br /&gt;
=== Mangos (World Server) ===&lt;br /&gt;
go to /opt/mTwo/bin and run the mangosd server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
./mangosd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after running mangosd and you get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/World/Updates/Rel20&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; update_the_SQL_file_it_was_screaming_for.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get mangosd listening for connections at this time.&lt;br /&gt;
&lt;br /&gt;
== Finalizing running the server ==&lt;br /&gt;
&lt;br /&gt;
I use Screen so you&#039;ll have to install this&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install screen&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the /opt/mTwo/bin directory, create a file called runserver.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
screen -A -m -d -S mangosworld ./mangosd&lt;br /&gt;
&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
screen -A -m -d -S mangosrealm ./realmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save it and then chmod +x runserver.sh&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
If you have any issues with this, please feel free to email me at me@chrisfaulkner.org&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=MangosTwo_Install_-_Raspbian&amp;diff=63</id>
		<title>MangosTwo Install - Raspbian</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=MangosTwo_Install_-_Raspbian&amp;diff=63"/>
		<updated>2016-06-14T14:10:48Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: Created page with &amp;quot;This howto will be on how to get MangosTwo running on Rasbian on a RaspberryPi 2  == Installing Rasbian == Download the Rasbian Image from the RaspberryPi Download page: [http...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This howto will be on how to get MangosTwo running on Rasbian on a RaspberryPi 2&lt;br /&gt;
&lt;br /&gt;
== Installing Rasbian ==&lt;br /&gt;
Download the Rasbian Image from the RaspberryPi Download page: [https://www.raspberrypi.org/downloads/raspbian/] and install it to your sd card.  For mine, I am going to use an 8GB card and use a USB Flash Drive as extra storage.  I&#039;m using the 2016-05-27-raspbian-jessie-lite.img image&lt;br /&gt;
&lt;br /&gt;
== Starting up basic Rasbian Environment ==&lt;br /&gt;
&lt;br /&gt;
After creating the sd card and booting into Rasbian, the default login is username: pi password: raspberry&lt;br /&gt;
&lt;br /&gt;
check ifconfig for your ip address as I will be running on eth0 (hard wire) until after the compile is complete, then I will switch to running the RaspberryPi as an AP hotspot to make a portable WoW server. (Amazing little boxes these are).&lt;br /&gt;
&lt;br /&gt;
First thing is to update the OS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, reboot and log back in&lt;br /&gt;
&lt;br /&gt;
== Setting up Build Environment for Mangos ==&lt;br /&gt;
&lt;br /&gt;
Login as root, we need to install a few things first.  After looking at top, I only have 58 processes total running and about 56k of RAM used.  not bad at all.  We want the OS to be as trim as possible, that is one of the goals for this article.&lt;br /&gt;
&lt;br /&gt;
As root, type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install sudo ssh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After install of sudo, Add the user mangos and edit the /etc/sudoers file and add the mangos username&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
adduser mangos&lt;br /&gt;
&lt;br /&gt;
edit /etc/sudoers&lt;br /&gt;
&lt;br /&gt;
Add under &#039;User Privilege Section&#039; underneath root&lt;br /&gt;
mangos    ALL=(ALL:ALL) ALL&lt;br /&gt;
&lt;br /&gt;
Exit and save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now type in exit and login as mangos username.  You should have sudo rights now.&lt;br /&gt;
&lt;br /&gt;
Type in these commands to establish a build environment&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y autoconf automake clang cmake gcc g++ libtool make patch&lt;br /&gt;
sudo apt-get install -y cmake-curses-gui git-core&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I had an issue with these commands not being found so I had to add the default repos in /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://http.debian.net/debian wheezy main&lt;br /&gt;
deb-src http://http.debian.net/debian wheezy main&lt;br /&gt;
&lt;br /&gt;
deb http://http.debian.net/debian wheezy-updates main&lt;br /&gt;
deb-src http://http.debian.net/debian wheezy-updates main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
to update the repos&lt;br /&gt;
&lt;br /&gt;
=== Installing the Development headers ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y libace-dev libbz2-dev libmysqlclient-dev libncurses5-dev libreadline-dev libssl-dev zlib1g-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing the Database Server (MySQL) ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y mysql-server mysql-common mysql-client&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the root password for the MySQL server&lt;br /&gt;
&lt;br /&gt;
=== Creating and Setting Permissions for MySQL User ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
CREATE USER &#039;mangos&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;password&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for Password, use whatever you want and for user mangos, use whatever you want.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GRANT ALL PRIVILEGES ON `mangos\_%` . * TO &#039;mangos&#039;@&#039;localhost&#039;;&lt;br /&gt;
GRANT USAGE ON * . * TO &#039;mangos&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;password&#039; WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
again for username and password, use whatever you want, just ensure they match&lt;br /&gt;
&lt;br /&gt;
=== Creating the Mangos Databases ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
CREATE DATABASE `mTwo_characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mTwo_realmd` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mTwo_world` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
FLUSH PRIVILEGES ;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Downloading the Mangos-Two Source from github and compiling ==&lt;br /&gt;
&lt;br /&gt;
While you are in user mode and not root, create the mangos source directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir mangos-two&lt;br /&gt;
cd mangos-two&lt;br /&gt;
** Case Sensitive, be sure to take note of this as the branches are different **&lt;br /&gt;
git clone --recursive -b develop21 https://github.com/mangoszero/server.git&lt;br /&gt;
git clone --recursive -b Develop21 https://github.com/mangoszero/database.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure to use the &#039;&#039;&#039;--recursive&#039;&#039;&#039; so git will pull in everything, without this your compile will fail&lt;br /&gt;
&lt;br /&gt;
=== Compiling Mangos ===&lt;br /&gt;
create the directories needed for build&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir -p /opt/mTwo/&lt;br /&gt;
sudo mkdir -p /opt/mTwo/logs/mangos-two/&lt;br /&gt;
sudo mkdir -p /opt/mTwo/share/mangos-two/&lt;br /&gt;
sudo chown -R mangos:mangos mTwo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd server&lt;br /&gt;
mkdir _build&lt;br /&gt;
cd _build&lt;br /&gt;
cmake -DCMAKE_INSTALL_PREFIX=/opt/mTwo -DCMAKE_BUILD_TYPE=Debug -DACE_USE_EXTERNAL=1 -DSOAP=1 &lt;br /&gt;
..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DACE_USE_EXTERNAL=1 is important for the Tools to compile&lt;br /&gt;
&lt;br /&gt;
Now in the ~/mangos-two/server/_build directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After a successful compile run this.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration of Mangos ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/etc&lt;br /&gt;
cp ahbot.conf.dist ahbot.conf&lt;br /&gt;
cp mangosd.conf.dist mangosd.conf&lt;br /&gt;
cp realmd.conf.dist realmd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano realmd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;LoginDatabaseInfo&#039;&#039;&#039; Variable looks like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;realmd&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_realmd&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then for mangosd.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano mangosd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The lines that need to be changed are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;realmd&amp;quot;&lt;br /&gt;
WorldDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;mangos&amp;quot;&lt;br /&gt;
CharacterDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;characters&amp;quot;&lt;br /&gt;
ScriptDev2DatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;mangos&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These lines should be changed to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_realm&amp;quot;&lt;br /&gt;
WorldDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_world&amp;quot;&lt;br /&gt;
CharacterDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_characters&amp;quot;&lt;br /&gt;
ScriptDev2DatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_scripts&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also in mangosd.conf, the &amp;quot;DataDir&amp;quot; needs to be changed from &amp;quot;.&amp;quot; to &amp;quot;/opt/mTwo/data&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Map Extraction ==&lt;br /&gt;
&lt;br /&gt;
Go into /opt/mTwo/bin and copy these files to your main World of Warcraft directory ( c:\program files\World of Warcraft in Windows.  You should know where it is )&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp map-extractor [WoW DIR]&lt;br /&gt;
cp vmap-extractor [WoW DIR]&lt;br /&gt;
cp vmap-assembler [WoW DIR]&lt;br /&gt;
cp mmap-generator [WoW DIR]&lt;br /&gt;
cp ExtractResources.sh [WoW DIR]&lt;br /&gt;
cp MoveMapGen.sh [WoW DIR]&lt;br /&gt;
cp offmesh.txt[WoW DIR]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to your WoW DIR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chown +x ExtractResources.sh&lt;br /&gt;
./ExtractResources.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer the questions, should take a while.  If you ever edit the offmesh.txt file, you have to re-run the ExtractResources.sh again.&lt;br /&gt;
&lt;br /&gt;
After it&#039;s done, Create a &#039;data&#039; directory in /opt/mTwo and copy the dbc,vmaps and mmaps directories to /opt/mTwo/data&lt;br /&gt;
&lt;br /&gt;
== Inserting Database Information ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/Realm/Setup&lt;br /&gt;
mysql -u root -p mTwo_realmd &amp;lt; realmdLoadDB.sql&lt;br /&gt;
cd ~/mangos-two/database/Character/Setup&lt;br /&gt;
mysql -u root -p mTwo_characters &amp;lt; characterLoadDB.sql&lt;br /&gt;
cd ~/mangos-two/database/World/Setup&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; mangosdLoadDB.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Inserting Table Information and Full DB ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/&lt;br /&gt;
&lt;br /&gt;
chmod +x make_full_WorldDB.sh&lt;br /&gt;
./make_full_WorldDB.sh&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; full_db.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running the Server ==&lt;br /&gt;
&lt;br /&gt;
=== Realmd (Realm Server) ===&lt;br /&gt;
&lt;br /&gt;
go to /opt/mTwo/bin and run the realmd server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
./realmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after running realmd and you get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/Realm/Updates/Rel20&lt;br /&gt;
mysql -u root -p mTwo_realm &amp;lt; update_the_SQL_file_it_was_screaming_for.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get realmd listening for connections at this time.&lt;br /&gt;
&lt;br /&gt;
=== Mangos (World Server) ===&lt;br /&gt;
go to /opt/mTwo/bin and run the mangosd server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
./mangosd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after running mangosd and you get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/World/Updates/Rel20&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; update_the_SQL_file_it_was_screaming_for.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get mangosd listening for connections at this time.&lt;br /&gt;
&lt;br /&gt;
== Finalizing running the server ==&lt;br /&gt;
&lt;br /&gt;
I use Screen so you&#039;ll have to install this&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install screen&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the /opt/mTwo/bin directory, create a file called runserver.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
screen -A -m -d -S mangosworld ./mangosd&lt;br /&gt;
&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
screen -A -m -d -S mangosrealm ./realmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save it and then chmod +x runserver.sh&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
If you have any issues with this, please feel free to email me at me@chrisfaulkner.org&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=MangosTwo_Install_-_Debian&amp;diff=62</id>
		<title>MangosTwo Install - Debian</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=MangosTwo_Install_-_Debian&amp;diff=62"/>
		<updated>2016-06-13T15:54:47Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This howto will be on how to get MangosTwo running on Debian in VirtualBox as Windows 7 64 Bit as the host&lt;br /&gt;
&lt;br /&gt;
== Installing VirtualBox ==&lt;br /&gt;
This part should be self-explanatory, I may recap on certain settings like BIOS and other default settings&lt;br /&gt;
&lt;br /&gt;
== Starting up Virtual box and Installing the base operating system ==&lt;br /&gt;
&lt;br /&gt;
Create a new virtual machine, I&#039;m going with a 64-bit install with Debian 7.2.0 ISOs. 512MB ram, create a 20GB dynamic partition.  After the new virtual machine has been set up, give the server 12MB of video ram which is more than enough to run a server.&lt;br /&gt;
&lt;br /&gt;
Start the server, and select your settings as you wish.&lt;br /&gt;
&lt;br /&gt;
When installing packages, only install what you need because we want this server to be as trim as possible.  No Desktop, XWindow or gui, just a straight server.&lt;br /&gt;
&lt;br /&gt;
On the Software Selection screen, Unselect Everything but the standard system utilities.&lt;br /&gt;
&lt;br /&gt;
Install the Grub boot loader&lt;br /&gt;
&lt;br /&gt;
== Setting up Build Environment for Mangos ==&lt;br /&gt;
&lt;br /&gt;
Login as root, we need to install a few things first.  After looking at top, I only have 58 processes total running and about 56k of RAM used.  not bad at all.  We want the OS to be as trim as possible, that is one of the goals for this article.&lt;br /&gt;
&lt;br /&gt;
As root, type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install sudo ssh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After install of sudo, Add the user mangos and edit the /etc/sudoers file and add the mangos username&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
adduser mangos&lt;br /&gt;
&lt;br /&gt;
edit /etc/sudoers&lt;br /&gt;
&lt;br /&gt;
Add under &#039;User Privilege Section&#039; underneath root&lt;br /&gt;
mangos    ALL=(ALL:ALL) ALL&lt;br /&gt;
&lt;br /&gt;
Exit and save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now type in exit and login as mangos username.  You should have sudo rights now.&lt;br /&gt;
&lt;br /&gt;
Type in these commands to establish a build environment&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y autoconf automake clang cmake gcc g++ libtool make patch&lt;br /&gt;
sudo apt-get install -y cmake-curses-gui git-core&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I had an issue with these commands not being found so I had to add the default repos in /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://http.debian.net/debian wheezy main&lt;br /&gt;
deb-src http://http.debian.net/debian wheezy main&lt;br /&gt;
&lt;br /&gt;
deb http://http.debian.net/debian wheezy-updates main&lt;br /&gt;
deb-src http://http.debian.net/debian wheezy-updates main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
to update the repos&lt;br /&gt;
&lt;br /&gt;
=== Installing the Development headers ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y libace-dev libbz2-dev libmysqlclient-dev libncurses5-dev libreadline-dev libssl-dev zlib1g-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing the Database Server (MySQL) ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y mysql-server mysql-common mysql-client&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the root password for the MySQL server&lt;br /&gt;
&lt;br /&gt;
=== Creating and Setting Permissions for MySQL User ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
CREATE USER &#039;mangos&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;password&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for Password, use whatever you want and for user mangos, use whatever you want.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GRANT ALL PRIVILEGES ON `mangos\_%` . * TO &#039;mangos&#039;@&#039;localhost&#039;;&lt;br /&gt;
GRANT USAGE ON * . * TO &#039;mangos&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;password&#039; WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
again for username and password, use whatever you want, just ensure they match&lt;br /&gt;
&lt;br /&gt;
=== Creating the Mangos Databases ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
CREATE DATABASE `mTwo_characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mTwo_realmd` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mTwo_world` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
FLUSH PRIVILEGES ;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Downloading the Mangos-Two Source from github and compiling ==&lt;br /&gt;
&lt;br /&gt;
While you are in user mode and not root, create the mangos source directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir mangos-two&lt;br /&gt;
cd mangos-two&lt;br /&gt;
** Case Sensitive, be sure to take note of this as the branches are different **&lt;br /&gt;
git clone --recursive -b develop21 https://github.com/mangoszero/server.git&lt;br /&gt;
git clone --recursive -b Develop21 https://github.com/mangoszero/database.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure to use the &#039;&#039;&#039;--recursive&#039;&#039;&#039; so git will pull in everything, without this your compile will fail&lt;br /&gt;
&lt;br /&gt;
=== Compiling Mangos ===&lt;br /&gt;
create the directories needed for build&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir -p /opt/mTwo/&lt;br /&gt;
sudo mkdir -p /opt/mTwo/logs/mangos-two/&lt;br /&gt;
sudo mkdir -p /opt/mTwo/share/mangos-two/&lt;br /&gt;
sudo chown -R mangos:mangos mTwo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd server&lt;br /&gt;
mkdir _build&lt;br /&gt;
cd _build&lt;br /&gt;
cmake -DCMAKE_INSTALL_PREFIX=/opt/mTwo -DCMAKE_BUILD_TYPE=Debug -DACE_USE_EXTERNAL=1 -DSOAP=1 &lt;br /&gt;
..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DACE_USE_EXTERNAL=1 is important for the Tools to compile&lt;br /&gt;
&lt;br /&gt;
Now in the ~/mangos-two/server/_build directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After a successful compile run this.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration of Mangos ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/etc&lt;br /&gt;
cp ahbot.conf.dist ahbot.conf&lt;br /&gt;
cp mangosd.conf.dist mangosd.conf&lt;br /&gt;
cp realmd.conf.dist realmd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano realmd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;LoginDatabaseInfo&#039;&#039;&#039; Variable looks like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;realmd&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_realmd&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then for mangosd.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano mangosd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The lines that need to be changed are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;realmd&amp;quot;&lt;br /&gt;
WorldDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;mangos&amp;quot;&lt;br /&gt;
CharacterDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;characters&amp;quot;&lt;br /&gt;
ScriptDev2DatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;mangos&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These lines should be changed to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_realm&amp;quot;&lt;br /&gt;
WorldDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_world&amp;quot;&lt;br /&gt;
CharacterDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_characters&amp;quot;&lt;br /&gt;
ScriptDev2DatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_scripts&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also in mangosd.conf, the &amp;quot;DataDir&amp;quot; needs to be changed from &amp;quot;.&amp;quot; to &amp;quot;/opt/mTwo/data&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Map Extraction ==&lt;br /&gt;
&lt;br /&gt;
Go into /opt/mTwo/bin and copy these files to your main World of Warcraft directory ( c:\program files\World of Warcraft in Windows.  You should know where it is )&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp map-extractor [WoW DIR]&lt;br /&gt;
cp vmap-extractor [WoW DIR]&lt;br /&gt;
cp vmap-assembler [WoW DIR]&lt;br /&gt;
cp mmap-generator [WoW DIR]&lt;br /&gt;
cp ExtractResources.sh [WoW DIR]&lt;br /&gt;
cp MoveMapGen.sh [WoW DIR]&lt;br /&gt;
cp offmesh.txt[WoW DIR]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to your WoW DIR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chown +x ExtractResources.sh&lt;br /&gt;
./ExtractResources.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer the questions, should take a while.  If you ever edit the offmesh.txt file, you have to re-run the ExtractResources.sh again.&lt;br /&gt;
&lt;br /&gt;
After it&#039;s done, Create a &#039;data&#039; directory in /opt/mTwo and copy the dbc,vmaps and mmaps directories to /opt/mTwo/data&lt;br /&gt;
&lt;br /&gt;
== Inserting Database Information ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/Realm/Setup&lt;br /&gt;
mysql -u root -p mTwo_realmd &amp;lt; realmdLoadDB.sql&lt;br /&gt;
cd ~/mangos-two/database/Character/Setup&lt;br /&gt;
mysql -u root -p mTwo_characters &amp;lt; characterLoadDB.sql&lt;br /&gt;
cd ~/mangos-two/database/World/Setup&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; mangosdLoadDB.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Inserting Table Information and Full DB ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/&lt;br /&gt;
&lt;br /&gt;
chmod +x make_full_WorldDB.sh&lt;br /&gt;
./make_full_WorldDB.sh&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; full_db.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running the Server ==&lt;br /&gt;
&lt;br /&gt;
=== Realmd (Realm Server) ===&lt;br /&gt;
&lt;br /&gt;
go to /opt/mTwo/bin and run the realmd server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
./realmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after running realmd and you get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/Realm/Updates/Rel20&lt;br /&gt;
mysql -u root -p mTwo_realm &amp;lt; update_the_SQL_file_it_was_screaming_for.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get realmd listening for connections at this time.&lt;br /&gt;
&lt;br /&gt;
=== Mangos (World Server) ===&lt;br /&gt;
go to /opt/mTwo/bin and run the mangosd server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
./mangosd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after running mangosd and you get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/World/Updates/Rel20&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; update_the_SQL_file_it_was_screaming_for.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get mangosd listening for connections at this time.&lt;br /&gt;
&lt;br /&gt;
== Finalizing running the server ==&lt;br /&gt;
&lt;br /&gt;
I use Screen so you&#039;ll have to install this&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install screen&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the /opt/mTwo/bin directory, create a file called runserver.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
screen -A -m -d -S mangosworld ./mangosd&lt;br /&gt;
&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
screen -A -m -d -S mangosrealm ./realmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save it and then chmod +x runserver.sh&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
If you have any issues with this, please feel free to email me at me@chrisfaulkner.org&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=MangosTwo_Install_-_Debian&amp;diff=61</id>
		<title>MangosTwo Install - Debian</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=MangosTwo_Install_-_Debian&amp;diff=61"/>
		<updated>2016-06-13T15:13:49Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This howto will be on how to get MangosTwo running on Debian in VirtualBox as Windows 7 64 Bit as the host&lt;br /&gt;
&lt;br /&gt;
== Installing VirtualBox ==&lt;br /&gt;
This part should be self-explanatory, I may recap on certain settings like BIOS and other default settings&lt;br /&gt;
&lt;br /&gt;
== Starting up Virtual box and Installing the base operating system ==&lt;br /&gt;
&lt;br /&gt;
Create a new virtual machine, I&#039;m going with a 64-bit install with Debian 7.2.0 ISOs. 512MB ram, create a 20GB dynamic partition.  After the new virtual machine has been set up, give the server 12MB of video ram which is more than enough to run a server.&lt;br /&gt;
&lt;br /&gt;
Start the server, and select your settings as you wish.&lt;br /&gt;
&lt;br /&gt;
When installing packages, only install what you need because we want this server to be as trim as possible.  No Desktop, XWindow or gui, just a straight server.&lt;br /&gt;
&lt;br /&gt;
On the Software Selection screen, Unselect Everything but the standard system utilities.&lt;br /&gt;
&lt;br /&gt;
Install the Grub boot loader&lt;br /&gt;
&lt;br /&gt;
== Setting up Build Environment for Mangos ==&lt;br /&gt;
&lt;br /&gt;
Login as root, we need to install a few things first.  After looking at top, I only have 58 processes total running and about 56k of RAM used.  not bad at all.  We want the OS to be as trim as possible, that is one of the goals for this article.&lt;br /&gt;
&lt;br /&gt;
As root, type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install sudo ssh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After install of sudo, Add the user mangos and edit the /etc/sudoers file and add the mangos username&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
adduser mangos&lt;br /&gt;
&lt;br /&gt;
edit /etc/sudoers&lt;br /&gt;
&lt;br /&gt;
Add under &#039;User Privilege Section&#039; underneath root&lt;br /&gt;
mangos    ALL=(ALL:ALL) ALL&lt;br /&gt;
&lt;br /&gt;
Exit and save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now type in exit and login as mangos username.  You should have sudo rights now.&lt;br /&gt;
&lt;br /&gt;
Type in these commands to establish a build environment&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y autoconf automake clang cmake gcc g++ libtool make patch&lt;br /&gt;
sudo apt-get install -y cmake-curses-gui git-core&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I had an issue with these commands not being found so I had to add the default repos in /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://http.debian.net/debian wheezy main&lt;br /&gt;
deb-src http://http.debian.net/debian wheezy main&lt;br /&gt;
&lt;br /&gt;
deb http://http.debian.net/debian wheezy-updates main&lt;br /&gt;
deb-src http://http.debian.net/debian wheezy-updates main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
to update the repos&lt;br /&gt;
&lt;br /&gt;
=== Installing the Development headers ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y libace-dev libbz2-dev libmysqlclient-dev libncurses5-dev libreadline-dev libssl-dev zlib1g-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing the Database Server (MySQL) ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y mysql-server mysql-common mysql-client&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the root password for the MySQL server&lt;br /&gt;
&lt;br /&gt;
=== Creating and Setting Permissions for MySQL User ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
CREATE USER &#039;mangos&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;password&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for Password, use whatever you want and for user mangos, use whatever you want.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GRANT ALL PRIVILEGES ON `mangos\_%` . * TO &#039;mangos&#039;@&#039;localhost&#039;;&lt;br /&gt;
GRANT USAGE ON * . * TO &#039;mangos&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;password&#039; WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
again for username and password, use whatever you want, just ensure they match&lt;br /&gt;
&lt;br /&gt;
=== Creating the Mangos Databases ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
CREATE DATABASE `mTwo_characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mTwo_realm` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mTwo_world` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
FLUSH PRIVILEGES ;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Downloading the Mangos-Two Source from github and compiling ==&lt;br /&gt;
&lt;br /&gt;
While you are in user mode and not root, create the mangos source directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir mangos-two&lt;br /&gt;
cd mangos-two&lt;br /&gt;
** Case Sensitive, be sure to take note of this as the branches are different **&lt;br /&gt;
git clone --recursive -b develop21 https://github.com/mangoszero/server.git&lt;br /&gt;
git clone --recursive -b Develop21 https://github.com/mangoszero/database.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure to use the &#039;&#039;&#039;--recursive&#039;&#039;&#039; so git will pull in everything, without this your compile will fail&lt;br /&gt;
&lt;br /&gt;
=== Compiling Mangos ===&lt;br /&gt;
create the directories needed for build&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir -p /opt/mTwo/&lt;br /&gt;
sudo mkdir -p /opt/mTwo/logs/mangos-two/&lt;br /&gt;
sudo mkdir -p /opt/mTwo/share/mangos-two/&lt;br /&gt;
sudo chown -R mangos:mangos mTwo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd server&lt;br /&gt;
mkdir _build&lt;br /&gt;
cd _build&lt;br /&gt;
cmake -DCMAKE_INSTALL_PREFIX=/opt/mTwo -DDEBUG=1 -DBUILD_TOOLS=1 -DACE_USE_EXTERNAL=1 ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DACE_USE_EXTERNAL=1 is important for the Tools to compile&lt;br /&gt;
&lt;br /&gt;
Now in the ~/mangos-two/server/_build directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After a successful compile run this.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration of Mangos ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/etc&lt;br /&gt;
cp ahbot.conf.dist ahbot.conf&lt;br /&gt;
cp mangosd.conf.dist mangosd.conf&lt;br /&gt;
cp realmd.conf.dist realmd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano realmd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;LoginDatabaseInfo&#039;&#039;&#039; Variable looks like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;realmd&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_realm&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then for mangosd.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano mangosd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The lines that need to be changed are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;realmd&amp;quot;&lt;br /&gt;
WorldDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;mangos&amp;quot;&lt;br /&gt;
CharacterDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;characters&amp;quot;&lt;br /&gt;
ScriptDev2DatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;mangos&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These lines should be changed to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_realm&amp;quot;&lt;br /&gt;
WorldDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_world&amp;quot;&lt;br /&gt;
CharacterDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_characters&amp;quot;&lt;br /&gt;
ScriptDev2DatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_scripts&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Map Extraction ==&lt;br /&gt;
&lt;br /&gt;
Go into /opt/mTwo/bin and copy these files to your main World of Warcraft directory ( c:\program files\World of Warcraft in Windows.  You should know where it is )&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp map-extractor [WoW DIR]&lt;br /&gt;
cp vmap-extractor [WoW DIR]&lt;br /&gt;
cp vmap-assembler [WoW DIR]&lt;br /&gt;
cp mmap-generator [WoW DIR]&lt;br /&gt;
cp ExtractResources.sh [WoW DIR]&lt;br /&gt;
cp MoveMapGen.sh [WoW DIR]&lt;br /&gt;
cp offmesh.txt[WoW DIR]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to your WoW DIR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chown +x ExtractResources.sh&lt;br /&gt;
./ExtractResources.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer the questions, should take a while.  If you ever edit the offmesh.txt file, you have to re-run the ExtractResources.sh again.&lt;br /&gt;
&lt;br /&gt;
After it&#039;s done, Create a &#039;data&#039; directory in /opt/mTwo and copy the dbc,vmaps and mmaps directories to /opt/mTwo/data&lt;br /&gt;
&lt;br /&gt;
== Inserting Database Information ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/Realm/Setup&lt;br /&gt;
mysql -u root -p mTwo_realm &amp;lt; realmdLoadDB.sql&lt;br /&gt;
cd ~/mangos-two/database/Character/Setup&lt;br /&gt;
mysql -u root -p mTwo_characters &amp;lt; characterLoadDB.sql&lt;br /&gt;
cd ~/mangos-two/database/World/Setup&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; mangosdLoadDB.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Inserting Table Information and Full DB ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/&lt;br /&gt;
&lt;br /&gt;
chmod +x make_full_WorldDB.sh&lt;br /&gt;
./make_full_WorldDB.sh&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; full_db.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running the Server ==&lt;br /&gt;
&lt;br /&gt;
=== Realmd (Realm Server) ===&lt;br /&gt;
&lt;br /&gt;
go to /opt/mTwo/bin and run the realmd server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
./realmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after running realmd and you get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/Realm/Updates/Rel20&lt;br /&gt;
mysql -u root -p mTwo_realm &amp;lt; update_the_SQL_file_it_was_screaming_for.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get realmd listening for connections at this time.&lt;br /&gt;
&lt;br /&gt;
=== Mangos (World Server) ===&lt;br /&gt;
go to /opt/mTwo/bin and run the mangosd server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
./mangosd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after running mangosd and you get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/World/Updates/Rel20&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; update_the_SQL_file_it_was_screaming_for.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get mangosd listening for connections at this time.&lt;br /&gt;
&lt;br /&gt;
== Finalizing running the server ==&lt;br /&gt;
&lt;br /&gt;
I use Screen so you&#039;ll have to install this&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install screen&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the /opt/mTwo/bin directory, create a file called runserver.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
screen -A -m -d -S mangosworld ./mangosd&lt;br /&gt;
&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
screen -A -m -d -S mangosrealm ./realmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save it and then chmod +x runserver.sh&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
If you have any issues with this, please feel free to email me at me@chrisfaulkner.org&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=MangosTwo_Install_-_Debian&amp;diff=60</id>
		<title>MangosTwo Install - Debian</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=MangosTwo_Install_-_Debian&amp;diff=60"/>
		<updated>2016-06-13T15:04:47Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: Created page with &amp;quot;This howto will be on how to get MangosTwo running on Debian in VirtualBox as Windows 7 64 Bit as the host  == Installing VirtualBox == This part should be self-explanatory, I...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This howto will be on how to get MangosTwo running on Debian in VirtualBox as Windows 7 64 Bit as the host&lt;br /&gt;
&lt;br /&gt;
== Installing VirtualBox ==&lt;br /&gt;
This part should be self-explanatory, I may recap on certain settings like BIOS and other default settings&lt;br /&gt;
&lt;br /&gt;
== Starting up Virtual box and Installing the base operating system ==&lt;br /&gt;
&lt;br /&gt;
Create a new virtual machine, I&#039;m going with a 64-bit install with Debian 7.2.0 ISOs. 512MB ram, create a 20GB dynamic partition.  After the new virtual machine has been set up, give the server 12MB of video ram which is more than enough to run a server.&lt;br /&gt;
&lt;br /&gt;
Start the server, and select your settings as you wish.&lt;br /&gt;
&lt;br /&gt;
When installing packages, only install what you need because we want this server to be as trim as possible.  No Desktop, XWindow or gui, just a straight server.&lt;br /&gt;
&lt;br /&gt;
On the Software Selection screen, Unselect Everything but the standard system utilities.&lt;br /&gt;
&lt;br /&gt;
Install the Grub boot loader&lt;br /&gt;
&lt;br /&gt;
== Setting up Build Environment for Mangos ==&lt;br /&gt;
&lt;br /&gt;
Login as root, we need to install a few things first.  After looking at top, I only have 58 processes total running and about 56k of RAM used.  not bad at all.  We want the OS to be as trim as possible, that is one of the goals for this article.&lt;br /&gt;
&lt;br /&gt;
As root, type in:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apt-get install sudo ssh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After install of sudo, Add the user mangos and edit the /etc/sudoers file and add the mangos username&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
adduser mangos&lt;br /&gt;
&lt;br /&gt;
edit /etc/sudoers&lt;br /&gt;
&lt;br /&gt;
Add under &#039;User Privilege Section&#039; underneath root&lt;br /&gt;
mangos    ALL=(ALL:ALL) ALL&lt;br /&gt;
&lt;br /&gt;
Exit and save&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now type in exit and login as mangos username.  You should have sudo rights now.&lt;br /&gt;
&lt;br /&gt;
Type in these commands to establish a build environment&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y autoconf automake clang cmake gcc g++ libtool make patch&lt;br /&gt;
sudo apt-get install -y cmake-curses-gui git-core&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I had an issue with these commands not being found so I had to add the default repos in /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
deb http://http.debian.net/debian wheezy main&lt;br /&gt;
deb-src http://http.debian.net/debian wheezy main&lt;br /&gt;
&lt;br /&gt;
deb http://http.debian.net/debian wheezy-updates main&lt;br /&gt;
deb-src http://http.debian.net/debian wheezy-updates main&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
run sudo apt-get update&lt;br /&gt;
&lt;br /&gt;
to update the repos&lt;br /&gt;
&lt;br /&gt;
=== Installing the Development headers ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y libace-dev libbz2-dev libmysqlclient-dev libncurses5-dev libreadline-dev libssl-dev zlib1g-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing the Database Server (MySQL) ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install -y mysql-server mysql-common mysql-client&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the root password for the MySQL server&lt;br /&gt;
&lt;br /&gt;
=== Creating and Setting Permissions for MySQL User ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
CREATE USER &#039;mangos&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;password&#039;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
for Password, use whatever you want and for user mangos, use whatever you want.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GRANT ALL PRIVILEGES ON `mangos\_%` . * TO &#039;mangos&#039;@&#039;localhost&#039;;&lt;br /&gt;
GRANT USAGE ON * . * TO &#039;mangos&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;password&#039; WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
again for username and password, use whatever you want, just ensure they match&lt;br /&gt;
&lt;br /&gt;
=== Creating the Mangos Databases ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
CREATE DATABASE `mTwo_characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mTwo_realm` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
CREATE DATABASE `mTwo_world` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;&lt;br /&gt;
FLUSH PRIVILEGES ;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Downloading the Mangos-Two Source from github and compiling ==&lt;br /&gt;
&lt;br /&gt;
While you are in user mode and not root, create the mangos source directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~&lt;br /&gt;
mkdir mangos-two&lt;br /&gt;
cd mangos-two&lt;br /&gt;
** Case Sensitive, be sure to take note of this as the branches are different **&lt;br /&gt;
git clone --recursive -b develop21 https://github.com/mangoszero/server.git&lt;br /&gt;
git clone --recursive -b Develop21 https://github.com/mangoszero/database.git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Be sure to use the &#039;&#039;&#039;--recursive&#039;&#039;&#039; so git will pull in everything, without this your compile will fail&lt;br /&gt;
&lt;br /&gt;
=== Compiling Mangos ===&lt;br /&gt;
create the directories needed for build&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo mkdir -p /opt/mTwo/&lt;br /&gt;
sudo mkdir -p /opt/mTwo/logs/mangos-two/&lt;br /&gt;
sudo mkdir -p /opt/mTwo/share/mangos-two/&lt;br /&gt;
sudo chown -R mangos:mangos mTwo&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd server&lt;br /&gt;
mkdir _build&lt;br /&gt;
cd _build&lt;br /&gt;
cmake -DCMAKE_INSTALL_PREFIX=/opt/mTwo -DDEBUG=1 -DBUILD_TOOLS=1 -DACE_USE_EXTERNAL=1 ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DACE_USE_EXTERNAL=1 is important for the Tools to compile&lt;br /&gt;
&lt;br /&gt;
Now in the ~/mangos-two/server/_build directory&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After a successful compile run this.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuration of Mangos ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/etc&lt;br /&gt;
cp ahbot.conf.dist ahbot.conf&lt;br /&gt;
cp mangosd.conf.dist mangosd.conf&lt;br /&gt;
cp realmd.conf.dist realmd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano realmd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;LoginDatabaseInfo&#039;&#039;&#039; Variable looks like this&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;realmd&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_realm&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then for mangosd.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nano mangosd.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The lines that need to be changed are:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;realmd&amp;quot;&lt;br /&gt;
WorldDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;mangos&amp;quot;&lt;br /&gt;
CharacterDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;characters&amp;quot;&lt;br /&gt;
ScriptDev2DatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;mangos;mangos&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These lines should be changed to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
LoginDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_realm&amp;quot;&lt;br /&gt;
WorldDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_world&amp;quot;&lt;br /&gt;
CharacterDatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_characters&amp;quot;&lt;br /&gt;
ScriptDev2DatabaseInfo      = &amp;quot;127.0.0.1;3306;mangos;password;mTwo_scripts&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Map Extraction ==&lt;br /&gt;
&lt;br /&gt;
Go into /opt/mTwo/bin and copy these files to your main World of Warcraft directory ( c:\program files\World of Warcraft in Windows.  You should know where it is )&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp map-extractor [WoW DIR]&lt;br /&gt;
cp vmap-extractor [WoW DIR]&lt;br /&gt;
cp vmap-assembler [WoW DIR]&lt;br /&gt;
cp mmap-generator [WoW DIR]&lt;br /&gt;
cp ExtractResources.sh [WoW DIR]&lt;br /&gt;
cp MoveMapGen.sh [WoW DIR]&lt;br /&gt;
cp offmesh.txt[WoW DIR]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change to your WoW DIR&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
chown +x ExtractResources.sh&lt;br /&gt;
./ExtractResources.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer the questions, should take a while.  If you ever edit the offmesh.txt file, you have to re-run the ExtractResources.sh again.&lt;br /&gt;
&lt;br /&gt;
After it&#039;s done, Create a &#039;data&#039; directory in /opt/mTwo and copy the dbc,vmaps and mmaps directories to /opt/mTwo/data&lt;br /&gt;
&lt;br /&gt;
== Inserting Database Information ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/Realm/Setup&lt;br /&gt;
mysql -u root -p mTwo_realm &amp;lt; realmdLoadDB.sql&lt;br /&gt;
cd ~/mangos-two/database/Character/Setup&lt;br /&gt;
mysql -u root -p mTwo_characters &amp;lt; characterLoadDB.sql&lt;br /&gt;
cd ~/mangos-two/database/World/Setup&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; mangosdLoadDB.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Inserting Table Information and Full DB ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/&lt;br /&gt;
nano make_full_WorldDB.sh&lt;br /&gt;
&lt;br /&gt;
Change the last line to look like this:&lt;br /&gt;
&lt;br /&gt;
for i in /home/mangos/mangos-two/database/World/Setup/FullDB/*.sql; do tail -n +18 $i &amp;gt;&amp;gt; full_db.sql; done&lt;br /&gt;
&lt;br /&gt;
Save the file&lt;br /&gt;
&lt;br /&gt;
bash make_full_WorldDB.sh&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; full_db.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Running the Server ==&lt;br /&gt;
&lt;br /&gt;
=== Realmd (Realm Server) ===&lt;br /&gt;
&lt;br /&gt;
go to /opt/mTwo/bin and run the realmd server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
./realmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after running realmd and you get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/Realm/Updates/Rel20&lt;br /&gt;
mysql -u root -p mTwo_realm &amp;lt; update_the_SQL_file_it_was_screaming_for.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get realmd listening for connections at this time.&lt;br /&gt;
&lt;br /&gt;
=== Mangos (World Server) ===&lt;br /&gt;
go to /opt/mTwo/bin and run the mangosd server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
./mangosd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after running mangosd and you get an error&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/mangos-two/database/World/Updates/Rel20&lt;br /&gt;
mysql -u root -p mTwo_world &amp;lt; update_the_SQL_file_it_was_screaming_for.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get mangosd listening for connections at this time.&lt;br /&gt;
&lt;br /&gt;
== Finalizing running the server ==&lt;br /&gt;
&lt;br /&gt;
I use Screen so you&#039;ll have to install this&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install screen&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, in the /opt/mTwo/bin directory, create a file called runserver.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
screen -A -m -d -S mangosworld ./mangosd&lt;br /&gt;
&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /opt/mTwo/bin&lt;br /&gt;
screen -A -m -d -S mangosrealm ./realmd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save it and then chmod +x runserver.sh&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
If you have any issues with this, please feel free to email me at me@chrisfaulkner.org&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=RT-N12/D1&amp;diff=59</id>
		<title>RT-N12/D1</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=RT-N12/D1&amp;diff=59"/>
		<updated>2014-12-06T01:46:40Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Board ==&lt;br /&gt;
1.--&amp;gt;GND&lt;br /&gt;
2.--&amp;gt;RXD&lt;br /&gt;
3.--&amp;gt;TXD&lt;br /&gt;
4.--&amp;gt;+3.3V&lt;br /&gt;
[[File:RT-N12-D1-Board.jpg|none|left]]&lt;br /&gt;
&lt;br /&gt;
== /proc info ==&lt;br /&gt;
&lt;br /&gt;
=== cat /proc/meminfo ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@DD-WRT:/proc# cat /proc/meminfo&lt;br /&gt;
        total:    used:    free:  shared: buffers:  cached:&lt;br /&gt;
Mem:  26787840 13647872 13139968        0  1306624  4194304&lt;br /&gt;
Swap:        0        0        0&lt;br /&gt;
MemTotal:        26160 kB&lt;br /&gt;
MemFree:         12832 kB&lt;br /&gt;
MemShared:           0 kB&lt;br /&gt;
Buffers:          1276 kB&lt;br /&gt;
Cached:           4096 kB&lt;br /&gt;
SwapCached:          0 kB&lt;br /&gt;
Active:           1122 kB&lt;br /&gt;
Inactive:          541 kB&lt;br /&gt;
HighTotal:           0 kB&lt;br /&gt;
HighFree:            0 kB&lt;br /&gt;
LowTotal:        26160 kB&lt;br /&gt;
LowFree:         12832 kB&lt;br /&gt;
SwapTotal:           0 kB&lt;br /&gt;
SwapFree:            0 kB&lt;br /&gt;
Dirty:               0 kB&lt;br /&gt;
Writeback:           0 kB&lt;br /&gt;
Mapped:            214 kB&lt;br /&gt;
Slab:              129 kB&lt;br /&gt;
CommitLimit:     13080 kB&lt;br /&gt;
Committed_AS:     3264 kB&lt;br /&gt;
PageTables:       1343 kB&lt;br /&gt;
VmallocTotal:  1015800 kB&lt;br /&gt;
VmallocUsed:        20 kB&lt;br /&gt;
VmallocChunk:  1015760 kB&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== cat /proc/devices ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@DD-WRT:/proc# cat /proc/devices&lt;br /&gt;
Character devices:&lt;br /&gt;
  1 mem&lt;br /&gt;
  2 pty&lt;br /&gt;
  3 ttyp&lt;br /&gt;
  4 ttyS&lt;br /&gt;
  5 /dev/tty&lt;br /&gt;
  5 /dev/console&lt;br /&gt;
  5 /dev/ptmx&lt;br /&gt;
 10 misc&lt;br /&gt;
 90 mtd&lt;br /&gt;
108 ppp&lt;br /&gt;
127 gpio&lt;br /&gt;
128 ptm&lt;br /&gt;
136 pts&lt;br /&gt;
229 nvram&lt;br /&gt;
254 devfs&lt;br /&gt;
&lt;br /&gt;
Block devices:&lt;br /&gt;
 31 mtdblock&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== cat /proc/vmstat ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@DD-WRT:/proc# cat /proc/vmstat&lt;br /&gt;
nr_free_pages 3178&lt;br /&gt;
nr_inactive 541&lt;br /&gt;
nr_active 1138&lt;br /&gt;
nr_anon_pages 338&lt;br /&gt;
nr_mapped 258&lt;br /&gt;
nr_file_pages 1343&lt;br /&gt;
nr_dirty 0&lt;br /&gt;
nr_writeback 0&lt;br /&gt;
nr_slab_reclaimable 129&lt;br /&gt;
nr_slab_unreclaimable 1455&lt;br /&gt;
nr_page_table_pages 45&lt;br /&gt;
nr_unstable 0&lt;br /&gt;
nr_bounce 0&lt;br /&gt;
nr_vmscan_write 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== cat /proc/iomem ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@DD-WRT:/proc# cat /proc/iomem&lt;br /&gt;
00000000-01ffffff : System RAM&lt;br /&gt;
  00001000-00371a13 : Kernel code&lt;br /&gt;
  00371a14-004c90bf : Kernel data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== cat /proc/cpuinfo ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@DD-WRT:/proc# cat /proc/cpuinfo&lt;br /&gt;
system type             : Broadcom BCMD144 chip rev 1&lt;br /&gt;
processor               : 0&lt;br /&gt;
cpu model               : MIPS 74K V4.9&lt;br /&gt;
BogoMIPS                : 149.91&lt;br /&gt;
wait instruction        : no&lt;br /&gt;
microsecond timers      : yes&lt;br /&gt;
tlb_entries             : 32&lt;br /&gt;
extra interrupt vector  : no&lt;br /&gt;
hardware watchpoint     : yes&lt;br /&gt;
ASEs implemented        : mips16 dsp&lt;br /&gt;
shadow register sets    : 1&lt;br /&gt;
VCED exceptions         : not available&lt;br /&gt;
VCEI exceptions         : not available&lt;br /&gt;
&lt;br /&gt;
dcache hits             : 2147483648&lt;br /&gt;
dcache misses           : 4025974527&lt;br /&gt;
icache hits             : 2147483648&lt;br /&gt;
icache misses           : 2129788862&lt;br /&gt;
instructions            : 2147483648&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== cat /proc/partitions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@DD-WRT:/proc# cat /proc/partitions&lt;br /&gt;
major minor  #blocks  name&lt;br /&gt;
&lt;br /&gt;
  31     0        128 mtdblock0&lt;br /&gt;
  31     1       8000 mtdblock1&lt;br /&gt;
  31     2       1989 mtdblock2&lt;br /&gt;
  31     3         64 mtdblock3&lt;br /&gt;
  31     4       4608 mtdblock4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== cat /proc/kmsg ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;5&amp;gt;Linux version 2.6.24.111 (root@dd-wrt) (gcc version 4.1.2) #9550 Mon Mar 19 00:53:46 CET 2012&lt;br /&gt;
&amp;lt;4&amp;gt;CPU revision is: 00019749&lt;br /&gt;
&amp;lt;4&amp;gt;Found a 8MB ST compatible serial flash&lt;br /&gt;
&amp;lt;4&amp;gt;Determined physical RAM map:&lt;br /&gt;
&amp;lt;4&amp;gt; memory: 02000000 @ 00000000 (usable)&lt;br /&gt;
&amp;lt;7&amp;gt;Entering add_active_range(0, 0, 8192) 0 entries of 256 used&lt;br /&gt;
&amp;lt;4&amp;gt;Zone PFN ranges:&lt;br /&gt;
&amp;lt;4&amp;gt;  Normal          0 -&amp;gt;     8192&lt;br /&gt;
&amp;lt;4&amp;gt;  HighMem      8192 -&amp;gt;     8192&lt;br /&gt;
&amp;lt;4&amp;gt;Movable zone start PFN for each node&lt;br /&gt;
&amp;lt;4&amp;gt;early_node_map[1] active PFN ranges&lt;br /&gt;
&amp;lt;4&amp;gt;    0:        0 -&amp;gt;     8192&lt;br /&gt;
&amp;lt;7&amp;gt;On node 0 totalpages: 8192&lt;br /&gt;
&amp;lt;7&amp;gt;  Normal zone: 0 pages used for memmap&lt;br /&gt;
&amp;lt;7&amp;gt;  Normal zone: 0 pages reserved&lt;br /&gt;
&amp;lt;7&amp;gt;  Normal zone: 8192 pages, LIFO batch:1&lt;br /&gt;
&amp;lt;7&amp;gt;  HighMem zone: 0 pages used for memmap&lt;br /&gt;
&amp;lt;7&amp;gt;  Movable zone: 0 pages used for memmap&lt;br /&gt;
&amp;lt;4&amp;gt;Built 1 zonelists in Zone order.  Total pages: 8192&lt;br /&gt;
&amp;lt;5&amp;gt;Kernel command line: console=ttyS0,115200 root=1f02 rootfstype=squashfs noinitrd&lt;br /&gt;
&amp;lt;4&amp;gt;Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.&lt;br /&gt;
&amp;lt;4&amp;gt;Primary data cache 32kB, 4-way, linesize 32 bytes.&lt;br /&gt;
&amp;lt;6&amp;gt;Synthesized TLB refill handler (20 instructions).&lt;br /&gt;
&amp;lt;6&amp;gt;Synthesized TLB load handler fastpath (32 instructions).&lt;br /&gt;
&amp;lt;6&amp;gt;Synthesized TLB store handler fastpath (32 instructions).&lt;br /&gt;
&amp;lt;6&amp;gt;Synthesized TLB modify handler fastpath (31 instructions).&lt;br /&gt;
&amp;lt;4&amp;gt;PID hash table entries: 256 (order: 8, 1024 bytes)&lt;br /&gt;
&amp;lt;4&amp;gt;CPU: BCMd144 rev 1 at 300 MHz&lt;br /&gt;
&amp;lt;4&amp;gt;Using 150.000 MHz high precision timer.&lt;br /&gt;
&amp;lt;6&amp;gt;console [ttyS0] enabled&lt;br /&gt;
&amp;lt;6&amp;gt;Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)&lt;br /&gt;
&amp;lt;6&amp;gt;Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)&lt;br /&gt;
&amp;lt;6&amp;gt;Memory: 25956k/32768k available (3522k kernel code, 6796k reserved, 1373k data, 188k init, 0k highmem)&lt;br /&gt;
&amp;lt;7&amp;gt;Calibrating delay loop... 149.91 BogoMIPS (lpj=749568)&lt;br /&gt;
&amp;lt;4&amp;gt;Mount-cache hash table entries: 512&lt;br /&gt;
&amp;lt;6&amp;gt;NET: Registered protocol family 16&lt;br /&gt;
&amp;lt;6&amp;gt;Generic PHY: Registered new driver&lt;br /&gt;
&amp;lt;4&amp;gt;PCI: no core&lt;br /&gt;
&amp;lt;4&amp;gt;PCI: no core&lt;br /&gt;
&amp;lt;4&amp;gt;PCI: Fixing up bus 0&lt;br /&gt;
&amp;lt;6&amp;gt;NET: Registered protocol family 2&lt;br /&gt;
&amp;lt;6&amp;gt;Time: MIPS clocksource has been installed.&lt;br /&gt;
&amp;lt;6&amp;gt;IP route cache hash table entries: 1024 (order: 0, 4096 bytes)&lt;br /&gt;
&amp;lt;6&amp;gt;TCP established hash table entries: 1024 (order: 1, 8192 bytes)&lt;br /&gt;
&amp;lt;6&amp;gt;TCP bind hash table entries: 1024 (order: 0, 4096 bytes)&lt;br /&gt;
&amp;lt;6&amp;gt;TCP: Hash tables configured (established 1024 bind 1024)&lt;br /&gt;
&amp;lt;6&amp;gt;TCP reno registered&lt;br /&gt;
&amp;lt;6&amp;gt;devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)&lt;br /&gt;
&amp;lt;6&amp;gt;devfs: boot_options: 0x1&lt;br /&gt;
&amp;lt;6&amp;gt;squashfs: version 3.0 (2006/03/15) Phillip Lougher&lt;br /&gt;
&amp;lt;6&amp;gt;io scheduler noop registered&lt;br /&gt;
&amp;lt;6&amp;gt;io scheduler deadline registered (default)&lt;br /&gt;
&amp;lt;6&amp;gt;HDLC line discipline: version $Revision: 4.8 $, maxframe=4096&lt;br /&gt;
&amp;lt;6&amp;gt;N_HDLC line discipline registered.&lt;br /&gt;
&amp;lt;6&amp;gt;Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled&lt;br /&gt;
&amp;lt;6&amp;gt;serial8250: ttyS0 at MMIO 0x0 (irq = 8) is a 16550A&lt;br /&gt;
&amp;lt;6&amp;gt;PPP generic driver version 2.4.2&lt;br /&gt;
&amp;lt;6&amp;gt;PPP Deflate Compression module registered&lt;br /&gt;
&amp;lt;6&amp;gt;PPP BSD Compression module registered&lt;br /&gt;
&amp;lt;6&amp;gt;MPPE/MPPC encryption/compression module registered&lt;br /&gt;
&amp;lt;6&amp;gt;NET: Registered protocol family 24&lt;br /&gt;
&amp;lt;6&amp;gt;PPPoL2TP kernel driver, V1.0&lt;br /&gt;
&amp;lt;6&amp;gt;tun: Universal TUN/TAP device driver, 1.6&lt;br /&gt;
&amp;lt;6&amp;gt;tun: (C) 1999-2004 Max Krasnyansky &amp;lt;maxk@qualcomm.com&amp;gt;&lt;br /&gt;
&amp;lt;4&amp;gt;et_module_init: passivemode set to 0x0&lt;br /&gt;
&amp;lt;7&amp;gt;PCI: Setting latency timer of device 0000:00:02.0 to 64&lt;br /&gt;
&amp;lt;4&amp;gt;eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.100.138.9&lt;br /&gt;
&amp;lt;7&amp;gt;PCI: Setting latency timer of device 0000:00:01.0 to 64&lt;br /&gt;
&amp;lt;3&amp;gt;pflash: found no supported devices&lt;br /&gt;
&amp;lt;0&amp;gt;bootloader size: 131072&lt;br /&gt;
&amp;lt;0&amp;gt;nvram size: 32768&lt;br /&gt;
&amp;lt;0&amp;gt;sflash: Filesystem type: squashfs, size=0x1ee540&lt;br /&gt;
&amp;lt;0&amp;gt;partition size = 2036736&lt;br /&gt;
&amp;lt;5&amp;gt;Creating 5 MTD partitions on &amp;quot;sflash&amp;quot;:&lt;br /&gt;
&amp;lt;5&amp;gt;0x00000000-0x00020000 : &amp;quot;cfe&amp;quot;&lt;br /&gt;
&amp;lt;5&amp;gt;0x00020000-0x007f0000 : &amp;quot;linux&amp;quot;&lt;br /&gt;
&amp;lt;5&amp;gt;0x0017ec00-0x00370000 : &amp;quot;rootfs&amp;quot;&lt;br /&gt;
&amp;lt;4&amp;gt;mtd: partition &amp;quot;rootfs&amp;quot; doesn&#039;t start on an erase block boundary -- force read-only&lt;br /&gt;
&amp;lt;5&amp;gt;0x007f0000-0x00800000 : &amp;quot;nvram&amp;quot;&lt;br /&gt;
&amp;lt;5&amp;gt;0x00370000-0x007f0000 : &amp;quot;ddwrt&amp;quot;&lt;br /&gt;
&amp;lt;6&amp;gt;Broadcom Watchdog Timer: 0.07 initialized.&lt;br /&gt;
&amp;lt;4&amp;gt;u32 classifier&lt;br /&gt;
&amp;lt;4&amp;gt;    Actions configured&lt;br /&gt;
&amp;lt;4&amp;gt;Netfilter messages via NETLINK v0.30.&lt;br /&gt;
&amp;lt;4&amp;gt;nf_conntrack version 0.5.0 (1024 buckets, 4096 max)&lt;br /&gt;
&amp;lt;4&amp;gt;ctnetlink v0.93: registering with nfnetlink.&lt;br /&gt;
&amp;lt;6&amp;gt;IPv4 over IPv4 tunneling driver&lt;br /&gt;
&amp;lt;6&amp;gt;GRE over IPv4 tunneling driver&lt;br /&gt;
&amp;lt;6&amp;gt;ip_tables: (C) 2000-2006 Netfilter Core Team&lt;br /&gt;
&amp;lt;5&amp;gt;ClusterIP Version 0.8 loaded successfully&lt;br /&gt;
&amp;lt;6&amp;gt;TCP bic registered&lt;br /&gt;
&amp;lt;6&amp;gt;TCP cubic registered&lt;br /&gt;
&amp;lt;6&amp;gt;TCP westwood registered&lt;br /&gt;
&amp;lt;6&amp;gt;TCP highspeed registered&lt;br /&gt;
&amp;lt;6&amp;gt;TCP hybla registered&lt;br /&gt;
&amp;lt;6&amp;gt;TCP htcp registered&lt;br /&gt;
&amp;lt;6&amp;gt;TCP vegas registered&lt;br /&gt;
&amp;lt;6&amp;gt;TCP scalable registered&lt;br /&gt;
&amp;lt;6&amp;gt;NET: Registered protocol family 1&lt;br /&gt;
&amp;lt;6&amp;gt;NET: Registered protocol family 17&lt;br /&gt;
&amp;lt;4&amp;gt;Welcome to PF_RING 3.2.1&lt;br /&gt;
&amp;lt;4&amp;gt;(C) 2004-06 L.Deri &amp;lt;deri@ntop.org&amp;gt;&lt;br /&gt;
&amp;lt;6&amp;gt;NET: Registered protocol family 27&lt;br /&gt;
&amp;lt;4&amp;gt;PF_RING: bucket length    128 bytes&lt;br /&gt;
&amp;lt;4&amp;gt;PF_RING: ring slots       4096&lt;br /&gt;
&amp;lt;4&amp;gt;PF_RING: sample rate      1 [1=no sampling]&lt;br /&gt;
&amp;lt;4&amp;gt;PF_RING: capture TX       No [RX only]&lt;br /&gt;
&amp;lt;4&amp;gt;PF_RING: transparent mode Yes&lt;br /&gt;
&amp;lt;4&amp;gt;PF_RING initialized correctly.&lt;br /&gt;
&amp;lt;4&amp;gt;PF_RING: registered /proc/net/pf_ring/&lt;br /&gt;
&amp;lt;6&amp;gt;802.1Q VLAN Support v1.8 Ben Greear &amp;lt;greearb@candelatech.com&amp;gt;&lt;br /&gt;
&amp;lt;6&amp;gt;All bugs added by David S. Miller &amp;lt;davem@redhat.com&amp;gt;&lt;br /&gt;
&amp;lt;0&amp;gt;decode 1f02&lt;br /&gt;
&amp;lt;4&amp;gt;VFS: Mounted root (squashfs filesystem) readonly.&lt;br /&gt;
&amp;lt;6&amp;gt;Mounted devfs on /dev&lt;br /&gt;
&amp;lt;6&amp;gt;Freeing unused kernel memory: 188k freed&lt;br /&gt;
&amp;lt;3&amp;gt;br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
	<entry>
		<id>http://together.chrisfaulkner.org/index.php?title=RT-N12/D1&amp;diff=58</id>
		<title>RT-N12/D1</title>
		<link rel="alternate" type="text/html" href="http://together.chrisfaulkner.org/index.php?title=RT-N12/D1&amp;diff=58"/>
		<updated>2014-12-06T01:46:16Z</updated>

		<summary type="html">&lt;p&gt;Cfaulkner: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Board ==&lt;br /&gt;
1.--&amp;gt;GND&lt;br /&gt;
2.--&amp;gt;RXD&lt;br /&gt;
3.--&amp;gt;TXD&lt;br /&gt;
4.--&amp;gt;+3.3V&lt;br /&gt;
[[File:RT-N12-D1-Board.jpg|none|200px|left]]&lt;br /&gt;
== /proc info ==&lt;br /&gt;
&lt;br /&gt;
=== cat /proc/meminfo ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@DD-WRT:/proc# cat /proc/meminfo&lt;br /&gt;
        total:    used:    free:  shared: buffers:  cached:&lt;br /&gt;
Mem:  26787840 13647872 13139968        0  1306624  4194304&lt;br /&gt;
Swap:        0        0        0&lt;br /&gt;
MemTotal:        26160 kB&lt;br /&gt;
MemFree:         12832 kB&lt;br /&gt;
MemShared:           0 kB&lt;br /&gt;
Buffers:          1276 kB&lt;br /&gt;
Cached:           4096 kB&lt;br /&gt;
SwapCached:          0 kB&lt;br /&gt;
Active:           1122 kB&lt;br /&gt;
Inactive:          541 kB&lt;br /&gt;
HighTotal:           0 kB&lt;br /&gt;
HighFree:            0 kB&lt;br /&gt;
LowTotal:        26160 kB&lt;br /&gt;
LowFree:         12832 kB&lt;br /&gt;
SwapTotal:           0 kB&lt;br /&gt;
SwapFree:            0 kB&lt;br /&gt;
Dirty:               0 kB&lt;br /&gt;
Writeback:           0 kB&lt;br /&gt;
Mapped:            214 kB&lt;br /&gt;
Slab:              129 kB&lt;br /&gt;
CommitLimit:     13080 kB&lt;br /&gt;
Committed_AS:     3264 kB&lt;br /&gt;
PageTables:       1343 kB&lt;br /&gt;
VmallocTotal:  1015800 kB&lt;br /&gt;
VmallocUsed:        20 kB&lt;br /&gt;
VmallocChunk:  1015760 kB&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== cat /proc/devices ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@DD-WRT:/proc# cat /proc/devices&lt;br /&gt;
Character devices:&lt;br /&gt;
  1 mem&lt;br /&gt;
  2 pty&lt;br /&gt;
  3 ttyp&lt;br /&gt;
  4 ttyS&lt;br /&gt;
  5 /dev/tty&lt;br /&gt;
  5 /dev/console&lt;br /&gt;
  5 /dev/ptmx&lt;br /&gt;
 10 misc&lt;br /&gt;
 90 mtd&lt;br /&gt;
108 ppp&lt;br /&gt;
127 gpio&lt;br /&gt;
128 ptm&lt;br /&gt;
136 pts&lt;br /&gt;
229 nvram&lt;br /&gt;
254 devfs&lt;br /&gt;
&lt;br /&gt;
Block devices:&lt;br /&gt;
 31 mtdblock&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== cat /proc/vmstat ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@DD-WRT:/proc# cat /proc/vmstat&lt;br /&gt;
nr_free_pages 3178&lt;br /&gt;
nr_inactive 541&lt;br /&gt;
nr_active 1138&lt;br /&gt;
nr_anon_pages 338&lt;br /&gt;
nr_mapped 258&lt;br /&gt;
nr_file_pages 1343&lt;br /&gt;
nr_dirty 0&lt;br /&gt;
nr_writeback 0&lt;br /&gt;
nr_slab_reclaimable 129&lt;br /&gt;
nr_slab_unreclaimable 1455&lt;br /&gt;
nr_page_table_pages 45&lt;br /&gt;
nr_unstable 0&lt;br /&gt;
nr_bounce 0&lt;br /&gt;
nr_vmscan_write 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== cat /proc/iomem ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@DD-WRT:/proc# cat /proc/iomem&lt;br /&gt;
00000000-01ffffff : System RAM&lt;br /&gt;
  00001000-00371a13 : Kernel code&lt;br /&gt;
  00371a14-004c90bf : Kernel data&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== cat /proc/cpuinfo ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@DD-WRT:/proc# cat /proc/cpuinfo&lt;br /&gt;
system type             : Broadcom BCMD144 chip rev 1&lt;br /&gt;
processor               : 0&lt;br /&gt;
cpu model               : MIPS 74K V4.9&lt;br /&gt;
BogoMIPS                : 149.91&lt;br /&gt;
wait instruction        : no&lt;br /&gt;
microsecond timers      : yes&lt;br /&gt;
tlb_entries             : 32&lt;br /&gt;
extra interrupt vector  : no&lt;br /&gt;
hardware watchpoint     : yes&lt;br /&gt;
ASEs implemented        : mips16 dsp&lt;br /&gt;
shadow register sets    : 1&lt;br /&gt;
VCED exceptions         : not available&lt;br /&gt;
VCEI exceptions         : not available&lt;br /&gt;
&lt;br /&gt;
dcache hits             : 2147483648&lt;br /&gt;
dcache misses           : 4025974527&lt;br /&gt;
icache hits             : 2147483648&lt;br /&gt;
icache misses           : 2129788862&lt;br /&gt;
instructions            : 2147483648&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== cat /proc/partitions ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
root@DD-WRT:/proc# cat /proc/partitions&lt;br /&gt;
major minor  #blocks  name&lt;br /&gt;
&lt;br /&gt;
  31     0        128 mtdblock0&lt;br /&gt;
  31     1       8000 mtdblock1&lt;br /&gt;
  31     2       1989 mtdblock2&lt;br /&gt;
  31     3         64 mtdblock3&lt;br /&gt;
  31     4       4608 mtdblock4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== cat /proc/kmsg ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;5&amp;gt;Linux version 2.6.24.111 (root@dd-wrt) (gcc version 4.1.2) #9550 Mon Mar 19 00:53:46 CET 2012&lt;br /&gt;
&amp;lt;4&amp;gt;CPU revision is: 00019749&lt;br /&gt;
&amp;lt;4&amp;gt;Found a 8MB ST compatible serial flash&lt;br /&gt;
&amp;lt;4&amp;gt;Determined physical RAM map:&lt;br /&gt;
&amp;lt;4&amp;gt; memory: 02000000 @ 00000000 (usable)&lt;br /&gt;
&amp;lt;7&amp;gt;Entering add_active_range(0, 0, 8192) 0 entries of 256 used&lt;br /&gt;
&amp;lt;4&amp;gt;Zone PFN ranges:&lt;br /&gt;
&amp;lt;4&amp;gt;  Normal          0 -&amp;gt;     8192&lt;br /&gt;
&amp;lt;4&amp;gt;  HighMem      8192 -&amp;gt;     8192&lt;br /&gt;
&amp;lt;4&amp;gt;Movable zone start PFN for each node&lt;br /&gt;
&amp;lt;4&amp;gt;early_node_map[1] active PFN ranges&lt;br /&gt;
&amp;lt;4&amp;gt;    0:        0 -&amp;gt;     8192&lt;br /&gt;
&amp;lt;7&amp;gt;On node 0 totalpages: 8192&lt;br /&gt;
&amp;lt;7&amp;gt;  Normal zone: 0 pages used for memmap&lt;br /&gt;
&amp;lt;7&amp;gt;  Normal zone: 0 pages reserved&lt;br /&gt;
&amp;lt;7&amp;gt;  Normal zone: 8192 pages, LIFO batch:1&lt;br /&gt;
&amp;lt;7&amp;gt;  HighMem zone: 0 pages used for memmap&lt;br /&gt;
&amp;lt;7&amp;gt;  Movable zone: 0 pages used for memmap&lt;br /&gt;
&amp;lt;4&amp;gt;Built 1 zonelists in Zone order.  Total pages: 8192&lt;br /&gt;
&amp;lt;5&amp;gt;Kernel command line: console=ttyS0,115200 root=1f02 rootfstype=squashfs noinitrd&lt;br /&gt;
&amp;lt;4&amp;gt;Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.&lt;br /&gt;
&amp;lt;4&amp;gt;Primary data cache 32kB, 4-way, linesize 32 bytes.&lt;br /&gt;
&amp;lt;6&amp;gt;Synthesized TLB refill handler (20 instructions).&lt;br /&gt;
&amp;lt;6&amp;gt;Synthesized TLB load handler fastpath (32 instructions).&lt;br /&gt;
&amp;lt;6&amp;gt;Synthesized TLB store handler fastpath (32 instructions).&lt;br /&gt;
&amp;lt;6&amp;gt;Synthesized TLB modify handler fastpath (31 instructions).&lt;br /&gt;
&amp;lt;4&amp;gt;PID hash table entries: 256 (order: 8, 1024 bytes)&lt;br /&gt;
&amp;lt;4&amp;gt;CPU: BCMd144 rev 1 at 300 MHz&lt;br /&gt;
&amp;lt;4&amp;gt;Using 150.000 MHz high precision timer.&lt;br /&gt;
&amp;lt;6&amp;gt;console [ttyS0] enabled&lt;br /&gt;
&amp;lt;6&amp;gt;Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)&lt;br /&gt;
&amp;lt;6&amp;gt;Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)&lt;br /&gt;
&amp;lt;6&amp;gt;Memory: 25956k/32768k available (3522k kernel code, 6796k reserved, 1373k data, 188k init, 0k highmem)&lt;br /&gt;
&amp;lt;7&amp;gt;Calibrating delay loop... 149.91 BogoMIPS (lpj=749568)&lt;br /&gt;
&amp;lt;4&amp;gt;Mount-cache hash table entries: 512&lt;br /&gt;
&amp;lt;6&amp;gt;NET: Registered protocol family 16&lt;br /&gt;
&amp;lt;6&amp;gt;Generic PHY: Registered new driver&lt;br /&gt;
&amp;lt;4&amp;gt;PCI: no core&lt;br /&gt;
&amp;lt;4&amp;gt;PCI: no core&lt;br /&gt;
&amp;lt;4&amp;gt;PCI: Fixing up bus 0&lt;br /&gt;
&amp;lt;6&amp;gt;NET: Registered protocol family 2&lt;br /&gt;
&amp;lt;6&amp;gt;Time: MIPS clocksource has been installed.&lt;br /&gt;
&amp;lt;6&amp;gt;IP route cache hash table entries: 1024 (order: 0, 4096 bytes)&lt;br /&gt;
&amp;lt;6&amp;gt;TCP established hash table entries: 1024 (order: 1, 8192 bytes)&lt;br /&gt;
&amp;lt;6&amp;gt;TCP bind hash table entries: 1024 (order: 0, 4096 bytes)&lt;br /&gt;
&amp;lt;6&amp;gt;TCP: Hash tables configured (established 1024 bind 1024)&lt;br /&gt;
&amp;lt;6&amp;gt;TCP reno registered&lt;br /&gt;
&amp;lt;6&amp;gt;devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)&lt;br /&gt;
&amp;lt;6&amp;gt;devfs: boot_options: 0x1&lt;br /&gt;
&amp;lt;6&amp;gt;squashfs: version 3.0 (2006/03/15) Phillip Lougher&lt;br /&gt;
&amp;lt;6&amp;gt;io scheduler noop registered&lt;br /&gt;
&amp;lt;6&amp;gt;io scheduler deadline registered (default)&lt;br /&gt;
&amp;lt;6&amp;gt;HDLC line discipline: version $Revision: 4.8 $, maxframe=4096&lt;br /&gt;
&amp;lt;6&amp;gt;N_HDLC line discipline registered.&lt;br /&gt;
&amp;lt;6&amp;gt;Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled&lt;br /&gt;
&amp;lt;6&amp;gt;serial8250: ttyS0 at MMIO 0x0 (irq = 8) is a 16550A&lt;br /&gt;
&amp;lt;6&amp;gt;PPP generic driver version 2.4.2&lt;br /&gt;
&amp;lt;6&amp;gt;PPP Deflate Compression module registered&lt;br /&gt;
&amp;lt;6&amp;gt;PPP BSD Compression module registered&lt;br /&gt;
&amp;lt;6&amp;gt;MPPE/MPPC encryption/compression module registered&lt;br /&gt;
&amp;lt;6&amp;gt;NET: Registered protocol family 24&lt;br /&gt;
&amp;lt;6&amp;gt;PPPoL2TP kernel driver, V1.0&lt;br /&gt;
&amp;lt;6&amp;gt;tun: Universal TUN/TAP device driver, 1.6&lt;br /&gt;
&amp;lt;6&amp;gt;tun: (C) 1999-2004 Max Krasnyansky &amp;lt;maxk@qualcomm.com&amp;gt;&lt;br /&gt;
&amp;lt;4&amp;gt;et_module_init: passivemode set to 0x0&lt;br /&gt;
&amp;lt;7&amp;gt;PCI: Setting latency timer of device 0000:00:02.0 to 64&lt;br /&gt;
&amp;lt;4&amp;gt;eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.100.138.9&lt;br /&gt;
&amp;lt;7&amp;gt;PCI: Setting latency timer of device 0000:00:01.0 to 64&lt;br /&gt;
&amp;lt;3&amp;gt;pflash: found no supported devices&lt;br /&gt;
&amp;lt;0&amp;gt;bootloader size: 131072&lt;br /&gt;
&amp;lt;0&amp;gt;nvram size: 32768&lt;br /&gt;
&amp;lt;0&amp;gt;sflash: Filesystem type: squashfs, size=0x1ee540&lt;br /&gt;
&amp;lt;0&amp;gt;partition size = 2036736&lt;br /&gt;
&amp;lt;5&amp;gt;Creating 5 MTD partitions on &amp;quot;sflash&amp;quot;:&lt;br /&gt;
&amp;lt;5&amp;gt;0x00000000-0x00020000 : &amp;quot;cfe&amp;quot;&lt;br /&gt;
&amp;lt;5&amp;gt;0x00020000-0x007f0000 : &amp;quot;linux&amp;quot;&lt;br /&gt;
&amp;lt;5&amp;gt;0x0017ec00-0x00370000 : &amp;quot;rootfs&amp;quot;&lt;br /&gt;
&amp;lt;4&amp;gt;mtd: partition &amp;quot;rootfs&amp;quot; doesn&#039;t start on an erase block boundary -- force read-only&lt;br /&gt;
&amp;lt;5&amp;gt;0x007f0000-0x00800000 : &amp;quot;nvram&amp;quot;&lt;br /&gt;
&amp;lt;5&amp;gt;0x00370000-0x007f0000 : &amp;quot;ddwrt&amp;quot;&lt;br /&gt;
&amp;lt;6&amp;gt;Broadcom Watchdog Timer: 0.07 initialized.&lt;br /&gt;
&amp;lt;4&amp;gt;u32 classifier&lt;br /&gt;
&amp;lt;4&amp;gt;    Actions configured&lt;br /&gt;
&amp;lt;4&amp;gt;Netfilter messages via NETLINK v0.30.&lt;br /&gt;
&amp;lt;4&amp;gt;nf_conntrack version 0.5.0 (1024 buckets, 4096 max)&lt;br /&gt;
&amp;lt;4&amp;gt;ctnetlink v0.93: registering with nfnetlink.&lt;br /&gt;
&amp;lt;6&amp;gt;IPv4 over IPv4 tunneling driver&lt;br /&gt;
&amp;lt;6&amp;gt;GRE over IPv4 tunneling driver&lt;br /&gt;
&amp;lt;6&amp;gt;ip_tables: (C) 2000-2006 Netfilter Core Team&lt;br /&gt;
&amp;lt;5&amp;gt;ClusterIP Version 0.8 loaded successfully&lt;br /&gt;
&amp;lt;6&amp;gt;TCP bic registered&lt;br /&gt;
&amp;lt;6&amp;gt;TCP cubic registered&lt;br /&gt;
&amp;lt;6&amp;gt;TCP westwood registered&lt;br /&gt;
&amp;lt;6&amp;gt;TCP highspeed registered&lt;br /&gt;
&amp;lt;6&amp;gt;TCP hybla registered&lt;br /&gt;
&amp;lt;6&amp;gt;TCP htcp registered&lt;br /&gt;
&amp;lt;6&amp;gt;TCP vegas registered&lt;br /&gt;
&amp;lt;6&amp;gt;TCP scalable registered&lt;br /&gt;
&amp;lt;6&amp;gt;NET: Registered protocol family 1&lt;br /&gt;
&amp;lt;6&amp;gt;NET: Registered protocol family 17&lt;br /&gt;
&amp;lt;4&amp;gt;Welcome to PF_RING 3.2.1&lt;br /&gt;
&amp;lt;4&amp;gt;(C) 2004-06 L.Deri &amp;lt;deri@ntop.org&amp;gt;&lt;br /&gt;
&amp;lt;6&amp;gt;NET: Registered protocol family 27&lt;br /&gt;
&amp;lt;4&amp;gt;PF_RING: bucket length    128 bytes&lt;br /&gt;
&amp;lt;4&amp;gt;PF_RING: ring slots       4096&lt;br /&gt;
&amp;lt;4&amp;gt;PF_RING: sample rate      1 [1=no sampling]&lt;br /&gt;
&amp;lt;4&amp;gt;PF_RING: capture TX       No [RX only]&lt;br /&gt;
&amp;lt;4&amp;gt;PF_RING: transparent mode Yes&lt;br /&gt;
&amp;lt;4&amp;gt;PF_RING initialized correctly.&lt;br /&gt;
&amp;lt;4&amp;gt;PF_RING: registered /proc/net/pf_ring/&lt;br /&gt;
&amp;lt;6&amp;gt;802.1Q VLAN Support v1.8 Ben Greear &amp;lt;greearb@candelatech.com&amp;gt;&lt;br /&gt;
&amp;lt;6&amp;gt;All bugs added by David S. Miller &amp;lt;davem@redhat.com&amp;gt;&lt;br /&gt;
&amp;lt;0&amp;gt;decode 1f02&lt;br /&gt;
&amp;lt;4&amp;gt;VFS: Mounted root (squashfs filesystem) readonly.&lt;br /&gt;
&amp;lt;6&amp;gt;Mounted devfs on /dev&lt;br /&gt;
&amp;lt;6&amp;gt;Freeing unused kernel memory: 188k freed&lt;br /&gt;
&amp;lt;3&amp;gt;br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cfaulkner</name></author>
	</entry>
</feed>