Feeds:
Posts
Comments

I have been looking for a good Linux game with neat graphics and good controls for some time now. Most of the time, the problem either is that it doesn’t support my Linux flavor, or it needs a lot more packages installed which I don’t need otherwise, or the graphics jitter or resolutions is not good, some or the other problems.

So in my search, the first game I liked is the HiveRise. It’s a simple, fast paced, online RTS game, supports full graphics at native resolution, nice sound, doesn’t jitter, doesn’t fail in the middle of the game, simple to install.  I played it non stop for almost 4 hours last night, not even a single breakdown, never lost connection to the server, sound is good, all in all, its really a good game.

You have to try it before you give up. So give it a go, http://hiverise.com/

To read the installation instructions and screen shots click  here.

The game is very simple to learn, it takes 2 mins read through the how-to. The tutorial lesson is very simple. Then jump into the game, try few times, if you like it buy some coins from their website (they don’t cost the earth), and use them to buy upgrades like force shield or radar or land mines etc, And if you like it spread the word.

Also you can watch your scores and trophies online. One best feature is that you can download your game replays and watch them in the game. You can make friends in the game with other online users, chat with them, create teams, play  leagues, play as allies, there are about 12 game modes, lots of trophies to collect and lots of points. If you are tired of listening to the game music you can listen to the online radio, and change channels with hot-keys during the game play. Also you can create your custom signature with your scores on it, like the one below:

Last but not least, any thing in the world is not perfect, and can never reach perfection. So there is always place or improvement. And so is the game. It can be improved, in terms of more game options, game modes, grouping units, displaying quick messages, more clear voice statements from units etc. But hey you don’t expect this game to be as perfect as other commercial games, do you?

Every time I do a silly mistake when changing the config which results in crap build which does not bootup or does not work with nvidia drivers, I have to go back to last working configuration and start again. If I have made many changes, then it would be difficult to find out which one caused the problem. The other way is to make small amount of changes each time but because of the time it takes to compile normally (which is about 40 to 60 mins), I tend to make many changes, cos I cant wait.

The next best option is to use discc and ccache. Distcc is really good but its not a good option for me because there are no more computers available for me to distribute the work. So only option left is ccache. So I gave it a go.

sudo apt-get install ccache

The above will install ccache in the system. If you want to use distcc use the statement below.

sudo apt-get install distcc distccmon-gnome

Now its time to set ccache path. Do this in ~/.bashrc file so that it will be set automatically.

PATH=”/usr/lib/ccache:${PATH}”

export PATH

Then add HOSTCC=”/usr/bin/gcc” CC=distcc CCACHE_PREFIX=”distcc” to use ccache as your compiler. And if you want to check the time it took just add “time” command. So it should look like this.

time HOSTCC=”/usr/bin/gcc” CC=distcc CCACHE_PREFIX=”distcc” CONCURRENCY_LEVEL=5 NOEXTRAS=1 skipabi=true skipmodule=true no_dumpfile=true fakeroot debian/rules binary-xpsm1330

To findout how to use distcc check this page: http://myrddin.org/howto/using-distcc-with-debian/

To see the result after each build check the time output from the above command and see output of “ccache -s”. When you want to restart your build with fresh stats “ccache -z” should do.

So here are the results.

First pass with ccache:

Output from time

real    42m20.970s
user    48m35.474s
sys    11m4.694s

Output from “ccache -s”

cache directory                     /home/shyam/.ccache
cache hit                              7
cache miss                          8023
called for link                       22
not a C/C++ file                      20
no input file                        415
files in cache                     16046
cache size                         389.2 Mbytes
max cache size                     976.6 Mbytes

Second Pass with ccache:

Output from time

real    17m57.590s
user    14m3.041s
sys    6m17.248s

Output from “ccache -s” (Dont forget to do a “ccache -z” before starting the build)

cache directory                     /home/shyam/.ccache
cache hit                           7730
cache miss                           167
called for link                       34
not a C/C++ file                      20
no input file                        526
files in cache                     16380
cache size                         398.3 Mbytes
max cache size                     976.6 Mbytes

Thats a whole 34mins saved, which is coooooooooooooool. Try it out and let me know how it works out for you.

I want to buy a laptop and I don’t want to pay for windows..

Heard of it a lot of times? Yeah me too..

Anyway.. I want to buy any laptop or desktop I want, but I don’t want to pay for windows.. not many companies out there offer PCs with a freedom of operating system.  Where is the EU Commission who fines everybody for all silly reasons. Why don’t I have the option to select the OS when buying a loptop… why do I just have to buy a PC with windows and remove it to install my own choice.

