You are not logged in.

#1 2025-02-08 11:47:13

Grisuuuuu
Member
Registered: 2025-02-08
Posts: 3

Gaming has weird freeze issues.

So around 3-4 months ago I started having a weird issue where some games like CS2, Persona 3 Reload and Dead by Daylight froze when being focused, the game ran while another windows was in focus but as soon as i put the game into focus it just showed the last frame that was there when i was tabbed out.

The game itself ran most of the time, since the music was still running and i heard my mouse selecting and deselecting menu options when hovering over them but for some reason sometimes the game and steam closed with a message from KDE that my desktop effects had been restarted due to a crash.

I didnt have much time at the moment to ask here for a full fix so i had a few temp work arounds until i had time. Those were:
*Disable adaptive Sync (didnt work always for all games)
*Switch to the LTS kernel
*Switch to Xorg
*Use Gamescope

Reinstalling the system didnt help

While on my laptop screen most games worked after switching to lts it didnt fix the issue when plugging my laptop into the TV via HDMI, using gamescope worked most of the time.
But for some reason the issues started becoming more and more.

I have the weird feeling it has todo with my gpu but i cant pinpoint what the issue is exactly. I have no clue what logs where and what so i dont know what logs to attach, please just ask and ill provide them asap.

Sometimes when shutting down my pc after a long play session I see many gpu errors in the shutdown screen, I dont know how to replicate it and it doesnt always happen so i cant give the exact error but i remember something about "DRM".

My System:
Framework 16 Laptop
CPU: AMD Ryzen 7 7840HS
iGPU: AMD Radeon 780M
dGPU: AMD Radeon RX 7700S
Ram: 32GB
DE: KDE
Kernel: Linux 6.13.1 Zen, 6.12.12 LTS

I will provide more useful info as soon as I get errors again. Im sorry for giving almost no useful infos except what happened, I tried to collect a few errors but cant replicate it right now.

Offline

#2 2025-02-08 13:37:27

Grisuuuuu
Member
Registered: 2025-02-08
Posts: 3

Re: Gaming has weird freeze issues.

i found something in dmesg which might help narrow down the issue

