Author Topic: Помогите с драйверов на видюху  (Read 6285 times)

0 Members and 1 Guest are viewing this topic.

Offline Alex@nder

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Помогите с драйверов на видюху
« on: October 27, 2006, 13:45:47 »
поставил ASPLinux-11 на 4-дисках, поставилось вроде нормально.
Запускаю и вуаля, он не знает мою видюху =>  X - windows не запускается, в списке дров нет даже близкого к моей MSI NX7300 GT ( NVIDIA GeForce 7300 GT) 256MB. У меня прос Athlon64, но не думаю что это как то влияет не смотря на то что я линукс 32-рязрядный поставил а не на 64-х. Помогите начинающему линушнику. Как мне поставить дровину на мою видюху?(если не сложно напишите подробно). И где можно в томске найти дрова на мою видюху? а то я каких то накачал хз то или не то.
Еще такой вопрос этот линукс я ставил на Ext3, а какие он файловые системы будет видеть?

Offline Alex@nder

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Помогите с драйверов на видюху
« Reply #1 on: October 27, 2006, 17:12:38 »
если драйвер с расширением .run как его поставить? если с помощью rpm то какие опции надо писать.

Offline Xray_Linux_Root

  • Sr. Member
  • ****
  • Posts: 296
  • Karma: +2/-0
Помогите с драйверов на видюху
« Reply #2 on: October 27, 2006, 21:23:57 »
Code: [Select]
Installing the NVIDIA Driver
____________________________________________________

This chapter provides instructions for installing the NVIDIA driver. Note that
after installation, but prior to using the driver, you must complete the steps
described in Chapter 3. Additional details that may be helpful for the new
Linux user are provided in Chapter 8.

BEFORE YOU BEGIN

Prior to beginning the installation, you should exit the X server and kill all
OpenGL applications (note that it is possible that some OpenGL applications
persist even after the X server has stopped). You should also set the default
run level on your system such that it will boot to a VGA console, and not
directly to X. Doing so will make it easier to recover if there is a problem
during the installation process. Please see Chapter 8 for details.

STARTING THE INSTALLER

After you have downloaded the file 'NVIDIA-Linux-x86-1.0-8776-pkg#.run',
change to the directory containing the downloaded file, and as the 'root' user
run the executable:

    # cd yourdirectory
    # sh NVIDIA-Linux-x86-1.0-8776-pkg#.run

The '.run' file is a self-extracting archive. When executed, it extracts the
contents of the archive and runs the contained 'nvidia-installer' utility,
which provides an interactive interface to walk you through the installation.

 'nvidia-installer' will also install itself to '/usr/bin/nvidia-installer',
which may be used at some later time to uninstall drivers, auto-download
updated drivers, etc. The use of this utility is detailed later in this
chapter.

You may also supply command line options to the '.run' file. Some of the more
common options are listed below.

Common '.run' Options

--info

    Print embedded info about the '.run' file and exit.

--check

    Check integrity of the archive and exit.

--extract-only

    Extract the contents of './NVIDIA-Linux-x86-1.0-8776.run', but do not run
    'nvidia-installer'.

--help

    Print usage information for the common commandline options and exit.

--advanced-options

    Print usage information for common command line options as well as the
    advanced options, and then exit.


INSTALLING THE KERNEL INTERFACE

The NVIDIA kernel module has a kernel interface layer that must be compiled
specifically for each kernel. NVIDIA distributes the source code to this
kernel interface layer, as well as precompiled versions for many of the
kernels provided by popular Linux distributions.

When the installer is run, it will determine if it has a precompiled kernel
interface for the kernel you are running. If it does not have one, it will
check if there is one on the NVIDIA FTP site (assuming you have an Internet
connection), and download it. If one cannot be downloaded, either because the
FTP site cannot be reached or because one is not provided, the installer will
check your system for the required kernel sources and compile the interface
for you. You must have the source code for your kernel installed for
compilation to work. On most systems, this means that you will need to locate
and install the correct kernel-source or kernel-headers package; on some newer
distributions, no additional packages are required (e.g. Fedora Core 3, Red
Hat Enterprise Linux 4).

Note that linking of the kernel interface (in the case that the interface was
downloaded or compiled at installation) requires you to have a linker
installed on your system. The linker, usually '/usr/bin/ld', is part of the
binutils package. If a precompiled kernel interface is not found, you must
install a linker prior to installing the NVIDIA driver.

FEATURES OF THE INSTALLER

