MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to upgrade the videocard-driver, and follows the Nvidia-instructions, but I keep getting this error message when I run the "make" -command:
make install
You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly fine, but there
are cases where this can lead to unexpected behaviour and
system crashes.
If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.
In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.
Thanks for the help!
Now I've managed to run a nvidia installer, but for some reason, no 3d-graphics seems to be too happy about running, so it's probably some error somehwere.
there's an installer which takes care or compilation / installation.
It worked flawlessly with Mandrake 9.1 : there's an available version of driver.
With Mandrake 9.2rc2 it tells me it has got to recompile (adding kernel-source...), which works as well.
Here are my versions :
cat /proc/version
Linux version 2.4.22-6mdk (nplanel@no.mandrakesoft.com) (gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)) #1 Sun Sep 7 18:11:19 EDT 2003
If your version of gcc used for compiling kernel differs from available gcc, you should either consider to :
- revert to appropriate gcc (recommended, you can always upgrade it later)
- compile kernel with your latest gcc (well, you know what you're doing !)
Please check latest version of nvidia drivers before beginning second option...
Once you get it installed properly, you will want to have a look at http://yanc.sourceforge.net/ to configure twinview easily.
It still won't work however - here's the config who refuses to start X:
START
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
what's the error given by X ?
can you copy & paste ?
your XF86Config-4 seems correct.
Perhaps you can revert to Driver "nv" (instead of nvidia) to verify that's it's related to nvidia (otherwise it would be X).
If X does not start at boot and you only get a console, you can type startx (well, to start X and KDE or Gnome depending on your choice...).
Furthermore, could you have a look at /var/log/messages (with vi for example) and search for a line like this (to show that nvidia is correctly loaded by kernel).
Sep 20 11:05:50 BenAthlux kernel: 0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4496 Wed Jul 16 19:03:09 PDT 2003
ive had a problem in the past that won't start X when using startx.. the workround i use is either use a script called Xtart or use the xinit itself like "xinit /usr/bin/startkde" or of u have kde installed (and want to use it) just type "kde" no quotes... i gave up on startx a long time ago... just a suggestion
> taint the kernel
that's only for the purist of GPL, it's not really an error, only telling that nVidia may be doing good work, but that they'd better license their work under GPL to contribute to the community (and help us debug this buggy driver).
> flashes and goes black
how long do you wait before rebooting ? maybe the driver is loading ?
have you tried to revert to driver nv ? (just a try)
why have you a newer version of gcc than the one used for your kernel ? (did you install it ?)
are you sure that the kernel-source is the same version as your kernel ? (have a look at /usr/src : ls -l /usr/src/, should give symlink linux pointing to kernel-source used, should be the same as your kernel
> scroll the log-file
you had a look at /var/log/XFree86.0.log as well ?
- I reboot the computer entirely, so I don't think that the driver hasn't loaded
- I currently am running with nv, which is what I had installed before it all went wrong, and it's working ok, the 3d graphics are horrible, and I can't configure any twin-view.
The gcc is version 2.96, I've installed it after mandrake (how do I display the kernel version anyways?)
when I look at the XFree86.0.log, I find this line -
(...)
(II) Initializing built-in extension RANDR
(EE) [GLX]: Failed to add GLX extension (NVIDIA XFree86 driver not found)
(II) Keyboard "Keyboard1" handled by legacy driver
(...)
> how do I display the kernel version anyways?
cat /proc/version
> The gcc is version 2.96, I've installed it after mandrake
can you revert to 3.2.2 (I think that's the version used by MdK9.1)
why did you choose to install an older version in the first place ?
> (EE) [GLX]: Failed to add GLX extension (NVIDIA XFree86 driver not found)
with nv driver or nvidia ?
with nvidia there's the line Load "glx" to have in the XF86Config-4 (which you have), with nv driver I don't know
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.