<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Okay, I think I just figured this out. Well, HOW to get it working with the accelerated renderer.</div><div><br></div><div>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:</div><div><br></div><div><div>hhmacbook:~/Development/haskell/OpenGL:57&gt; ./Test2&nbsp;</div><div>hardware</div><div>(2,7,7)</div><div>(3,2,0)</div><div>hhmacbook:~/Development/haskell/OpenGL:58&gt;&nbsp;</div></div><div><br></div><div>AH HA! I then quit X11 and re-ran Test2, and got this:</div><div><br></div><div><div>hhmacbook:~/Development/haskell/OpenGL:58&gt; ./Test2&nbsp;</div><div>software</div><div>(2,7,7)</div><div>(3,2,0)</div><div>hhmacbook:~/Development/haskell/OpenGL:59&gt;&nbsp;</div></div><div><br></div><div>SO- If you want the accelerated renderer, you need to have X11 running.</div><div><br></div><div>Now, I have no idea WHY this is the case, but there you go.</div><div><br></div><div>Hope this helps.</div><div><br></div><div>-Hollister</div><div><br></div><div><br></div><br><div><div>On Mar 10, 2013, at 3:10 PM, Hollister Herhold wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>That's what I thought from looking at the output from dtruss.</div><div><br></div><div>Is this a GLFW-only issue? It seems unlikely that Haskell OpenGL apps in general have been using the software renderer.</div><div><br></div><div><br></div><br><div><div>On Mar 10, 2013, at 1:47 PM, Brandon Allbery wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">On Sun, Mar 10, 2013 at 1:27 PM, Hollister Herhold <span dir="ltr">&lt;<a href="mailto:hollister@fafoh.com" target="_blank">hollister@fafoh.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div><div class="h5"><div>On Mar 10, 2013, at 12:09 PM, Brandon Allbery wrote:</div></div></div><blockquote type="cite"><div class="h5"><div dir="ltr">On Sun, Mar 10, 2013 at 5:38 AM, Jesper Särnesjö&nbsp;<span dir="ltr">&lt;<a href="mailto:sarnesjo@gmail.com" target="_blank">sarnesjo@gmail.com</a>&gt;</span>&nbsp;wrote:<br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>To remove any possibility of the problem being in GLFW-b or OpenGLRaw,</div>
I created two new programs, one in Haskell [1] and one in C [2], that<br></blockquote><div>Check whether the Haskell OpenGL binding is using the X11 libraries instead of native GUI. My&nbsp;</div></div></div></div></blockquote>
</div><div>Digging... Is that a configurable thing?</div></div></blockquote><div><br></div><div>I just checked and it looks like it's at least trying to use the native framework.</div><div>&nbsp;</div></div>-- <br><div dir="ltr">
<div>brandon s allbery kf8nh &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div>
<div>unix, openafs, kerberos, infrastructure, xmonad &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://sinenomine.net/" target="_blank">http://sinenomine.net</a></div></div>
</div>
_______________________________________________<br>Beginners mailing list<br><a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/beginners">http://www.haskell.org/mailman/listinfo/beginners</a><br></blockquote></div><br></div>_______________________________________________<br>Beginners mailing list<br><a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>http://www.haskell.org/mailman/listinfo/beginners<br></blockquote></div><br></body></html>