{"id":15,"date":"2011-07-16T09:32:00","date_gmt":"2011-07-16T13:32:00","guid":{"rendered":"http:\/\/brian.digitalmaddox.com\/blog\/?p=15"},"modified":"2014-07-08T16:45:48","modified_gmt":"2014-07-08T20:45:48","slug":"the-case-of-the-broken-opengl-extensions","status":"publish","type":"post","link":"https:\/\/brian.digitalmaddox.com\/blog\/?p=15","title":{"rendered":"The Case of the Broken OpenGL Extensions"},"content":{"rendered":"<p>Like a good boy I did my apt-get update \/ apt-get upgrade the other day and thought everything was ok.\u00a0 It pulled down some x.org updates and a new nvidia-current (yes, running Ubuntu with some development ppa&#8217;s).\u00a0 Upon rebooting I noticed compositing in kwin had stopped.\u00a0 I thought maybe the sequence of updates had messed something up because there was one xorg update that came in after nvidia-current.\u00a0<\/p>\n<p>So I ran <i>glxinfo<\/i> and log and behold I had no GL extensions whatsoever.\u00a0 Hrm, this is a problem I thought.\u00a0 I also ran <i>nvidia-settings<\/i> to see what it said and the OpenGL tab also said nothing was there.\u00a0 Did a quick web check and no one else was reporting problems with the version of the nvidia driver I had.<\/p>\n<p>I then did a quick <i>ldd `which glxinfo`<\/i> to see what was up, thinking that one of the xorg updates might have sneaked in some mesa configs.\u00a0 Sure enough, <i>glxinfo<\/i> was pulling <i>libGL.so<\/i> from mesa instead of the nvidia binary.\u00a0 I looked in <i>\/etc\/ld.so.conf.d <\/i>and found a <i>i386-linux-gnu_GL.conf<\/i> file that indeed placed mesa in ldconfig&#8217;s path higher than the nvidia one.\u00a0 A quick <i>rm i386-linux-gnu_GL.conf<\/i> and restarting of X fixed things.<\/p>\n<p>The moral of the story is, if you&#8217;re like me and have the xorg edgers ppa installed and have suddenly lost OpenGL acceleration, check your <i>\/etc\/ld.so.conf.d<\/i> dir.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Like a good boy I did my apt-get update \/ apt-get upgrade the other day and thought everything was ok.\u00a0 It pulled down some x.org updates and a new nvidia-current (yes, running Ubuntu with some development ppa&#8217;s).\u00a0 Upon rebooting I &hellip; <a href=\"https:\/\/brian.digitalmaddox.com\/blog\/?p=15\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-15","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15"}],"version-history":[{"count":0,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/15\/revisions"}],"wp:attachment":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}