Techknight is almost certainly correct. I'm approximately 97% certain. The only solution is to bake the motherboard or replace it. This type of failure was common in a few generations of iBook G4, and the Radeon varieties of iBook G3.
All iBooks use discrete GPUs, so replacing system RAM likely will not do anything for this particular issue.
All iBooks use discrete GPUs, so replacing system RAM likely will not do anything for this particular issue.