It's not possible to create EGL context in 334.16 driver

eglCreateContext in 334.16 driver always returns EGL_NO_CONTEXT with EGL_BAD_ALLOC error, for all “supported” configurations.
I hacked eglinfo to use eglCreateContext, which shows the bug: eglinfo.c · GitHub
nvidia-bug-report.log.gz (58.5 KB)
nvidia_334.16_eglinfo.txt (17.4 KB)

Works here ok

http://pastebin.com/pmeKNr5i

@leigh123linux agreed, works here

http://sl1pkn07.no-ip.com/paste/view/f57aaeac

greetings

Oh, I found the error … libnvidia-eglcore.so.334.16 wasn’t installed by ebuild in gentoo, so it’s not bug with drivers.
I should have run strace sooner.

edit: It’s fixed.