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:

hhmacbook:~/Development/haskell/OpenGL:57> ./Test2 
hardware
(2,7,7)
(3,2,0)
hhmacbook:~/Development/haskell/OpenGL:58> 

AH HA! I then quit X11 and re-ran Test2, and got this:

hhmacbook:~/Development/haskell/OpenGL:58> ./Test2 
software
(2,7,7)
(3,2,0)
hhmacbook:~/Development/haskell/OpenGL:59> 

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.

-Hollister



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@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@gmail.com> wrote:
To remove any possibility of the problem being in GLFW-b or OpenGLRaw,
I created two new programs, one in Haskell [1] and one in C [2], 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@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners