Raster is one component of GPU performance. See, you've already introduced the first asterisk, it's "better" (which isnt actually better, the two were effectively tied at launch and more recently the 4080 keeps pulling out wins) but only in raster. Introduce any RT, and it becomes a very one sided argument.
DEPSITE this, the 4080's sales were dissapointing (anyone else remember the stories about the 4080s slow sales?) while the 7900xtx was unobtanium for months after launch.
The 7900xt, you're just plain wrong. It was $900 at launch, remember? The 4070ti was trading blows and was $100 cheaper, and beat its arse in RT. AMD shot themselves in the foot with pricing games.
The 7800xt, like the 7900xtx, was unobtanium for months after launch, it's biggest issue was being 5 months late to the market, which at that point had been saturated with nvidia since AMD just didnt bother launching a competitor when the market was hot. Despite that, the 7800xt sold REALLY well. Again, with that same asterisk that you only care about raster.
You nailed it right there. AMD isnt playing on a level field, they are playing on one field (raster) while lagging behind everything else, and wondering why being slightly cheaper isnt moving units like it used to.
The 7900xt was $100 more then the 4070ti, imediately DOA, and the 7800xt (the best selling 7000 series card) launched 5 months after the 4070 did.