[    2.257005] amdgpu 0000:03:00.0: amdgpu: RAS: optional ras ta ucode is not available
[    2.264561] amdgpu 0000:03:00.0: amdgpu: RAP: optional rap ta ucode is not available
[    2.264564] amdgpu 0000:03:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[    2.264596] amdgpu 0000:03:00.0: amdgpu: smu driver if version = 0x00000035, smu fw if version = 0x00000040, smu fw program = 0, smu fw version = 0x00525c00 (82.92.0)
[    2.264601] amdgpu 0000:03:00.0: amdgpu: SMU driver if version not matched
[    2.305091] amdgpu 0000:03:00.0: amdgpu: SMU is initialized successfully!
[    2.305405] amdgpu 0000:03:00.0: [drm] Unsupported pwrseq engine id: 2!
[    2.305416] ------------[ cut here ]------------
[    2.305417] WARNING: CPU: 12 PID: 228 at drivers/gpu/drm/amd/amdgpu/../display/dc/dcn31/dcn31_panel_cntl.c:186 dcn31_panel_cntl_construct.cold+0x1e/0x2e [amdgpu]
[    2.305711] Modules linked in: hid_generic usbhid amdgpu(+) amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec gpu_sched drm_suballoc_helper drm_buddy nvme drm_display_helper nvme_core crc32c_intel cec video crc16 nvme_auth wmi
[    2.305726] CPU: 12 UID: 0 PID: 228 Comm: (udev-worker) Not tainted 6.13.1-arch2-1 #1 1860fb577df89a69efbaf1baecd4d0b44f057919
[    2.305729] Hardware name: Framework Laptop 16 (AMD Ryzen 7040 Series)/FRANMZCP07, BIOS 03.05 11/13/2024
[    2.305731] RIP: 0010:dcn31_panel_cntl_construct.cold+0x1e/0x2e [amdgpu]
[    2.305905] Code: 2d c1 e8 7b a0 13 cd e9 57 10 f2 ff 48 8b 42 10 48 8b 38 48 85 ff 74 04 48 8b 7f 08 89 ca 48 c7 c6 18 4e 2d c1 e8 58 a0 13 cd <0f> 0b b8 0f 00 00 00 48 8b 53 08 e9 40 3f f2 ff 48 8b 7f 08 5b 48
[    2.305906] RSP: 0018:ffffae4e40b2f5b8 EFLAGS: 00010246
[    2.305908] RAX: 0000000000000000 RBX: ffff91d640f33e40 RCX: 0000000000000003
[    2.305909] RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000001
[    2.305910] RBP: ffffae4e40b2f5f0 R08: 0000000000000000 R09: ffffae4e40b2f330
[    2.305911] R10: ffffffff900b5408 R11: 0000000000000003 R12: ffff91d64520ca00
[    2.305912] R13: ffff91d64888c000 R14: ffffffffc115c7e0 R15: 0000000000000000
[    2.305913] FS:  00007b4b2991b880(0000) GS:ffff91dd9e800000(0000) knlGS:0000000000000000
[    2.305915] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    2.305916] CR2: 00005dd52e8bf1e8 CR3: 0000000105266000 CR4: 0000000000f50ef0
[    2.305917] PKRU: 55555554
[    2.305918] Call Trace:
[    2.305920]  <TASK>
[    2.305921]  ? dcn31_panel_cntl_construct.cold+0x1e/0x2e [amdgpu a2e9deafee13a3ec98983aa3de6fae7767c3183e]
[    2.306080]  ? __warn.cold+0x93/0xf6
[    2.306082]  ? dcn31_panel_cntl_construct.cold+0x1e/0x2e [amdgpu a2e9deafee13a3ec98983aa3de6fae7767c3183e]
[    2.306219]  ? report_bug+0xff/0x140
[    2.306223]  ? handle_bug+0x58/0x90
[    2.306224]  ? exc_invalid_op+0x17/0x70
[    2.306226]  ? asm_exc_invalid_op+0x1a/0x20
[    2.306230]  ? dcn31_panel_cntl_construct.cold+0x1e/0x2e [amdgpu a2e9deafee13a3ec98983aa3de6fae7767c3183e]
[    2.306377]  ? dcn31_panel_cntl_construct.cold+0x1e/0x2e [amdgpu a2e9deafee13a3ec98983aa3de6fae7767c3183e]
[    2.306515]  dcn32_panel_cntl_create+0x37/0x50 [amdgpu a2e9deafee13a3ec98983aa3de6fae7767c3183e]
[    2.306743]  link_create+0xa1b/0xd10 [amdgpu a2e9deafee13a3ec98983aa3de6fae7767c3183e]
[    2.306941]  create_links+0x148/0x440 [amdgpu a2e9deafee13a3ec98983aa3de6fae7767c3183e]
[    2.307124]  dc_create+0x337/0x6b0 [amdgpu a2e9deafee13a3ec98983aa3de6fae7767c3183e]
[    2.307275]  amdgpu_dm_init+0x358/0x2020 [amdgpu a2e9deafee13a3ec98983aa3de6fae7767c3183e]
[    2.307458]  ? srso_alias_return_thunk+0x5/0xfbef5
[    2.307460]  ? vprintk_emit+0x111/0x350
[    2.307463]  ? srso_alias_return_thunk+0x5/0xfbef5
[    2.307465]  ? dev_vprintk_emit+0x181/0x1b0
[    2.307471]  dm_hw_init+0x17/0x30 [amdgpu a2e9deafee13a3ec98983aa3de6fae7767c3183e]
[    2.307620]  amdgpu_device_init.cold+0x15cd/0x20f5 [amdgpu a2e9deafee13a3ec98983aa3de6fae7767c3183e]
[    2.307814]  amdgpu_driver_load_kms+0x19/0x70 [amdgpu a2e9deafee13a3ec98983aa3de6fae7767c3183e]
[    2.307949]  amdgpu_pci_probe+0x1ad/0x420 [amdgpu a2e9deafee13a3ec98983aa3de6fae7767c3183e]
[    2.308080]  local_pci_probe+0x42/0x90
[    2.308083]  pci_device_probe+0xdd/0x270
[    2.308086]  really_probe+0xdb/0x340
[    2.308089]  ? pm_runtime_barrier+0x54/0x90
[    2.308091]  ? __pfx___driver_attach+0x10/0x10
[    2.308093]  __driver_probe_device+0x78/0x110
[    2.308096]  driver_probe_device+0x1f/0xa0
[    2.308098]  __driver_attach+0xba/0x1c0
[    2.308100]  bus_for_each_dev+0x8c/0xe0
[    2.308103]  bus_add_driver+0x112/0x1f0
[    2.308106]  driver_register+0x72/0xd0
[    2.308107]  ? __pfx_amdgpu_init+0x10/0x10 [amdgpu a2e9deafee13a3ec98983aa3de6fae7767c3183e]
[    2.308238]  do_one_initcall+0x58/0x310
[    2.308243]  do_init_module+0x60/0x230
[    2.308245]  init_module_from_file+0x89/0xe0
[    2.308250]  idempotent_init_module+0x115/0x310
[    2.308253]  __x64_sys_finit_module+0x65/0xc0
[    2.308256]  do_syscall_64+0x82/0x190
[    2.308259]  ? srso_alias_return_thunk+0x5/0xfbef5
[    2.308261]  ? vfs_read+0x299/0x370
[    2.308264]  ? srso_alias_return_thunk+0x5/0xfbef5
[    2.308266]  ? srso_alias_return_thunk+0x5/0xfbef5
[    2.308267]  ? syscall_exit_to_user_mode+0x37/0x1c0
[    2.308269]  ? srso_alias_return_thunk+0x5/0xfbef5
[    2.308271]  ? do_syscall_64+0x8e/0x190
[    2.308272]  ? srso_alias_return_thunk+0x5/0xfbef5
[    2.308273]  ? do_syscall_64+0x8e/0x190
[    2.308275]  ? srso_alias_return_thunk+0x5/0xfbef5
[    2.308277]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[    2.308279] RIP: 0033:0x7b4b2a11c88d
[    2.308281] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 53 04 0d 00 f7 d8 64 89 01 48
[    2.308282] RSP: 002b:00007ffcac4bf338 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[    2.308284] RAX: ffffffffffffffda RBX: 00005dd52e8907e0 RCX: 00007b4b2a11c88d
[    2.308285] RDX: 0000000000000004 RSI: 00007b4b2991305d RDI: 000000000000001a
[    2.308286] RBP: 00007ffcac4bf3f0 R08: 0000000000000000 R09: 00007ffcac4bf3a0
[    2.308287] R10: 0000000000000000 R11: 0000000000000246 R12: 00007b4b2991305d
[    2.308288] R13: 0000000000020000 R14: 00005dd52e88e790 R15: 00005dd52e893a50
[    2.308291]  </TASK>
[    2.308292] ---[ end trace 0000000000000000 ]---
[    2.308333] [drm] Display Core v3.2.310 initialized on DCN 3.2.1
[    2.308335] [drm] DP-HDMI FRL PCON supported
[    2.310494] [drm] DMUB hardware initialized: version=0x07002A00

