Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-desktop
Navigation:
Lists: gentoo-desktop: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-desktop@g.o
From: Corey Richardson <kb1pkl@...>
Subject: Re: OpenGL Issue -- "failed to create drawable" (pyglet, python) [SOLVED]
Date: Mon, 25 Apr 2011 15:38:55 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/25/2011 08:18 AM, Duncan wrote:
> Duncan posted on Mon, 25 Apr 2011 03:34:38 +0000 as excerpted:
> 
>> I'll do a followup with the netbook's glxinfo if I remember, but the
>> above should give you some pointers to investigate, meanwhile.
> 
> OK, on the netbook...
> 
> lspc reports Intel 945GME
> 
> The xorg log (Xorg.0.log) first reports "Driver for Intel Integrated 
> Graphics Chipsets: i810", THEN reports the Intel driver detecting chipset 
> 945GME (as lspci listed), BUT THEN the Intel driver DRI2 driver is 
> reported as the i915.

Interesting, the DRI2 driver is reported as an i965 for me. I'll need to
investigate that further.

> 
> Talking about the xorg log... check it too.  If you're running hardware 
> OpenGL, it'll report something like this (FWIW, xorg-server 1.10.1):
>  [ snip ]
> intel(0): [DRI2] Setup complete
> intel(0): [DRI2]   DRI driver: i915
> 
> later...
> 
> intel(0): direct rendering: DRI2 Enabled
> 
> later...
> 
> GLX: Initialized DRI2 GL provider for screen 0
> 
> 
> If instead it's saying DRI disabled, or doesn't mention it, you're 
> software-fallback rendered, for sure, as it's straight from the log.
> 

Yep, I have all the lines you do (with slightly different version
numbers), except the i965 as I reported earlier. I suspect that is the
cause of many of these problems, but I can't think why it'd be doing that.

> FWIW, here's those lines as mentioned up-thread from the netbooks glxinfo:
> 
> OpenGL vendor string: Tungsten Graphics, Inc
> OpenGL renderer string: Mesa DRI Intel(R) 945GME x86/MMX/SSE2
> 
> Kernel config:
> 
> [ snip]

All of the kernel options check out, so it's not the kernel (although I
did need to go through and clean up a few things, thanks for giving me
an excuse ;-)

As for Gallium saying it's a i965 card, I think it was reading the last
option in eselect with it set. Not positive, but that's the only thing I
could come up with (I had both i915 and i965 set to gallium in eselect.
After changing that to classic, here's the new glxinfo I get:

OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Mobile IntelĀ® GM45 Express Chipset
OpenGL version string: 2.1 Mesa 7.10.1
OpenGL shading language version string: 1.20

Looks better, AND it solves the pyglet problem! Thank you Duncan.

Now that I think about gallium using i965, it doesn't seem as odd when
you consider that the DRI2 driver is i965. I find that very strange, any
ideas what that could be? Didn't really find anything online, perhaps my
google-foo is lacking.

- -- 
Corey Richardson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNtc3PAAoJEAFAbo/KNFvpvhUH/jv4n0hBWXRW4L61QZIe6Qnq
bh+u8z75a5KOoGAizeOdlmtN28Dg7SHJLMw7PAk4L6QkhiHFcMY7rPEbKbbTFj7K
+jCtWGkvt6oEWe6AeessrnjodSJGW7DdGFjT5yvU+ZU2OIfEFZyeuCJB4QznI0zv
aMI44OOdkJ2+BVeOjmq3joLlVFTIiROGk2IF65hCkZ4Y5AX3rm7zDUpq+voeJ8Y8
njNab62o0iGuvUJwm0xr9BCCxUATiNWoB6FbZSy12YlDs6CkJ0zrAkBwLeMlNQxZ
dYXSkAMEYAOi8IkuF6S2Pg/n3XA2W4tcYNiICTRkI88c79QuCpGOhYceLqcN+E0=
=Cu3b
-----END PGP SIGNATURE-----


Replies:
Re: OpenGL Issue -- "failed to create drawable" (pyglet, python) [SOLVED]
-- Duncan
References:
OpenGL Issue -- "failed to create drawable" (pyglet, python)
-- Corey Richardson
Re: OpenGL Issue -- "failed to create drawable" (pyglet, python)
-- Duncan
Re: OpenGL Issue -- "failed to create drawable" (pyglet, python)
-- Duncan
Navigation:
Lists: gentoo-desktop: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: OpenGL Issue -- "failed to create drawable" (pyglet, python)
Next by thread:
Re: OpenGL Issue -- "failed to create drawable" (pyglet, python) [SOLVED]
Previous by date:
Re: Re: OpenGL Issue -- "failed to create drawable" (pyglet, python)
Next by date:
Re: OpenGL Issue -- "failed to create drawable" (pyglet, python) [SOLVED]


Updated Jun 28, 2012

Summary: Archive of the gentoo-desktop mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.