nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762 (http://www.nvnews.net/vbulletin/showthread.php?t=72083)

Johannes G 06-19-06 12:00 PM

"Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762
 
1 Attachment(s)
Hi,
so far I failed to get a GeForce 7900 GTX (actually two of them for SLI...) running with XFree 4.3 on a Debian system. I already installed the latest driver 1.0-8762 and the kernel module is loaded.

However, starting the XServer aborts with:
Quote:

(EE) NVIDIA(0): Unable to allocate DMA memory
(EE) NVIDIA(0): Push buffer DMA allocation failed
(EE) NVIDIA(0): *** Aborting ***
(EE) NVIDIA(0): Failed to allocate DMA push buffer
(EE) NVIDIA(0): *** Aborting ***
Also dmesg shows some errors:
Quote:

NVRM: nv_kern_mmap: invalid offset: 0x00010000 @ 0x000000005a770000 (PCI)
NVRM: nv_kern_mmap: invalid offset: 0x00010000 @ 0x000000005acbf000 (PCI)
I attached the log from nvidia-bug-report.sh:
Attachment 18907


Any hints how to proceed?

Thanks in advance.

zander 06-19-06 02:04 PM

Re: "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762
 
Do the cards work if driven individually, i.e. is the problem SLI specific?

Johannes G 06-20-06 10:48 AM

Re: "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762
 
I did not expect SLI to be the problem, at least not at this early point of failure.
Nevertheless, I followed your hint and tried only one card -- without success. Also with only one card the XServer failed to start with the same error message (DMA push buffer)

zander 06-20-06 10:55 AM

Re: "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762
 
Please generate and attach an updated nvidia-bug-report.log file after trying to start X with only one of the GPUs.

Johannes G 06-22-06 08:42 AM

Re: "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762
 
1 Attachment(s)
OK, here it comes: Attachment 18935

zander 06-22-06 10:41 AM

Re: "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762
 
1 Attachment(s)
It looks like you're using a 32-bit X server on the 64-bit system and that the DMA push buffer's address is being truncated in the 32-bit NVIDIA X driver. Does the problem go away if you boot with e.g. mem=2G? If so, can you try if the attached workaround helps (w/o mem=??)? To apply the workaround and install the updated driver, please use:

# sh /path/to/NVIDIA-Linux-x86_64-1.0-8762-pkg2.run --extract-only
# cd NVIDIA-Linux-x86_64-1.0-8762-pkg2
# patch -p0 < /path/to/NVIDIA_kernel-1.0-8762-1476108.diff.txt
# cd usr/src/nv
# make clean install
This problem should be resolved in future NVIDIA Linux graphics driver releases.

Johannes G 06-24-06 08:53 AM

Re: "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762
 
Quote:

It looks like you're using a 32-bit X server on the 64-bit system
True.

Quote:

Does the problem go away if you boot with e.g. mem=2G?
Yes, the XServer started then.
Also after using your workaround by patching the driver everything worked fine -- even after reinstalling the second card. :clap:
Thanks a lot for your help!

Just a small question. Can you confirm that it is not possible to use TwinView and SLI at the same time?
If yes, is this a hardware limitation (e.g. there is only one compositing unit) or a lacking feature of the current drivers?

nsheridan 08-02-06 08:20 PM

Re: "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762
 
1 Attachment(s)
Hm, I have a similar problem. While booting with mem=2G fixes it, the supplied patch does not. Any suggestions greatly received.
bug-report attached.


All times are GMT -5. The time now is 11:01 PM.

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