Reply
 
Thread Tools Display Modes
  #1  
Old 09-30-2007, 02:32 PM
shrisha shrisha is offline
Junior Member
 
Join Date: Sep 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Nvidia driver installation any build not working
Hi everybody. I'd like to ask for some help, for newbie like me, with Nvidia driver installation.
So. OS installation was nice. without any problem. On first boot I got native resolution of my LCD Monitor and Display wizard ask me for driver and I choose 100.14.11 and after aplying it my computer hang up and I only heard beep of system speaker. One beep every minute.So reseted. Then later on I tried absolutely all available drivers and got same result. Even with Vesa. Only when I skip Wizard I first time reach KDE. So now I have native resolution with NV driver. But no OpenGL and no harware overlay. So. please, what I did wrong and what should I do to install Nvidia driver?
Forgot to tell. I also downloaded driver from Nvidia web site. Compiled it and install. It still dsn't work :? Was error message during driver installation about some folder was no exist so I created it. and then install was finished succesfuly. But stiil not working as I said.
I also tried play with my monitor options. Also no luck.

My hardware is:
Intel P35 chipset based motherboard
Core2Duo 4400
GeFerce 8800GTX
Philips 200WS LCD Monitor 1680 X 1050 @ 60Hz

Thanks for advance.
Shrisha.
Reply With Quote
  #2  
Old 10-01-2007, 07:21 PM
St. Coin St. Coin is offline
Junior Member
 
Join Date: Oct 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Nvidia driver installation any build not working
This is a known issue with Xorg 7.3 I believe. I'm suprised there aren't more complaints on this forum asking for help with resolving the issue. I am still more suprised that Xorg 7.3 made it to ports/pbi or whatever even though this issue exists. Surely there are many people out there with this exact problem.

I am in the same boat as you, and I can't seem to find a workaround. On bsdforums.org the solution is said to be appending "-- -ignoreABI" on to your startx command, and I have confirmed this method as working (with FreeBSD). But since PC-BSD uses pdm to start x windows and KDE, I have no clue where to append this command (wherever the startup script is for x + KDE I believe). Anyway, like you I am stuck using the "nv" driver and not the "nvidia" (which is pretty frustrating). If anybody could help us, it would be very much appreciated!

Thanks!
Reply With Quote
  #3  
Old 10-02-2007, 04:10 AM
shrisha shrisha is offline
Junior Member
 
Join Date: Sep 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Nvidia driver installation any build not working
Probably not much people with Nvidia cards here
Well, yea sad sitation. Is there is experts (PCBSD developers) in a house?!?!?!
Reply With Quote
  #4  
Old 10-02-2007, 02:45 PM
Solarin's Avatar
Solarin Solarin is offline
Super Moderator
 
Join Date: Jul 2005
Location: Birmingham, UK
Posts: 743
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Nvidia driver installation any build not working
Originally Posted by shrisha
Probably not much people with Nvidia cards here
Well, yea sad sitation. Is there is experts (PCBSD developers) in a house?!?!?!
Incidentally, we're using XOrg 7.2 in 1.4 because 7.3 is so buggy.

As for the driver issue, as far as I can tell it's a bug in nVidias new drivers that only seems to be affecting certain cards. It works fine here for example, on my GF6200. Have you guys tried reporting the bug to nVidia?
__________________
Tim McCormick
PC-BSD Lead Developer
tim at pcbsd.org
Reply With Quote
  #5  
Old 10-02-2007, 06:16 PM
shrisha shrisha is offline
Junior Member
 
Join Date: Sep 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Nvidia driver installation any build not working
As I wrote in my first post I tried all drivers not only latest one. Even vesa dosn't work. Geting black sceen. And nothing could to do with it. Should be something alse. With same hardware I don't have any problem with linux distributions.
Reply With Quote
  #6  
Old 10-20-2007, 10:55 AM
Seva Seva is offline
Junior Member
 
Join Date: Sep 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Nvidia driver installation any build not working
AFAIK NVidia says you're only need to run "make install". They really did a great job, however, some manual tweaking might be necessary.
I've got my GF6600 working just recently. I used PC-BSD 1.4 and latest pbi with the driver (nVidiaDriver9746-PV01.pbi). I think you should have pretty similar picture with a driver downloaded from nvidia and built manually.

