Get window but nothing else when running tutorial


I have Ubuntu 14.04 installed. I ran the following code that was in the manual.

from direct.showbase.ShowBase import ShowBase
class MyApp(ShowBase):
    def __init__(self):
        # Load the environment model.
        self.scene = self.loader.loadModel("environment")
        # Reparent the model to render.
        # Apply scale and position transforms on the model.
        self.scene.setScale(0.25, 0.25, 0.25)
        self.scene.setPos(-8, 42, 0)
app = MyApp()

All I get is the window I do not get the green grass as pictured in the manual. I ran python and it printed out:

Known pipe types:

(All display modules loaded.)

I checked version of Python and I am running 2.7.6

Not sure what is going on. Please advise. Thank you.


What GPU and drivers do you have installed?


I have integrated graphics. I ran lspci and this what I get.

00:02.0 VGA compatible controller: Intel corporation 2nd generation core processor or Family integrated graphics controller (rev 09)

My laptop has Intel Core I7-2627M CPU@2.70 GHz x 4 OS 64bit Memory 15.5Gb.


Can you run other OpenGL programs fine, like “glxgears”?

Could you post the output of “glxinfo”, and the output of “pview” after setting “notify-level-glgsg debug” in your /etc/Config.prc file?