And also this a bit further down

[  282.555714] umip_printk: 1 callbacks suppressed
[  282.555720] umip: timing[4678] ip:14a6f4f39 sp:3fffe918: SGDT instruction cannot be used by applications.
[  282.555727] umip: timing[4678] ip:14a6f4f39 sp:3fffe918: For now, expensive software emulation returns the result.
[  282.557966] umip: timing[4678] ip:14a6f4f39 sp:3fffe908: SGDT instruction cannot be used by applications.
[  282.557973] umip: timing[4678] ip:14a6f4f39 sp:3fffe908: For now, expensive software emulation returns the result.
[  282.559444] umip: timing[4678] ip:14a6f4f39 sp:3fffec98: SGDT instruction cannot be used by applications.

Offline

#3 2025-02-08 14:20:52

Grisuuuuu
Member
Registered: 2025-02-08
Posts: 3

Re: Gaming has weird freeze issues.

Here is what dmesg has to say right after the error that restarts my kde desktop effect

[   56.644628] [UFW BLOCK] IN=wlp5s0 OUT= MAC=2c:98:11:3d:4d:1b:d8:bb:c1:36:90:a9:08:00 SRC=192.168.178.48 DST=192.168.178.37 LEN=186 TOS=0x00 PREC=0x00 TTL=128 ID=10875 PROTO=UDP SPT=27036 DPT=27036 LEN=166
[   70.546238] [UFW BLOCK] IN=wlp5s0 OUT= MAC=2c:98:11:3d:4d:1b:00:d8:61:c1:03:f6:08:00 SRC=192.168.178.94 DST=192.168.178.37 LEN=193 TOS=0x00 PREC=0x00 TTL=128 ID=9948 PROTO=UDP SPT=27036 DPT=27036 LEN=173
[   75.531120] [UFW BLOCK] IN=wlp5s0 OUT= MAC=2c:98:11:3d:4d:1b:2c:f0:5d:6f:20:11:08:00 SRC=192.168.178.105 DST=192.168.178.37 LEN=192 TOS=0x00 PREC=0x00 TTL=128 ID=30615 PROTO=UDP SPT=27036 DPT=27036 LEN=172
[   81.621856] [UFW BLOCK] IN=wlp5s0 OUT= MAC=2c:98:11:3d:4d:1b:d8:bb:c1:36:90:a9:08:00 SRC=192.168.178.48 DST=192.168.178.37 LEN=186 TOS=0x00 PREC=0x00 TTL=128 ID=10876 PROTO=UDP SPT=27036 DPT=27036 LEN=166
[   84.073084] [UFW BLOCK] IN=wlp5s0 OUT= MAC=01:00:5e:00:00:01:60:b5:8d:9f:30:eb:08:00 SRC=192.168.178.80 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=36395 DF PROTO=2
[   84.898287] umip: timing[4946] ip:15700e0b5 sp:41f860: SGDT instruction cannot be used by applications.
[   84.898297] umip: timing[4946] ip:15700e0b5 sp:41f860: For now, expensive software emulation returns the result.
[   84.898750] umip: timing[4946] ip:14882efe0 sp:41f860: SGDT instruction cannot be used by applications.
[   84.898752] umip: timing[4946] ip:14882efe0 sp:41f860: For now, expensive software emulation returns the result.
[   87.088429] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  141.215233] [UFW BLOCK] IN=wlp5s0 OUT= MAC=33:33:00:00:00:01:e0:28:6d:63:d9:ab:86:dd SRC=fe80:0000:0000:0000:e228:6dff:fe63:d9ab DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=53805 DPT=53805 LEN=24
[  150.958322] [UFW BLOCK] IN=wlp5s0 OUT= MAC=01:00:5e:00:00:01:e0:28:6d:63:d9:ab:08:00 SRC=192.168.178.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
[  197.118730] [UFW BLOCK] IN=wlp5s0 OUT= MAC=2c:98:11:3d:4d:1b:d8:bb:c1:36:90:a9:08:00 SRC=192.168.178.48 DST=192.168.178.37 LEN=186 TOS=0x00 PREC=0x00 TTL=128 ID=10877 PROTO=UDP SPT=27036 DPT=27036 LEN=166
[  197.118742] [UFW BLOCK] IN=wlp5s0 OUT= MAC=2c:98:11:3d:4d:1b:2c:f0:5d:6f:20:11:08:00 SRC=192.168.178.105 DST=192.168.178.37 LEN=192 TOS=0x00 PREC=0x00 TTL=128 ID=30616 PROTO=UDP SPT=27036 DPT=27036 LEN=172
[  197.125821] [UFW BLOCK] IN=wlp5s0 OUT= MAC=2c:98:11:3d:4d:1b:00:d8:61:c1:03:f6:08:00 SRC=192.168.178.94 DST=192.168.178.37 LEN=193 TOS=0x00 PREC=0x00 TTL=128 ID=9949 PROTO=UDP SPT=27036 DPT=27036 LEN=173
[  199.181115] [UFW BLOCK] IN=wlp5s0 OUT= MAC=2c:98:11:3d:4d:1b:00:d8:61:c1:03:f6:08:00 SRC=192.168.178.94 DST=192.168.178.37 LEN=193 TOS=0x00 PREC=0x00 TTL=128 ID=9950 PROTO=UDP SPT=27036 DPT=27036 LEN=173
[  202.144795] [UFW BLOCK] IN=wlp5s0 OUT= MAC=2c:98:11:3d:4d:1b:2c:f0:5d:6f:20:11:08:00 SRC=192.168.178.105 DST=192.168.178.37 LEN=192 TOS=0x00 PREC=0x00 TTL=128 ID=30617 PROTO=UDP SPT=27036 DPT=27036 LEN=172
[  202.160632] [UFW BLOCK] IN=wlp5s0 OUT= MAC=2c:98:11:3d:4d:1b:d8:bb:c1:36:90:a9:08:00 SRC=192.168.178.48 DST=192.168.178.37 LEN=186 TOS=0x00 PREC=0x00 TTL=128 ID=10878 PROTO=UDP SPT=27036 DPT=27036 LEN=166
[  209.105366] [UFW BLOCK] IN=wlp5s0 OUT= MAC=01:00:5e:00:00:01:60:b5:8d:9f:30:eb:08:00 SRC=192.168.178.80 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=46464 DF PROTO=2
[  214.924227] umip: timing[8392] ip:15700e0b5 sp:41f860: SGDT instruction cannot be used by applications.
[  214.924237] umip: timing[8392] ip:15700e0b5 sp:41f860: For now, expensive software emulation returns the result.
[  214.924744] umip: timing[8392] ip:14882efe0 sp:41f860: SGDT instruction cannot be used by applications.
[  214.924747] umip: timing[8392] ip:14882efe0 sp:41f860: For now, expensive software emulation returns the result.
[  216.522312] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  216.805410] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  216.855587] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  216.905446] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  216.972028] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.005497] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.038759] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.072012] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.105352] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.138715] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.172055] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.205362] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.238796] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.272032] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.305400] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.338699] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.372039] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.405399] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.438697] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.472039] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.505494] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.538707] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.572034] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.605368] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.638745] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.672018] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.705344] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.738691] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.772055] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.805385] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.838695] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.872048] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  217.906002] [drm:amdgpu_dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
[  218.183819] [UFW BLOCK] IN=wlp5s0 OUT= MAC=2c:98:11:3d:4d:1b:2c:f0:5d:6f:20:11:08:00 SRC=192.168.178.105 DST=192.168.178.37 LEN=192 TOS=0x00 PREC=0x00 TTL=128 ID=30618 PROTO=UDP SPT=27036 DPT=27036 LEN=172
[  238.158513] usb 1-4.1: reset full-speed USB device number 9 using xhci_hcd

Offline

Board footer

Powered by FluxBB