Without options, the '.run' file executes the installer after unpacking it.
The installer can be run as a separate step in the process, or can be run at a
later time to get updates, etc. Some of the more important commandline options
of 'nvidia-installer' are:

'nvidia-installer' options

--uninstall

    During installation, the installer will make backups of any conflicting
    files and record the installation of new files. The uninstall option
    undoes an install, restoring the system to its pre-install state.

--latest

    Connect to NVIDIA's FTP site, and report the latest driver version and the
    url to the latest driver file.

--update

    Connect to NVIDIA's FTP site, download the most recent driver file, and
    install it.

--ui=none

    The installer uses an ncurses-based user interface if it is able to locate
    the correct ncurses library. Otherwise, it will fall back to a simple
    commandline user interface. This option disables the use of the ncurses
    library.

Note that, as suggested by the options, the installer has the ability to
download updated precompiled kernel interfaces from the NVIDIA FTP site (for
kernels that were released after the NVIDIA driver release).

Согласен, что по английски трудно понять, но без него никуда
Mandrake, ASPLinux, Slackware, RedHat, Fedora, Debian
Зачем M$ Exchange? Есть eGroupware!
-j MASQUERADE + друзья в других сетях помогут построить мир независимо от желания вашего провайдера ;)

Offline kerdyk

  • Full Member
  • ***
  • Posts: 167
  • Karma: +0/-0
Помогите с драйверов на видюху
« Reply #3 on: October 27, 2006, 21:44:58 »
Quote from: Xray_Linux_Root

Согласен, что по английски трудно понять, но без него никуда

Главное - видеть "заклинания"...  

Offline Alex@nder

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Помогите с драйверов на видюху
« Reply #4 on: October 28, 2006, 19:09:36 »
Спасибо за помощь, запустить инсталяцию драйвера получилось, но вылезла ошибка типо "no precompile kernel ..."  что то типо этого и нифига не устанавливается, подскажите чего он от меня хочет? и как его удовлетворить?

Offline kerdyk

  • Full Member
  • ***
  • Posts: 167
  • Karma: +0/-0
Помогите с драйверов на видюху
« Reply #5 on: October 28, 2006, 19:50:23 »
Quote from: Alex@nder
Спасибо за помощь, запустить инсталяцию драйвера получилось, но вылезла ошибка типо "no precompile kernel ..."  что то типо этого и нифига не устанавливается, подскажите чего он от меня хочет? и как его удовлетворить?
Извини за нескромный вопрос, а у тебя исходники ядра есть? В смысле установлены?

Offline Alex@nder

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Помогите с драйверов на видюху
« Reply #6 on: October 28, 2006, 21:47:01 »
Quote from: kerdyk
Извини за нескромный вопрос, а у тебя исходники ядра есть? В смысле установлены?
Сам линукс вроде поставил, а про исходники хз, есть или нет, как они выглядят?(некомпилированый код чтоли?) И где их можно найти? Если найду то к какому месту их прикладывать?

Offline Xray_Linux_Root

  • Sr. Member
  • ****
  • Posts: 296
  • Karma: +2/-0
Помогите с драйверов на видюху
« Reply #7 on: October 28, 2006, 22:31:51 »
Вот и добрались до самого интересного.
"no precompile kernel ..."  - означает что нет среды для сборки драйвера видеокарты для твоего текущего ядра. И предлагается на выбор два варианта решения этого: 1. "YES" - скачать эту среду с сайта NVIDIA и 2. "NO" собрать её в каталоге с исходниками ядра (естественно они у тебя не установлены).
Исходники ядра идущего в комплекте с ASPLinux 11 в дистрибутиве отсутствуют. Первый вариант у тебя результата не даст в любом случае, т.к. ядро ASPLinux'овское
Есть опять же несколько вариантов решения этой задачи:

!!! Обзавестись инструкцией по настройке и компиляции ядра !!!
1. Скачать SRPM-пакет ядра (томский ftp): ftp://apollo.chtd.tpu.ru/ASPLinux-11/upda...42.1asp.src.rpm
а). Собрать скачанный пакет командой rpmbuild --rebuild kernel-2.6.17-1.2142.1asp.src.rpm
б). Установить собранное таким образом ядро и исходники этого ядра
в). Повторить сборку драйвера для видеокарты

2. Скачать исходники ядра в виде тарбола (томский ftp): ftp://ftp.linux.tomsk.ru/Linux/kernel/2.6...-2.6.18.tar.bz2
плюс патч к этому ядру
ftp://ftp.linux.tomsk.ru/Linux/kernel/2.6/patch-2.6.18.1.bz2
а). Настроить, собрать и установить ядро
б). Повторить сборку драйвера для видеокарты

