Dual graphics card and dual display gnome desktop problem

Hey guys, I’m using a laptop with Intel and NVIDIA dual graphics cards. When I use dwarf, everything is normal. But when I added an external display screen, I found that the dwarf’s animation would have obvious frame dropping and jamming. So I tried to disable the NVIDIA graphics card. After restarting, the animation of both monitors was normal. It is normal to use only the built-in screen of the notebook. It is also normal to use the internal and external devices after disabling the nvidia graphics card. For this reason, I also compared one monitor with two monitors in the new manjaro in USB. After connecting the monitors, the animation of the dwarf desktop was obviously stuck. How to configure the dual display hybrid graphics card call?

This brother has the same problem as me
https://forum.manjaro.org/t/bad-performance-of-gnome-mutter-on-nvidia-cards

System:
  Kernel: 5.15.85-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=24d61417-e6ce-4b35-b64a-566180eb6f5e rw quiet splash apparmor=1
    security=apparmor resume=UUID=c331d4b3-13b6-40b6-b9c6-7d3c49f5c0a5
    udev.log_priority=3
  Desktop: GNOME v: 43.2 tk: GTK v: 3.24.36 wm: gnome-shell dm: GDM v: 43.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: G7 7790 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 0F7T8V v: A00 serial: <superuser required> UEFI: Dell
    v: 1.22.0 date: 11/10/2022
Battery:
  ID-1: BAT0 charge: 43.1 Wh (100.0%) condition: 43.1/60.0 Wh (71.8%)
    volts: 16.6 min: 15.2 model: BYD DELL HYWXJ91 type: Li-poly serial: <filter>
    status: full
