In iOS application, I have 250x85pt UIView. I would like it to have image-based tiled background. The original image is 398x398 px. I would like my image to tile.



When I run application, my image tiles, but for some reason it scales as follows:



I used the following code to achieve it:

var image = UIImage(contentsOfFile: "myfilepath.png")!
var uicolor = UIColor(patternImage: image)
uiview.backgroundColor = uicolor


Could you explain 
1. why ios scales my image, and
2. how do I draw tiled image without scaling?


Question: Netbook screen display is garbled (has black/white & horizontal line patterns, screen freezes, and/or wrong display position)
Answer: Putting a live linux distribution on a USB stick would let you test hardware vs software easily.  Seeing what happens if you sit at the BIOS screen like Bobby suggested isn't a bad idea; but a pure textmode display will put significantly less load on the GPU than GUI desktop will.

Since the problem doesn't occur immediately on powerup, the only cause that seems likely to me is overheating.  Have you verified that the fan still spins.  Taking the bottom off and blowing out any accumulated dust should help here.

CoreTemp will let you monitor the CPU temperature; if it's really high the odds are your GPU is also overheating since the GPU and CPU are integrated but I'm not aware of anything to read the GPU temperature directly.