So I had several people respond to my releasing the source of Planitia by saying, “Nice, but you should have used OpenGL instead of DirectX so it would be cross-platform.” And they are absolutely right, of course. Planitia started out as simply a way for me to learn DirectX (having already become basically familiar with OpenGL) and evolved into the game you see today. A good way for me to continue the learning experience would be for me to re-implement it in OpenGL, since my DirectX knowledge is now way ahead of my OpenGL knowledge.
So the best way to get the project cross-platform is to have another platform to cross to, right? It’s been a long time since I’d last dabbled in Linux and distros have come a long way since then. I’d also heard that booting off a thumb drive was now not only possible, but usually the preferred way to run Linux as a second OS if you don’t want to muck with partitioning your hard drive.
So no problem, right? I find a distro of Linux, install it to my thumb drive, then reboot from the thumb drive.
First I tried PuppyLinux, since it’s pretty much billed as the thumbdrive Linux distro – nice and small, the ISO is all of 130 megs.
But when I went to install it to my thumb drive, it failed to initialize video. I tried several different resolutions and bit depths and they all ended up the same way – with my monitor saying “No signal”. Irritating.
So I went in the exact opposite direction with Ubuntu. Got the netbook version off the official site and it installed just fine. I figured that everything would be hunkey-dorey because the installer is graphical rather than just text. Rebooted the system…when it tried to switch the video mode I got a screen full of purple garbage, then a spontaneous reboot. On subsequent tries to boot, I didn’t get the purple garbage any more but I did get the exact same thing I did with PuppyLinux – when it tries to initialize video, I end up with my monitor saying “No signal” and no choice but to reboot.
The only conclusion I can come to is that my video card is too new and distros don’t include drivers that are compatible with it yet. More than a little annoying. Linux advocates claim that Linux can resuscitate old boxes that are too slow for the most recent version of Windows; they are correct. But it seems like those are the only boxes that can successfully run Linux.
Now, I know what Linux zealots are going to say. They are going to say that it’s not Linux’s fault that it cannot support the latest gewgaws on my video card. But that’s not what I want – I just want it to support the most basic graphics so I can get to the desktop. And the really infuriating thing is that the Ubuntu installer was graphical, so I know it can be done!
So once again, my high hopes for getting familiar with developing in Linux are crushed.