System freezes

Hello,

I have the problem that from time to time the system freezes, so mainly the operation and the display, audio continues to run.
When it hangs then also the display goes black again and again and then shows the last displayed image again.

15:08:39 kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process firefox pid 11426 thread firefox:cs0 pid 11478
15:08:39 kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process firefox pid 11426 thread firefox:cs0 pid 11478
15:08:39 kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_low timeout, signaled seq=2041649, emitted seq=2041652
14:18:39 systemd-coredum: Process 12346 (QtWebEngineProc) of user 1000 dumped core.

Stack trace of thread 1:
#0  0x00007f4c42320e2d n/a (libc.so.6 + 0x10ae2d)
ELF object binary architecture: AMD x86-64

13:49:41 systemd: Failed to start Application launched by gnome-session-binary.
13:49:37 gdm-session-wor: gkr-pam: unable to locate daemon control file
13:49:28 kernel: amdgpu 0000:04:00.0: amdgpu: SECUREDISPLAY: query securedisplay TA failed. ret 0x0
13:49:28 bluetoothd: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters

can you report

inxi -Fza

sure

System:
  Kernel: 6.3.1-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: initrd=\1f55c54a217744e497b075e2472d8670\6.3.1-arch1-1\initrd
    nvme_load=YES nowatchdog rw rootflags=subvol=/@
    rd.luks.uuid=c25f3862-54cc-4289-af20-d4e72ec2d53f
    root=/dev/mapper/luks-c25f3862-54cc-4289-af20-d4e72ec2d53f
    rd.luks.uuid=cb415483-2790-4fba-839b-41768cd78e0c
    resume=/dev/mapper/luks-cb415483-2790-4fba-839b-41768cd78e0c
    systemd.machine_id=1f55c54a217744e497b075e2472d8670
  Desktop: GNOME v: 44.1 tk: GTK v: 3.24.37 wm: gnome-shell dm: GDM v: 44.1
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: TUXEDO product: TUXEDO Aura 15 Gen1 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: NB01 model: NL5xRU serial: <superuser required> UEFI: INSYDE
    v: 1.07.08TTR3 date: 03/18/2021
Battery:
  ID-1: BAT0 charge: 22.9 Wh (53.9%) condition: 42.5/48.3 Wh (88.2%)
    volts: 15.4 min: 15.2 model: Notebook BAT type: Li-ion serial: <filter>
    status: not charging
  Device-1: hid-18:7e:b9:67:f4:86-battery model: Tealk-Magic Trackpad 2
    serial: N/A charge: N/A status: charging