Where the hell is my freedom gone.

Quite?… Not so..

All might be wondering, why I have gone quite? but I am not. My last update to the kernel-xps-m1330 project was on 1st August. I have released the first milestone on launchpad and uploaded an overlay structure for the first set of changes done.

Though the changes to this milestone were very minimal, it was to prove that custom kernel can be created as a subflavour and writing down a how-to.

Since then, I have been working on making some major changes to config, so I have started with Sound & Video and few other components. However, for the past few days I have been trying without any success. Changes made on 2nd and 3rd of august did not boot at all. Then I came across AutoKernConf(See my previous post) which did not help a lot, but gave me some direction. The last night’s two builds were able to boot but was having problem with nv drivers.

I think I have a hunch what could be the problem (FB drivers), so I am going to try again tonight sorting it out. I hope to release some major changes in time for Karmic A5 on 13th.

Ta

Today, I was searching the net for descriptions of some options available in kernel config and stumbled upon a site which belongs to a Debian Developer called Cate.

Cate wrote some nice scripts to create a list of drivers available in linux which outputs lkddb.list, and a script which detects hardware in pc by using lspci, /sys etc and creates a kdetect.list and finally another scripts which uses both lkddb.list and kdetect.list and creates a config.auto file, which then can be used to compile custom kernel.

I haven’t tried it yet, but I cant wait to go home and try it tonight. If you want to give it a try, below are the links.

http://cateee.net/autokernconf/

http://cateee.net/lkddb/

http://cateee.blogspot.com/

http://cateee.blogspot.com/search/label/Linux%20kernel%20autokernconf

Post your comments to Cate’s blog at blogspot.com

PS: You dont need to generate lkddb.list file, as this is based on standard kernel sources, so for if you are using vanilla sources you can download the file from sources tree.

I have released the first milestone of the project today and the overlay structure with other scripts are available to download.

To Download visit project page https://launchpad.net/kernel-xps-1330 and go to download section.

To use Bazaar run “bzr branch lp:~avvari-shyam/kernel-xps-1330/kernel-xps-m1330″ and follow instructions in README file.

Just to confirm to all those nvidia users, that once you install nvidia restricted drivers, it will work with both custom and generic kernel.

Regarding other stuff, I still could not figure out how to add version numbers to sub flavour, looks like need to change scripts in 2-binary-arch.mk. But I am not up for changing the standard scripts because when upstream changes them, we have to go and edit them again every time. I will see if there is any other way and post it here.

Till then ta..

After my little post yesterday about how to compile kernel karmic, tonight I was able to create a successful kenerl for subflavour xpsm1330 with very few changes to the and the stats were looking good. My previous boot times with generic-2.6.31-2 was 18+ seconds, my first kernel run on 15th of July was failure (X didnt start), today, hurray, I was able to boot up in 15.5 seconds. Below are few stats and boot chart.

Compile time was roughly an hour. Deb package is 26.7MB, boot image is 2.9MB (thats a 0.8MB saved) and initrd image was 7.5MB (0.2MB added).

Below are the major changes made to config file:

- Change CPU frequency property to ondemand (Old = Performance)

- Change ext2 and ext3 to be built as modules (Old = built-in)

- Change compression method to LZMA (Old = GZip)

- Max Number of CPUs to 6 (Old = 64) (This will remove 58 * 8KB from the kernel image. For the next compile I will change it to Max 4)

Continue Reading »

I have recently started a project to reconfigure and compile kernel specific to Dell XPS-M1330 laptop, so I have downloaded latest development version of the kernel (ubuntu-linux-image 2.6.31-4.23). I have tried to use how-to’s on the internet but found out that ubuntu/debian scripts in Karmic have changed(Thanks to Tim Gardner). The old way was to completely create a new flavour and recompile the kernel. However from Karmic they have removed the flavour creation and added new sub-flavours.

So, I have decided to create a new subflavour based on amd64, alter the config and compile. First I have created subflavour and compiled without any changes, to see if it works, voila it worked, expcept one problem, nvidia drivers. So I have removed nvidia drivers from the system to get the kernel right and then worry about nvidia.

Continue Reading »

I have now created new team in launchpad to work on xps kernel project. Please join the team, submit your blueprints and express your interest.

Visit the team page here: https://launchpad.net/~xps-m1330

Older Posts »