<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.cchtml.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=130.83.111.91</id>
	<title>cchtml.com - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.cchtml.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=130.83.111.91"/>
	<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Special:Contributions/130.83.111.91"/>
	<updated>2026-04-30T01:43:57Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Gentoo_Installation_Guide&amp;diff=1001</id>
		<title>Gentoo Installation Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Gentoo_Installation_Guide&amp;diff=1001"/>
		<updated>2007-04-30T11:07:57Z</updated>

		<summary type="html">&lt;p&gt;130.83.111.91: /* Grabbing a Driver Set */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Orginally found on the [http://gentoo-wiki.com/HOWTO_ATI_Drivers Gentoo Wiki], the GNU Free Documentation license allows me to copy/paste it here.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This guide should help you install and configure the proprietry graphics drivers from ATI. This guide applies for ALL versions of fglrx - it was made before the (rather dramatic) 8.8.25 January 05 release, but it is maintained such that all versions should work.&lt;br /&gt;
&lt;br /&gt;
*Note:  If you are using an ATI 7500 Mobility (or such card that isn&#039;t supported by the ati-drivers) this HOWTO will not help.  Instead use the ATI kernel drivers. See also: http://forums.gentoo.org/viewtopic-p-2137276.html#2137276&lt;br /&gt;
&lt;br /&gt;
*Note:  As of 12/06/2006, the *latest* ATI drivers (8.31.5) are not in portage yet. To install this driver, you must do so by downloading the drivers from the ATI website.&lt;br /&gt;
&lt;br /&gt;
== Kernel Configuration ==&lt;br /&gt;
&lt;br /&gt;
Get into menuconfig (cd /usr/src/your-kernel &amp;amp;&amp;amp; make menuconfig) and check the following:&lt;br /&gt;
{{Box Code|menuconfig|&amp;lt;pre&amp;gt;&lt;br /&gt;
Loadable Module Support ---&amp;gt;&lt;br /&gt;
 [*] Enable loadable module support&lt;br /&gt;
   [*]   Module unloading &lt;br /&gt;
&lt;br /&gt;
Processor type and features  ---&amp;gt;&lt;br /&gt;
 [*] MTRR (Memory Type Range Register) support&lt;br /&gt;
&lt;br /&gt;
Device Drivers ---&amp;gt;&lt;br /&gt;
 Character Devices ---&amp;gt; &lt;br /&gt;
  &amp;lt;M&amp;gt; /dev/agpgart (AGP Support)  &lt;br /&gt;
    &amp;lt;M&amp;gt; Your_AGP_Chipset_Here&lt;br /&gt;
  [ ] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)&lt;br /&gt;
&lt;br /&gt;
 Graphics support ---&amp;gt;&lt;br /&gt;
  [ ]  Support for framebuffer devices&lt;br /&gt;
&lt;br /&gt;
Kernel Hacking ---&amp;gt;&lt;br /&gt;
  [ ] Kernel debugging&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
Sync your kernel menuconfig with the selected portions posted here. (note: you can compile /dev/agpgart &amp;amp; your agp chipset [most likely ati-agp] into the kernel if you want.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please be aware that -mm and -rc(1,2,3,4,...) kernels often break fglrx due to unexpected changes in syntax, etc. If you want to use ati-drivers, use the stock gentoo-sources or at the very least, a STABLE 2.4 or 2.6 kernel!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Don&#039;t forget to compile, install, and reboot into the kernel. Directions for this are beyond the scope of this file; if you need help recompiling the kernel, [http://gentoo-wiki.com/HOWTO_Compile_a_Kernel_Manually click here].&lt;br /&gt;
&lt;br /&gt;
== Grabbing a Driver Set ==&lt;br /&gt;
&lt;br /&gt;
For installation it will be easier to drop out of X to a command prompt. Do this using whatever command your Window Manager uses. &lt;br /&gt;
I use fluxbox so it&#039;s just rightclick -&amp;gt; fluxbox menu -&amp;gt; exit. For KDE or GNOME it&#039;s probably just a matter of logging out. When all else fails, hit CTL+ALT+BACKSPACE to kill the X server ungracefully. If the X server only reboots or for some reason you&#039;ve disabled this hotkey, log in as root and type &#039;&#039;&#039;init 3&#039;&#039;&#039; to bring the system run level down.&lt;br /&gt;
&lt;br /&gt;
There is also the possibility to stoip the xdm servide by entering &#039;&#039;/etc/init.d/xdm stop&#039;&#039; as root.&lt;br /&gt;
&lt;br /&gt;
Thanks to portage, installing the drivers is easy. If you have not already done it recently, start by synchronising your portage tree:&lt;br /&gt;
&lt;br /&gt;
 emerge --sync&lt;br /&gt;
 &lt;br /&gt;
Getting the latest drivers will probably mean unmasking them.&lt;br /&gt;
&lt;br /&gt;
 echo &amp;quot;x11-drivers/ati-drivers ~arch&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
 echo &amp;quot;x11-drivers/ati-drivers-extra ~arch&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
&lt;br /&gt;
Replace {{Codeline|&amp;lt;~arch&amp;gt;}} with your system architecture; it&#039;s going to be either {{Codeline|~x86}} or {{Codeline|~amd64}}, the only two CPU architectures supported by the ATI driver.&lt;br /&gt;
&lt;br /&gt;
Now let&#039;s install the drivers. ati-drivers-extra is a (god-awful) control panel for the driver you probably won&#039;t use; you can leave that part out if you want, but for completeness we mention it here.&lt;br /&gt;
&lt;br /&gt;
 su -&lt;br /&gt;
 emerge -av ati-drivers ati-drivers-extra&lt;br /&gt;
&lt;br /&gt;
The next step is switch to the ATi OpenGL subsytem:&lt;br /&gt;
&lt;br /&gt;
 (#opengl-update ati)&lt;br /&gt;
 eselect opengl set ati&lt;br /&gt;
 (very important!)(opengl-update is deprecated)&lt;br /&gt;
Configure X:&lt;br /&gt;
First, make a standart config file.&lt;br /&gt;
&lt;br /&gt;
 xorgconfig&lt;br /&gt;
&lt;br /&gt;
For a single screen&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial --input=/etc/X11/xorg.conf&lt;br /&gt;
&lt;br /&gt;
For a dual head, second screen is {left|right|above|below}&lt;br /&gt;
&lt;br /&gt;
 aticonfig --initial=dual-head --input=/etc/X11/xorg.conf --screen-layout={left|right|above|below}&lt;br /&gt;
&lt;br /&gt;
Adapt input with your path to xorg&#039;s conf file&lt;br /&gt;
&lt;br /&gt;
If for some reason this command doesn&#039;t work, then try manually executing from its default location:&lt;br /&gt;
&lt;br /&gt;
 /opt/ati/bin/aticonfig [...]&lt;br /&gt;
&lt;br /&gt;
Now, let&#039;s get back into X.&lt;br /&gt;
&lt;br /&gt;
 startx&lt;br /&gt;
&lt;br /&gt;
Open up a command prompt and run:&lt;br /&gt;
&lt;br /&gt;
 fglrxinfo&lt;br /&gt;
&lt;br /&gt;
If the OpenGL vendor string says &amp;quot;ATI Technologies,&amp;quot; then congrats! You&#039;ve got the drivers working and hardware acceleration going great. If not...read on...&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Config Files ===&lt;br /&gt;
By default, the driver uses the Internal AGPGART. Sometimes the internal one doesn&#039;t work, and you will have to use the one provided with the kernel. Search your xorg.conf for the line that has the option &amp;quot;UseInternalAGPGART.&amp;quot; Simply change the &amp;quot;yes&amp;quot; to &amp;quot;no.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
{{Box File|xorg.conf|&lt;br /&gt;
 Option &amp;quot;UseInternalAGPGART&amp;quot; &amp;quot;no&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now simply add the modules to {{Filename|/etc/modules.autoload.d/kernel-2.x}} where x is your kernel version. &lt;br /&gt;
&lt;br /&gt;
Add the following (ORDER IS VERY IMPORTANT);&lt;br /&gt;
{{Box File|/etc/modules.autoload.d/kernel-2.x|&lt;br /&gt;
 agpgart&lt;br /&gt;
 intel-agp # change intel-agp to your chipset. eg: via-agp, nvidia-agp sis-agp.&lt;br /&gt;
 fglrx&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Finally, run&lt;br /&gt;
&lt;br /&gt;
 modules-update&lt;br /&gt;
&lt;br /&gt;
Then you can reboot and everything should work. If you have are having problems, check dmesg and /var/log/Xorg.0.log for more info.&lt;br /&gt;
&lt;br /&gt;
=== Blank screen or monitor turning off after startx ===&lt;br /&gt;
&lt;br /&gt;
Versions of ati-drivers &amp;gt;= 8.16.20 have an issue with this that&#039;s easily corrected by inserting:&lt;br /&gt;
{{Box File|xorg.conf|&lt;br /&gt;
     Option &amp;quot;ForceMonitors&amp;quot; &amp;quot;notv&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
in the device section of xorg.conf (discussed here: http://bugs.gentoo.org/show_bug.cgi?id=103028)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Check if you have a non-DDC monitor connected via VGA/HD15 connector. If so change your xorg.conf:&lt;br /&gt;
{{Box File|xorg.conf|&lt;br /&gt;
 #   Option &amp;quot;DesktopSetup&amp;quot;               &amp;quot;0x00000000&amp;quot;&lt;br /&gt;
     Option &amp;quot;MonitorLayout&amp;quot;              &amp;quot;NONE, CRT&amp;quot;&lt;br /&gt;
     Option &amp;quot;IgnoreEDID&amp;quot;                 &amp;quot;off&amp;quot;&lt;br /&gt;
     Option &amp;quot;HSync2&amp;quot;                     &amp;quot;30-85&amp;quot;&lt;br /&gt;
     Option &amp;quot;VRefresh2&amp;quot;                  &amp;quot;50-160&amp;quot;&lt;br /&gt;
 #   Option &amp;quot;ScreenOverlap&amp;quot;              &amp;quot;0&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
where HSync2 and VRefresh2 are your monitor parameters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, try changing the MonitorLayout option. The default is &amp;quot;AUTO, AUTO&amp;quot;, which is to say X will attempt to autodetect what kind of monitor you&#039;ve got on the first and second display heads. This can theoretically fail (though I have never observed it). Try changing it around a bit. For example, if you have an LCD and no secondary monitor, change the line to read:&lt;br /&gt;
&lt;br /&gt;
{{Box File|xorg.conf|&lt;br /&gt;
     Option &amp;quot;MonitorLayout&amp;quot;              &amp;quot;TMDS, NONE&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
if you have a CRT, simply replace &amp;quot;TMDS&amp;quot; with &amp;quot;CRT&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Crashes on startup ===&lt;br /&gt;
&#039;&#039;&#039;If you are unable to use any 3d applications and get this error instead:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 FGLTexMgr: open of shared memory object failed (Function not implemented)&lt;br /&gt;
 __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!&lt;br /&gt;
 fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!&lt;br /&gt;
 FGLTexMgr: open of shared memory object failed (Function not implemented)&lt;br /&gt;
 __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!&lt;br /&gt;
 fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!!&lt;br /&gt;
 FGLTexMgr: open of shared memory object failed (Function not implemented)&lt;br /&gt;
 __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Then you do not have tmpfs mounted on /dev/shm, which the driver requires.&#039;&#039;&#039; Make yourself sure you have tmpfs support compiled into kernel. It&#039;s under&lt;br /&gt;
&lt;br /&gt;
    File systems --&amp;gt;&lt;br /&gt;
        Pseudo filesystems --&amp;gt;&lt;br /&gt;
            [*] Virtual memory file system support (former shm fs)&lt;br /&gt;
&lt;br /&gt;
To mount this, add to following line to {{filename|/etc/fstab}} (if it isn&#039;t there already):&lt;br /&gt;
&lt;br /&gt;
{{Box File|/etc/fstab|&lt;br /&gt;
 tmpfs     /dev/shm           tmpfs        defaults            0 0&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then just do a:&lt;br /&gt;
 mount /dev/shm&lt;br /&gt;
&lt;br /&gt;
If the drivers still crap out on you, or for example you get a black screen on X init, try going into your system BIOS and change graphics-related stuff around. Believe it or not, for me my 9800 gives a black screen on X init if I have the AGP Aperture set at anything other than 128MB. I don&#039;t know what causes this, and I don&#039;t care; I&#039;m just relating to you how I overcame &#039;&#039;my&#039;&#039; problem ;)&lt;br /&gt;
&lt;br /&gt;
Also, &#039;&#039;&#039;whenever you update your compiler&#039;&#039;&#039;, you &#039;&#039;&#039;must&#039;&#039;&#039; recompile your kernel otherwise you won&#039;t be able to insert the fglrx module. Note that recompiling your kernel means you must also unmerge/emerge ati-drivers!&lt;br /&gt;
&lt;br /&gt;
=== Duplicate symbol errors in X log ===&lt;br /&gt;
If you are unable to start X or X fails to load the fglrx driver and you have multiple symbol errors in your Xorg log, chances are that you have compiled X with the &#039;&#039;dlloader&#039;&#039; flag.  This flag can not be used with the fglrx driver.  To fix this problem, remove the dlloader flag by editing your /etc/portage/package.use file as follows:&lt;br /&gt;
{{Box File|/etc/portage/pakage.use|&lt;br /&gt;
 x11-base/xorg-x11 -dlloader&lt;br /&gt;
}}&lt;br /&gt;
Now re-emerge the &#039;&#039;xorg-x11&#039;&#039; package and reinstall the fglrx driver.&lt;br /&gt;
&lt;br /&gt;
=== Crashes on the exit of X.org / X won&#039;t shutdown ===&lt;br /&gt;
Perform the following if you can get the fglrx drivers working with hardware acceleration, but are suffering from a complete system crash when trying to quit X. You should boot into your system, login, then start on this. You don&#039;t need to boot into X, and shouldn&#039;t need to edit your xorg.conf file (as fglrx is already setup as the driver and working)&lt;br /&gt;
&lt;br /&gt;
You&#039;ve emerged the &amp;quot;stable&amp;quot; version of the ati-drivers, these are out of date -- remove them (emerge --unmerge ati-drivers), to add the most recent you should either add them to the keywords file (/etc/portage/package.keywords) or emerge your local ebuild (emerge /usr/portage/x11-drivers/ati-drivers/ati-drivers-8.22.5.ebuild) if you&#039;re told it requires a dependency, emerge the local e-build for that, then try again. (usually eselect-opengl is required.)&lt;br /&gt;
Once you have the most recent ati-drivers emerged, run (eselect opengl set ati). Now you can (startx) and hopefully quit without any problems. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== glxinfo says &amp;quot;error: failed to open DRM: Operation not permitted&amp;quot;  ===&lt;br /&gt;
If a check with the glxinfo fails for ordinary users though works fins for root it might be related to filepermissions of the device-file.&lt;br /&gt;
Here is how to solve it:&lt;br /&gt;
&lt;br /&gt;
Make shure that the filepermissions on the card-device allows the video-group to read and write. The common group in gentoo with X is &amp;quot;video&amp;quot;. All normal users should be part of this group. Also, the device must have permissions for this group to read and write the card-device.&lt;br /&gt;
&lt;br /&gt;
Check the permissions on the card-device:&lt;br /&gt;
&lt;br /&gt;
root:/#ls -lcF /dev/dri/card0&lt;br /&gt;
&lt;br /&gt;
crw-rw---- 1 root root 226, 0 Oct  5 16:19 /dev/dri/card0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It can be changed with:&lt;br /&gt;
&lt;br /&gt;
root:/dev/dri#chgrp video card0&lt;br /&gt;
&lt;br /&gt;
Check if user is part of video:&lt;br /&gt;
&lt;br /&gt;
paddlaren:~&amp;gt;id paddlaren&lt;br /&gt;
&lt;br /&gt;
uid=1000(paddlaren) gid=1000(paddlaren) &lt;br /&gt;
&lt;br /&gt;
groups=1000(paddlaren),10(wheel),11(floppy),18(audio),19(cdrom),80(cdrw),85(usb),100(users),35(games)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To add a user to the video-group:&lt;br /&gt;
&lt;br /&gt;
root:~#gpasswd -a my_user video&lt;br /&gt;
&lt;br /&gt;
paddlaren:~&amp;gt;id paddlaren&lt;br /&gt;
&lt;br /&gt;
uid=1000(paddlaren) gid=1000(paddlaren) &lt;br /&gt;
&lt;br /&gt;
groups=1000(paddlaren),10(wheel),11(floppy),18(audio),19(cdrom),27(video),80(cdrw),85(usb),100(users),35(games)&lt;br /&gt;
&lt;br /&gt;
Logoff and on to ensure that the membership of the group is known to the system.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
*[http://ati.cchtml.com/ ATi Unofficial Bugzilla (occasionally monitored by ATi personnel)]&lt;br /&gt;
*Check out user Wedge_&#039;s excellent ATI Radeon [http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html FAQ here]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation Documentation]]&lt;/div&gt;</summary>
		<author><name>130.83.111.91</name></author>
	</entry>
	<entry>
		<id>http://wiki.cchtml.com/index.php?title=Lenovo&amp;diff=2970</id>
		<title>Lenovo</title>
		<link rel="alternate" type="text/html" href="http://wiki.cchtml.com/index.php?title=Lenovo&amp;diff=2970"/>
		<updated>2007-04-30T11:04:24Z</updated>

		<summary type="html">&lt;p&gt;130.83.111.91: /* Laptops */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Lenovo purchased the PC business unit of IBM.&lt;br /&gt;
&lt;br /&gt;
===Laptops===&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
!Model&lt;br /&gt;
!Graphics&lt;br /&gt;
!Status&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad T43&lt;br /&gt;
|Radeon Mobility X300&lt;br /&gt;
|Working&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad T43p&lt;br /&gt;
|MOBILITY FireGL V3200&lt;br /&gt;
|Working&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad T60&lt;br /&gt;
|Radeon MObility X1400&lt;br /&gt;
|Working&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad R60&lt;br /&gt;
|Radeon Mobility X1400&lt;br /&gt;
|Working&lt;br /&gt;
|-&lt;br /&gt;
|Thinkpad Z60m&lt;br /&gt;
|Radeon Mobility X600&lt;br /&gt;
|Working&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Resources===&lt;br /&gt;
&lt;br /&gt;
[http://thinkwiki.org/ ThinkWiki Community Page]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:OEMs]]&lt;/div&gt;</summary>
		<author><name>130.83.111.91</name></author>
	</entry>
</feed>