Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-21-09, 01:49 PM   #1
Brentx
Registered User
 
Join Date: Sep 2009
Posts: 3
Default nVidia driver 185.18.36 problems with X

Hi all, I am starting to pull my hair out over this problem I am having.

Let me give you a run down on my system:
FreeBSD 7.2-Release i386
nVidia 8400M GS (Dell XPS M1330) 128MB
4GB RAM (~3.5GB due to 32bit OS)

I have compiled the nvidia driver version 185.18.36 from nvidia's website without issues.
I then enabled the linuxulator, and installed the misc/compat5x package from ports.
The nvidia_load="YES" and linux_load="YES" is in my /boot/loader.conf and the linux_enable="YES" is in my /etc/rc.conf.
I have also added the machdep.disable_mtrrs="1" to /boot/loader.conf as per the thread on the FreeBSD forums: http://forums.freebsd.org/showthread.php?t=3065

Now onto my problem:
Everytime I start X it will start, go to a blank screen for a few seconds, then exit out. There are no errors being reported in my /var/log/Xorg.0.log. The only thing it does say is "Fatal Server Error: Caught Signal 11. Server Aborting".

Sometimes the Xserver will cause the kernel to panic completely, forcing a reboot. I will attach my Xorg.0.log and xorg.conf. I just can't see what is causing this.

Xorg.0.log: http://pastebin.com/f36d789a1
xorg.conf: http://pastebin.com/f6f89314a

So what do you guys think is going on, and is there a fix?
Brentx is offline   Reply With Quote
Old 09-22-09, 05:11 PM   #2
rnejdl
Registered User
 
Join Date: Nov 2007
Location: Dallas, TX
Posts: 96
Default Re: nVidia driver 185.18.36 problems with X

I'm running a pretty much identical system but mine doesn't see 3.5GB of memory

Mem: 1295M Active, 759M Inact, 247M Wired, 89M Cache, 112M Buf, 539M Free

hw.physmem: 3127939072
hw.usermem: 2868609024

I have this in /boot/loader.conf:

tethys:/home/rnejdl>cat /boot/loader.conf
nvidia_load="YES"
linux_load="YES"
linprocfs_load="YES"
accf_http_load="YES"
ucom_load="YES"
sound_load="YES"
snd_hda_load="YES"
#smbus_load="YES"
#ichsmb_load="YES"
#smb_load="YES"
atapicam_load="YES"
kern.ipc.shmseg=1024
kern.ipc.shmmni=1024
machdep.disable_mtrrs=1
sem_load="YES"
vboxdrv_load="YES"
vboxnetflt_load="YES"
vboxnetadp_load="YES"

And I am running 185.18.31 instead of .36. Does the x server log anything useful? Have you tried with 2GB of memory or with the older driver?

Rusty Nejdl
http://networking.ringofsaturn.com
rnejdl is offline   Reply With Quote
Old 09-22-09, 05:46 PM   #3
zebdits
Registered User
 
Join Date: Mar 2007
Posts: 51
Default Re: nVidia driver 185.18.36 problems with X

Did you tried adding machdep.disable_mtrrs="1" to /boot/loader.conf?
zebdits is offline   Reply With Quote
Old 09-22-09, 07:41 PM   #4
rnejdl
Registered User
 
Join Date: Nov 2007
Location: Dallas, TX
Posts: 96
Default Re: nVidia driver 185.18.36 problems with X

His post includes:

"I have also added the machdep.disable_mtrrs="1" to /boot/loader.conf as per the thread on the FreeBSD forums: http://forums.freebsd.org/showthread.php?t=3065"
rnejdl is offline   Reply With Quote
Old 09-23-09, 02:39 AM   #5
Brentx
Registered User
 
Join Date: Sep 2009
Posts: 3
Default Re: nVidia driver 185.18.36 problems with X

Quote:
Originally Posted by rnejdl View Post
I'm running a pretty much identical system but mine doesn't see 3.5GB of memory

Mem: 1295M Active, 759M Inact, 247M Wired, 89M Cache, 112M Buf, 539M Free

hw.physmem: 3127939072
hw.usermem: 2868609024

I have this in /boot/loader.conf:

...

And I am running 185.18.31 instead of .36. Does the x server log anything useful? Have you tried with 2GB of memory or with the older driver?
Thanks for the tip. I am going to try this with the older driver tomorrow. I looked over the logs again and since it seems to crash right before it uses nvidia-auto-select, I tried defining the monitor's parameters directly in my xorg.conf. This resulted in the same problem.

I then moved on to trying out the different drivers in X. The standard nv driver reports that it cannot determine the amount of video ram and causes the X server to crash the same way. The vesa driver works, however this is a suboptimal solution as I am stuck at an 800x600 resolution. I didn't even want to get my hands dirty with nouveau as it seems to be quite buggy. At least I know now that it is the driver causing the issue, and not something else in my laptop or with my X configuration.

I did some digging on the FreeBSD forums and found this thread: http://forums.freebsd.org/showthread.php?t=6696
After looking at this guys Xorg.0.log, it appears that he is running the same video card as me, an 8400M GS. This really makes me wonder if this is some bug with this card and the driver. I really don't blame anyone either, since this card is fairly rare, and there are probably not a lot of people who want to run FreeBSD on their Dell M1330's

Maybe nvidia would like to chime in on this one ?

I'll report back tomorrow with the results of trying your config. BTW - What kind of laptop are you running rnejdl?
Brentx is offline   Reply With Quote
Old 09-23-09, 11:33 AM   #6
rnejdl
Registered User
 
Join Date: Nov 2007
Location: Dallas, TX
Posts: 96
Default Re: nVidia driver 185.18.36 problems with X

I didn't realize you were running on a laptop. I'm using a 9600 GT card in my desktop. I haven't had a chance to test the updated driver yet on my system as the .31 one has been extremely stable for me.

Rusty Nejdl
http://networking.ringofsaturn.com
rnejdl is offline   Reply With Quote
Old 09-24-09, 03:57 PM   #7
Brentx
Registered User
 
Join Date: Sep 2009
Posts: 3
Default Re: nVidia driver 185.18.36 problems with X

No luck with the older driver. I'm starting to think it is a bug in the nvidia binary driver... which makes me sad . I guess I'll have to relegate FreeBSD to a VM in Linux.
Brentx is offline   Reply With Quote
Old 09-25-09, 08:31 PM   #8
rnejdl
Registered User
 
Join Date: Nov 2007
Location: Dallas, TX
Posts: 96
Default Re: nVidia driver 185.18.36 problems with X

Was doing some research... Can you see if you have Memory Remap enabled in your BIOS and if so, disable it?

Rusty nejdl
http://networkingofsaturn.com
rnejdl is offline   Reply With Quote

Reply


Thread Tools

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


All times are GMT -5. The time now is 02:25 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.