Month: April 2008

Nvidia Drivers for Fedora 9

This will probably be fixed by the time Fedora 9 is released, but I had trouble getting the NVidia drivers to work.

I tried the rpm packages from AtRPMS, but I couldn’t get them to work.  First of all, they forced me to downgrade to the kernel version 2.6.25-1 (I was at 2.6.25-8).  Then, they didn’t install the nvidia-settings program and didn’t update xorg.conf.  Finally, when I tried to update xorg.conf, XWindows wouldn’t start.

So, I decided to manually install the drivers.

The latest version that I found on the website was:

NVIDIA-Linux-x86-169.12-pkg1.run

I had to update to the latest kernel release again because I couldn’t find drivers for the one that I was on.  And, when I tried to compile it, I got an error.  Looking in /var/log/nvidia-installer.log, I found:
/tmp/selfgz5981/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.c: In function
‘nv_flush_caches’:
/tmp/selfgz5981/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.c:364: error:
implicit declaration of function ‘global_flush_tlb’
make[4]: *** [/tmp/selfgz5981/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.
o] Error 1
make[3]: *** [_module_/tmp/selfgz5981/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
v] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

Then, I found an FTP link where later drivers were listed.  I tried the 173.08 version.  After manually deleting a broken link created by the previous install (/usr/lib/xorg/modules/libwfb.so), it compiled without a problem.  But, I could not start the XWindows.

Here is what I got:
(EE) module ABI major version (0) doesn't match the server's version (1)
(EE) Failed to load module "glx" (module requirement mismatch, 0)
================ WARNING WARNING WARNING WARNING ================
This server has a video driver ABI version of 4.0 that this
driver does not officially support. Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
=================================================================
dlopen: /usr/lib/xorg/modules//libwfb.so: undefined symbol: miZeroLineScreenIndex
(EE) Failed to load /usr/lib/xorg/modules//libwfb.so
(EE) Failed to load module "wfb" (loader failed, 7)
(EE) NVIDIA(0): This video driver ABI is not supported.
(EE) NVIDIA(0): Use the -ignoreABI option to override this check.

The best information that I can find so far, is that NVidia does not support the latest version of XWindows yet.

Conclusion

So far, I have determined I have to wait for NVidia to update their drivers.  I am hoping they will have it done in the next couple of weeks only because Fedora 9’s release dates is in 14 days.

Resources

Thread pointing to the latest drivers

Thread on incompatibility

Advanced Driver Search

Another Thread

Creating a SourceForge Project with Eclipse

I have been wanting to try my hand at an open source project. The new project is ContactDB.

First, I had to create my SSH key. I followed the OpenSSH instructions here.

This is the command that I used to create the key:

ssh-keygen -t dsa -C "myusername@shell.sourceforge.net"
  • Remember to replace the “myusername” with your actual user name.
  • I used the default location to save the key (/home/myuser/.ssh/id_dsa)
  • I entered a passphrase.

Once I had the key generated, I opened the file in a text editor: /home/myuser/.ssh/id_dsa.pub and copied the new line that I just created. On my account page at SourceForge, under the section “Host Access Information”, I clicked “Edit SSH keys for Shell/CVS”. I pasted the line that I copied into the large textbox and clicked update.

I couldn’t do the initial import in Eclipse for some reason.  So, from the command line:

 CVS_RSH=ssh; export CVS_RSH
 export CVSROOT=:ext:myusername@contactsdb.cvs.sourceforge.net:/cvsroot/contactsdb
 cvs import -m "initial project files" contactsdb initial start

In Eclipse, I created a new workspace. Then, I created a new project (File, New Project …). For the type, I chose CVS, Projects from CVS.

Next, it asked me for the repository location information (remember to substitute contactsdb with your project name):

  • Host: contactsdb.cvs.sourceforge.net
  • Repository path: /cvsroot/contactsdb
  • User: you user name
  • Password: the password you set in the SSH key generation
  • Connection Type: extssh
  • Port: Use default port

Next, Eclipse asked me to select a module. I chose the “Use specified module name”, and I chose my project name for the module (“ContactsDB”).