Don't know, but Ubuntu 24.04 should have no problem with the RTL8125B. First off, it works at Gigabit speed with the r8169 driver since Ubuntu 20.04....
There is a difference in the primary display in BIOS, and the primary display in a Desktop user session, where 'you' set that in the user session......