Weird screen after waking up from sleep

I’m in the latest KDE plasma & I’ve been seeing this weird screen bug for a long time.

System:
  Kernel: 5.10.49-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=261e3e34-3aa2-4cb0-85bb-1358fb778207 rw quiet udev.log_priority=3 
  Desktop: KDE Plasma 5.22.3 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUS Laptop X505ZA_X505ZA 
  v: 1.0 serial: <filter> 
  Mobo: ASUSTeK model: X505ZA v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: X505ZA.313 date: 02/25/2020 
Battery:
  ID-1: BAT0 charge: 13.9 Wh (59.7%) condition: 23.3/42.1 Wh (55.4%) 
  volts: 11.5 min: 11.5 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A 
  status: Discharging cycles: 1027 
Memory:
  RAM: total: 6.8 GiB used: 2.58 GiB (38.0%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx 
  bits: 64 type: MT MCP arch: Zen family: 17 (23) model-id: 11 (17) 
  stepping: 0 microcode: 8101007 cache: L2: 2 MiB bogomips: 31948 
  Speed: 1368 MHz min/max: 1600/2000 MHz boost: enabled Core speeds (MHz): 
  1: 1368 2: 1367 3: 1369 4: 1366 5: 1369 6: 1366 7: 1485 8: 1592 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid 
  cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm mca 
  mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl 
  npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb 
  perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36 
  rdrand rdseed rdtscp rep_good sep sev sev_es sha_ni skinit smap smca sme 
  smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce 
  topoext tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt 
  xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  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: Full AMD retpoline, IBPB: conditional, STIBP: 
  disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] 
  vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 03:00.0 chip-ID: 1002:15dd 
  class-ID: 0300 
  Device-2: IMC Networks USB2.0 VGA UVC WebCam type: USB driver: uvcvideo 
  bus-ID: 3-2.1:3 chip-ID: 13d3:5a03 class-ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa 
  display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  OpenGL: renderer: AMD Radeon Vega 8 Graphics (RAVEN DRM 3.40.0 
  5.10.49-1-MANJARO LLVM 12.0.0) 
  v: 4.6 Mesa 21.1.4 direct render: Yes 
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel 
  v: kernel bus-ID: 03:00.1 chip-ID: 1002:15de class-ID: 0403 
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403 
  Sound Server-1: ALSA v: k5.10.49-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.31 running: yes 
Network:
  Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel 
  bus-ID: 01:00.0 chip-ID: 8086:24fd class-ID: 0280 
  IF: wlp1s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK driver: r8169 v: kernel port: f000 bus-ID: 02:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp2s0 state: down mac: <filter> 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 
  bus-ID: 3-2.2:4 chip-ID: 8087:0a2b class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running 
  rfk-block: hardware: no software: yes address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 931.51 GiB used: 469.68 GiB (50.4%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM035-1RK172 
  size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  type: HDD rpm: 5400 serial: <filter> rev: 0001 scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 82.12 GiB size: 80.28 GiB (97.76%) used: 32.29 GiB (40.2%) 
  fs: ext4 dev: /dev/sda4 maj-min: 8:4 label: N/A 
  uuid: 261e3e34-3aa2-4cb0-85bb-1358fb778207 
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) 
  used: 36.6 MiB (14.3%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: SYSTEM 
  uuid: 226E-201B 
  ID-3: /run/media/zexu/New Volume raw-size: 468.6 GiB 
  size: 468.6 GiB (100.00%) used: 437.36 GiB (93.3%) fs: ntfs dev: /dev/sda5 
  maj-min: 8:5 label: New Volume uuid: 0402A78D02A78272 
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/sda2 maj-min: 8:2 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-2: /dev/sda3 maj-min: 8:3 size: 356.67 GiB fs: ntfs label: OS 
  uuid: DE1E71131E70E5C5 
  ID-3: /dev/sda7 maj-min: 8:7 size: 850 MiB fs: ntfs label: RECOVERY 
  uuid: A04AD8624AD8372E 
USB:
  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: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 3-2:2 info: Alcor Micro USB Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 058f:6254 class-ID: 0900 
  Device-1: 3-2.1:3 info: IMC Networks USB2.0 VGA UVC WebCam type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 13d3:5a03 class-ID: 0e02 serial: <filter> 
  Device-2: 3-2.2:4 info: Intel Bluetooth wireless interface type: Bluetooth 
  driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA 
  chip-ID: 8087:0a2b class-ID: e001 
  Hub-5: 4-0:1 info: Full speed (or root) Hub ports: 1 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 72.5 C mobo: 72.0 C gpu: amdgpu temp: 72.0 C 
  Fan Speeds (RPM): cpu: 4200 
Info:
  Processes: 260 Uptime: 1h 26m wakeups: 8 Init: systemd v: 248 
  tool: systemctl Compilers: gcc: 11.1.0 Packages: pacman: 1087 lib: 295 
  Shell: Bash v: 5.1.8 running-in: konsole inxi: 3.3.06

Create a config file and add the following parameters

/etc/X11/xorg.conf.d/20-amdgpu.conf

Section "Device"
     Identifier "AMD"
     Driver "amdgpu"
     Option "TearFree" "true"
  EndSection

REBOOT

1 Like

Thank you so much. it worked flawlessly, and also, could you tell what was the problem?

It is related to Xorg, and do you experience a lot of random system freezes ?

1 Like

Yes, do you have any solution for that too?

Actually, i have the same cpu and gpu as of yours and i also have a lot of freeze i thought somebody else system was working smoothly that’s why i asked you .
However, i have currently idle=nomwait a linux parameter and the freeze are less than earlier .

Ohh! Okay, yes i added those parameters already but still i get freezing mostly when i use vivaldi browser

So , it is a cpu or gpu error ?

I guess it’s cpu. it freezes even when I’m just browsing & vivaldi is bulky in terms of cpu consumption compare to other browsers.

I tried rcu_nocbs=0-15 as mentioned in Bugzilla and disabed the c6 state by adding

processor.max_cstate=1 to the kernel parameter but the freezing was still happening .

Ohh & i tried switching to all the latest kernel still no luck

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.