Taskbar/panel, wallpaper, lock screen wallpaper randomly turning black after waking up from lock on framework 13 core ultra series 1, login slow after reboot

I recently got a framework 13 with an intel core ultra 5 125H. I installed endeavouros on it with plasma 6. When I close the lid and open it, the lock screen wallpaper is black. Sometimes when I log in, the panel and wallpaper turn to black and right-clicking on the desktop doesn’t show a menu. This is fixed after a restart but it logs in slow (~1-2 mins) after a restart. I have changed the wallpaper and lockscreen wallpaper from the defaults, but have not changed the taskbar/panel very much.

This is the result of lspci -k | grep -EA3 'VGA|3D\Display'

grep: warning: stray \ before D
00:02.0 VGA compatible controller: Intel Corporation Meteor Lake-P [Intel Arc Graphics] (rev 08)
        Subsystem: Framework Computer Inc. Device 0009
        Kernel driver in use: i915
        Kernel modules: i915, xe

What is happening and how can I fix this?

here is the result of inxi -FAZ --no-host

System:
  Kernel: 6.10.10-arch1-1 arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.1.5 Distro: EndeavourOS
Machine:
  Type: Laptop System: Framework product: Laptop 13 (Intel Core Ultra Series
    1) v: A2 serial: <superuser required>
  Mobo: Framework model: FRANMECP02 v: A2 serial: <superuser required>
    UEFI: INSYDE v: 03.01 date: 07/08/2024
Battery:
  ID-1: BAT1 charge: 57.9 Wh (91.6%) condition: 63.2/60.7 Wh (104.1%)
CPU:
  Info: 14-core (4-mt/10-st) model: Intel Core Ultra 5 125H bits: 64
    type: MST AMCP cache: 18 MiB note: check
  Speed (MHz): avg: 2000 min/max: 400/4500:3600:2500 cores: 1: 2000 2: 2000
    3: 2000 4: 2000 5: 2000 6: 2000 7: 2000 8: 2000 9: 2000 10: 2000 11: 2000
    12: 2000 13: 2000 14: 2000 15: 2000 16: 2000 17: 2000 18: 2000
Graphics:
  Device-1: Intel Meteor Lake-P [Intel Arc Graphics] driver: i915 v: kernel
  Device-2: Framework Laptop Webcam Module (2nd Gen) driver: uvcvideo
    type: USB
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.2
    compositor: kwin_wayland driver: X: loaded: modesetting dri: iris gpu: i915
    resolution: 1504x1003
  API: EGL v: 1.5 drivers: iris,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.2.3-arch1.1
    renderer: Mesa Intel Arc Graphics (MTL)
  API: Vulkan v: 1.3.295 drivers: intel surfaces: xcb,xlib,wayland
Audio:
  Device-1: Intel Meteor Lake-P HD Audio driver: snd_hda_intel
  API: ALSA v: k6.10.10-arch1-1 status: kernel-api
  Server-1: PipeWire v: 1.2.5 status: active
Network:
  Device-1: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak] driver: iwlwifi
  IF: wlan0 state: up mac: dc:97:ba:47:84:bb
Bluetooth:
  Device-1: Intel AX210 Bluetooth driver: btusb type: USB
  Report: btmgmt ID: hci0 state: up address: DC:97:BA:47:84:BF bt-v: 5.3
Drives:
  Local Storage: total: 931.51 GiB used: 68.32 GiB (7.3%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD BLACK SN770 1TB
    size: 931.51 GiB
Partition:
  ID-1: / size: 914.83 GiB used: 68.31 GiB (7.5%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 1022 MiB used: 288 KiB (0.0%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  Alert: No swap data was found.
Sensors:
  Src: /sys System Temperatures: cpu: 44.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB note: est. available: 30.81 GiB used: 4.79 GiB (15.5%)
  Processes: 353 Uptime: 36m Shell: Zsh inxi: 3.3.36