No valid global position estimate

Hey Guys,
I am trying to fly more fixed wing in HOLD mode but I get rejected due this error:
Critical: Switching to mode ‘Hold’ is currently not possible

  • No valid local position estimate
  • No valid global position estimate
    I have also tried to do go to but I get the same kind of error,
    I do have GPS lock, But I cannot Change to modes that’s using GPS’s
    I am using HGLRC M100-5883 GPS, I also just saw that on PX4 the compass is not recognized while on Ardupilot it does work.
    I have also tried with her3 gps and it did work, unfortunately I cant use her3 gps due space and weight I am trying to save in this build.
    attaching a Log file
    https://review.px4.io/plot_app?log=256f97cc-6ec8-49cc-ad76-636e14077d34

It’s look like your compass interfering with power lines. Is it close to power wires? If so try to seperate them and be sure that problem is related or not due to interference.

It is close, but that’s a reason why I don’t see the compass in the Sensor tab?