[HOWTO]Get the NVIDIA drivers working


Recommended Posts

This process of getting NVIDIA drivers to work with the new 2.6.x kernels

was made on a debian system, but can be easily adapted to other systems aswell.

*The x on the kernel package you need to replace with yor kernel version.

-First you need to get some packages from yor update system (using apt here) :

apt-get install kernel-headers-2.6.x kernel-source-2.6.x gcc nvidia-glx

-After those packages are installed via yor update system you will go and compile

yor kernel from those sources you've just downloaded (go here for details on howto compile a kernel) and in the compilation of the kernel you must disable rivafb module otherwise it may conflict with the NVIDIA drivers.

-Boot up with yor new compiled and installed kernel.

-Get the latest NVIDIA driver from their page: http://www.nvidia.com/object/linux.html

When downloading of the drivers is complete open a terminal and (as root) type telinit 1

it will take you to into single user console mode.

-Run the NVIDIA installer ./NVIDIA-Linux-x86-1.0-6629-pkg1.run

-After the instalation process is finished it's time to edit yor /etc/X11/XF86Config-4

or /etc/X11/X.org file if you are using the X.org Xserver. nano /etc/X11/XF86Config-4 or nano /etc/X11/X.org

Comment or remove Load "GLcore" and Load "dri", also be sure to have Load "glx" on it.

Should look like this after editing:

Section "Module"

#	Load	"GLcore"
#	Load	"dri"
         Load     "glx"

Replace the "nv" driver with the "nvidia" driver on the Device section:

Section "Device"
	Identifier	"NVIDIA Corporation"
	Driver  "nvidia"

In this section you can also have twinview enabled, and a bunch of other options (read the README file from NVIDIA for more details).

Save the file (on nano you press Ctrl+X to save files).

-Edit the file /etc/udev/links.conf ( nano /etc/udev/links.conf ) and add the following lines:

M nvidia0 c 195 0
M nvidia1 c 195 1
M nvidiactl c 195 255

(this is done because the nvidia devs don't get created fast enough by udev at startup)

Save the file.

Start yor Xserver by typing startx and enjoy a full hardware accel Linux desktop.

*/suggestion: apt-get install tuxracer :) */

Link to comment
https://www.neowin.net/forum/topic/293937-howtoget-the-nvidia-drivers-working/
Share on other sites

  • 1 month later...
I run kernel 2.6.8, do I have to download the kernel I have or can I get the latest one?

585747214[/snapback]

Well, you already have the kernel binaries. To run the script from nVidia, I think it is likely you will need your kernel sources as well, so it can compile, if needed. The nVidia script is supposed to check for a pre-compiled source, but I don't think I have ever had it find one in the past for me...

An easier (much easier) method would be to use a tool such as apt-get, yum, or other package manager of your choice to install the appropriate binary module for you. What distro are you running?

  • 2 months later...
Uh, the file /etc/udev/links.conf is not included in FC4. Tried the normal steps to install the NVidia drivers and still no luck. Here's my log and config files to see if anybody could catch any immediate errors.

Here's a Red Hat page explaining the udev task: udev Red Hat

Don't think you need to go and do all of that work in Fedora.

You only need kernel-headers for the currently running kernel, gcc to

compile the nvidia driver, and the ususal tools that are used to make kernel

modules (i believe that the kernel sources are now called kernel-devel in Fedora).

Then just run the installer, no need to compile a different kernel here.

There are also available kernel modules from yum/apt.

  • 2 weeks later...

Never mind. Someone else gave me a link where I could get actual RPM files for this and it works without any extra configurations. Going to include it with my remastering project as well as the ATI drivers, but first I gotta make time for this project.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Anthropic pulls Fable 5 and Mythos 5 after US export control order by Pradeep Viswanathan In April this year, Anthropic launched the Claude Mythos Preview frontier model with state-of-the-art cyber and coding capabilities for a select set of companies around the world. After preparing appropriate guardrails, early this week, Anthropic launched Claude Fable 5 and Mythos 5, its most capable AI models. Claude Fable 5 is for general users and comes with strict safeguards, while Mythos 5 is designed with fewer safeguards for cybersecurity and biology use cases. Today, Anthropic abruptly suspended access to its Fable 5 and Mythos 5 AI models for all customers after receiving an export control directive from the US government. The company received the directive from the government today at 5:21 p.m. ET, and the received letter did not provide any details regarding the national security concern. Anthropic understands that the government became aware of a method to bypass, or “jailbreak,” Fable 5, which might be the reason behind the directive. The order was issued under national security authorities and requires the company to suspend all access to Fable 5 and Mythos 5 by any foreign national, whether they are inside or outside the United States. The restriction also applies to foreign national employees working at Anthropic. As a result, the company has disabled both models for all customers to ensure compliance. Access to previous Anthropic models like Opus and Sonnet is not affected by this government order. The company highlighted that it had developed strong safeguards to reduce the possibility that Fable is misused for tasks related to cybersecurity. In fact, many developers are complaining that the safeguards are going overboard. Additionally, the company worked with the US government, the UK AISI, multiple private third-party organizations, and internal teams to red-team Fable’s safeguards for thousands of hours. Finally, Anthropic noted that no testers have yet been able to find a universal jailbreak on Fable 5. As expected, Anthropic disagrees that a narrow potential jailbreak should lead to the recall of a commercial model used by hundreds of millions of people. It warned that applying this standard across the AI industry could effectively halt new frontier model deployments. Anthropic concluded by mentioning that it is working to restore access to Fable 5 and Mythos 5 as soon as possible and plans to share more details within the next 24 hours.
    • Brave Browser 1.91.172 is out.
    • Any Video Converter Free 9.2.3 by Razvan Serea Any Video Converter is an All-in-One video converting tool with an easy-to-use graphical interface, fast converting speed and excellent video quality. Any Video Converter supports all popular video formats and converts your videos to different video formats including MP4, MOV, MKV, M2TS, M4V, MPEG, AVI, WMV, ASF, OGV, WEBM, and more. It supports converting videos to customized percent (50%, 100%, 200%, and more) or resolution (480p, 720p, 1080p, 4K, and more); It supports encoding videos into x264, x265, h263p, xvid, mpeg, wmv, and more. Any Video Converter Free key features: Compatible with Windows 11/10/8.1/8/7 (32-64bit) User interface are available in 14 languages Convert all kinds of video formats including high-definition videos Extract audio from any videos and save as MP3/WMA for your mp3 player Take snapshot from any videos and build your own picture collection Support high-definition for both input and output Batch add videos from hard drive and batch convert Customize output parameters completely as you like Manage your output videos files by group or output profile Merge several video files into a single and long one Clip a video into segments Free Audio Filter: Adjust audio volume and add audio effects Crop frame size to remove black bars and retain what you want only Adjust the brightness, contrast, saturation Rotate or flip or add noise/sharpen effects Produce output video with subtitles of your own dialogue and much, much more... Any Video Converter Free 9.2.3 changelog: Fixed video download engine auto-update failures. Added custom speed control support in the speed change tool. Added support for downloading YouTube AI-generated subtitles. Added support for preserving original audio stream in the format convert tool (e.g., Dolby Atmos, DTS:X). Fixed other bugs and improved overall performance. Download: Any Video Converter Free 9.2.3 | 7.6 MB (Freeware) View: Any Video Converter Free Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Not sure what country you’re in but in many countries you can absolutely jail the sellers behind businesses… in fact I’d say in most countries you can do that
    • I guess we are done since you refuse to read my comment you replied to or my other comment in another thread you were also a part of here.
  • Recent Achievements

    • Dedicated
      jordanspringer earned a badge
      Dedicated
    • Rookie
      Rimplesnort went up a rank
      Rookie
    • One Year In
      Markus94287 earned a badge
      One Year In
    • One Month Later
      Markus94287 earned a badge
      One Month Later
    • Week One Done
      Markus94287 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      505
    2. 2
      +Edouard
      175
    3. 3
      PsYcHoKiLLa
      155
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!