[PyOpenGL-Users] simple pyopengl script works on one machine, but not on another
Brought to you by:
mcfletch
From: Matthew E. <mat...@gm...> - 2016-02-09 04:43:56
|
The pyopengl-based python script at... https://github.com/glumpy/glumpy/blob/master/examples/tutorial/quad-glut.py ...works perfectly on my desktop computer, producing a colourful window. Unfortunately, when run on my laptop, it only produces a black window, with no error or warning messages. I am running Ubuntu 15.10, but I had this same problem on 14.04 (in fact I upgraded to 15.10 to see if that might help solve this problem). Other opengl applications run well. For instance glxgears works, and I have a python script that uses FTGL to display some text, and this works correctly. Below are the output of some command-line queries to show details of my hardware and drivers. Please let me know if any other information could help resolve this strange bug. Any suggestions for things to try would be much appreciated! Thanks in advance *glxinfo | grep -i version*server glx version string: 1.4 client glx version string: 1.4 GLX version: 1.4 OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.2.0-devel (git-3fba517 2016-01-28 trusty-oibaf-ppa) OpenGL core profile shading language version string: 3.30 OpenGL version string: 3.0 Mesa 11.2.0-devel (git-3fba517 2016-01-28 trusty-oibaf-ppa) OpenGL shading language version string: 1.30 OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0-devel (git-3fba517 2016-01-28 trusty-oibaf-ppa) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 *sudo lshw -c video* *-display description: VGA compatible controller product: 3rd Gen Core processor Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 09 width: 64 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:28 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64) |