http://wiki.cchtml.com/api.php?action=feedcontributions&user=217.108.22.100&feedformat=atomcchtml.com - User contributions [en]2024-03-28T17:56:49ZUser contributionsMediaWiki 1.39.4http://wiki.cchtml.com/index.php?title=Troubleshooting&diff=8577Troubleshooting2012-05-31T22:50:26Z<p>217.108.22.100: /* X Server Related Issues */</p>
<hr />
<div> Hello! kgdcake interesting kgdcake site! I'm really like it! Very, very kgdcake good!<br />
<br />
Very nice site!<br />
<br />
==aticonfig Issues==<br />
If you get the message ‘‘aticonfig: No supported adapters detected’’, you might have a card not officially supported by the fglrx driver but that might still work when forcing the driver to load. See [[Ubuntu#Unsupported_adapter]].<br />
<br />
<br />
=== X server dies at start, possibly with error segmentation fault at address 0x8 ===<br />
* aticonfig can mess up the fglrx config in /etc/ati/amdpcsdb, try overwriting with /etc/ati/amdpcsdb.default<br />
"VideoOverlay" "on"<br />
"OpenGLOverlay" "off"<br />
"UseInternalAGPGART" "yes" <br />
(10/2011, on cat-11.9, ATI 6300 aka 9803)<br />
<br />
<br />
==AMD installer script completes, fglrx X driver loads, fglrxinfo reports error==<br />
<br />
Xorg.log reports 2d/3d acceleration disabled, DRI disabled and uki errors related to /proc/ati files. AMD control panel works.<br />
<br />
This can happen if there is a problem w/ the AMD installer compiling the fglrx.ko kernel module. The installation completes anyway with the fglrx Xorg driver in place. As per 2.6.42.9 and the 12.1 AMD driver there was a compile error in/usr/src/fglrx-8.93/firegl_public.c, due to TS_USEDFPU macro not being defined. Other compile-time errors will produce a similar problem. Check the contents of /usr/share/ati/fglrx-install.log, note if there was a compile error. If so, re-running the AMD installer will not fix the problem since the compile error will just recur. Likewise, patching the bug ie<br />
<br />
http://phoronix.com/forums/showthread.php?68922-Patch-to-compile-fgrlx-module-on-Linux-3-3-rc4-with-x86-32-bit-arch<br />
<br />
and then reinstalling won't help either since the installer re-extracts the source from the archive. To fix, apply whatever fix is required to the sourcecode that the installer leaves in /usr/src/fglrx-xxx and use dkms to compile and install the driver.<br />
<br />
dkms add fglrx/8.93 /usr/src/fglrx-8.93<BR><br />
dkms build fglrx/8.93<BR><br />
dkms install fglrx/8.93<BR><br />
<br />
Apply fixes to the fglrx source and repeat the dkms build step until the build completes, then install & reboot. Check lsmod output to see if fglrx.ko is loaded, confirm DRI and proc stuff in Xorg.log is working.<br />
<br />
In the 2.6.42.9 w/ 12.1 bug case, the fix is to add the TS_USEDFPU ifdef in firegl_public.c as below;<br />
<br />
void ATI_API_CALL KCL_fpu_begin(void)<BR><br />
{<BR><br />
<nowiki>#ifdef CONFIG_X86_64</nowiki><br />
kernel_fpu_begin();<br />
<nowiki>#else</nowiki><BR><br />
<nowiki>#ifndef TS_USEDFPU</nowiki><br />
preempt_disable();<br />
if (__thread_has_fpu(current))<br />
__save_init_fpu(current);<br />
<nowiki>#else</nowiki><br />
struct thread_info *cur_task = current_thread_info();<br />
preempt_disable();<br />
if (cur_task->status & TS_USEDFPU)<br />
__save_init_fpu(cur_task->task);<br />
<nowiki>#endif</nowiki><br />
else<br />
clts();<br />
<nowiki>#endif</nowiki><br />
}<br />
<br />
==References==<br />
<references/><br />
<br />
[[Category:Installation Documentation]]<br />
<br />
<br />
[[Category:NeedsUpdating]]<br />
{{VCT}}</div>217.108.22.100