CPU:
  Info: model: AMD Ryzen 7 4700U with Radeon Graphics bits: 64 type: MCP
    arch: Zen 2 gen: 3 level: v3 note: check built: 2020-22
    process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x60 (96) stepping: 1
    microcode: 0x8600106
  Topology: cpus: 1x cores: 8 smt: <unsupported> cache: L1: 512 KiB
    desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 8 MiB
    desc: 2x4 MiB
  Speed (MHz): avg: 1397 high: 1400 min/max: 1400/2000 boost: disabled
    scaling: driver: acpi-cpufreq governor: ondemand cores: 1: 1400 2: 1397
    3: 1397 4: 1397 5: 1397 6: 1397 7: 1397 8: 1397 bogomips: 31959
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT disabled
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    disabled, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Renoir vendor: CLEVO/KAPOK driver: amdgpu v: kernel
    arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 4
    speed: 16 GT/s lanes: 16 ports: active: DP-2,eDP-1 empty: DP-1
    bus-ID: 04:00.0 chip-ID: 1002:1636 class-ID: 0300 temp: 58.0 C
  Device-2: Bison BisonCam NB Pro type: USB driver: uvcvideo bus-ID: 3-4:6
    chip-ID: 5986:9102 class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: gnome-shell driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: 0
  Monitor-1: DP-2 model: LG (GoldStar) HDR WQHD serial: <filter> built: 2021
    res: 3440x1440 dpi: 107 gamma: 1.2 size: 820x346mm (32.28x13.62")
    diag: 888mm (34.9") modes: max: 3440x1440 min: 640x480
  Monitor-2: eDP-1 model: ChiMei InnoLux 0x15e8 built: 2016 res: 1920x1080
    dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.7 DRM 3.52 6.3.1-arch1-1) direct-render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: CLEVO/KAPOK
    driver: snd_hda_intel v: kernel bus-ID: 3-1.1.4.2:11 chip-ID: 2e50:000e
    pcie: class-ID: 0300 gen: 4 serial: <filter> speed: 16 GT/s lanes: 16
    bus-ID: 04:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: CLEVO/KAPOK
    driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x,
    snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 04:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: CLEVO/KAPOK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-4: Beyerdynamic FOX type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  API: ALSA v: k6.3.1-arch1-1 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.70 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: CLEVO/KAPOK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 2000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: wwp4s0f4u2c2 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-3:5
    chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 1.82 TiB used: 417.77 GiB (22.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO M.2 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 4B6Q scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: Seagate
    model: UltraTouch SSD size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B type: SSD serial: <filter> rev: 0001 scheme: GPT
Partition:
  ID-1: / raw-size: 896.73 GiB size: 896.73 GiB (100.00%)
    used: 194.01 GiB (21.6%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-c25f3862-54cc-4289-af20-d4e72ec2d53f
  ID-2: /home raw-size: 896.73 GiB size: 896.73 GiB (100.00%)
    used: 194.01 GiB (21.6%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-c25f3862-54cc-4289-af20-d4e72ec2d53f
  ID-3: /var/log raw-size: 896.73 GiB size: 896.73 GiB (100.00%)
    used: 194.01 GiB (21.6%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-c25f3862-54cc-4289-af20-d4e72ec2d53f
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 33.8 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-cb415483-2790-4fba-839b-41768cd78e0c
Sensors:
  System Temperatures: cpu: 59.6 C mobo: N/A gpu: amdgpu temp: 57.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 364 Uptime: 2h 55m wakeups: 70 Memory: 30.73 GiB
  used: 8.48 GiB (27.6%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 13.1.1 Packages: 1202 pm: pacman pkgs: 1174
  libs: 295 tools: yay pm: flatpak pkgs: 28 Shell: Bash v: 5.1.16
  running-in: kgx inxi: 3.3.26

have you try theses parameters on boot kernel :
“iommu=pt amd_pstate=passive”

see this topic

I get an output with the following command, do I have to change anything?

lscpu | grep cppc
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip rdpid overflow_recov succor smca

cppc is on UEFI motherboard

any update for your UEFI motherboard ?

I just asked Tuxedo because I can’t find any downloads for my device at the moment.

Now its up to date:

UEFI: INSYDE
    v: 1.07.11RTR2 date: 01/30/2023

Today I had it again, I think it occurs when I change the desktop.

21:00:34 systemd: Failed to start Application launched by gnome-session-binary.
21:00:31 gdm-session-wor: gkr-pam: unable to locate daemon control file
20:59:59 kernel: amdgpu 0000:04:00.0: amdgpu: SECUREDISPLAY: query securedisplay TA failed. ret 0x0
20:59:59 kernel: amdgpu 0000:04:00.0: amdgpu: SECUREDISPLAY: query securedisplay TA failed. ret 0x0
20:59:59 kernel: amdgpu 0000:04:00.0: amdgpu: Secure display: Generic Failure.
20:59:58 bluetoothd: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters
20:59:58 bluetoothd: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters
20:59:58 bluetoothd: src/plugin.c:plugin_init() Failed to init bap plugin
20:59:58 bluetoothd: src/plugin.c:plugin_init() Failed to init mcp plugin
20:59:58 bluetoothd: src/plugin.c:plugin_init() Failed to init vcp plugin
20:59:58 kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02

If I understand this correctly:
What other desktop-environments besides Gnome are you using?

sorry i misspoke, i mean the workspaces, those virtual desktops that you can switch.

I had this again and I still don’t know where exactly it comes from.
Here the log of the last crash:

http://ix.io/4Gbt

I can reproduce this relatively reliably when I open FoundryVTT in any browser.
this time i didn’t even change the workspace and last week the problem with foundryvtt was not yet. I still used it for a few hours at a time.

It shows a trace about appindicator extension

but can this cause the problem? I will deactivate the extension in any case to see if it occurs without it.

So currently it is so that it just occurs in the middle of working and only if i have FoundryVTT open in Browser, then the screen falckert and on my ultra-wide screen is only flashing the image of my laptop monitor displayed.
No interaction is accepted by the device and only the shutdown works.