|
|
#1 | |
|
Registered User
Join Date: Jul 2006
Posts: 20
|
I am unable to get the most recent nVidia driver to work on a new computer. After a "startx" the screen clears, and is blank, with the cursor in the upper left. It is a hard freeze, and the computer must be rebooted.
This is 32-bit FreeBSD 7.0-Beta4 and the most recent nVidia, xorg and ancillaries (cvsupped yesterday). The BSD agp was disabled in the kernel, and the proper options set in xorg.conf (NvAGP 1, nvidia driver, glx). The last log message was that the nVidia gart was loaded. The board is a P35 (Gigabyte P35-DS3R) with 4GB memory, a Q6600 and an nVidia 8500GT. There seems to be no BIOS option to disable memory remapping. The nv driver worked before I installed the nVidia driver (and before I took agp out of the kernel). Any advice on how I might get this to work would be most appreciated! |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Jul 2006
Posts: 20
|
More information: the memory remapping (or lack thereof) seems to be the issue. I removed 2GB of memory, and the nVidia driver loads and executes properly.
I count this as a driver bug, since I am unable to configure memory remapping in BIOS. If the BIOS can't do it, then the driver has to, does it not? |
|
|
|
|
|
|
#3 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
The NVIDIA FreeBSD graphics driver does not currently support systems on which RAM has been mapped above 4GB if the kernel will return such memory via malloc(); this likely won't change until the d_mmap() interface is improved with the functionality originally requested to enable FreeBSD/amd64, or until a vmap()-like kernel interface becomes available.
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Jul 2006
Posts: 20
|
Thanks for the reply. It seems that the BIOS has to have memory remapping switches, or else the driver will not work on systems that have 4+ GB of memory. Not all motherboards do, sadly.
|
|
|
|
|
|
|
#5 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
I'm actually surprised this even is a problem, since PAE kernels aren't supported and building against one should fail. I guess there's a possibility that the problem isn't actually the RAM mapped above 4GB itself, but something related (e.g. I/O range assignments, etc.). It'd be interesting to see the e820 memory maps, as well as a detailed summary of PCI resource allocations and kernel messages in both the 6GB and a working configuration.
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Jul 2006
Posts: 20
|
I was thinking about this as well. FreeBSD sees about 3.5GB out of the 4GB installed (*not* 6 GB as you mention), and the remaining 0.5GB would be expected to be reserved for drivers and the like. There is no PAE enabled, so that is not the issue. Let me see what I can dig up regarding resource allocations. For my information, what is the e820 memory map?
|
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Jul 2006
Posts: 20
|
Here's a first pass:
For the 4GB configuration: The initial boot message is that 524MB of memory above 4GB is discarded. Code:
% dmesg | grep mem real memory = 3756916736 (3582 MB) avail memory = 3664588800 (3494 MB) acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 nvidia0: <GeForce 8500 GT> port 0xb000-0xb07f mem 0xf6000000-0xf6ffffff,0xe0000000-0xefffffff,0xf4000000-0xf5ffffff irq 16 at device 0.0 on pci1 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfa104000-0xfa1043ff irq 18 at device 26.7 on pci0 atapci0: <JMicron AHCI controller> mem 0xfa000000-0xfa001fff irq 19 at device 0.0 on pci3 re0: <RealTek 8168/8111B PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xf9000000-0xf9000fff irq 16 at device 0.0 on pci4 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfa105000-0xfa1053ff irq 23 at device 29.7 on pci0 atapci2: <Intel AHCI controller> port 0xe600-0xe607,0xe700-0xe703,0xe800-0xe807,0xe900-0xe903,0xea00-0xea1f mem 0xfa106000-0xfa1067ff irq 19 at device 31.2 on pci0 orm0: <ISA Option ROM> at iomem 0xd2000-0xd4fff pnpid ORM0000 on isa0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 % pciconf -l hostb0@pci0:0:0:0: class=0x060000 card=0x50001458 chip=0x29c08086 rev=0x02 hdr=0x00 pcib1@pci0:0:1:0: class=0x060400 card=0x50001458 chip=0x29c18086 rev=0x02 hdr=0x01 uhci0@pci0:0:26:0: class=0x0c0300 card=0x50041458 chip=0x29378086 rev=0x02 hdr=0x00 uhci1@pci0:0:26:1: class=0x0c0300 card=0x50041458 chip=0x29388086 rev=0x02 hdr=0x00 uhci2@pci0:0:26:2: class=0x0c0300 card=0x50041458 chip=0x29398086 rev=0x02 hdr=0x00 ehci0@pci0:0:26:7: class=0x0c0320 card=0x50061458 chip=0x293c8086 rev=0x02 hdr=0x00 none0@pci0:0:27:0: class=0x040300 card=0xa0021458 chip=0x293e8086 rev=0x02 hdr=0x00 pcib2@pci0:0:28:0: class=0x060400 card=0x50011458 chip=0x29408086 rev=0x02 hdr=0x01 pcib3@pci0:0:28:3: class=0x060400 card=0x50011458 chip=0x29468086 rev=0x02 hdr=0x01 pcib4@pci0:0:28:4: class=0x060400 card=0x50011458 chip=0x29488086 rev=0x02 hdr=0x01 uhci3@pci0:0:29:0: class=0x0c0300 card=0x50041458 chip=0x29348086 rev=0x02 hdr=0x00 uhci4@pci0:0:29:1: class=0x0c0300 card=0x50041458 chip=0x29358086 rev=0x02 hdr=0x00 uhci5@pci0:0:29:2: class=0x0c0300 card=0x50041458 chip=0x29368086 rev=0x02 hdr=0x00 ehci1@pci0:0:29:7: class=0x0c0320 card=0x50061458 chip=0x293a8086 rev=0x02 hdr=0x00 pcib5@pci0:0:30:0: class=0x060401 card=0x50001458 chip=0x244e8086 rev=0x92 hdr=0x01 isab0@pci0:0:31:0: class=0x060100 card=0x50011458 chip=0x29168086 rev=0x02 hdr=0x00 atapci2@pci0:0:31:2: class=0x010601 card=0xb0051458 chip=0x29228086 rev=0x02 hdr=0x00 none1@pci0:0:31:3: class=0x0c0500 card=0x50011458 chip=0x29308086 rev=0x02 hdr=0x00 nvidia0@pci0:1:0:0: class=0x030000 card=0x230a1682 chip=0x042110de rev=0xa1 hdr=0x00 atapci0@pci0:3:0:0: class=0x010601 card=0xb0001458 chip=0x2363197b rev=0x02 hdr=0x00 atapci1@pci0:3:0:1: class=0x010185 card=0xb0001458 chip=0x2363197b rev=0x02 hdr=0x00 re0@pci0:4:0:0: class=0x020000 card=0xe0001458 chip=0x816810ec rev=0x01 hdr=0x00 The 2GB case: %dmesg | grep mem real memory = 2146304000 (2046 MB) avail memory = 2082365440 (1985 MB) acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 nvidia0: <GeForce 8500 GT> port 0xb000-0xb07f mem 0xf6000000-0xf6ffffff,0xe0000000-0xefffffff,0xf4000000-0xf5ffffff irq 16 at device 0.0 on pci1 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfa104000-0xfa1043ff irq 18 at device 26.7 on pci0 atapci0: <JMicron AHCI controller> mem 0xfa000000-0xfa001fff irq 19 at device 0.0 on pci3 re0: <RealTek 8168/8111B PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xf9000000-0xf9000fff irq 16 at device 0.0 on pci4 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfa105000-0xfa1053ff irq 23 at device 29.7 on pci0 atapci2: <Intel AHCI controller> port 0xe600-0xe607,0xe700-0xe703,0xe800-0xe807,0xe900-0xe903,0xea00-0xea1f mem 0xfa106000-0xfa1067ff irq 19 at device 31.2 on pci0 orm0: <ISA Option ROM> at iomem 0xd2000-0xd4fff pnpid ORM0000 on isa0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 There are some IRQ conflicts, but removing the devices that conflict with the video card makes no difference in the 4GB case. Please let me know what else you would like. |
|
|
|
|
|
#8 |
|
Registered User
Join Date: Jul 2006
Posts: 20
|
Let me add one more thing: the computer does stay alive (namely, I can ssh into it) even though the local screen is frozen solid. top shows that all of one CPU is being used by X11. Killing the job shows the X11 error message "NVIDIA: failed to set MTRR 0xe0000000, 0M" on the local screen. The final line of the log file was "(II) NVIDIA(0): Initialized GART".
|
|
|
|
|
|
#9 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
Please generate nvidia-bug-report.log files on the working and failing configurations; also, do you have the means to set up a serial console and run with a KDB enabled kernel (see the FreeBSD Handbook for setup details)?
|
|
|
|
|
|
#10 | ||
|
Registered User
Join Date: Jul 2006
Posts: 20
|
Quote:
Quote:
|
||
|
|
|
|
|
#11 |
|
Registered User
Join Date: Jul 2006
Posts: 20
|
Here's the two log files. -2G works properly, -4G does not.
|
|
|
|
|
|
#12 |
|
Registered User
Join Date: Jan 2008
Posts: 4
|
Strange, googling shows this as the only post with the exact error "failed to set MTRR 0xe0000000, 0M"
I have a P35-DS3R as well, with 4GB of RAM. I wonder why no one else seems to be reporting having that trouble with the nvidia driver... |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GeForce R304 Beta Drivers Get You Ready For Summer Gaming | News | Latest Tech And Game Headlines | 0 | 06-18-12 09:50 PM |
| No Guild Wars 2 beta this weekend | News | Latest Tech And Game Headlines | 0 | 05-24-12 08:10 AM |
| 302.11 (beta) for Linux x86/x86_64 released | AaronP | NVIDIA Linux | 0 | 05-19-12 10:21 AM |
| Oi, Diablo: Torchlight II Beta Stress Test This Weekend | News | Latest Tech And Game Headlines | 0 | 05-18-12 09:30 PM |
| Torchlight 2 beta stress test this weekend | News | Latest Tech And Game Headlines | 0 | 05-18-12 07:00 AM |