Screen tearing when the mouse pointer is on a specific pixel column

Hello,

I’ve recently installed Manjaro xfce on a new HP Victus 15-fa0031dx laptop i bought about a week ago, encountering a problem with screen tearing when my mouse sits on about a seventh of the length of my screen from left to right. I’ve tried looking for a solution to my problem, or a similar one, in various forums, including this one.

My problem, even though I’ve installed Manjaro xfce, also occurs on KDE, and dwm, which leads me to believe that this is probably a driver issue. This forum post is one which has the most resemblance to my situation: ‘Hey, how I solve the cursor “tearing/flickering” for some seconds when I make my cursor go to the left part of the monitor’ (I’m not linking the post because I am unable to due to my account’s age).

$mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.11.04               false            PCI
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!

$inxi -zv 4
System:
  Kernel: 5.15.78-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    Desktop: Xfce v: 4.16.1 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: Victus by HP Gaming Laptop 15-fa0xxx v: N/A
    serial: <filter>
  Mobo: HP model: 8A50 v: 37.43 serial: <filter> UEFI: AMI v: F.10
    date: 08/23/2022
Battery:
  ID-1: BAT0 charge: 51.5 Wh (100.0%) condition: 51.5/52.6 Wh (98.1%)
    volts: 13.0 min: 11.6 model: HP Primary status: full
CPU:
  Info: 8-core (4-mt/4-st) model: 12th Gen Intel Core i5-12450H bits: 64
    type: MST AMCP arch: Alder Lake rev: 3 cache: L1: 704 KiB L2: 7 MiB
    L3: 12 MiB
  Speed (MHz): avg: 599 high: 980 min/max: 400/4400:3300 cores: 1: 805
    2: 980 3: 485 4: 781 5: 613 6: 410 7: 541 8: 600 9: 482 10: 400 11: 572
    12: 528 bogomips: 59916
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Alder Lake-P GT1 [UHD Graphics] vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-12.2 bus-ID: 00:02.0
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q]
    vendor: Hewlett-Packard driver: nvidia v: 520.56.06 arch: Turing
    bus-ID: 01:00.0
  Device-3: Chicony HP Wide Vision HD Camera type: USB driver: uvcvideo
    bus-ID: 3-6:2
  Display: x11 server: X.Org v: 21.1.4 driver: X: loaded: modesetting,nvidia
    dri: iris gpu: i915 resolution: 1920x1080~144Hz
  API: OpenGL v: 4.6 Mesa 22.2.3 renderer: Mesa Intel Graphics (ADL GT2)
    direct render: Yes
Network:
  Device-1: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel bus-ID: 04:00.0
  IF: wlp4s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus-ID: 05:00.0
  IF: eno1 state: down mac: <filter>
Drives:
  Local Storage: total: 505.81 GiB used: 13.84 GiB (2.7%)
  ID-1: /dev/nvme0n1 vendor: Micron model: MTFDKBA512TFH-1BC1AABHA
    size: 476.94 GiB temp: 34.9 C
  ID-2: /dev/sda type: USB vendor: Kingston model: DataTraveler 3.0
    size: 28.87 GiB
Partition:
  ID-1: / size: 293.74 GiB used: 13.84 GiB (4.7%) fs: ext4 dev: /dev/nvme0n1p6
  ID-2: /boot/efi size: 511 MiB used: 316 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p5
Info:
  Processes: 278 Uptime: 21m Memory: 15.3 GiB used: 2.62 GiB (17.1%)
  Init: systemd Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: 918 Shell: Bash
  v: 5.1.16 inxi: 3.3.23

Something that I found weird while looking for a solution to my problem is that my /etc/X11/mhwd.d contains a single file, nvidia.conf, which is empty; but that might be because I’m only using the integrated Intel graphics. I do have this file, but I just copied it from /usr/share/X11/xorg.conf.d/10-intel-nvidia-drm-outputclass.conf:

$cat /etc/X11/xorg.conf.d/10-intel-nvidia-drm-outputclass.conf 
Section "ServerLayout"
    Identifier "layout"
    Option "AllowNVIDIAGPUScreens"
EndSection

Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

This has been a real headache, so I would appreciate any help you guys can provide me with.
Thanks!