Page 1 of 6 123 ... LastLast
Results 1 to 10 of 55

Thread: HOWTO: Nvidia 9742 beta drivers in Edgy/Feisty

  1. #1
    Join Date
    Oct 2005
    Location
    United Kingdom
    Beans
    4,848

    HOWTO: Nvidia 9742 beta drivers in Edgy/Feisty

    UPDATE - Ok consider this guide "working"... its worked for someone other than me

    Nvidia's 9742 drivers are BETA... Do NOT use on Production Machines

    Starting with 1.0-9742, all NV2x & older (NV1x & NVx) GPUs will only be supported in the legacy driver branches (1.0-7184 & 1.0-9629).
    I.e. if you have one they won't work here.


    Do not attempt this guide unless you feel competent reinstalling your previous drivers from the cli and recovering from any breakage which may or may not occur.

    These instructions worked for me, they may for you, they may not. After all these warnings its not my fault if you get hosed

    Hey there, something's changed with the latest Nvidia 97** drivers to do with dash and bash and things so that they won't install "normally"... I won't bore you

    I recommend you already have the latest drivers installed via method 2 from http://doc.gwos.org/index.php/Latest_Nvidia_Edgy
    If you don't... run
    Code:
    sudo apt-get install linux-headers-`uname -r` build-essential gcc xserver-xorg-dev pkg-config
    NOW!!!
    &
    Code:
    sudo nvidia-xconfig
    at the end.

    If you want to install the latest drivers, then head here for i386 or here for 64bit. (the instructions below will be for i386... pretty simple to figure out how to alter a line or two for 64bit )

    download to home.

    Code:
    sh ~/NVIDIA-Linux-x86-1.0-9742-pkg1.run --extract-only
    cd NVIDIA-Linux-x86-1.0-9742-pkg1/usr/src/nv
    gedit conftest.sh
    Search for the line
    if [ "$RET" == "0" ]; then
    and replace with
    if [ "$RET" = "0" ]; then
    Save and quit.

    Write down the rest of these instructions, as you will have to shutdown the X server and type them in the cli

    Ctrl+Alt+F1 and log in
    Code:
    sudo /etc/init.d/gdm stop
    cd ~/NVIDIA-Linux-x86-1.0-9742-pkg1
    For i386:
    Code:
    sudo ./nvidia-installer -n -s --x-prefix=/usr/lib/xorg/ --kernel-source-path=/usr/src/linux-headers-`uname -r`
    For 64bit:
    Code:
    sudo ./nvidia-installer -n -s --x-prefix=/usr/lib64/xorg/ --kernel-source-path=/usr/src/linux-headers-`uname -r`


    This "should" install the drivers... it takes a minute or two.

    If it complains that the nvidia module is already loaded, restart your computer. Don't log in, but Ctrl+Alt+F1 immediately when you see the log in screen and try again.
    Code:
    sudo /etc/init.d/gdm restart
    And you should be in business.

    Oh I also recommend a quick restart once you know it works

    Feedback appreciated

    Pieces picked from http://doc.gwos.org/index.php/Latest_Nvidia_Dapper & http://www.nvnews.net/vbulletin/show...t=79831&page=2
    Last edited by PriceChild; November 12th, 2006 at 07:02 PM. Reason: added dev package
    Every time you install Jaunty, a kitten........ wait sorry what year is this again?
    Please don't PM support questions, post a thread so that everyone can benefit
    Join us in #ubuntuforums on irc.freenode.net

  2. #2
    Join Date
    Jul 2005
    Beans
    18

    Re: HOWTO: Nvidia 9742 beta drivers in Edgy/Feisty

    I'm getting an error.

    unrecognized command '--kernel-source-path=/usr/src/linux-headers-`uname -r`'

    Am I supposed to replace '--kernel-source-path' with something else?

    Forgive me, I'm a total noob.

    I am currently running 9629 with beryl 0.1.1

  3. #3
    Join Date
    Oct 2005
    Location
    United Kingdom
    Beans
    4,848

    Re: HOWTO: Nvidia 9742 beta drivers in Edgy/Feisty

    Quote Originally Posted by ImaMadGoat View Post
    I'm getting an error.

    unrecognized command '--kernel-source-path=/usr/src/linux-headers-`uname -r`'

    Am I supposed to replace '--kernel-source-path' with something else?

    Forgive me, I'm a total noob.

    I am currently running 9629 with beryl 0.1.1
    Have you got your linux headers installed?

    I just retested the command and it works perfectly fine for me.
    Every time you install Jaunty, a kitten........ wait sorry what year is this again?
    Please don't PM support questions, post a thread so that everyone can benefit
    Join us in #ubuntuforums on irc.freenode.net

  4. #4
    Join Date
    Jul 2005
    Beans
    18

    Re: HOWTO: Nvidia 9742 beta drivers in Edgy/Feisty

    Code:
    sudo apt-get install linux-headers-2.6.17-10-generic
    got

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    linux-headers-2.6.17-10-generic is already the newest version.
    The following packages were automatically installed and are no longer required:
    libimlib2 libungif4g
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  5. #5
    Join Date
    Oct 2005
    Location
    United Kingdom
    Beans
    4,848

    Re: HOWTO: Nvidia 9742 beta drivers in Edgy/Feisty

    Well then i don't know.

    You could try it without it maybe... see what happens.

    I DON'T recommend this though
    , i don't know what will happen either, and you may be stuck having to reinstall your old drivers again.
    Every time you install Jaunty, a kitten........ wait sorry what year is this again?
    Please don't PM support questions, post a thread so that everyone can benefit
    Join us in #ubuntuforums on irc.freenode.net

  6. #6
    Join Date
    Jul 2005
    Beans
    18

    Re: HOWTO: Nvidia 9742 beta drivers in Edgy/Feisty

    Ok, I was finally able to install kernal sources for 2.6.17-10.

    Ran the command but had a few warnings pop up. I had to reconfigure the xserver with the standard 'nv' driver. I'll post the log when I get back home...had to come to work for a few hours.

    Really liked your previous guide. I hope I can get the new beta in there along with the new beryl.

  7. #7
    Join Date
    May 2005
    Beans
    24

    Re: HOWTO: Nvidia 9742 beta drivers in Edgy/Feisty

    Well I tried it and well... nope nada;

    here is the nvidia-installer.log

    Code:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Sat Nov 11 15:55:00 2006
    
    option status:
      license pre-accepted    : true
      update                  : false
      force update            : false
      expert                  : false
      uninstall               : false
      driver info             : false
      precompiled interfaces  : false
      no ncurses color        : false
      query latest version    : false
      OpenGL header files     : true
      no questions            : true
      silent                  : true
      no recursion            : false
      no backup               : false
      kernel module only      : false
      sanity                  : false
      add this kernel         : false
      no runlevel check       : false
      no network              : false
      no ABI note             : false
      no RPMs                 : false
      no kernel module        : false
      force SELinux           : default
      no X server check       : false
      force tls               : (not specified)
      X install prefix        : /usr/lib/xorg/
      X library install path  : (not specified)
      X module install path   : (not specified)
      OpenGL install prefix   : (not specified)
      OpenGL install libdir   : (not specified)
      utility install prefix  : (not specified)
      utility install libdir  : (not specified)
      doc install prefix      : (not specified)
      kernel name             : (not specified)
      kernel include path     : (not specified)
      kernel source path      : /usr/src/linux-headers-2.6.17-10-generic
      kernel output path      : (not specified)
      kernel install path     : (not specified)
      proc mount point        : /proc
      ui                      : none
      tmpdir                  : /tmp
      ftp mirror              : ftp://download.nvidia.com
      RPM file list           : (not specified)
    
    Using built-in stream user interface
    -> License accepted by command line option.
    -> There appears to already be a driver installed on your system (version: 1.0-
       9629).  As part of installing this driver (version: 1.0-9742), the existing 
       driver will be uninstalled.  Are you sure you want to continue? ('no' will a
       bort installation) (Answer: Yes)
    -> Not probing for precompiled kernel interfaces.
    -> Performing CC sanity check with CC="cc".
    -> Performing CC version check with CC="cc".
    -> Using the kernel source path '/usr/src/linux-headers-2.6.17-10-generic' as
       specified by the '--kernel-source-path' commandline option.
    -> Kernel source path: '/usr/src/linux-headers-2.6.17-10-generic'
    -> Kernel output path: '/usr/src/linux-headers-2.6.17-10-generic'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Cleaning kernel module build directory.
       executing: 'cd ./usr/src/nv; make clean'...
       rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nv.o nv
       -vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.mod.o
       rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
       rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
       rm -f -f stprof stprof.o symtab.h Modules.symvers
       rm -f -rf .tmp_versions
       rm -f Makefile
    -> Building kernel module:
       executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux-headers-2.6.1
       7-10-generic SYSOUT=/usr/src/linux-headers-2.6.17-10-generic'...
       sh ./conftest.sh "cc" "cc" /usr/src/linux-headers-2.6.17-10-generic /usr/src
       /linux-headers-2.6.17-10-generic cc_sanity_check full_output
       sh ./conftest.sh "cc" "cc" /usr/src/linux-headers-2.6.17-10-generic /usr/src
       /linux-headers-2.6.17-10-generic select_makefile full_output
       make --no-print-directory -f Makefile module
       
       NVIDIA: calling KBUILD...
       make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux-headers-2.6.17-10-generic SUB
       DIRS=/home/smeager/Downloaded Programs/Nvidia Drivers/Beta/NVIDIA-Linux-x86-
       1.0-9742-pkg1/usr/src/nv modules
       make[2]: *** No rule to make target `Programs/Nvidia'.  Stop.
       NVIDIA: left KBUILD.
       nvidia.ko failed to build!
       make[1]: *** [module] Error 1
       make: *** [module] Error 2
    -> Error.
    ERROR: Unable to build the NVIDIA kernel module.
    ERROR: Installation has failed.  Please see the file
           '/var/log/nvidia-installer.log' for details.  You may find suggestions
           on fixing installation problems in the README available on the Linux
           driver download page at www.nvidia.com.
    Back to 9626 for me it is since 97** won't install and 9629 doesn't work properly.

  8. #8
    Join Date
    Oct 2005
    Beans
    104

    Re: HOWTO: Nvidia 9742 beta drivers in Edgy/Feisty

    Didn't work for me either. I got about 4 "Warning" messages the last one being couldn't find modules in usr/lib/xorg and it will install to usr/lib/xorg/modules or somthing similar to that (it could have also been usr/lib/lib/xorg/modules sorry didn't write it down) It also said something in that line line about the pkg config was wrong. Anyone have any ideas? I have no problem being a guinea pig

    I'm using a 6800 GT card and 2.6.17-10-generic kernel

  9. #9
    Join Date
    Oct 2005
    Location
    United Kingdom
    Beans
    4,848

    Re: HOWTO: Nvidia 9742 beta drivers in Edgy/Feisty

    Bit scary that it isn't working for any of you guys...

    $ glxinfo
    name of display: :0.0
    display: :0 screen: 0
    direct rendering: Yes
    server glx vendor string: NVIDIA Corporation
    server glx version string: 1.4
    server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer
    client glx vendor string: NVIDIA Corporation
    client glx version string: 1.4
    client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
    GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
    GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap,
    GLX_EXT_framebuffer_sRGB
    GLX version: 1.3
    GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer,
    GLX_ARB_get_proc_address
    OpenGL vendor string: NVIDIA Corporation
    OpenGL renderer string: GeForce FX 5600XT/AGP/SSE/3DNOW!
    OpenGL version string: 2.1.0 NVIDIA 97.42
    OpenGL extensions:

    <<snip>>
    Definately working for me...

    I'm getting someone else to check.
    Every time you install Jaunty, a kitten........ wait sorry what year is this again?
    Please don't PM support questions, post a thread so that everyone can benefit
    Join us in #ubuntuforums on irc.freenode.net

  10. #10
    Join Date
    Oct 2005
    Beans
    104

    Re: HOWTO: Nvidia 9742 beta drivers in Edgy/Feisty

    I'm glad you responded.
    A couple of questions before I give it a go again.

    Should I uninstall the old drivers also do I have to edit the conftest.sh ? or can I just
    sudo bash
    and install from the nvidia package?

    One last thing after reading endless guides for nvidia and edgy well only about 4, I've read on one that I need xserver-xorg-dev granted the guide for the pre releases of edgy just want to make sure.

    Thanks in advance!

Page 1 of 6 123 ... LastLast

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
  •