Find the answer to your Linux question:
Results 1 to 10 of 10
hi all, im quite new to linux and i want to install my nvidia graphic card drivers but when I try to install it, it says ive got the wrong ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    21

    NVIDIA drivers installation


    hi all,

    im quite new to linux and i want to install my nvidia graphic card drivers but when I try to install it, it says ive got the wrong kernel and then it starts trying to compile it, but then I get the error that I dont have the right kernel.

    Im using Mandriva LE2005 anyone has similar problem with a solution?

    please dont overload me with codes :P using it 3days now

  2. #2
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    type into the terminal:
    Code:
    uname -r
    now using either the mandriva installation media or urpmi, install the correct kernel source files. the correct kernel source file should match the output from uname -r command.

    also, have a look at techieMoe's tutorial on this subject.
    Life is complex, it has a real part and an imaginary part.

  3. #3
    Just Joined!
    Join Date
    Sep 2005
    Posts
    21
    type into the terminal:
    Code:
    uname -r

    now using either the mandriva installation media or urpmi, install the correct kernel source files. the correct kernel source file should match the output from uname -r command.

    also, have a look at techieMoe's tutorial on this subject.
    thanks a lot gonna try this out immediately!

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Sep 2005
    Posts
    21
    Quote Originally Posted by AlexK
    type into the terminal:
    Code:
    uname -r
    now using either the mandriva installation media or urpmi, install the correct kernel source files. the correct kernel source file should match the output from uname -r command.

    also, have a look at techieMoe's tutorial on this subject.
    ok, ive tried to do so via the mandriva installation cd to install the kernel 2.6.11.6 (if I recall correctly) but then it says that the kernel is installed already when I use the command rpm -ivh kernel.2.6.11.6mdk.. ... but when I try out the nvidia driver again (in run level 3) it says ive still got the wrong kernel and that I have to load the sources.

    Am I looking at the wrong files now??

    any1 got a step by step explenation ??????

  6. #5
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    @ w4rmin, read reply to pm you sent to me.

    to others who may have the same problem, the kernel is already installed on the system. what the nvidia drivers are asking for is the kernel source files, basicially the code for the kernel so that it can compile itself for that particular kernel.

    ther kernel source files can either be found by searching in mandriva's add remove software section or using urpmq/urpmi to get it.
    Life is complex, it has a real part and an imaginary part.

  7. #6
    Just Joined!
    Join Date
    Jul 2006
    Posts
    5
    Hi, AlexK,

    I`m having troubles when trying to install the NVIDIA drivers, too. But it's in a different part of the process:

    I downloaded the correct source, so that there are 3 different directories but for the same source on my /usr/src/kernels (Fedora Core 5).

    It installs really fine, but when I want to start X server, it accuses a wrong configuration, and asks for autoconfiguring, returning to the old 'nv' configuration. Always when I change the "Driver 'nv'" to "Driver 'nvidia'", the X server enters the same error.

    Could you give me a light on that?

    Thanks a lot!

  8. #7
    Just Joined!
    Join Date
    Jul 2006
    Posts
    4
    Hi AlexK,

    I am using Mandriva 2006 and try to install nvidia driver. Using uname -a to get "kernel 2.6.12-12mdksmp #1, then type "urpmi kernel-source" to install kernel-source-2.6.12-12mdk and "sh NVIDIA-pkg1.run". It installed really fine and edit /etc/X11/xorg.conf and /etc/modprobe.proload files, but startx to get the following message:
    (EE) NVIDIA(0): Failure to construct a vailid mode list: no mode remaining
    (EE) NVIDIA (0): *** Aborting *****
    (EE) Screen(s) found, but non have a usable configuration

    I do not know what I did something wrong with it. Please help me and thanks in advance.

  9. #8
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    @ diogobaeder
    firstly, please try posting in the correct forum i.e. Redhat/Fedora instead of Mandrake. IIRC there is a bug in FC5 which disallows you to insert propietary i.e. non GPL modules into the kernel. I'd say look through a few posts on the fedora section of these forums to see if anyone has fixed it.

    @ haiboxu
    can you post your xorg.conf file? Also temproarily reset the driver in xorg.conf back to nv, boot into Mandriva normally and try setting up the 3D from Mandrake's Control Center.
    Also have you added the following line:
    Load "glx"
    whilst deleting the following lines:
    Load "dri"
    Load "GLcore"
    Life is complex, it has a real part and an imaginary part.

  10. #9
    Just Joined!
    Join Date
    Jul 2006
    Posts
    4
    Hi AlexK,

    Thanks for youe reply. I show you the xorg.conf before installing the nvidia driver as followings. If further infos needed, please let me know.

    # 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 does not 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

    Section "InputDevice"
    Identifier "Keyboard1"
    Driver "keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbOptions" "compose:rwin"
    EndSection

    Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
    Option "ZAxisMapping" "6 7"
    EndSection

    Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "1024x768 @ 70 Hz"
    HorizSync 31.5-57.0
    VertRefresh 50-70

    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
    EndSection

    Section "Device"
    Identifier "device1"
    VendorName "nVidia Corp."
    BoardName "NVIDIA GeForce FX (generic)"
    Driver "nv"
    Option "DPMS"
    EndSection

    Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24

    Subsection "Display"
    Depth 8
    Virtual 1024 768
    EndSubsection

    Subsection "Display"
    Depth 15
    Virtual 1024 768
    EndSubsection

    Subsection "Display"
    Depth 16
    Virtual 1024 768
    EndSubsection

    Subsection "Display"
    Depth 24
    Virtual 1024 768
    EndSubsection
    EndSection

    Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
    EndSection

  11. #10
    Just Joined!
    Join Date
    Jul 2006
    Posts
    4
    Thanks for every experts. I solve the problem for installing the nvidia driver into mandriva 2006. I would like to share my experience for the one like me is newbie as followinds;
    uname -a
    Linux localhost 2.6.12-12mdksmp #1
    urpmi kernel-source
    The screen will pop up the message to remind you for insalled CD. Then doing as the prompt messages.

    Exit X into failsafe
    sh NVIDIA-Linux-x86-1.0-7667-pkg1.run
    emacs /etc/X11/xorg.conf
    change the "nv" into "nvidia"
    add "Option "NvAGP" "3"
    add "Option "NoLogo" "1"
    reboot
    It works.
    ######
    glxinfo
    name of display: :0.0
    display: :0 screen: 0
    direct rendering: Yes
    server glx vendor string: NVIDIA Corporation
    ##
    glxgears
    [root@localhost ~]# glxgears
    19994 frames in 5.0 seconds = 3998.742 FPS
    19815 frames in 5.0 seconds = 3962.945 FPS
    19807 frames in 5.0 seconds = 3961.357 FPS
    server glx version string: 1.3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •