<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Configer</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Configer"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Configer"/>
	<updated>2026-05-15T01:54:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_build_custom_packages_for_fglrx&amp;diff=23082</id>
		<title>How to build custom packages for fglrx</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_build_custom_packages_for_fglrx&amp;diff=23082"/>
		<updated>2006-07-06T23:50:51Z</updated>

		<summary type="html">&lt;p&gt;Configer: /* {{Fedora}} 5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This pages provides instructions for building and installing custom packages for the [[fglrx]] driver. This is useful if you are using a custom-compiled kernels and want to use an orderly RPM-based installation.&lt;br /&gt;
&lt;br /&gt;
==={{Fedora}} 5===&lt;br /&gt;
&lt;br /&gt;
First, add the [http://rpm.livna.org rpm.livna.org] RPM repository to your [[yum]] configuration. The custom packages will be based on those of rpm.livna.org.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install xorg-x11-drv-fglrx&lt;br /&gt;
VER=8.26.18-1.2.6.17_1.2139_FC5  # copy version string of kmod-fglrx package added by the above command&lt;br /&gt;
wget -c http://rpm.livna.org/fedora/5/SRPMS/fglrx-kmod-$VER.src.rpm&lt;br /&gt;
mkdir fglrx-workdir; cd fglrx-workdir&lt;br /&gt;
rpm2cpio ../fglrx-kmod-$VER.src.rpm &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cpio -i&lt;br /&gt;
perl -i -pe 'print &amp;quot;#disabled: &amp;quot; if m/BuildRequires: +kernel/' kmodtool&lt;br /&gt;
perl -i -pe 'print &amp;quot;#disabled: &amp;quot; if m/Requires: +\$\{kdep\}/' kmodtool&lt;br /&gt;
perl -i -pe 's@(^ +ksrc)=.*$@$1=/lib/modules/%{kverrel}/build@' fglrx-kmod.spec&lt;br /&gt;
tar czf pack.tgz --exclude pack.tgz .&lt;br /&gt;
rpmbuild --tb --clean --target $(uname -m) --define &amp;quot;ksrc /lib/modules/$(uname -r)/build&amp;quot; \&lt;br /&gt;
  --define &amp;quot;kversion $(uname -r)&amp;quot; --define 'kvariants &amp;quot;&amp;quot;' pack.tgz&lt;br /&gt;
cd ..; rm -fr fglrx-workdir&lt;br /&gt;
sudo rpm -Uvh --oldpackage --replacepkgs ~/rpm/RPMS/$(uname -m)/kmod-fglrx-${VER/.2.6.*/}.$(uname -r).$(uname -m).rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The xorg-x11-drv-fglrx does not install automatically.  Need to do similar work as above to build it&lt;br /&gt;
Some livna packages don't have i686 in .spec file, should manaually add them, build &lt;br /&gt;
and install using &amp;quot;rpm -ivh --nodeps&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
--For v8.24 driver &lt;br /&gt;
&lt;br /&gt;
Symlinks need to be re-build in &lt;br /&gt;
/usr/lib/Xorg/modules, &lt;br /&gt;
also need to run /sbin/modprobe fglrx  after installation. &lt;br /&gt;
the libGL symlink should point to /usr/lib/ati-fglrx/libGL.so.1.2 &lt;br /&gt;
&lt;br /&gt;
At this point, only 8.24 works for 9200 card. (tried 8.25 and 8.26 failed)&lt;br /&gt;
&lt;br /&gt;
--End for 8.24 driver&lt;br /&gt;
&lt;br /&gt;
After reboot, test driver using glxinfo and fglrxinfo&lt;br /&gt;
&lt;br /&gt;
==={{Fedora}} 4===&lt;br /&gt;
&lt;br /&gt;
First, add the [http://rpm.livna.org rpm.livna.org] RPM repository to your [[yum]] configuration. The custom packages will be based on those of rpm.livna.org.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install ati-fglrx&lt;br /&gt;
VER=8.20.8.1-0.lvn.1.4  # copy version string from output of above command&lt;br /&gt;
wget http://rpm.livna.org/fedora/4/i386/SRPMS.lvn/ati-fglrx-$VER.src.rpm&lt;br /&gt;
rpmbuild --rebuild --target $(uname -m) --define &amp;quot;ksrc /lib/modules/$(uname -r)/build&amp;quot; --without userland ati-fglrx-$VER.src.rpm&lt;br /&gt;
rpm -Uvh --replacepkgs /usr/src/redhat/RPMS/$(uname -m)/kernel-module-fglrx-$(uname -r)-$VER.$(uname -m).rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Configer</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=How_to_build_custom_packages_for_fglrx&amp;diff=23081</id>
		<title>How to build custom packages for fglrx</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=How_to_build_custom_packages_for_fglrx&amp;diff=23081"/>
		<updated>2006-07-06T23:50:10Z</updated>

		<summary type="html">&lt;p&gt;Configer: /* {{Fedora}} 5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This pages provides instructions for building and installing custom packages for the [[fglrx]] driver. This is useful if you are using a custom-compiled kernels and want to use an orderly RPM-based installation.&lt;br /&gt;
&lt;br /&gt;
==={{Fedora}} 5===&lt;br /&gt;
&lt;br /&gt;
First, add the [http://rpm.livna.org rpm.livna.org] RPM repository to your [[yum]] configuration. The custom packages will be based on those of rpm.livna.org.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install xorg-x11-drv-fglrx&lt;br /&gt;
VER=8.26.18-1.2.6.17_1.2139_FC5  # copy version string of kmod-fglrx package added by the above command&lt;br /&gt;
wget -c http://rpm.livna.org/fedora/5/SRPMS/fglrx-kmod-$VER.src.rpm&lt;br /&gt;
mkdir fglrx-workdir; cd fglrx-workdir&lt;br /&gt;
rpm2cpio ../fglrx-kmod-$VER.src.rpm &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; cpio -i&lt;br /&gt;
perl -i -pe 'print &amp;quot;#disabled: &amp;quot; if m/BuildRequires: +kernel/' kmodtool&lt;br /&gt;
perl -i -pe 'print &amp;quot;#disabled: &amp;quot; if m/Requires: +\$\{kdep\}/' kmodtool&lt;br /&gt;
perl -i -pe 's@(^ +ksrc)=.*$@$1=/lib/modules/%{kverrel}/build@' fglrx-kmod.spec&lt;br /&gt;
tar czf pack.tgz --exclude pack.tgz .&lt;br /&gt;
rpmbuild --tb --clean --target $(uname -m) --define &amp;quot;ksrc /lib/modules/$(uname -r)/build&amp;quot; \&lt;br /&gt;
  --define &amp;quot;kversion $(uname -r)&amp;quot; --define 'kvariants &amp;quot;&amp;quot;' pack.tgz&lt;br /&gt;
cd ..; rm -fr fglrx-workdir&lt;br /&gt;
sudo rpm -Uvh --oldpackage --replacepkgs ~/rpm/RPMS/$(uname -m)/kmod-fglrx-${VER/.2.6.*/}.$(uname -r).$(uname -m).rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The xorg-x11-drv-fglrx does not install automatically.  Need to do similar work as above to build it&lt;br /&gt;
Some livna packages don't have i686 in .spec file, should manaually add them, build &lt;br /&gt;
and install using &amp;quot;rpm -ivh --nodeps&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
--For v8.24 driver &lt;br /&gt;
Symlinks need to be re-build in &lt;br /&gt;
/usr/lib/Xorg/modules, &lt;br /&gt;
also need to run /sbin/modprobe fglrx  after installation. &lt;br /&gt;
the libGL symlink should point to /usr/lib/ati-fglrx/libGL.so.1.2 &lt;br /&gt;
&lt;br /&gt;
At this point, only 8.24 works for 9200 card. (tried 8.25 and 8.26 failed)&lt;br /&gt;
--End for 8.24 driver&lt;br /&gt;
&lt;br /&gt;
After reboot, test driver using glxinfo and fglrxinfo&lt;br /&gt;
&lt;br /&gt;
==={{Fedora}} 4===&lt;br /&gt;
&lt;br /&gt;
First, add the [http://rpm.livna.org rpm.livna.org] RPM repository to your [[yum]] configuration. The custom packages will be based on those of rpm.livna.org.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install ati-fglrx&lt;br /&gt;
VER=8.20.8.1-0.lvn.1.4  # copy version string from output of above command&lt;br /&gt;
wget http://rpm.livna.org/fedora/4/i386/SRPMS.lvn/ati-fglrx-$VER.src.rpm&lt;br /&gt;
rpmbuild --rebuild --target $(uname -m) --define &amp;quot;ksrc /lib/modules/$(uname -r)/build&amp;quot; --without userland ati-fglrx-$VER.src.rpm&lt;br /&gt;
rpm -Uvh --replacepkgs /usr/src/redhat/RPMS/$(uname -m)/kernel-module-fglrx-$(uname -r)-$VER.$(uname -m).rpm&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Configer</name></author>
		
	</entry>
</feed>