Hello, I'm Paul. I am a devoted Linux user, Ruby programmer, Open Source software developer, photography hobbyist, and a world traveller. My wife Eugenia and I originate from a place in Russian Siberia. Today we live at the very South of Canada.
I’ve compiled new kernel for Gentoo Linux running on my wife’s computer and X server failed to start. In log I found:
(EE) NVIDIA(0): Failed to obtain a shared memory identifier.
It took me a couple of hours to bring it back to life. So if you experience similar issue here’s the quick answer:
Probably System V IPC is not enabled in your kernel configuration. Enable it running make
menuconfig and checking
General setup —> [*] System V IPC
or just set
/usr/src/linux/.config file manually.
Recompile both kernel and nVidia driver and reboot. It worked for me.