Wikipedia is the practical answer. Its Lists of video games page is a hub that branches out into catalogues organised by platform, genre, developer and year.
Retailer listings only show what's currently for sale, and fan wikis tend to go deep on a single franchise rather than broad. Wikipedia sits in between: wide coverage, decent citations, and enough structure that you can actually navigate it.
For anything more specialised — a full list of a particular console's library, or every entry in a long-running series — the individual articles linked from that hub are usually more thorough than you'd expect.