View Single Post
  #45 (permalink)  
Old 7th November, 2009, 06:29 PM
Kaitain's Avatar
Kaitain Kaitain is offline
Member
 
Join Date: September 2001
Location: MK10, UK.
Posts: 4,372
Send a message via MSN to Kaitain Send a message via Skype™ to Kaitain

Quote:
Originally Posted by Daniel ~ View Post
Looks OK from here (see pic) but I can't use Alien Arena (See pic) ":O}
The second picture is a fair indicator that the upgrade was incomplete.

It sometimes happens with the universal installers for both fglrx and nv that they don't properly compile the glx core, with the result that you get a mismatch between the 2D driver and the 3D glx extension. If the two parts don't match, the 3D extension fails to load so you get a 2D-only display.

Common causes:
i) missing or out of date kernel headers
ii) /usr/src/linux points to a kernel source version different than your running kernel (my most common mistake).

To fix each in turn:
i) update/install kernel headers, which shouldn't be an issue with Fedora.
ii) check that your kernel version matches your source version:
Quote:
kaitain@jumpgate ~ $ uname -r
2.6.31-gentoo
kaitain@jumpgate ~ $ ls -l /usr/src
total 8
lrwxrwxrwx 1 root root 19 2009-09-21 20:58 linux -> linux-2.6.31-gentoo
If the output of uname -r matches everything after the linux- in the last bit of the symlink's output, then all's good there. If not, you should remake your symlink. If you don't have your current kernel's sources, then you'll always run into trouble with the nv installer.

iii) Mandrake (as was) used to have a bad habit of breaking the integrity of kernel headers, modules, libraries and kernel source, so that they were all on different versions at the same time. This was easily fixed thus:

As root, copy and paste this into the console, then come back after an hour:
Code:
if [ -a /proc/config.gz ]; then cd /usr/src/linux; make mrproper; zcat /proc/config.gz >>.config; make oldconfig && make modules; fi
This remakes your existing kernel leaving all the right headers and temporary files in all the right places, but does not install or overwrite anything. A small tweak makes it install the modules, if you have a really awkward system.

(note, I've not actually tested the shell script.)
(note 2: for chrisbard's benefit, it wasn't all that long ago that these forums were chock full of posts from unhappy windows users with ati graphics cards, who discovered that upgrading their catalyst drivers without first using a "catalyst killer" rendered their system unusable.)
__________________
It is by coffee alone I set my mind in motion...

Last edited by Kaitain; 7th November, 2009 at 06:31 PM.
Reply With Quote