[Haskell-beginners] Performance problem with Haskell/OpenGL/GLFW
hollister at fafoh.com
Sun Mar 10 21:17:30 CET 2013
Okay, I think I just figured this out. Well, HOW to get it working with the accelerated renderer.
I was wondering a simple way to check renderer info so I ran glxinfo. This (automatically) fired up X11, and then on a hunch I re-ran Test2 with X11 running and got this:
AH HA! I then quit X11 and re-ran Test2, and got this:
SO- If you want the accelerated renderer, you need to have X11 running.
Now, I have no idea WHY this is the case, but there you go.
Hope this helps.
On Mar 10, 2013, at 3:10 PM, Hollister Herhold wrote:
> That's what I thought from looking at the output from dtruss.
> Is this a GLFW-only issue? It seems unlikely that Haskell OpenGL apps in general have been using the software renderer.
> On Mar 10, 2013, at 1:47 PM, Brandon Allbery wrote:
>> On Sun, Mar 10, 2013 at 1:27 PM, Hollister Herhold <hollister at fafoh.com> wrote:
>> On Mar 10, 2013, at 12:09 PM, Brandon Allbery wrote:
>>> On Sun, Mar 10, 2013 at 5:38 AM, Jesper Särnesjö <sarnesjo at gmail.com> wrote:
>>> To remove any possibility of the problem being in GLFW-b or OpenGLRaw,
>>> I created two new programs, one in Haskell  and one in C , that
>>> Check whether the Haskell OpenGL binding is using the X11 libraries instead of native GUI. My
>> Digging... Is that a configurable thing?
>> I just checked and it looks like it's at least trying to use the native framework.
>> brandon s allbery kf8nh sine nomine associates
>> allbery.b at gmail.com ballbery at sinenomine.net
>> unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
>> Beginners mailing list
>> Beginners at haskell.org
> Beginners mailing list
> Beginners at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners