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

Newegg Daily Deals

Thread Tools
Old 10-27-09, 01:24 PM   #1
Registered User
Join Date: Oct 2009
Posts: 1
Exclamation X-server doesn't start with the nvidia driver "Failed to initialize the NVIDIA ..."

I have a problem with my NVIDIA graphic card (Geforce 9300M GS) and X.org. When I start my PC (an AMILO notebook) there is no graphical desktop (This means the PC starts, but at one point it stops for no reason,after that I can change into text mode (with ctrl + alt +3) and then login). After a long research I figured out, what my problem is and I changed in the X.org configuration file the driver in nv instead of nvidia. Now I have my graphical desktop but no 3D functionalities. The nvidia-bug-report is empty (with the nvidia driver enabled), although I have started the X-server with 'startx --logverbose 6'.
In my Xorg logfile are these error lines

'(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device PCI:1:0:0.
(EE) NVIDIA(0): Please check your system's kernel log for additional error messages and refer to chapter 8 ......'
'(EE) NVIDIA(0): Screen(s) found, but none have a usable configuration'

I've checked system kernel log (/var/log/messages?!) and got the message:

NVRM: rm_init_adapter(0) failed
NVRM: loading NVIDIA UNIX x86 Kernel Module 185.18.36

These Errors appears on every system start, even if I've used the nv driver.

I've looked also in my boot log, there is just one line mentioning the NVIDIA driver:

Enabling the nvidia driver: *** glibc detected *** /usr/bin/python: free(): invalid pointer: 0x0012b24a ***

No idea, what this all means, but, I suppose for this reason I'm here.

I have the problem since 3 or 4 weeks, I don't know, whether it was after an update or not, before that, the nvidia driver worked great!

And ... sry for my english I'm from Germany and my school english isn't that well.

I hope, you can help me, so don't disappoint me


I tried to solve the problem with changing the SELinux mode into permisive, it doesn't help.


The logs are attached.


I have tried both, to compile the driver by myself and to use the driver from my fedora repository ...
Attached Files
File Type: gz nvidia-bug-report.log.gz (31.4 KB, 127 views)
File Type: gz xorg.boot.kernel.log.tar.gz (4.5 KB, 121 views)

Last edited by DuProfNick; 10-27-09 at 01:47 PM. Reason: PPPS
DuProfNick is offline   Reply With Quote
Old 10-27-09, 02:15 PM   #2
NVIDIA Corporation
AaronP's Avatar
Join Date: Mar 2005
Posts: 2,487
Default Re: X-server doesn't start with the nvidia driver "Failed to initialize the NVIDIA ..

vmap allocation for size 16781312 failed: use vmalloc=<size> to increase size.
This is a common problem with 32-bit systems. Please see the README section on this error.
AaronP is offline   Reply With Quote
Old 06-25-10, 11:35 AM   #3
Registered User
Join Date: Jun 2010
Posts: 1
Default Re: X-server doesn't start with the nvidia driver "Failed to initialize the NVIDIA ..

I just had this problem as well
Turns out i had compiled my kernel with 4k stacks... it's not a 32 bit problem, it's a kernel problem.

Kernel Hacking > Use 4Kb for Kernel stacks instead of 8Kb

disable that in your kernel and you'll be fine
MetaPhaze is offline   Reply With Quote
Old 06-25-10, 12:17 PM   #4
NVIDIA Corporation
zander's Avatar
Join Date: Aug 2002
Posts: 3,740
Default Re: X-server doesn't start with the nvidia driver "Failed to initialize the NVIDIA ..

The vmap() allocation failure is due to kernel virtual memory exhaustion, which is not an uncommon problem on Linux/x86 systems. The size of the kernel stacks is unrelated to this - if you're seeing cases in which the use of 4KB stacks vs. 8KB stacks breaks the NVIDIA driver, please report this separately. The NVIDIA Linux driver is designed to work with 4KB kernel stacks, and there are no known problems with 4KB configurations.
zander is offline   Reply With Quote
Old 06-25-10, 12:30 PM   #5
Registered User
Join Date: Jun 2006
Posts: 714
Default Re: X-server doesn't start with the nvidia driver "Failed to initialize the NVIDIA ..

grep 4K .config

Everything works nicely here.
artem is offline   Reply With Quote

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 05:17 PM.

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