З.Ы. Здесь даны только краткие рекомендации по решению вопроса связанного со сборкой и установкой родного драйвера от nVidia, и каждый перецисленный пункт на самом деле содержит не один и не два подпункта!
« Last Edit: October 29, 2006, 11:02:34 by Xray_Linux_Root »
Mandrake, ASPLinux, Slackware, RedHat, Fedora, Debian
Зачем M$ Exchange? Есть eGroupware!
-j MASQUERADE + друзья в других сетях помогут построить мир независимо от желания вашего провайдера ;)

Offline SG_

  • Full Member
  • ***
  • Posts: 157
  • Karma: +0/-0
Помогите с драйверов на видюху
« Reply #8 on: October 29, 2006, 16:56:28 »
ну вы еще ведро научите его собирать

новичкам нужно юзать дистрибутив, где все уже собрано, осталось поставить. не знаю как федоры и сюзи со свежими ведрами для ати/нвидиа, а в убунте ето есть и работает.

Offline kerdyk

  • Full Member
  • ***
  • Posts: 167
  • Karma: +0/-0
Помогите с драйверов на видюху
« Reply #9 on: October 29, 2006, 17:28:08 »
Quote from: SG_
ну вы еще ведро научите его собирать

новичкам нужно юзать дистрибутив, где все уже собрано, осталось поставить. не знаю как федоры и сюзи со свежими ведрами для ати/нвидиа, а в убунте ето есть и работает.
Ну в Fedore в дистрибутиве нет, но люди собирают. rpm.livna.org, например. А вот оно нужно это 3d?

Offline SG_

  • Full Member
  • ***
  • Posts: 157
  • Karma: +0/-0
Помогите с драйверов на видюху
« Reply #10 on: October 30, 2006, 13:19:14 »
Quote from: kerdyk
Ну в Fedore в дистрибутиве нет, но люди собирают. rpm.livna.org, например. А вот оно нужно это 3d?
если ненужно то объявить кины идеологически вредной штукой и юзать vesa - работает просто ништяк.

3д нужен как тем кому он нужен  , так и для игрушек

Offline kerdyk

  • Full Member
  • ***
  • Posts: 167
  • Karma: +0/-0
Помогите с драйверов на видюху
« Reply #11 on: October 30, 2006, 15:45:30 »
Quote from: SG_
если ненужно то объявить кины идеологически вредной штукой и юзать vesa - работает просто ништяк.

3д нужен как тем кому он нужен  , так и для игрушек
Для "кины" достаточно xorgовских.

Offline mistral

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
Помогите с драйверов на видюху
« Reply #12 on: October 31, 2006, 22:41:38 »
Quote
"no precompile kernel ..." - означает что нет среды для сборки драйвера видеокарты для твоего текущего ядра. И предлагается на выбор два варианта решения этого: 1. "YES" - скачать эту среду с сайта NVIDIA и 2. "NO" собрать её

no precompiled kernel module found .... драйвера нвидии поставляются с уже собранными модулями для ряда дистров, читай доки на дрова, это совсем не значит, что нет среды для сборки, до неё мы еще не дошли. "yes" - скачаем модуль нвидии с фтп, либо "no" - соберет его установщик.

Хотя сам цитировал инструкцию по установке, все это описано в параграфе INSTALLING THE KERNEL INTERFACE со 2 абзаца.
« Last Edit: October 31, 2006, 22:46:05 by mistral »

Offline kerdyk

  • Full Member
  • ***
  • Posts: 167
  • Karma: +0/-0
Помогите с драйверов на видюху
« Reply #13 on: November 02, 2006, 20:54:32 »
Quote from: XaMuT
А как поставить дрова на Fedora Core 6?
По подробнее пожалуйста про решение "no precompile kernel".
Где мона взять ядро?
Если идти по-легкому пути - прямая дорога на rpm.livna.org (там дрова под карточки собранные и модуль для ядра - во всяком случае всегда так было). А если руками все делать, то можно почитать темы, посвященные ati  и nvidia на slackware.tomsk.ru. Там все написано.
Что касается Где мона взять ядро? (имеются ввиду исходники?) , то для fc это пакет с названием kernel-devel-кактамутебяядро. Ну и все. Скажу сразу, у меня не всегда получалось запустить свой radeon.
В FC6 этим еще не занимался - времени нет сейчас. А у тебя что за карточка?