DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th July 2008
mc_i2020 mc_i2020 is offline
Port Guard
 
Join Date: Jul 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default NVIDIA driver fails to load, freebsd 7.0

Hi,
I'm trying to get the nvidia drivers working but it fails with the following error.

nvidia0: <GeForce 8400M GS> on vgapci0
vgapci0: child nvidia0 requested pci_enable_busmaster
vgapci0: child nvidia0 requested pci_enable_io
nvidia0: NVRM: NVIDIA MEM resource alloc failed, BAR 1 @ 0x14
nvidia0: NVRM: NVIDIA hardware alloc failed
device_attach: nvidia0 attach returned 6

My operating system is freebsd 7.0 and this is the Dell Vostro 1400 laptop.

Can someone please help me out?

Thanks,
Mani chandra
Reply With Quote
  #2   (View Single Post)  
Old 16th July 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Thanked 7 Times in 7 Posts
Default

Is this the driver via ports? Which version?
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote
  #3   (View Single Post)  
Old 16th July 2008
mc_i2020 mc_i2020 is offline
Port Guard
 
Join Date: Jul 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default

yes, it is...the version number is 173.14.09
Reply With Quote
  #4   (View Single Post)  
Old 16th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

what options did you picked when installed driver?
Reply With Quote
  #5   (View Single Post)  
Old 16th July 2008
mc_i2020 mc_i2020 is offline
Port Guard
 
Join Date: Jul 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default

Only the option for the support for linux compatibility.
Reply With Quote
  #6   (View Single Post)  
Old 16th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

do you have linux compability enabled in /etc/rc.conf?
also did you do what port said to do after it finished?
Reply With Quote
  #7   (View Single Post)  
Old 16th July 2008
mc_i2020 mc_i2020 is offline
Port Guard
 
Join Date: Jul 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default

yes I do have linux compatibility and the port installed successfully. A look at my error in nvidia's README says the following:-

Q. X fails to start, and during bootup time I get the following error message:

nvidia0: NVRM: NVIDIA MEM resource alloc failed.

A. On certain FreeBSD kernels, it may be necessary to add the following line to '/boot/loader.conf':

hw.pci.allow_unsupported_io_range="1"

This should allow the NVIDIA kernel module to attach.

but that option does not even exist in freebsd 7.0

Death-Star awaits your command>sudo sysctl hw.pci.allow_unsupported_io_range="1"
Password:
sysctl: unknown oid 'hw.pci.allow_unsupported_io_range'
Reply With Quote
  #8   (View Single Post)  
Old 16th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

hmmm, what are your PC's specifications?
Reply With Quote
  #9   (View Single Post)  
Old 17th July 2008
mc_i2020 mc_i2020 is offline
Port Guard
 
Join Date: Jul 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default

Intel core2 duo T9300, 2.5 GHz
4 gb RAM
NVIDIA GeForce 8400M GS
Freebsd 7.0 i386
Reply With Quote
Old 17th July 2008
edhunter's Avatar
edhunter edhunter is offline
Real Name: Georgi Iovchev
Port Guard
 
Join Date: May 2008
Location: Sofia, Bulgaria
Posts: 41
Thanked 0 Times in 0 Posts
Default

I had problems with similar configuration.
The solution for me was to physically remove 2gigs of ram.
Reply With Quote
Old 17th July 2008
mc_i2020 mc_i2020 is offline
Port Guard
 
Join Date: Jul 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default

What!?!?...is there no other way?!
Reply With Quote
Old 17th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

Well, for start you could try to really remove RAM (personally i doubt it'll help, but, hey we live in imperfect world)

I got 2GB ram, no problem
Reply With Quote
Old 17th July 2008
DrJ DrJ is offline
ISO Quartermaster
 
Join Date: Apr 2008
Location: Gold Country, CA
Posts: 506
Thanked 39 Times in 39 Posts
Default

Quote:
Originally Posted by mc_i2020 View Post
What!?!?...is there no other way?!
I reported this to nVidia in December of last year.

The only way to get the nVidia driver working with more than 3GB RAM is to disable memory remapping in BIOS. A few motherboards have it, most don't. If yours does not, then you can reduce the amount of memory you use, or use your existing memory and the "nv" driver. Be aware that the "nv" driver does not have hardware acceleration, and it does not support multiple monitors (at least it did not when I checked most recently).

Last edited by DrJ; 17th July 2008 at 03:37 PM.
Reply With Quote
Old 17th July 2008
mc_i2020 mc_i2020 is offline
Port Guard
 
Join Date: Jul 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default

Hey thanks for reporting the problem.
Infact I am using the "nv" driver. The only problem is that i cannot watch videos properly cause of the lack of the xv extension. If I can resolve that then I really have no need for the "nvidia" driver. Check out the below

Death-Star awaits your command>xvinfo
X-Video Extension version 2.2
screen #0
no adaptors present
Reply With Quote
Old 17th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

Try compiling kernel with and without PAE, maybe that will help , nvidia driver(that's blind geess)
Reply With Quote
Old 18th July 2008
mc_i2020 mc_i2020 is offline
Port Guard
 
Join Date: Jul 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default

NVIDIA's drivers do not support PAE enabled kernels. This was given in the README.
Is there any way that I can watch movies without lag on the "nv" driver? My card is the NVIDIA GeForce 8400M GS.
Reply With Quote
Old 18th July 2008
chill's Avatar
chill chill is offline
Fdisk Soldier
 
Join Date: Jun 2008
Location: Federal Republic of the US
Posts: 74
Thanked 6 Times in 6 Posts
Default

Quote:
Originally Posted by mc_i2020 View Post
Is there any way that I can watch movies without lag on the "nv" driver? My card is the NVIDIA GeForce 8400M GS.
Render your video using SDL in mplayer.

You can specify your video output driver like

Code:
$ mplayer -vo sdl

Last edited by chill; 18th July 2008 at 06:57 AM.
Reply With Quote
Old 18th July 2008
mc_i2020 mc_i2020 is offline
Port Guard
 
Join Date: Jul 2008
Posts: 22
Thanked 0 Times in 0 Posts
Default

I still seem to have that lag
Reply With Quote
Old 18th July 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

What, do you mean that the audio trails the video, or vice versa?

That is pretty normal, and is usually a result of audio buffering, video processing delays, or incorrect allowances made for either of them.

Use + and - to adjust audio delay until it is perfect(ish!), and then put that value in mplayer's config file.

edit: sometimes frame-rate mismatches cause audio to drift out once it is set, and often a video file will have its audio out of sync. The solution is to fix the video file: often mencoder can do that, but it takes some manual reading and expeimentation.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.

Last edited by robbak; 18th July 2008 at 01:14 PM.
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
Is nVidia driver stable? rex FreeBSD General 14 31st October 2008 06:40 PM
FreeBSD NVidia driver installation maxrussell FreeBSD Ports and Packages 44 15th July 2008 10:39 PM
rum0 driver wireless fails after install jasites OpenBSD General 10 2nd June 2008 12:14 PM
problems with nvidia-driver-169.12 greencross FreeBSD General 8 21st May 2008 01:41 PM


All times are GMT. The time now is 11:16 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick