[Devel] vmalloc size (trobles with nvidia-glx)

Alexander GQ Gerasiov gq at cs.msu.su
Wed Apr 16 13:44:31 PDT 2008


Hello there.

I'm using OpenVZ on my desktop, where I use nvidia-glx. When I tried to
switch to OpenVZ I met strange problem: Xserver fails to start with
message

(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device PCI:1:0:0.
(EE) NVIDIA(0):     Please see the COMMON PROBLEMS section in the README for
(EE) NVIDIA(0):     additional information.
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!

After digging a bit, I found that the problem is in the failed vmalloc
call. nvidia want ~70M of memory and together with openvz they ran out
of default limit in 128M.
So the 1st question: is that normal, that OpenVZ without any VE eats
45Mb more memory from vmalloc space, that default kernel?
If that's normal, what for? (Just interesting.)
And if that's normal, may be you should override default limit in
OpenVZ patch? For now I used vmalloc=256m in kernel's command line, but
this is not trivial to found out the problem for normal not skilled
user.

-- 
Best regards,
 Alexander GQ Gerasiov

 Contacts:
 e-mail:    gq at cs.msu.su             Jabber:  gq at jabber.ru
 Homepage:  http://gq.net.ru         ICQ:     7272757
 PGP fingerprint: 0628 ACC7 291A D4AA 6D7D  79B8 0641 D82A E3E3 CE1D




More information about the Devel mailing list