So, here is list of manual tweaks I've done for mine.
1) Now check your /etc/X11/xorg.conf (generate it if you don't have one, as you need to correct it).
Section "Monitor" contains HorizSync and VertRefresh settings that are too generous even for a CRT monitor. Either remove them or change to real capabilities of your monitor (I did the latter).
Section "Screen" lists Modes that are 4:3 and so don't go well with a wide-screen monitor. So, I removed them and typed in a single "1680x1050" mode instead.
2) Ensure your /boot/loader.conf contains nvidia_load="YES"
But vesa_load="YES" should be changed to "NO" or removed.
If you reboot now, you should see nvidia0 device in your dmesg, and kldstat should show nvidia.ko is loaded and vesa.ko isn't.
3) I've found that nvidia installs files into /usr/X11R6/lib while xorg on PC-BSD searches for them in /usr/local/lib/xorg/.
So, I added nvidia_drv.so to /usr/local/lib/xorg/modules/drivers/ as a link to /usr/X11R6/lib/modules/drivers/nvidia_drv.so.
Also, I've found nvidia's libgls installed in /usr/local/lib/modules/extensions/ instead of
/usr/local/lib/xorg/modules/extensions/. So, I have removed /usr/local/lib/xorg/modules/extensions/libglx.so (that appeared to be standard Mesa based implementation) and made it a link to nvidia's one in /usr/local/lib/modules/extensions/.

At this point I eventually got my card working. You might need less/more tweaks depending on driver used. Still should be something similar.
If this doesn't help, check /var/log/Xorg.0.log
It is pretty verbose, and likely will give you a hint on what has gone wrong. Beware, it is a log of the _last_ attempt and will be overwritten on every attempt to start an X server.
Reply With Quote
  #7  
Old 11-19-2007, 10:11 PM
Ian_Robinson Ian_Robinson is offline
Senior Member
 
Join Date: Jan 2007
Location: Salem, Ohio, U.S.
Posts: 315
Thanks: 0
Thanked 1 Time in 1 Post
Default Re: Nvidia driver installation any build not working
Seva's post is a great checklist and was hopefully very helpful to nvidia users.

Anyone with an nvidia card should grab the upgrade to PCBSD 1.4.1 The upgrade includes a new nvidia driver which solves a lot of problems. The upgrade is in the form of an easy-to-install PBI. A reboot after installation is recommended to reset the system to use the new driver.
__________________
Ian
FitchKendall AT Gmail.com
Reply With Quote
  #8  
Old 11-27-2007, 08:09 PM
Tony_ceder Tony_ceder is offline
Junior Member
 
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Nvidia driver installation any build not working
Hi there! Another newbie post here...
I got exactly the same problem as Shrisha.
I have just installed the PCBSD 1.4.1 and cannot get the nvidia driver to work.

I got a ASUS nvidia 8800GTX 756 mb card and a Samsung 22" wide lcd.
I fiddled a bit with the tips from Seva but i am not sure at all how to fill in the right stuf in the right places and such. Anyone care to help a newbie in how to get this thing to work?
Reply With Quote
  #9  
Old 11-28-2007, 11:45 PM
Ian_Robinson Ian_Robinson is offline
Senior Member
 
Join Date: Jan 2007
Location: Salem, Ohio, U.S.
Posts: 315
Thanks: 0
Thanked 1 Time in 1 Post
Default Re: Nvidia driver installation any build not working
I recommend that you copy the contents of your xorg.conf and loader.conf files and paste them into a message here.

The video problem is often a combination of selecting the wrong video driver on installation and not having accurate settings in xorg.conf or other configuration files. Having a wide screen monitor can add additional complications. This can seem like a big problem for a new user to diagnose, discover that he must be the superuser or root user to edit most configuration files, and learn what to modify.

I am not a video expert. I am not a PCBSD expert. I'd probably be burned at the stake if I claimed to know much about FreeBSD. The analysis and information I will leave with you here is a result of a little computer knowledge and my searching the PCBSD Forum and the FreeBSD Handbook.

I strongly urge you to research too. While answers to problems will usually appear in this forum, I mean no offense by saying you might often find the solution faster by searching through the resources and the forum on your own rather than waiting for someone to peruse the forum and answer you. You will almost always find an answer. There is also a greater reward beyond the answer -- that is, you will become self-reliant and confident with BSD, you will be happier with PCBSD as you learn a more about it, and you will become amazingly impressed with how much control you can have over your operating system when everything about it is documented and transparent.

