{"id":772,"date":"2011-07-29T00:08:35","date_gmt":"2011-07-29T04:08:35","guid":{"rendered":"http:\/\/timony.com\/mickzblog\/?p=772"},"modified":"2011-07-29T00:08:35","modified_gmt":"2011-07-29T04:08:35","slug":"cogs-games-on-linux-not-working","status":"publish","type":"post","link":"https:\/\/timony.com\/mickzblog\/2011\/07\/29\/cogs-games-on-linux-not-working\/","title":{"rendered":"Cogs games on Linux not working?"},"content":{"rendered":"<p>See this forum posting for a potential fix, if your using an ATI graphics card:<\/p>\n<p><a title=\"Lazy8Studio Forums\" href=\"http:\/\/forum.lazy8studios.com\/index.php?PHPSESSID=h1d37r13a2d2ccnk5c5j6b2c94&amp;topic=475.msg837#msg837\" target=\"_blank\">http:\/\/forum.lazy8studios.com\/index.php?PHPSESSID=h1d37r13a2d2ccnk5c5j6b2c94&amp;topic=475.msg837#msg837<\/a><\/p>\n<blockquote><p>This is a fix for the bug where Cogs launches with the following output:<\/p>\n<p>Shader compile log for data\/effects\/TextureBumpCubemap.fsh:<br \/>\nFragment shader failed to compile with the following errors:<br \/>\nERROR: 0:41: error(#132) Syntax error: &#8216;smooth&#8217; parse error<br \/>\nERROR: error(#273) 1 compilation errors.\u00a0 No code generated<\/p>\n<p>Apparently the word &#8220;smooth&#8221; is reserved, but only on ATI cards in Linux.\u00a0 The fix is to modify the following file.<\/p>\n<p>~\/games\/cogs\/data\/effects\/TextureBumpCubemap.fsh<\/p>\n<p>Just do a global replace of the word &#8220;smooth&#8221; with &#8220;Smooth&#8221;.<\/p>\n<p>A huge thanks to Renee Marie Jones, who figured this one out <img decoding=\"async\" title=\"Smiley\" src=\"http:\/\/forum.lazy8studios.com\/Smileys\/default\/smiley.gif\" alt=\":)\" \/><\/p><\/blockquote>\n<p>I wasn&#8217;t seeing that particular output on the console, and the screen was just blank\/black and I could hear the music. But, this fix did work for me on Ubuntu Linux 10.10 (Maverick).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>See this forum posting for a potential fix, if your using an ATI graphics card: http:\/\/forum.lazy8studios.com\/index.php?PHPSESSID=h1d37r13a2d2ccnk5c5j6b2c94&amp;topic=475.msg837#msg837 This is a fix for the bug where Cogs launches with the following output: Shader compile log for data\/effects\/TextureBumpCubemap.fsh: Fragment shader failed to compile with the following errors: ERROR: 0:41: error(#132) Syntax error: &#8216;smooth&#8217; parse error ERROR: error(#273) 1 &hellip; <a href=\"https:\/\/timony.com\/mickzblog\/2011\/07\/29\/cogs-games-on-linux-not-working\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Cogs games on Linux not working?<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[13,14,22,41],"tags":[172,278,327,390],"class_list":["post-772","post","type-post","status-publish","format-standard","hentry","category-game","category-games","category-linux","category-ubuntu-linux-2","tag-cogs","tag-game","tag-humble-bundle","tag-linux"],"_links":{"self":[{"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts\/772","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/comments?post=772"}],"version-history":[{"count":0,"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/posts\/772\/revisions"}],"wp:attachment":[{"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/media?parent=772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/categories?post=772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/timony.com\/mickzblog\/wp-json\/wp\/v2\/tags?post=772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}