simple pyopengl script works on one machine, but not on another
Matthew Egbert <[email protected]> Tue, 9 Feb 2016 13:43:09 +0900
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <CAHr=P9zO64V3G-Uq-GonxqeL6LMaomgyrGWFotunqisrUfDriQ@mail.gmail.com> |
--===============3359892398890886891==
Content-Type: multipart/alternative; boundary=001a113ee046ac4d2e052b4ef60d
--001a113ee046ac4d2e052b4ef60d
Content-Type: text/plain; charset=UTF-8
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)
--001a113ee046ac4d2e052b4ef60d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><div><div>The <span class=3D"">pyopengl</span>-based =
python script at...<br><br><a href=3D"https://github.com/glumpy/glumpy/blob=
/master/examples/tutorial/quad-glut.py" target=3D"_blank">https://github.co=
m/glumpy/glumpy/blob/master/examples/tutorial/quad-glut.py</a><br><br></div=
>...works
perfectly on my desktop computer, producing a colourful window.=20
Unfortunately, when run on my laptop, it only produces a black window,=20
with no error or warning messages.<br><br></div>I am running Ubuntu=20
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).<br><br>Other opengl=20
applications run well. For instance glxgears works, and I have a python=20
script that uses FTGL to display some text, and this works correctly.<br><b=
r>Below
are the output of some command-line queries to show details of my=20
hardware and drivers. Please let me know if any other information could=20
help resolve this strange bug. Any suggestions for things to try would=20
be much appreciated! Thanks in advance<br><br><b>glxinfo | grep -i version<=
br></b>server glx version string: 1.4<br>client glx version string: 1.4<br>=
GLX version: 1.4<br>OpenGL core profile version string: 3.3 (Core Profile) =
Mesa 11.2.0-devel (git-3fba517 2016-01-28 trusty-oibaf-ppa)<br>OpenGL core =
profile shading language version string: 3.30<br>OpenGL version string: 3.0=
Mesa 11.2.0-devel (git-3fba517 2016-01-28 trusty-oibaf-ppa)<br>OpenGL shad=
ing language version string: 1.30<br>OpenGL ES profile version string: Open=
GL ES 3.0 Mesa 11.2.0-devel (git-3fba517 2016-01-28 trusty-oibaf-ppa)<br>Op=
enGL ES profile shading language version string: OpenGL ES GLSL ES 3.00<br>=
<br></div><br><b>sudo lshw -c video</b><br>=C2=A0 *-display=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <br>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 description: VGA compatible controller=
<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 product: 3rd Gen Core processor Gr=
aphics Controller<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 vendor: Intel Cor=
poration<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 physical id: 2<br>=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bus info: pci@0000:00:02.0<br>=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 version: 09<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 width: 64 bits<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 clock: 33MHz<br>=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 capabilities: msi pm vga_controller bu=
s_master cap_list rom<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 configuration=
: driver=3Di915 latency=3D0<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 resourc=
es: irq:28 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(si=
ze=3D64)</div>
--001a113ee046ac4d2e052b4ef60d--
--===============3359892398890886891==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
--===============3359892398890886891==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyopengl-users
--===============3359892398890886891==--