Re: nvidia-drivers crash computer on X start

2009-03-28 Thread Mel Flynn
On Saturday 28 March 2009 13:53:43 Anders Holmström wrote:

> The current xorg.conf I'm using is listed below. It was generated with
> X -configure. I've used many different xorg.confs, but they've all
> more or less been using the same settings as below, except when I
> tried NvAGP which didn't seem to work either (unless I was missing
> something).

When using NvAGP, /boot/device.hints MUST contain a line that disables agp.

> In dmesg.boot this is displayed:
> ###
> nvidia0:  on vgapci0
> vgapci0: child nvidia0 requested pci_enable_busmaster
> vgapci0: child nvidia0 requested pci_enable_io
> vgapci0: child nvidia0 requested pci_enable_io

Harmless, as these interfaces are still supported. It should be seen as 
deprecation warning.

> nvidia0: [GIANT-LOCKED]
> nvidia0: [ITHREAD]
> ###
>
> I have tried reinstalling xorg-server and nvidia-driver many times.
> I've also had the same problem on a completely different FreeBSD
> install on the same computer, before a broken HDD forced me to
> reinstall completely. It was the same BSD version. I've made sure that
> the driver is actually loaded with kldstat, and have not used "kldload
> nvidia" as it's said that it's best to put an entry in
> /boot/loader.conf and restart instead. /dev/nvidia0 and /dev/nvidiactl
> show up after the drivers are installed and the computer rebooted.
> I've tried disabling FreeBSD AGP and using NvAGP instead, but the
> exact same thing happens. My card is a GeForce 8800 GTS 512 MB, and is
> supported by the drivers.

You properly walked all avenues that would resolve a configuration issue on 
your part. There's one more to try, disable the composite extension, yet this 
is a long shot if not using a window manager that uses composite.

Section "Extensions"
Option "Composite" "disable"
EndSection

If that does not help, then the proper action would be to file a bug report 
with nvidia, using the nvidia-bug-report.sh script, that unfortunately isn't 
installed by the port.

It's easiest to get a hold of that script using:
make -C /usr/ports/x11/nvidia-driver extract
cp `make -C /usr/ports/x11/nvidia-driver -V WRKSRC`/obj/*.sh .
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: nvidia-drivers crash computer on X start

2009-03-28 Thread rasz

Anders Holmström wrote:

did you try
Option "AllowEmptyInput" "off"

in Serverlayout section under screen, keyboard, mouse?



I was  told by a guy on the nvnews.net forums that I should put
machdep.disable_mtrrs=1 in my /boot/loader.conf. Apparently he had had
the same problem and he said it was because he had more than 2 gigs of
ram. He had solved it by that setting, and later by simply removing
the ram. I have 4 gigs, and the setting did work for me. HOWEVER, now
that I startx it's impossible to move the mouse/use the keyboard. It
also complaints about not being able to locate driver "kbd" and driver
"mouse", plus mentions AllowEmptyInput as the culprit. I tried
disabling it but it in xorg.conf, but didn't help on the input device
issue. X still started though.

I didn't think the two were related, but based on your post I guess
they are. You could (or somebody else) possibly enlighten me a bit
more about the relationship, or point me in the right direction? man
xorg.conf didn't give much info.

  
i am not sure about the machdep setting there so i cc'd the mailing list 
maybe someone else can help you there.
about the AllowEmptyInput however, there is some info in ports/UPDATING 
round about when xorg was updated because I
am not sure if you said you disabled the mouse from xorg config instead 
of moused in etc/rc.conf ( if that is what you said).
i have moused_enable="NO" in etc/rc.conf and add Option 
"AllowEmptyInput" "off" in xorg.conf.new right after a Xorg -configure.
also, i think you have to test cuz ppl get different setting to work 
depending their hardware, but i have had similar problem as you

with moused enabled and AllowEm...added. ( i have only 1gb memory fyi)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: nvidia-drivers crash computer on X start

2009-03-28 Thread rasz

RW wrote:

On Sat, 28 Mar 2009 13:53:43 +0100
Anders Holmström  wrote:

  

The current xorg.conf I'm using is listed below. It was generated with
X -configure. I've used many different xorg.confs, but they've all
more or less been using the same settings as below,



I don't know if it will help, but the nvidia driver has its own utility
for generating xorg.conf:

x11/nvidia-xconfig





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

  

did you try
Option "AllowEmptyInput" "off"

in Serverlayout section under screen, keyboard, mouse?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: nvidia-drivers crash computer on X start

2009-03-28 Thread RW
On Sat, 28 Mar 2009 13:53:43 +0100
Anders Holmström  wrote:

> The current xorg.conf I'm using is listed below. It was generated with
> X -configure. I've used many different xorg.confs, but they've all
> more or less been using the same settings as below,

I don't know if it will help, but the nvidia driver has its own utility
for generating xorg.conf:

x11/nvidia-xconfig





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"