Friends of Linux
- Details
- Category: News
- Published on Saturday, 24 March 2012 18:30
- Written by Super User
- Hits: 1104
In past few days work on the interface was suspended. But that doesn't mean I abandoned it, I was just playing with different aspects than plain coding. As title suggests, it was about Linux.
So what exactly I did?
Day 1 - Installed brand new Ubuntu 11.10, configured it properly and read several tutorials on terminal stuff as I never worked with Linux before.
Day 2 - Installed official NVIDIA drivers.. BIG mistake.. Reinstalled Ubuntu, configured it anew (it was easier to reinstall fresh Linux than correcting mess that NVIDIA drivers done). Learned that my notebook is using Optimus technology (hybrid of internal and external GPU) and installed Bumblebee. Now I can run programs on my external GPU with optirun command.
Day 3 - Installed NetBeans IDE, installed GLEW and SFML2 with their dependencies and copied sources from Windows drives. With few changes (such as backward slashes instead of forward in paths and substituting #pragma comment(lib, .. ) with IDE settings) I was able to compile my sources and voila, using optirun to run programs worked flawlessly. So far simple GPGPU and Waves were ported. There was a little catch with simple GPGPU because I got an error when running application:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 1 (X_CreateWindow)
Value in failed request: 0x0
Serial number of failed request: 7
Current serial number in output stream: 9
I think this might be SFML related as using window for the same job works great, but their forums are down for maintenance.
So that's it! This might be no big news but I believe all Linux enthusiasts appreciate it. For the others a quick status update. Cmake script is finished and creates correct visual studio project that can be compiled and I also tested produced libraries with sample program.. everything works! Now I'm going to do the same test with Linux and if it goes well, it will be just few more days before sources will appear on Git Hub!