Sign in to follow this  
  • entries
    15
  • comments
    13
  • views
    11876

Work is the root of all evil!

Sign in to follow this  
TheGilb

312 views

Well ok, work isn't really the root of all evil. To be honest, work is brilliant at the moment but it's been pretty tough going for the past few weeks. The work load was ramped up for a milestone - which against all odds we managed to meet. The producer was very happy with our work, and I think it's pretty safe to say that the entire team really busted a gut over it and it's really paid off. Anyway the down-side to that has been working over the weekend, and some very late nights spent programming my ass off and takeaways. So really no different to normal then! The only difference is that the only work I've done on my game engine project has been in the early hours of the morning.

So I bought a laptop 2nd hand - a Philips Freevents X52. It features the Intel GA-950 DX9 (SM2.0) graphics chip (Software vertex processing, 4 pixel shader pipelines), an Intel Dual Core T2300 (1.7GHz), 80GB SATA hard disk and 1GB DDR2 memory. That's almost better processing power than my desktop computer! I got the laptop at a real bargain price off eBay as the seller really didn't make any effort at all with a 2-line description and a title that didn't mention the make, product line or model number. It was obvious when I received it that it had been given a good thrashing but I hadn't had chance to really clean it up. The screen was smudged, the cover was splatted with sticky label glue and missing several letters on the bezel. Also - more annoyingly - the keyboard was completely fudged with several keys just mysteriously not working (Like control, F10, F11)! To cap all that off, there is no documentation anywhere on the laptop - like say a maintenance manual. Anyway I decided to gut the thing today and figure out why it was broken and after some disassembly I found out how to remove the keyboard. It turned out that someone had tried doing a bit of servicing on it in the past. So I managed to fix the keyboard up and it's easily good enough now for me to work with which is the main thing.

The laptop represents an important investment to me. The GA-950 whilst being a good graphics chip in many respects is absolutely rubbish compared to the Geforce7 on my desktop. In a nutshell if I can make all of my graphics code compatible with this graphics chip then - theoretically - it should work on pretty much anything! Also my desktop doesn't have a dual core processor, and since I'm implementing a multithreaded game engine this setup gives me chance to tap into the extra processing power recent CPU's offer. Pretty much all the performance related articles I've been reading recently are all saying the same thing - batch your draw calls and the majority DX9 games were all CPU bound.

CPU bound? That's bad.

I get the general feeling that a lot of engine programmers invest heavily in GPU optimisation, but to be honest if your code is CPU bound then you need to think about some of the higher level algorithms you're using. I've been monitoring CPU performance of the IS3 engine quite carefully and so far it's all fine but I haven't even started on some of the more processor intensive algorithms.

Anyway, coming back to IS3 again. The 2D drawing routines are all working great at the moment but what I really need to think about now is how to lower the CPU requirements the GUI imposes and also I need to rework the texture management system completely. My next big addition to the engine will be virtualised textures like in the idTech5 engine.

I'd better get back to the grindstone!
Sign in to follow this  


2 Comments


Recommended Comments

Power off your laptop, close the lid and turn it over. You will notice a large panel attached to the base held in with screws. Undo the screws and take this panel off. Take some time to take in the view - now upon closer inspection you may notice a screw which goes all the way through the middle and ends up roughly in the middle of the keyboard, so undo that. Now turn the laptop over again. Around the edges of the keyboard are some tiny spring loaded latches which you can push back with the aid of something small - I used a tiny flat ended screwdriver. On the X52 there are 4 latches along the top and 2 either side. When they are all pushed back you can (CAREFULLY) lift the keyboard up from the back, and then gently slide it forwards (towards the display). The keyboard is attached to the motherboard by a short data ribbon which is disconnected by pulling the latch toward you - the ribbon will now come away from the motherboard quite freely. Be careful though because if you yank the data ribbon without properly disconnecting it then the contacts can be damaged.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now