LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 11-30-2003, 09:13 PM   #1
GhostInDarkness
LQ Newbie
 
Registered: Aug 2003
Posts: 23

Rep: Reputation: 15
Problems after installing nvidia driver


To I finally decided it was time to install my graphics drivers. After installing the driver said it successfully installed. I edited the config file by changing "nv" to "nvidia" and goto run startx and it fails. Talks about the chipset "Geforce 4" in Device Section "Card0" is not valid. Or something extremely similar. Was having trouble with cookies in the text based browser or I woulda had it word for word. After reading thru the README a few times I'm still stumped. Any help would be appreciated. Thx.
 
Old 11-30-2003, 10:08 PM   #2
RJW
Member
 
Registered: Nov 2003
Posts: 146

Rep: Reputation: Disabled
Is the driver loaded?
 
Old 11-30-2003, 10:09 PM   #3
GhostInDarkness
LQ Newbie
 
Registered: Aug 2003
Posts: 23

Original Poster
Rep: Reputation: 15
I have no idea how to check that other than by loading x to check.
 
Old 11-30-2003, 11:59 PM   #4
RJW
Member
 
Registered: Nov 2003
Posts: 146

Rep: Reputation: Disabled
man kldload
 
Old 12-01-2003, 12:47 AM   #5
GhostInDarkness
LQ Newbie
 
Registered: Aug 2003
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by RJW
man kldload
I saw the install process use that command and right after said was successful.
 
Old 12-01-2003, 03:34 AM   #6
RJW
Member
 
Registered: Nov 2003
Posts: 146

Rep: Reputation: Disabled
What does `kldstat' show?
 
Old 12-01-2003, 05:19 AM   #7
GhostInDarkness
LQ Newbie
 
Registered: Aug 2003
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by RJW
What does `kldstat' show?

name:

kernel
linux.ko
nvidia.ko

I assume that this is the column you would be referring to?

On a side note I rememeber reading something about user_ldt being required. And trying glxinfo resulted in a message stating I need to compile it into my kernel for glx to intialize. I'm starting to think that I need to recompile support for user_ldt into my kernel. Never compiled/recompiled a kernel before so I'm a bit scared to touch it. Also would this definately be a cause to my problems? Not even quite sure what user_ldt is..gonna do some searching on it now.

Last edited by GhostInDarkness; 12-01-2003 at 05:22 AM.
 
Old 12-01-2003, 05:45 AM   #8
GhostInDarkness
LQ Newbie
 
Registered: Aug 2003
Posts: 23

Original Poster
Rep: Reputation: 15
Erhm.. my intial searching came up with this page.. http://www.linuxsecurity.com/advisor...sory-1157.html Is this ONLY netbsd related? Or would it also lean onto freebsd as well? If so it sounds like this isn't an option I'd want to enable but seams to be one that I need to in order to get my video drivers communicating with my system normally.
 
Old 12-01-2003, 06:08 AM   #9
RJW
Member
 
Registered: Nov 2003
Posts: 146

Rep: Reputation: Disabled
If you installed the latest nVidia driver, it should be called `nv' in the XF86Config file, not nVidia.

I'll install it now and see how I go.
 
Old 12-01-2003, 08:25 AM   #10
RJW
Member
 
Registered: Nov 2003
Posts: 146

Rep: Reputation: Disabled
Okay, you are correct. In the `/etc/XF86Config' file, the driver is called `nvidia' (I just installed and it's running fine).

Now, when you start X, what is the output from X when it fails?
 
Old 12-01-2003, 03:26 PM   #11
GhostInDarkness
LQ Newbie
 
Registered: Aug 2003
Posts: 23

Original Poster
Rep: Reputation: 15
The offical minimum software requirements for the NVIDIA FreeBSD Driver
Set are:

- FreeBSD -STABLE, version 4.7 or later
- A kernel configured with the following options:
options USER_LDT
options SYSVSHM
While SYSVSHM is enabled in the GENERIC FreeBSD kernel, USER_LDT
is *not* included in the default FreeBSD kernel. Please see
"Chapter 9 Configuring the FreeBSD Kernel" of the FreeBSD handbook
for steps on how to recompile your kernel.



I was rereading the README file and I indeed need USER_LDT compiled into my kernel which it seams that "glxinfo" tells me I do not have. How do I find out for sure if it is or isn't compiled in? And if it's not where exactly do I add that line? I spent a bit of time going over chapter 9 of the freebsd handbook but I'm not certain where to place it. Also I'm a bit confused on which install procedure to use...I believe I should use the second but am not completely certain. I hope someone can point me in the right direction. Thx.
 
Old 12-01-2003, 06:34 PM   #12
RJW
Member
 
Registered: Nov 2003
Posts: 146

Rep: Reputation: Disabled
I don't have USER_LDT compiled in my kernel, only `device agp'. =\
 
Old 12-01-2003, 07:03 PM   #13
GhostInDarkness
LQ Newbie
 
Registered: Aug 2003
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by RJW
I don't have USER_LDT compiled in my kernel, only `device agp'. =\
*shrugs* I ripped that section from the last post directly from the nvidia README for freebsd.....I can check and see if I have that in there the device agp line. Gonna go and compile those options into the kernel now if needed. Wish me luck. = >
 
Old 12-02-2003, 03:34 PM   #14
GhostInDarkness
LQ Newbie
 
Registered: Aug 2003
Posts: 23

Original Poster
Rep: Reputation: 15
Ok I recompiled my first kernel with no problems. I used procedure 2 in the handbook and it seamed to work fine. The error persisted so I went ahead and deleted the line in the config that it was referencing to and the error left and allowed me to startx. This would be good news BUT it seams that my glx is corrupt. Running glxinfo still gives me an error.... trying to run any graphic intense games and they error out. This includes tux racer, xtron and games similar in that fashion. Not heavily graphiced games but alot more graphic heavy than a mud. I've been thru the xfree86 logs... and someone suggested also checking a command starting with xdpy**** I forget the last four letters but it the information in it seamed relevent to that which I'd find in XF86Config. Anyways.. the error states how it cannot intialize GLX both by running games and within glxinfo. Anyone have any ideas cuz I'm stumped. I am not even sure what GLX is!! I've tried reinstalling my graphic drivers after recompiling the kernel. I've also tried using a fresh Config file and editing the line for the nvidia drivers. Nothing I know of seams to work and the nvidia README doesn't help for squat.
 
Old 12-02-2003, 05:20 PM   #15
RJW
Member
 
Registered: Nov 2003
Posts: 146

Rep: Reputation: Disabled
I suggest you `buildworld'. What version of FreeBSD are you running?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help editing xf86config for nvidia geforce mx440 after installing nvidia driver linguist Linux - Newbie 11 06-13-2006 06:31 AM
Problems installing NVIDIA driver kenito Linux - Hardware 0 12-17-2004 07:59 AM
problems installing NVIDIA graphics driver and SMP littleneutral1 Debian 0 11-24-2004 12:24 PM
problems installing nvidia driver on 9.2 RuFI0 Mandriva 2 07-25-2004 10:48 AM
Problems installing Nvidia driver buckwheat12 Mandriva 13 02-18-2004 11:35 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration