1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
(I was directed to this mailing list from someone in #gentoo. Redirect |
5 |
me if this is the wrong place. Thank you!) |
6 |
|
7 |
I'm trying to use pyglet, a python library for multimedia (commonly used |
8 |
as a game library) using OpenGL. When running any sort of script |
9 |
utilizing pyglet, the following happens: |
10 |
|
11 |
"failed to create drawable" is printed to the shell twice |
12 |
The window pyglet opens is completely black, and hangs. To close the |
13 |
window I need to kill the python process. |
14 |
|
15 |
I've chatted with the Pyglet devs and determined that the error is in |
16 |
OpenGL and not pyglet. After googling around for this error, the only |
17 |
other instance I saw was someone using nouveau that needed some sort of |
18 |
driver upgrade. |
19 |
|
20 |
The output of glxinfo is attached, as well as the output from "eix |
21 |
media-libs/mesa", the implementation of OpenGL on my system. |
22 |
|
23 |
I tried reemerging mesa with -gallium in the USE, which had the same |
24 |
result as before except instead of a hang a Segmentation Fault was |
25 |
generated. When I emerged mesa back with gallium, it emitted an |
26 |
informational blurb that gallium only worked with i915 and another intel |
27 |
card, among the intels (with some other vendor's cards, but they didn't |
28 |
pertain to me). I am using an intel i915, and I believe my system is |
29 |
properly configured for that card. I would love to see the output of |
30 |
glxinfo from someone who has a working OpenGL for the i915. |
31 |
|
32 |
A simple test case (if you would like to test on your own system) is: |
33 |
|
34 |
python -c "import pyglet as p;w=p.window.Window();p.app.run();" |
35 |
|
36 |
This requires dev-python/pyglet to be emerged. It's a small library and |
37 |
is pure-python, so it should only take ~30 seconds. |
38 |
|
39 |
I am using AwesomeWM, if that is of consequence. |
40 |
|
41 |
So, how can I further debug this error, and hopefully fix it? Request |
42 |
more information if you need it. Thank you for your time |
43 |
|
44 |
- -- |
45 |
Corey Richardson |
46 |
-----BEGIN PGP SIGNATURE----- |
47 |
Version: GnuPG v2.0.17 (GNU/Linux) |
48 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ |
49 |
|
50 |
iQEcBAEBAgAGBQJNtMhKAAoJEAFAbo/KNFvp0hoH/jbqb5z9icaJ3Nm2+3tczR8A |
51 |
aFDX2ftBKtIuhjJ/hHw0efj/a84mamL3u2u20PO2LtR7Gu+7V0bEVCamQ3QIFwwc |
52 |
Sj+radtbVL4zUI2Ul97P3fs3ERjgh0rkC/1SCJbvX7L+1p+ctztG0SsAK3x9XNqU |
53 |
n95WEUxi/zOLHnotHD/hME0UZM6PqUWqUwCv9/rJJXS2VszkAPWZx1gSKsF2JMBp |
54 |
tDbhO25Pcb76XtBSSd8LdE19hv4yzE5LSMl4zYoqbY/0E5/osi4aJfenwbTy/8E/ |
55 |
2s8V1sQY4qKU/9qcPV1MdkR+rYaQIf681Dhh05D1o5XGFRnZPB4QI7FfnmCSeqk= |
56 |
=4fV1 |
57 |
-----END PGP SIGNATURE----- |