[Possible Bug]Xorg black screen on Optimus, Failed to export GEM buffer 0x1

I am trying to setup the NVIDIA driver 346.35 on a Optimus laptop running Linux From Scratch, x86_64, kernel 3.14.39, xorg 1.17. However, I get the error about failing to export GEM buffer 0x1, and there is another error about modest failing because “No space left on device”. I will upload info as quick as possible after I transfer the files.

These are the two files, nvidia-bug-report.gz (partial), and Xorg.0.log.
nvidia-bug-report.log.gz (25.2 KB)
Xorg.0.log.gz (6.75 KB)