3D Apps / Games exit with following error on Intel HD 3000
intel_do_flush_locked failed: Invalid argument
If I use bumbleblee's optirun to run glxgears or glxspheres it works flawlessly
$ optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 630M/PCIe/SSE2
170.196254 frames/sec - 146.464088 Mpixels/sec
My Laptop is Asus K53SM-SX130D. Core-i7 2670QM, 8GB RAM, Intel HD 3000 + nVidia GT630M Display 1366x768
OS Config
Ubuntu 11.04 (natty)
Kernel 2.6.38-15
PPAs:
oibaf/graphics-drivers
bumblebee/stable
ubuntu-x-swat/x-updates
I had tried xorg-edgers but was giving me some error with only 1024x768
special boot parameters are none
quiet splash vt.handoff=7
Additional Info If I run lshw it resets my display so I only see top left quarter. but it correctly shows Intel HD. To fix the display I had to reboot early but I found that optirun and exiting that game put the display back. $ lshw -C video
glxinfo intel hd(without optirun): http://pastebin.com/pB5t6fPc
glxinfo nvidia gt630m (with optirun): http://pastebin.com/cq7SrFYY
Thanks Raam