Screen bugging when waking up from sleep mode on iMac

Hi there! So my problem is, that whenever I put my computer (iMac8,1 1.0) into sleep mode and i awake it, the screen glitches for no reason. It gets weirdly in negative or idk what thingy… Like the photo attached. Any ideas what is it due to and how to resolve it?
For some reason, i can’t upload the image here… (Sorry, you can’t embed media items in a post.)

:+1: Welcome to Manjaro! :+1:

  1. Please read this:
    How to provide good information
    and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…

  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.

  3. Also read this:
    [HowTo] post screenshots and links


  Kernel: 5.11.6-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.11-x86_64 
  root=UUID=6d87b7e2-5430-403e-873a-20386d2f0c0a ro quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 vt: 7 
  dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux 
  Type: Desktop System: Apple product: iMac8,1 v: 1.0 serial: <filter> 
  Chassis: type: 13 v: Mac-F226BEC8 serial: <filter> 
  Mobo: Apple model: Mac-F226BEC8 v: PVT serial: <filter> UEFI: Apple 
  v: IM81.88Z.00C1.B00.0802091538 date: 02/09/08 
  RAM: total: 3.84 GiB used: 1.49 GiB (38.9%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
  Info: Dual Core model: Intel Core2 Duo E8335 bits: 64 type: MCP arch: Penryn 
  family: 6 model-id: 17 (23) stepping: 6 microcode: 60F cache: L2: 6 MiB 
  bogomips: 10636 
  Speed: 1382 MHz min/max: 800/2667 MHz Core speeds (MHz): 1: 1382 2: 1449 
  Flags: acpi aperfmperf apic arch_perfmon bts clflush cmov constant_tsc cpuid 
  cx16 cx8 de ds_cpl dtes64 dtherm dts est flexpriority fpu fxsr ht lahf_lm lm 
  mca mce mmx monitor msr mtrr nopl nx pae pat pbe pdcm pebs pge pni pse pse36 
  pti rep_good sep sse sse2 sse4_1 ssse3 syscall tm tm2 tpr_shadow tsc vme vmx 
  vnmi vpid xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled 
  Type: mds 
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass status: Vulnerable 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
  Device-1: AMD RV630/M76 [Mobility Radeon HD 2600 XT/2700] 
  vendor: Apple iMac 7 1 driver: radeon v: kernel bus-ID: 01:00.0 
  chip-ID: 1002:9583 class-ID: 0300 
  Device-2: Apple Built-in iSight type: USB driver: uvcvideo bus-ID: 2-4:3 
  chip-ID: 05ac:8502 class-ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.10 driver: loaded: ati,radeon 
  unloaded: modesetting alternate: fbdev,vesa display-ID: :0.0 screens: 1 
  Screen-1: 0 s-res: 1680x1050 s-dpi: 96 s-size: 444x277mm (17.5x10.9") 
  s-diag: 523mm (20.6") 
  Monitor-1: LVDS res: 1680x1050 hz: 60 dpi: 99 size: 433x270mm (17.0x10.6") 
  diag: 510mm (20.1") 
  OpenGL: renderer: AMD RV630 (DRM 2.50.0 / 5.11.6-1-MANJARO LLVM 11.1.0) 
  v: 3.3 Mesa 20.3.4 compat-v: 3.0 direct render: Yes 
  Device-1: Intel 82801H HD Audio vendor: Apple driver: snd_hda_intel 
  v: kernel bus-ID: 00:1b.0 chip-ID: 8086:284b class-ID: 0403 
  Sound Server-1: ALSA v: k5.11.6-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.23 running: no 
  Device-1: Broadcom BCM4321 802.11a/b/g/n vendor: Apple AirPort Extreme 
  driver: wl v: kernel modules: ssb port: 6000 bus-ID: 04:00.0 
  chip-ID: 14e4:4328 class-ID: 0280 
  IF: wls4 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-2: Marvell 88E8058 PCI-E Gigabit Ethernet driver: sky2 v: 1.30 
  port: 5000 bus-ID: 05:00.0 chip-ID: 11ab:436a class-ID: 0200 
  IF: ens5 state: down mac: <filter> 
  WAN IP: <filter> 
  Device-1: Apple Bluetooth HCI type: USB driver: btusb v: 0.8 bus-ID: 3-1.1:3 
  chip-ID: 05ac:820f class-ID: fe01 serial: <filter> 
  Report: This feature requires one of these tools: hciconfig/bt-adapter 
  Message: No LVM data was found. 
  Message: No RAID data was found. 
  Local Storage: total: 298.09 GiB used: 17.4 GiB (5.8%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD3200AAJS-40VWA1 
  size: 298.09 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  serial: <filter> rev: 1D02 scheme: GPT 
  Optical-1: /dev/sr0 vendor: MATSHITA model: DVD-R UJ-875 rev: DB09 
  dev-links: cdrom 
  Features: speed: 24 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r state: running 
  ID-1: / raw-size: 297.79 GiB size: 292.12 GiB (98.09%) used: 17.4 GiB (6.0%) 
  fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: N/A 
  uuid: 6d87b7e2-5430-403e-873a-20386d2f0c0a 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 312 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: N/A 
  uuid: 620C-C205 
  Alert: No Swap data was found. 
  Message: No Unmounted partitions found. 
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-3: 2-1:2 info: Apple Hub in Aluminum Keyboard ports: 3 rev: 2.0 
  speed: 480 Mb/s power: 300mA chip-ID: 05ac:1006 class-ID: 0900 
  Device-1: 2-1.2:4 info: Apple Aluminum Keyboard (ISO) type: Keyboard,HID 
  driver: apple,usbhid interfaces: 2 rev: 2.0 speed: 1.5 Mb/s power: 20mA 
  chip-ID: 05ac:0221 class-ID: 0300 
  Device-2: 2-4:3 info: Apple Built-in iSight type: Video driver: uvcvideo 
  interfaces: 3 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 05ac:8502 
  class-ID: 0e02 serial: <filter> 
  Hub-4: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s 
  chip-ID: 1d6b:0001 class-ID: 0900 
  Hub-5: 3-1:2 
  info: Broadcom BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) ports: 3 
  rev: 2.0 speed: 12 Mb/s chip-ID: 0a5c:4500 class-ID: 0900 
  Device-1: 3-1.1:3 info: Apple Bluetooth HCI type: Bluetooth driver: btusb 
  interfaces: 4 rev: 2.0 speed: 12 Mb/s chip-ID: 05ac:820f class-ID: fe01 
  serial: <filter> 
  Hub-6: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s 
  chip-ID: 1d6b:0001 class-ID: 0900 
  Device-1: 4-2:2 info: Logitech Unifying Receiver type: Keyboard,Mouse 
  driver: logitech-djreceiver,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  power: 98mA chip-ID: 046d:c534 class-ID: 0301 
  Hub-7: 5-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s 
  chip-ID: 1d6b:0001 class-ID: 0900 
  Hub-8: 6-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s 
  chip-ID: 1d6b:0001 class-ID: 0900 
  Hub-9: 7-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s 
  chip-ID: 1d6b:0001 class-ID: 0900 
  Device-1: 7-1:2 info: Apple Built-in IR Receiver type: HID 
  driver: appleir,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s power: 100mA 
  chip-ID: 05ac:8242 class-ID: 0300 
  System Temperatures: cpu: 49.0 C mobo: N/A gpu: radeon temp: 58.0 C 
  Fan Speeds (RPM): cpu: 1196 
  Processes: 172 Uptime: 6m wakeups: 0 Init: systemd v: 247 tool: systemctl 
  Compilers: gcc: 10.2.0 Packages: 1276 pacman: 1270 lib: 406 flatpak: 0 
  snap: 6 Shell: Bash v: 5.1.0 running-in: xfce4-terminal inxi: 3.3.03

and for the pic: