Gentoo Archives: gentoo-desktop

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-desktop@l.g.o
Subject: [gentoo-desktop] Re: OpenGL Issue -- "failed to create drawable" (pyglet, python) [SOLVED]
Date: Tue, 26 Apr 2011 00:02:49
Message-Id: pan.2011.04.25.23.10.49@cox.net
In Reply to: [gentoo-desktop] Re: OpenGL Issue -- "failed to create drawable" (pyglet, python) [SOLVED] by Corey Richardson
1 Corey Richardson posted on Mon, 25 Apr 2011 15:38:55 -0400 as excerpted:
2
3 > As for Gallium saying it's a i965 card, I think it was reading the last
4 > option in eselect with it set. Not positive, but that's the only thing I
5 > could come up with (I had both i915 and i965 set to gallium in eselect.
6 > After changing that to classic, here's the new glxinfo I get:
7 >
8 > OpenGL vendor string: Tungsten Graphics, Inc OpenGL renderer string:
9 > Mesa DRI Mobile Intel® GM45 Express Chipset OpenGL version string: 2.1
10 > Mesa 7.10.1 OpenGL shading language version string: 1.20
11 >
12 > Looks better, AND it solves the pyglet problem! Thank you Duncan.
13 >
14 > Now that I think about gallium using i965, it doesn't seem as odd when
15 > you consider that the DRI2 driver is i965. I find that very strange, any
16 > ideas what that could be? Didn't really find anything online, perhaps my
17 > google-foo is lacking.
18
19 I expect it's simply not knowing about the eselect mesa bit, and having
20 something set wrong, originally. It would have been interesting to see
21 what the xorg log said before we started experimenting, as I suspect that
22 we fixed it in two stages, either setting something else wrong before we
23 found the first problem so fixing it didn't solve the entire problem, or
24 having two misconfigured settings in the first place and it took getting
25 them both correct to fix the problem.
26
27 FWIW, if you haven't already done so, you will probably want to enable
28 eselect's tab-completion option, among others. eselect bashcomp list will
29 give you a *BIG* list (199 items long, here) of bash-completion command
30 options you can activate if you use them on the command line. Each login
31 user can run eselect bashcomp and set their own prefs, so root doesn't
32 have to have the same set of active bash-completions as your normal user,
33 as someone (significant-other, whatever) else with a login on your
34 computer, etc.
35
36 Tab-completion for commands like eselect make them **MUCH** easier to use
37 effectively, just as tab-completion for filesystem paths makes them both
38 much easier to use effectively, AND much easier to use without error. If
39 you tab-complete an rm command, you're MUCH less likely to typo and rm the
40 wrong thing, and MUCH more likely to catch it if you do typo, due to the
41 completion giving you something unexpected, before you actually do the
42 removal!
43
44 With eselect tab completion enabled, it too becomes much easier to use
45 effectively and without error. =:^)
46
47 --
48 Duncan - List replies preferred. No HTML msgs.
49 "Every nonfree program has a lord, a master --
50 and if you use the program, he is your master." Richard Stallman