There is helpful information on nvidia video cards (and many other topics) from a variety of reliable sources: The FreeBSD Handbook, the "man pages", PC-BSD Forum (with "search" function), and search engines such as http://www.google.com/bsd (note the /bsd after google.com).

For nvidia-specific built-in help, "man pages" include an "nv" page (for nvidia driver) and an "xorg.conf" page (contents and meaning of xorg.conf options) In a terminal, just type "man nv" or "man xorg.conf" (do not type the quote marks). You will also find helpful configuration information in the FreeBSD Handbook here:

http://www.freebsd.org/doc/en/books/han ... onfig.html

Search PCBSD forum using the search function (top of forum page, right side, below the red band. Search on nvidia or 8800 (and both). Search on xorg.conf too.

Search http:www.google.com/bsd with searches like:
Code:
+nvidia +8800 +PCBSD
+nvidia +8800 +FreeBSD
Nvidia has a helpful readme for your card driver at this page:

http://us.download.nvidia.com/freebsd/1 ... index.html


= = = = = = = = = = = = = = = = = = = = = = = = = = =

There are several ways to deal with the video problem.

Use the VESA driver. You may get less than the highest possible resolution, but you get a basic display.

To change to VESA or any other driver, you can select a new video configuration at startup. When you get the "FreeBSD Menu," pressing the "6" key.

Or you can reset video configuration from the Desktop using GUI processes. For example, you can get a GUI tool to reset the video driver and display resolution from PCBSD by using the following sequence:
Code:
Start --> Desktop --> Video Card & Monitor Setup
Note: You will be logged out of your session as part of this processes.

In the Video Card & Monitor Setup:

You can change the driver to VESA and pick a resolution, or
You can change the driver to NV or NVIDIA and pick a resolution, AND
You can see the screen sample to see if it is working.

You will be brought back to the config screen to save or you can go back and try alternatives. When you save the changes, the system will then restart and you can log back in. All choices are saved by overwriting the original settings stored in xorg.conf file.


Another method involves using a text editor to manually edit the configuration files. This is the method Seva described.

Quote:
Seva explained:

Section "Monitor" contains HorizSync and VertRefresh settings that are too generous even for a CRT monitor. Either remove them or change to real capabilities of your monitor (I did the latter).

Section "Screen" lists Modes that are 4:3 and so don't go well with a wide-screen monitor. So, I removed them and typed in a single "1680x1050" mode instead.
Here is a more information about the process suggested by Seva and what you can try with your configuration files. You must become the root user (su) and manually edit the file called xorg.conf. That file is located in the directory /etc/X11. Using the terminal, su to root, and then type

Code:
#ee /etc/X11/xorg.conf <Enter>

First, you must know your monitor's settings EXACTLY and write them down:

Horizontal Sync Range
Vertical Refresh Range
Supported Resolutions

Google for them. For example, my monitor is a Nokia 445Xpro. My search was +"Nokia 445 Xpro" +specifications.

Code:
(Not code.  I just wanted the box) 

The GUI/Desktop way to manually edit the video configuration uses a GUI text editor (like KEdit) which is accessible through the Start Menu.  You have to be root, so here is how you bring up File Manager (Super User) and edit the file:

A.  Click Start --> System --> More Applications --> File Manager (Super User), then type in your root password.  The file manager opens and you are viewing the contents of /root.

B.  Navigate to the xorg.conf file by going up the directory tree in the left window until you see /etc, double click the directory name (etc) or click the "+" sign next to it so you can see the contents of /etc.  

     Double click on /X11 so you can open it, and locate xorg.conf

     Right click on xorg.conf and copy it to somewhere else (this will be your backup)

     Right click on the original xorg.conf file and "open with" KEdit.

     Make changes (see below) and save.
To restart X with the changes, either reboot or in a terminal as root (su), type:

Code:
     # killall Xorg kdeinit xinit kdm


What to change in Xorg.conf:

A. Find the section of the file called "Monitor"

Code:
Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Generic Monitor"
    ModelName      "Generic"

 ### Comment all HorizSync and VertRefresh values to use DDC:
	HorizSync    30.0 - 125.0
 ### Comment all HorizSync and VertRefresh values to use DDC:
	VertRefresh  50.0 - 150.0

EndSection
B. Type in the EXACT Horizontal Sync and Vertical Refresh Rates for your specific monitor


C. Next, we are going to set the "video modes" for your monitor. Find the "Screen" section of your xorg.conf file:

Code:
Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth   24
    SubSection     "Display"
        Depth      24 
        Modes      "1600x1200"
D. Type in the EXACT supported screen resolution that you want. You can type in more than one, starting with the highest resolution first, then the next highest, next highest, etc.

Code:
SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1280x800" "1024X768" "800x600" "640x480"
    EndSubSection
Notice the syntax: Each mode is surrounded by quote marks. There is no space between the numbers and the "x" See man xorg.conf:


Quote:
Modes "mode-name" ...
This optional entry specifies the list of video modes to use.
Each mode-name specified must be in double quotes. They must
correspond to those specified or referenced in the appropriate
Monitor section (including implicitly referenced built-in VESA
standard modes). The server will delete modes from this list
which don't satisfy various requirements. The first valid mode
in this list will be the default display mode for startup. . . .
When this entry is omitted, the valid modes refer-
enced by the appropriate Monitor section will be used. If the
Monitor section contains no modes, then the selection will be
taken from the built-in VESA standard modes.
= = = = = = = = = = = = = = = = = = = = = = = =

Another potential problem here is that you are using a wide-screen monitor. Such monitors may, for reasons independent of your nvidia driver, require tweaks to xorg.conf. The FreeBSD Manual says:

Quote:
5.4.3.2 Adding a Widescreen Flatpanel to the Mix

This section assumes a bit of advanced configuration knowledge. If attempts to use the standard configuration tools above have not resulted in a working configuration, there is information enough in the log files to be of use in getting the setup working. Use of a text editor will be necessary.

Current widescreen (WSXGA, WSXGA+, WUXGA, WXGA, WXGA+, et.al.) formats support 16:10 and 10:9 formats or aspect ratios that can be problematic. Examples of some common screen resolutions for 16:10 aspect ratios are:

*

2560x1600
*

1920x1200
*

1680x1050
*

1440x900
*

1280x800

At some point, it will be as easy as adding one of these resolutions as a possible Mode in the Section "Screen" as such:

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680x1050"
EndSubSection
EndSection

Xorg is smart enough to pull the resolution information from the widescreen via I2C/DDC information so it knows what the monitor can handle as far as frequencies and resolutions.

If those ModeLines do not exist in the drivers, one might need to give Xorg a little hint. Using /var/log/Xorg.0.log one can extract enough information to manually create a ModeLine that will work. Simply look for information resembling this:

(II) MGA(0): Supported additional Video Mode:
(II) MGA(0): clock: 146.2 MHz Image Size: 433 x 271 mm
(II) MGA(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end 2240 h_border: 0
(II) MGA(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: 1089 v_border: 0
(II) MGA(0): Ranges: V min: 48 V max: 85 Hz, H min: 30 H max: 94 kHz, PixClock max 170 MHz

This information is called EDID information. Creating a ModeLine from this is just a matter of putting the numbers in the correct order:

ModeLine <name> <clock> <4 horiz. timings> <4 vert. timings>

So that the ModeLine in Section "Monitor" for this example would look like this:

Section "Monitor"
Identifier "Monitor1"
VendorName "Bigname"
ModelName "BestModel"
ModeLine "1680x1050" 146.2 1680 1784 1960 2240 1050 1053 1059 1089
Option "DPMS"
EndSection

Now having completed these simple editing steps, X should start on your new widescreen monitor.
Pay attention to how to derive and construct the "mode line"

See: http://www.freebsd.org/doc/en/books/han ... onfig.html


If you want more help, please post the contents of your xorg.conf and loader.conf files and the specs for your monitor. Also say what changes you made, if any, to any configuration files.
__________________
Ian
FitchKendall AT Gmail.com
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kbtv2 saa driver build probs pauljr General Questions 1 06-27-2010 12:58 AM
NVIDIA FX5500 requires nvidia-driver-173 twiggz Graphics Cards 0 11-25-2008 08:27 PM
How do i compile/build a pgt WiFi Driver from .c file to .ko ink Networking 3 11-18-2007 02:55 PM
Sound Driver not working Usage Bug Reports 4 08-20-2005 10:43 PM
nvidia-driver and installation-folder General Questions 4 06-07-2005 09:08 AM


All times are GMT. The time now is 04:46 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.