<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>MHGames &#187; linux</title> <atom:link href="http://www.mhgames.org/tag/linux/feed/" rel="self" type="application/rss+xml" /><link>http://www.mhgames.org</link> <description>Games by Mika Halttunen.</description> <lastBuildDate>Fri, 07 Oct 2011 13:58:01 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>Windows 7 woes, defeat, change of the war plans..</title><link>http://www.mhgames.org/2009/08/windows-7-woes-defeat-change-of-the-war-plans/</link> <comments>http://www.mhgames.org/2009/08/windows-7-woes-defeat-change-of-the-war-plans/#comments</comments> <pubDate>Mon, 24 Aug 2009 06:50:17 +0000</pubDate> <dc:creator>Mika</dc:creator> <category><![CDATA[Personal]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[random]]></category> <category><![CDATA[windows]]></category><guid isPermaLink="false">http://www.mhgames.org/?p=352</guid> <description><![CDATA[I&#8217;ve been using Ubuntu Linux 90% of the time, and Windows XP 10% of the time, for about a year and half now. I&#8217;ve been keeping an eye out for Windows 7, though, as it seemed like a good Windows after the disappointing Vista. So when I saw that Windows 7 RTM was already available [...]]]></description> <content:encoded><![CDATA[<p style="text-align: justify;"><img class="alignright size-full wp-image-354" title="Windows 7" src="http://www.mhgames.org/wp-content/uploads/windows-7-logo.jpg" alt="Windows 7" width="180" height="149" /> I&#8217;ve been using <strong>Ubuntu Linux</strong> 90% of the time, and <strong>Windows XP</strong> 10% of the time, for about a year and half now. I&#8217;ve been keeping an eye out for <strong>Windows 7</strong>, though, as it seemed like a good Windows after the disappointing Vista.</p><p style="text-align: justify;">So when I saw that Windows 7 RTM was already available at MSDN AA, I decided to give it a shot, having never seen it in action. I was expecting problems, since this PC is based on components made in 2004, so it is quite old. I was pleasantly surprised to see that it worked quite well, even before installing any drivers manually. Networking worked, sound worked, the spiffy Aero desktop compositioning worked. (My tv-tuner, Terratec Cinergy C PCI, didn&#8217;t work, but that&#8217;s no biggie &#8212; it works in Ubuntu.) Then I tried some OpenGL &#8212; oops, no hardware acceleration. No problem, I thought and went to install the latest drivers for my Geforce 7600 GS (AGP).</p><p style="text-align: justify;">After the driver update I tried <a href="/i-have-no-tomatoes">Tomatoes</a>, worked just fine. Great! I went on installing <strong>Eclipse </strong>and setting up my workspace for the game project going on. And what did I find out: it was running very slowly, barely making 40-50 fps and fluctuating a lot! <img src='http://www.mhgames.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> What the hell, it works solid 60 fps even in Linux (it&#8217;s capped to 60 fps, so in reality it would run even faster), not mention Windows XP! <img src='http://www.mhgames.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /></p><p style="text-align: justify;">Then I thought, ah, the Aero effects, obviously they would affect the performance on machine this old. Disabled Aero, tried again: same results. I tried plenty of older drivers, plus a new set of drivers released a couple of days ago. Nothing changed. It would sometimes reach 60 fps when there was not much to render, but especially the water shader was killing the performance. This was not acceptable, I mean it does not really motivate me to develop something running too slowly, <em>when I know</em> it works much better on this very piece of hardware I&#8217;ve got.. Of course I understand that it will run slower than in XP (on this old PC), since W7 requires more resources to run, but it should not make this big a difference in fps.</p><p style="text-align: justify;">After asking about the problem on Windows 7 forums and getting nothing, I decided to admit my defeat.. I guess either the OpenGL drivers just are not what they were before, or this PC is plainly too old for W7. I suspect the first. Of course, OpenGL has always been the ugly step child in Windows world while Direct 3D is receiving the love, so.. <img src='http://www.mhgames.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> Too bad, really, I was starting to like W7.</p><p style="text-align: justify;">I went and dropped back XP, and boom, everything runs fast again. <img src='http://www.mhgames.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> Ubuntu dual-boot comes a bit later.</p><p style="text-align: justify;">However, I might try W7 on the laptop of mine, that is currently running Vista. Vista seems too bulky for that cheap laptop, starting up very slowly etc., so I suspect W7 might help a bit. Indeed, I will probably see how the install goes on the laptop. Stay tuned for my report! <img src='http://www.mhgames.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p style="text-align: justify;"><strong>UPDATE:</strong> Writing this from the laptop running W7. <img src='http://www.mhgames.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Seems to be working fine, except the smart card reader. Better than Vista, that&#8217;s for sure.</p> ]]></content:encoded> <wfw:commentRss>http://www.mhgames.org/2009/08/windows-7-woes-defeat-change-of-the-war-plans/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Qt 4.4 released + plans for summer</title><link>http://www.mhgames.org/2008/05/qt-4-4-released-plans-for-summer/</link> <comments>http://www.mhgames.org/2008/05/qt-4-4-released-plans-for-summer/#comments</comments> <pubDate>Thu, 08 May 2008 05:11:00 +0000</pubDate> <dc:creator>Mika</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[python]]></category> <category><![CDATA[qt]]></category><guid isPermaLink="false">http://www.mhgames.org/2008/05/qt-4-4-released-plans-for-summer/</guid> <description><![CDATA[Qt 4.4 framework was recently released. Hopefully PyQT 4.4 soon follows. Qt just rocks. =) Having been working with Java Swing (*cough*h o r r i b l e*cough*) these last four months, Qt 4.4 brings some light to the end of the tunnel.. Now that that&#8217;s out of the table, I can talk a [...]]]></description> <content:encoded><![CDATA[<div style="text-align: justify;"><a href="http://trolltech.com/company/newsroom/announcements/press.2008-05-02.5256347247/">Qt 4.4</a> framework was recently released. Hopefully <a href="http://www.riverbankcomputing.co.uk/software/pyqt/download">PyQT 4.4</a> soon follows. Qt just rocks. =) Having been working with Java Swing <span style="font-size:85%;">(<span style="font-weight: bold;">*cough*</span>h o r r i b l e<span style="font-weight: bold;">*cough*</span>)</span> these last four months, Qt 4.4 brings some light to the end of the tunnel..</div><p><div style="text-align: justify;">Now that that&#8217;s out of the table, I can talk a little about a project I&#8217;m <span style="font-style: italic;">perhaps</span> going to do next summer. It&#8217;s about remaking <a href="http://csstint.sourceforge.net">CSSTint</a>. While I think the current Windows version of CSSTint is quite nice, it&#8217;s still&#8230; well, Windows-only. While I am using wxWidgets, it&#8217;s still doesn&#8217;t work in Linux properly &#8211; I have tried. I&#8217;m doing some nasty, ugly hacks in the code, so no wonder. All this <span style="font-style: italic;">could</span> probably be fixed, but for the sake of learning and for an interesting experience, I&#8217;ve been thinking of rewriting the whole shebang.</div><p><div style="text-align: justify;">I&#8217;m sure I will use Qt for the job, but I&#8217;m still undecided between C++ and Python. Learning Python has been interesting for me, as I&#8217;ve blogged before. Python version would also work on Windows as is, which won&#8217;t hurt even if the original is also for Windows. On the other hand I could reuse some of my non-GUI CSSTint code if I went with C++.. Decisions, decisions&#8230;</div><p>Anyway, that&#8217;s my current plan &#8211; things might still change. <img src='http://www.mhgames.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.mhgames.org/2008/05/qt-4-4-released-plans-for-summer/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Why I use Linux more than Windows on these days..</title><link>http://www.mhgames.org/2008/04/why-i-use-linux-more-than-windows-on-these-days/</link> <comments>http://www.mhgames.org/2008/04/why-i-use-linux-more-than-windows-on-these-days/#comments</comments> <pubDate>Mon, 28 Apr 2008 07:21:00 +0000</pubDate> <dc:creator>Mika</dc:creator> <category><![CDATA[Personal]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[xna]]></category><guid isPermaLink="false">http://www.mhgames.org/2008/04/why-i-use-linux-more-than-windows-on-these-days/</guid> <description><![CDATA[Yesterday I dug up my Jewels-project from under the thick layer of frost it had gathered during the winter days. As it is a XNA-game, I have to boot into Windows to develop it. I installed XNA 2.0 and started porting the game. After a few head scratchers I finally got the game working properly [...]]]></description> <content:encoded><![CDATA[<p style="text-align: justify;">Yesterday I dug up my <a href="http://www.codeplex.com/jewels">Jewels</a>-project from under the thick layer of frost it had gathered during the winter days. As it is a XNA-game, I have to boot into Windows to develop it. I installed <span style="font-weight: bold;">XNA 2.0</span> and started porting the game. After a few head scratchers I finally got the game working properly in XNA 2.0. Great!</p><p style="text-align: justify;">I&#8217;ll try to finally finish that game, so I have been making some improvements and fixes. I need to add the timed play mode, and the do the game settings menus.. <span style="font-weight: bold;font-size:85%;">*sigh*</span> Damn, why games must have settings menus..!?</p><p style="text-align: justify;">Anyway, I noticed that I needed a key typing sound for the highscore screen where the player enters their name. You know, the old typewriter sound. So, I browsed my earlier game sounds, found a sound, double clicked it. Winamp starts. At this point it occured to me: oh crap! I have Winamp set to playlist looping, which is what I like when I listen to music. However, double clicking a file replaces the current playlist and plays the single file looped. In case of a short sound clip, the sound repeats quite often. It sounds a bit annoying, but that&#8217;s not the worst effect here.</p><p style="text-align: justify;">You see, on this machine, Winamp somehow cannot handle a short sound clip played on repeat (I only remembered that <span style="font-weight: bold;">*after* </span>I had activated the file!) &#8211; it crashes. And hard. So Windows presents me a message the Winamp had to close. When I click on <span style="font-style: italic;">Close</span>, the computer reboots cold. Same as when I press the reset switch. And that annoys me. This has happened several times, and it&#8217;s annoying. A cold reboot doesn&#8217;t exactly do wonders on your HD.. <img src='http://www.mhgames.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p><p style="text-align: justify;">When Windows finally comes up (that&#8217;s another thing, it takes ages to start up &#8211; although I do have years worth of crap installed, so no wonder..), it presents me a familiar little dialog:<br /> <a href="http://1.bp.blogspot.com/_idHQSV4cE3E/SBV5rHWh4GI/AAAAAAAAABE/BDK3yOlqafk/s1600-h/error.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5194191526856613986" style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_idHQSV4cE3E/SBV5rHWh4GI/AAAAAAAAABE/BDK3yOlqafk/s400/error.png" border="0" alt="" /></a></p><p>Feels like coming home.</p> ]]></content:encoded> <wfw:commentRss>http://www.mhgames.org/2008/04/why-i-use-linux-more-than-windows-on-these-days/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>My adventures with Python / PyQT</title><link>http://www.mhgames.org/2008/04/my-adventures-with-python-pyqt/</link> <comments>http://www.mhgames.org/2008/04/my-adventures-with-python-pyqt/#comments</comments> <pubDate>Sat, 26 Apr 2008 12:26:00 +0000</pubDate> <dc:creator>Mika</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[programming]]></category> <category><![CDATA[python]]></category> <category><![CDATA[qt]]></category><guid isPermaLink="false">http://www.mhgames.org/2008/04/my-adventures-with-python-pyqt/</guid> <description><![CDATA[First of all, let me just say that Python + PyQt just rocks. I&#8217;ve been recently learning Python. Just for fun, basically. Additional benefit is that now I have a better understanding on how to cope with Zope/Plone at my work. Anyway, apart from the Zope/Plone stuff the first thing I did in Python was [...]]]></description> <content:encoded><![CDATA[<p>First of all, let me just say that <a href="http://www.python.org/">Python</a> + <a href="http://www.riverbankcomputing.co.uk/software/pyqt/intro">PyQt</a> just rocks.</p><div style="text-align: justify;">I&#8217;ve been recently learning <span style="font-weight: bold;">Python</span>. Just for fun, basically. Additional benefit is that now I have a better understanding on how to cope with Zope/Plone at my work. Anyway, apart from the Zope/Plone stuff the first thing I did in Python was a command-line script that allows creation and handling of .mpk files that I&#8217;ve used in a couple of my games. MPK or MPak is a simple WAD-like format that stores all the game files in a single package file. I had a C++ CLI application that did the job, but it was really a piece of crap..</div><p><div style="text-align: justify;">So I deciced to write a replacement for that app, in Python. The finished script (mpak.py) is much nicer to use and works better. I wrote it in Linux and it worked as is in Windows too &#8211; neat.</div><div style="text-align: right;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_idHQSV4cE3E/SBMeqnWh4FI/AAAAAAAAAA8/D5uqGj5HAKQ/s1600-h/pydvdcollection.png"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://1.bp.blogspot.com/_idHQSV4cE3E/SBMeqnWh4FI/AAAAAAAAAA8/D5uqGj5HAKQ/s200/pydvdcollection.png" alt="" id="BLOGGER_PHOTO_ID_5193528512755130450" border="0" /></a></div><p><div style="text-align: justify;">Then, I wanted to try GUI stuff and went with <span style="font-weight: bold;">PyQt</span>. I had a simple DVD collection management software called <span style="font-weight: bold;">MyDVDCollection</span> that I had written in .NET using C#. It worked, but was not too good either. So I began hacking away with PyQt and now I have <span style="font-weight: bold;">PyDVD</span><span style="font-weight: bold;">Co</span><span style="font-weight: bold;">llection</span> (pretty clever names, huh? <img src='http://www.mhgames.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) that I use for maintaining <a href="http://users.jyu.fi/%7Emitahalt/leffalista/leffat.php">my collection</a>. It has less code and more features than its .NET counterpart. It works in Linux, naturally, and also beautifully in Vista.</p><p>As you can probably tell, I&#8217;m very impressed with PyQt and the Python language, and I&#8217;ll be using them in the future as well. =)</div><p><div style="text-align: right;"></div> ]]></content:encoded> <wfw:commentRss>http://www.mhgames.org/2008/04/my-adventures-with-python-pyqt/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>I Have No Delete Key</title><link>http://www.mhgames.org/2008/04/i-have-no-delete-key/</link> <comments>http://www.mhgames.org/2008/04/i-have-no-delete-key/#comments</comments> <pubDate>Fri, 25 Apr 2008 10:21:00 +0000</pubDate> <dc:creator>Mika</dc:creator> <category><![CDATA[Personal]]></category> <category><![CDATA[linux]]></category><guid isPermaLink="false">http://www.mhgames.org/2008/04/i-have-no-delete-key/</guid> <description><![CDATA[Ubuntu 8.04 LTS aka Hardy Heron was released yesterday. I had previously installed 7.10 aka Gutsy Gibbon on my new laptop, and upgraded to Hardy last night. The update process went quite nicely, except for one strange thing: my delete key no longer works! O.oWhen I press delete, the laptops WLAN led goes on &#8211; [...]]]></description> <content:encoded><![CDATA[<p><a href="http://www.ubuntu.com/">Ubuntu</a> 8.04 LTS aka <span style="font-weight: bold;">Hardy Heron</span> was <a href="http://http//www.ubuntu.com/getubuntu/releasenotes/804">released yesterday</a>. I had previously installed 7.10 aka <span style="font-weight: bold;">Gutsy Gibbon</span> on my new laptop, and upgraded to Hardy last night. The update process went quite nicely, except for one strange thing: my <span style="font-style: italic;">delete key</span> no longer works! O.oWhen I press <span style="font-style: italic;">delete</span>, the laptops WLAN led goes on &#8211; nothing else happens. When I press it again, the led goes off. [Homer impression:]<span style="font-style: italic;">&#8220;Led goes on, led goes off, led goes on, led goes off&#8230;&#8221;</span>. (sorry about that &#8211; just when they&#8217;re going to release the season 11 on dvd!?)</p><p><a href="http://4.bp.blogspot.com/_idHQSV4cE3E/SBGwO3Wh4DI/AAAAAAAAAAs/gxeUjpfqhak/s1600-h/Kuvakaappaus.jpg"><img id="BLOGGER_PHOTO_ID_5193125614757994546" style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://4.bp.blogspot.com/_idHQSV4cE3E/SBGwO3Wh4DI/AAAAAAAAAAs/gxeUjpfqhak/s320/Kuvakaappaus.jpg" border="0" alt="" /></a>On this laptop (<a href="https://wiki.ubuntu.com/LaptopTestingTeam/AcerExtensa5220">Acer Extensa 5220</a>) the WLAN led is always inverted in Ubuntu; when the WLAN is in use, the led is off. That doesn&#8217;t bother me at all. However, I would like to get my <span style="font-style: italic;">delete key</span> to work again. I use that one quite a lot in typing/programming, and well, in deleting things&#8230;</p><p>I made a <a href="http://ubuntuforums.org/showthread.php?t=766204">thread</a> about this on the Ubuntu forums, but so far the problem remains a mystery. Other than this little annoyance, <span style="font-weight: bold;">Hardy</span> seems very nice. And it works quite well in this laptop.<span style="font-weight: bold;">Update:</span> Turned out it was a <a href="https://bugs.launchpad.net/ubuntu/+bug/181057">known bug</a>. It works now. <img src='http://www.mhgames.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.mhgames.org/2008/04/i-have-no-delete-key/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 4/13 queries in 0.010 seconds using disk: basic

Served from: www.mhgames.org @ 2012-02-04 18:11:20 -->
