{"id":193,"date":"2009-01-26T13:03:41","date_gmt":"2009-01-26T19:03:41","guid":{"rendered":"http:\/\/www.philhassey.com\/blog\/?p=193"},"modified":"2009-01-26T13:03:41","modified_gmt":"2009-01-26T19:03:41","slug":"running-opengl-apps-on-a-linux-guest-in-vmware-fusion","status":"publish","type":"post","link":"https:\/\/www.philhassey.com\/blog\/2009\/01\/26\/running-opengl-apps-on-a-linux-guest-in-vmware-fusion\/","title":{"rendered":"Running OpenGL Apps on a Linux guest in VMWare Fusion"},"content":{"rendered":"<p>Here&#8217;s my &#8220;tip of the day&#8221; for running OpenGL Apps on a Linux \/ Ubuntu guest in VMWare Fusion. \u00a0The problem is that while running VMWare Fusion on OSX, your guest Ubuntu system doesn&#8217;t have 3D acceleration. \u00a0Bummer! \u00a0I really like doing my game-dev under linux .. so after a bit of searching I found this neat trick:<\/p>\n<p>1. Open a Terminal in OSX (host OS)<\/p>\n<p>2.\u00a0ssh -Y ip.address.of.guest.OS<br \/>\n(You can find out the IP address of your guest OS via ifconfig.)<\/p>\n<p>3. run the game you are working on\u00a0<\/p>\n<p>4. OSX pops up a window with your game running at full speed!<\/p>\n<p>Via that SSH session I can run my games under linux, but the OpenGL stuff is forwarded to my OSX host, which renders it at full speed. \u00a0This is called X11 forwarding, which I had heard of before, but I didn&#8217;t know it included OpenGL \ud83d\ude42<\/p>\n<p>I&#8217;d love it if Fusion included 3D acceleration of linux-based Guest OSs, but in the meantime, this will get me by. \u00a0One thing to note, this isn&#8217;t perfect. \u00a0I tried running tux racer, and although it seemed to run at full speed, the view wasn&#8217;t centered and so I only saw the top left 25% of the game.<\/p>\n<p>-Phil<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s my &#8220;tip of the day&#8221; for running OpenGL Apps on a Linux \/ Ubuntu guest in VMWare Fusion. \u00a0The problem is that while running VMWare Fusion on OSX, your guest Ubuntu system doesn&#8217;t have 3D acceleration. \u00a0Bummer! \u00a0I really like doing my game-dev under linux .. so after a bit of searching I found [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,6,19,2],"tags":[103,105,67,104,102],"class_list":["post-193","post","type-post","status-publish","format-standard","hentry","category-crazy","category-development","category-gamedev","category-python","tag-fusion","tag-linux","tag-opengl","tag-ubuntu","tag-vmware"],"_links":{"self":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/comments?post=193"}],"version-history":[{"count":0,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/posts\/193\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/media?parent=193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/categories?post=193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.philhassey.com\/blog\/wp-json\/wp\/v2\/tags?post=193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}