Memory:
  RAM: total: 15.44 GiB used: 3.96 GiB (25.6%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Coffee Lake
    gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF0
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 4371 high: 4447 min/max: 800/4500 scaling:
    driver: intel_pstate governor: powersave cores: 1: 4400 2: 4400 3: 4402
    4: 4402 5: 4222 6: 4447 7: 4369 8: 4379 9: 4285 10: 4442 11: 4351 12: 4362
    bogomips: 62431
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp
    rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Dell driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: DP-1,eDP-1 empty: DP-2,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:3e9b class-ID: 0300
  Device-2: NVIDIA TU106M [GeForce RTX 2070 Mobile] vendor: Dell
    driver: nvidia v: 525.60.11 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2022-12) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 8
    link-max: lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1f10 class-ID: 0300
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 1-5:7 chip-ID: 0c45:671f class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7
    compositor: gnome-shell driver: X: loaded: nvidia gpu: i915 display-ID: :1
    screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.00x11.26")
    s-diag: 1055mm (41.55")
  Monitor-1: DP-1 pos: right model: Lenovo LI2241 Wide serial: <filter>
    built: 2014 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2
    size: 480x270mm (18.9x10.63") diag: 551mm (21.7") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  Monitor-2: eDP-1 pos: primary,left model: AU Optronics 0x409d built: 2018
    res: 1920x1080 hz: 144 dpi: 128 gamma: 1.2 size: 382x215mm (15.04x8.46")
    diag: 438mm (17.3") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel UHD Graphics 630 (CFL
    GT2) direct render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:a348 class-ID: 0403
  Device-2: NVIDIA TU106 High Definition Audio vendor: Razer USA
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8 link-max:
    lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10f9 class-ID: 0403
  Sound API: ALSA v: k5.15.85-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Realtek vendor: Dell driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 3c:00.0 chip-ID: 10ec:2502
    class-ID: 0200
  IF: enp60s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Wireless-AC 9260 vendor: Rivet Networks driver: iwlwifi
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 3d:00.0
    chip-ID: 8086:2526 class-ID: 0280
  IF: wlp61s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  IF-ID-1: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-2: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
    all]
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb
    v: 0.8 bus-ID: 1-14:11 chip-ID: 8087:0025 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 1.38 TiB used: 64.24 GiB (4.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba
    model: KBG30ZMS512G NVMe 512GB size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 15.8 Gb/s lanes: 2 type: SSD serial: <filter>
    rev: ADDA0105 temp: 35.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WDS100T2B0A-00SM50 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 40WD
    scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 82.17 GiB size: 80.57 GiB (98.06%) used: 25.84 GiB (32.1%)
    fs: ext4 dev: /dev/sda5 maj-min: 8:5 label: N/A
    uuid: 24d61417-e6ce-4b35-b64a-566180eb6f5e
  ID-2: /boot/efi raw-size: 650 MiB size: 646 MiB (99.38%)
    used: 94.3 MiB (14.6%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: ESP
    uuid: 6AA6-F1DC
  ID-3: /home raw-size: 200 GiB size: 195.8 GiB (97.90%)
    used: 38.31 GiB (19.6%) fs: ext4 dev: /dev/sda6 maj-min: 8:6 label: N/A
    uuid: 67173ed7-4497-4fcf-99c3-bd364ddf6c82
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 16 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda4 maj-min: 8:4 label: N/A
    uuid: c331d4b3-13b6-40b6-b9c6-7d3c49f5c0a5
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 128 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 459.15 GiB fs: ntfs label: OS
    uuid: 2CE4D6A2E4D66D98
  ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 990 MiB fs: ntfs
    label: WINRETOOLS uuid: B430434330430BB4
  ID-4: /dev/nvme0n1p5 maj-min: 259:5 size: 14.86 GiB fs: ntfs label: Image
    uuid: B80A43920A434D16
  ID-5: /dev/nvme0n1p6 maj-min: 259:6 size: 1.19 GiB fs: ntfs
    label: DELLSUPPORT uuid: BEE873BFE873748D
  ID-6: /dev/sda1 maj-min: 8:1 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-7: /dev/sda2 maj-min: 8:2 size: 631.33 GiB fs: ntfs
    label: \xe8\xa5\xbf\xe6\x95\xb0 uuid: E89C29B39C297CE6
  ID-8: /dev/sda3 maj-min: 8:3 size: 2 GiB fs: vfat label: NO_LABEL
    uuid: DFCE-BC6B
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-2:2 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 1a40:0101 class-ID: 0900
  Device-1: 1-2.1:4 info: QinHeng CH341 in serial mode usb to port converter
    type: <vendor specific> driver: ch341,ch341-uart interfaces: 1 rev: 1.1
    speed: 12 Mb/s power: 480mA chip-ID: 1a86:5523 class-ID: ff00
  Device-2: 1-2.3:6 info: SINO WEALTH Gaming KB type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 500mA
    chip-ID: 258a:002a class-ID: 0300
  Hub-3: 1-2.4:8 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 1a40:0101 class-ID: 0900
  Device-1: 1-3:3 info: Logitech G502 Proteus Spectrum Optical Mouse
    type: Mouse,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
    speed: 12 Mb/s power: 300mA chip-ID: 046d:c332 class-ID: 0300
    serial: <filter>
  Hub-4: 1-4:5 info: VIA Labs USB2.0 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
    chip-ID: 2109:2817 class-ID: 0900
  Device-1: 1-4.4:9 info: VIA Labs USB 2.0 BILLBOARD type: Billboard
    driver: N/A interfaces: 1 rev: 2.0 speed: 480 Mb/s chip-ID: 2109:0102
    class-ID: 1100 serial: <filter>
  Device-2: 1-5:7 info: Microdia Integrated_Webcam_HD type: Video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 0c45:671f class-ID: 0e02
  Device-3: 1-11:10 info: Alienware LED controller type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 2.1 speed: 12 Mb/s
    chip-ID: 187c:0550 class-ID: 0300 serial: <filter>
  Device-4: 1-14:11 info: Intel Wireless-AC 9260 Bluetooth Adapter
    type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 8087:0025 class-ID: e001
  Hub-5: 2-0:1 info: Super-speed hub ports: 8 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-6: 5-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-7: 6-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-8: 6-1:2 info: VIA Labs USB3.0 Hub ports: 4 rev: 3.1 speed: 5 Gb/s
    chip-ID: 2109:0817 class-ID: 0900
Sensors:
  System Temperatures: cpu: 41.0 C pch: 48.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 352 Uptime: 44m wakeups: 642 Init: systemd v: 252
  default: graphical tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6
  Packages: 1393 pm: pacman pkgs: 1377 libs: 402
  tools: gnome-software,pamac,yay pm: flatpak pkgs: 10 pm: snap pkgs: 6
  Shell: Zsh v: 5.9 running-in: gnome-terminal inxi: 3.3.24

The first half is a double-screen animation, and the second half is an internal display only
https://youtu.be/4UUbgbh-YFM