had this same pci x 8 x issue on my asus rog x hero z 370 it didnt do it when i first got it but then the bios under gpu post didnt even show the gpu was installed and inside windows only gave my 8x under load ... resetting didnt do anything .
then i thought maybee its the pcix riser cable i am using on my vertical 1080 ti in my thermal take view 71 glass case is acting up .
replaced riser cable for the vertical gpu and no issue now
Rig # 1 - 14900Ks SP-124 | 90 MC @ 6.0 GHZ | 5.2 R | 4.7 E | DDR5 48GB @ 8,600 c36 | Strix RTX 4090 | PG27AQN 1440P 27" 360 Hz G-Sync ULMB 2
Rig # 2 - 14900Ks-SP-118 | 89 MC @ 5.9 GHZ | 5.2 R | 4.7 E | DDR4 32GB @ 4,533 c16 | Strix RTX 3080 | Aoc 1080P 25" 240 Hz G-Sync