Professional Web Applications Themes

re nvidia drivers - Debian

I'm still trying to install nvidia drivers. I started by installing the .debs for nvidia-kernel-src and nvidia-glx-src and using the doentation then available. This I found somewhat confusing - nontheless I soldiered on. Eventually, I got 'nvidia-kernel-1.0.3123-4.deb' created and installed it with 'dpkg -i'. Then, I got the nvidia-glx*.deb created (wget seemed to be used to download something I thought I already had). 'dpkg -i' is unable to install the package because "nvidia kernel is not installed". 'dpkg -l' shows:- ii nvidia-kernel-1.0.3123 NVIDIA binary kernel module ii nvidia-glx-src-1.0.3123 NVIDIA binary XFree86 4.x driver iU nvidia-glx-1.0.3123 NVIDIA binary XFree86 4.x driver ...

  1. #1

    Default re nvidia drivers

    I'm still trying to install nvidia drivers. I started by
    installing the .debs for nvidia-kernel-src and nvidia-glx-src
    and using the doentation then available. This I found
    somewhat confusing - nontheless I soldiered on.

    Eventually, I got 'nvidia-kernel-1.0.3123-4.deb' created
    and installed it with 'dpkg -i'.

    Then, I got the nvidia-glx*.deb created (wget seemed to be
    used to download something I thought I already had).
    'dpkg -i' is unable to install the package because
    "nvidia kernel is not installed".

    'dpkg -l' shows:-
    ii nvidia-kernel-1.0.3123 NVIDIA binary kernel module
    ii nvidia-glx-src-1.0.3123 NVIDIA binary XFree86 4.x driver
    iU nvidia-glx-1.0.3123 NVIDIA binary XFree86 4.x driver

    Can anyone explain why the nvidia kernel cannot be seen?

    Grateful for assistance. John.


    --
    To UNSUBSCRIBE, email to debian.org
    with a subject of "unsubscribe". Trouble? Contact debian.org
    john Guest

  2. #2

    Default Re: re nvidia drivers

    john gennard wrote: 

    I found them confusing as well. But once you work through them a time
    or two everything starts to make sense.
     

    Where does this next command say it installed the NVdriver file? Does
    that match your current kernel?

    dpkg -L nvidia-kernel-1.0.3123 | grep NVdriver
     

    This nvidia-kernel-1.0.3123 would match kernel-image-1.0.3123 which
    seems an unlikely kernel version. On my machine I have these
    installed. Notice that the versions match.

    nvidia-kernel-2.4.20-2-k7
    kernel-image-2.4.20-2-k7

    I think the NVdriver is not installed where your kernel can find it.
    Rather than try to debug your current configuration I suggest you
    follow these steps which I will include and build the driver again
    matching your kernel. (Of course I could be guessing wrong about your
    kernel version. :-)

    The following are my own notes on installing the proprietary nVidia
    driver.

    Assumption: You are in group 'src' and can therefore write to /usr/src
    as yourself and do not need root for that purpose. If not:

    su
    adduser $LOGNAME src
    exit
    exec login $LOGNAME

    Assumption: You have 'sudo' installed. But if you don't that is
    fine. Just jump to root with 'su' for the commands marked 'sudo'.
    Only those commands should be run as root. All of the others are run
    as yourself. But sudo is very useful. So:

    su
    apt-get install sudo
    echo "$LOGNAME ALL=ALL" >> /etc/sudoers
    exit
    sudo id

    Bob

    ================================================== ==============

    Bob's guide to installing the nVidia driver on Debian

    Installing the proprietary nVidia driver.

    The nVidia driver is a closed source proprietary driver. It cannot be
    legally shipped with a free software distribution. Therefore if you
    wish to use this driver then you must agree with their license,
    download it from nVidia, and build it for your system. If you don't
    like doing this then support free software. You can either use the
    free "nv" driver which unfortunately is not as capable or ask nVidia
    to change their license into a free license.

    Get the bits onto your machine

    If you are going to be installing offline then you will need to get
    the NVIDIA_*tar.gz files from nVidia prior to doing the installation.
    This will be done automatically if you are online. Again, this step
    is only needed if you are building on a machine which is not online.

    cd /usr/src
    wget http://205.158.109.140/XFree86_40/1.0-2880/NVIDIA_kernel-1.0-2880.tar.gz
    wget http://205.158.109.140/XFree86_40/1.0-2880/NVIDIA_GLX-1.0-2880.tar.gz
    ... then copy the files to your offline machine ...

    Use the Debian source installer packages.

    Note that kernel-source-2.4.20 is available in woody-proposed-updates.

    cd /usr/src
    sudo apt-get install nvidia-kernel-src nvidia-glx-src
    sudo apt-get install kernel-source-2.4.20

    Build the kernel modules

    Note that I am using the kernel-image-2.4.20-2-k7 from the
    woody-proposed-updates section. But this should work with whichever
    kernel you are using. Replace -2.4.20-2-k7 with the appropriate
    version from your kernel.

    cd /usr/src
    tar xzf nvidia-kernel-src.tar.gz # /usr/src/modules/...
    tar xjf kernel-source-2.4.20.tar.bz2
    cd kernel-source-2.4.20
    cp /boot/config-2.4.20-2-k7 .config
    make-kpkg clean
    fakeroot make-kpkg --append_to_version -2-k7 modules_image
    cd /usr/src
    sudo dpkg -i nvidia-kernel-*.deb

    Build the graphics drivers

    cd /usr/src/nvidia-glx-1.0.2880
    fakeroot dpkg-buildpackage -us -uc
    cd /usr/src
    sudo dpkg -i nvidia-glx*.deb # two packages {,-dev}

    Configure X for this driver

    ... edit /etc/X11/XF86Config-4 ...
    Driver "nvidia"
    Option "UseFBDev" "true"
    #Option "NoLogo" "true" # Your preference...

    Remove from /etc/X11/XF86Config-4 the following drivers.

    GLcore # OpenGL support (conflicts with nvidia)
    dri # Direct rendering infrastructure (conflicts with nvidia)

    Leave only these modules in the list.

    dbe # Double-buffering
    extmod # Misc. required extensions
    glx # OpenGL X protocol interface
    type1

    Reference Information

    /usr/share/doc/kernel-package/README.gz

    http://newbiedoc.sourceforge.net/system/kernel-pkg.html

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQE/OeW40pRcO8E2ULYRAhbyAJ9pVoKXJ9oAAQh1zhFUmLpt9yerew CdG85B
    sN2Ub87rZwujlu+2HyQxcWw=
    =Zslq
    -----END PGP SIGNATURE-----

    Bob Guest

  3. #3

    Default Re: re nvidia drivers

    On Wed, Aug 13, 2003 at 01:16:08AM -0600, Bob Proulx wrote:
    [snip] 
    This is one of the two problem areas your reply highlights.
    The nvidia-kernel is not installed - output of 'dpkg -l' is
    truncated and 'src' is missing. I feel stupid for Colin Watson
    pointed out the possibility some time ago and I 'forgot' the
    lesson.

    I have a self compiled kernel using 2.4.21 which was being
    looked for (and I thought had been found). Where I went wrong
    seems to be at the following point. I don't understand the
    command - is there a typo?
     

    Very many thanks, Bob, for your detailed response - I should be
    able to proceed when I understand the above line.

    Regards, John.


    --
    To UNSUBSCRIBE, email to debian.org
    with a subject of "unsubscribe". Trouble? Contact debian.org
    john Guest

  4. #4

    Default Re: re nvidia drivers

    john gennard wrote: 

    Should be fine too. I just like using the package system for my
    machines. Just build the module with your kernel source and you
    should be fine.
     

    No typo. It looks fine to me.
     
    >
    > Very many thanks, Bob, for your detailed response - I should be
    > able to proceed when I understand the above line.[/ref]

    tar xzf file.tar.gz

    x -- extract
    z -- gzip'd compressed
    f -- filename
    # a shell comment character. The rest of the line is ignored.

    'tar' is one of those commands that does not take options. It takes
    arguments since they are not optional. 'tar' must have a command. So
    there are no '-' required. This is similar to 'ar' which 'tar'
    follows. A lot of the BSD based commands are like that. Look at 'ps'
    for another example. Although you may put a '-' before the command if
    you want and many people do. It is ignored for tar.

    That command will unpack the file into ./modules/nvidia-kernel-1.0.2880/
    in your current directory. The presence of files in modules will be
    detected by make-kpkg which will build them as modules automatically.
    This is an automated installer which will install the
    NVIDIA_kernel-1.0-2880.tar.gz (partial) source directory.

    If you are compiling the kernel yourself then you will need to handle
    this yourself too. I have been using make-kpkg to the point I have
    forgotten how to do it otherwise.

    Bob

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQE/OuxQ0pRcO8E2ULYRApqTAJ9lCC2pt2l1IBWiAu3nsPPQuUBrnw CfUqB/
    TxrTouW77YQqrVrDkau3h3c=
    =qpWY
    -----END PGP SIGNATURE-----

    Bob Guest

Similar Threads

  1. 2.6.15-27-686 poops on nVidia
    By BlackTopBum in forum Ubuntu
    Replies: 5
    Last Post: September 22nd, 11:27 PM
  2. Nvidia drivers leave a black margin
    By alex in forum Ubuntu
    Replies: 4
    Last Post: August 30th, 07:06 AM
  3. Replies: 4
    Last Post: November 4th, 07:04 AM
  4. Installing NVIDIA drivers on Debian
    By vir in forum Linux Setup, Configuration & Administration
    Replies: 4
    Last Post: September 8th, 06:33 PM
  5. Replies: 1
    Last Post: August 1st, 07:50 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139