Could it have been the movie version of Eon by Greg Bear? Haven’t seen the movie, but sounds very similar to the book.
Side note: it took me like 6 years and a lot more reading before ran into Rendezvous with Rama by Arthur C. Clarke and realized that Eon was…heavily inspired by thay book.