On the B777 does the RAT automatically deploy with a loss of both generators?
Yep, automatic if both engines fail, with a manual override 'just in case'. IIRC, it'll also automatically try to start the APU, but if the fuel is exhausted that won't help...