Fedora 41 XFCE HDMI External Monitor Weirdly Cannot Detect Laptop

I have a weird problem where the monitor could not detect laptop but if i go to BIOS and change the graphics adapter to Integrated only the monitor worked and then if I changed that again to Switchable Graphics (Integrated and NVIDIA) it still worked. But when I turn off the monitor it won’t detect the laptop again and if I keep it powered on it will detect it. This problem persists when I first installed Fedora, if I connect the monitor to another laptop that has Windows 10 or Manjaro it will automatically detect it. Reinstalling NVIDIA driver won’t help switching to nouveou won’t help, besides the HDMI port is tied to integrated graphics not NVIDIA. Here is the system info.

System:
  Kernel: 6.12.6-200.fc41.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.43.1-5.fc41
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.43 wm: xfwm4 dm: LightDM
    Distro: Fedora Linux 41 (Xfce)
Machine:
  Type: Laptop System: LENOVO product: 20378 v: Lenovo Y50-70
    serial: <superuser required> Chassis: type: 10 v: Lenovo Y50-70
    serial: <superuser required>
  Mobo: LENOVO model: Lenovo Y50-70 v: 31900059WIN
    serial: <superuser required>
    part-nu: LENOVO_MT_20378_BU_idea_FM_Lenovo Y50-70 UEFI: LENOVO
    v: 9ECN43WW(V3.03) date: 08/12/2015
Battery:
  ID-1: BAT1 charge: 25.2 Wh (78.3%) condition: 32.2/54.8 Wh (58.7%)
    volts: 7.8 min: 7.4 model: LENOVO PABAS0241231 serial: <filter>
    status: not charging
CPU:
  Info: quad core model: Intel Core i7-4710HQ bits: 64 type: MT MCP
    arch: Haswell rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 798 min/max: 800/3500 cores: 1: 798 2: 798 3: 798 4: 798
    5: 798 6: 798 7: 798 8: 798 bogomips: 39907
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo
    driver: i915 v: kernel arch: Gen-7.5 ports: active: HDMI-A-1 off: eDP-1
    empty: none bus-ID: 00:02.0 chip-ID: 8086:0416
  Device-2: NVIDIA GM107M [GeForce GTX 860M] vendor: Lenovo driver: nvidia
    v: 565.77 arch: Maxwell pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1392
  Device-3: Syntek Lenovo EasyCamera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 2-6:2 chip-ID: 174f:14b8
  Display: x11 server: X.Org v: 21.1.15 with: Xwayland v: 24.1.4
    compositor: xfwm4 v: 4.18.0 driver: X: loaded: modesetting,nvidia
    unloaded: nouveau alternate: fbdev,nv,vesa dri: crocus gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1440x900 s-dpi: 96
  Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: primary model: HDMI res: 1440x900
    dpi: 90 diag: 484mm (19")
  Monitor-2: eDP-1 note: disabled model: AU Optronics 0x36ed res: 1440x900
    dpi: 142 diag: 394mm (15.5")
  API: OpenGL v: 4.6 vendor: intel mesa v: 24.2.8 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
    device-ID: 8086:0416
  API: Vulkan v: 1.3.296 surfaces: xcb,xlib device: 0 type: integrated-gpu
    driver: N/A device-ID: 8086:0416 device: 1 type: discrete-gpu driver: N/A
    device-ID: 10de:1392 device: 2 type: cpu driver: N/A device-ID: 10005:0000
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:03.0
    chip-ID: 8086:0c0c
  Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20
  API: ALSA v: k6.12.6-200.fc41.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL8723BE PCIe Wireless Network Adapter
    vendor: Lenovo Z50-75 driver: rtl8723be v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: 4000 bus-ID: 08:00.0 chip-ID: 10ec:b723
  IF: wlp8s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: 3000 bus-ID: 09:00.0 chip-ID: 10ec:8168
  IF: enp9s0 state: down mac: <filter>
Bluetooth:
  Device-1: Realtek RTL8723B Bluetooth driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 12 Mb/s lanes: 1 bus-ID: 2-7:3 chip-ID: 0bda:b728
  Report: btmgmt ID: hci0 rfk-id: 3 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 4.0 lmp-v: 6
Drives:
  Local Storage: total: 111.79 GiB used: 93.83 GiB (83.9%)
  ID-1: /dev/sda vendor: A-Data model: SU650 size: 111.79 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 110.2 GiB used: 93.37 GiB (84.7%) fs: btrfs dev: /dev/sda3
  ID-2: /boot size: 973.4 MiB used: 455.6 MiB (46.8%) fs: ext4
    dev: /dev/sda2
  ID-3: /boot/efi size: 598.8 MiB used: 19.3 MiB (3.2%) fs: vfat
    dev: /dev/sda1
  ID-4: /home size: 110.2 GiB used: 93.37 GiB (84.7%) fs: btrfs
    dev: /dev/sda3
Swap:
  ID-1: swap-1 type: zram size: 7.66 GiB used: 5.36 GiB (70.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 66.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB available: 7.66 GiB used: 5.4 GiB (70.5%)
  Processes: 358 Power: uptime: 4h 53m wakeups: 0 Init: systemd v: 256
    target: graphical (5) default: graphical
  Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak pkgs: 31
    Compilers: clang: 19.1.5 gcc: 14.2.1 Shell: Bash v: 5.2.32 running-in: hyper
    inxi: 3.3.36