[TRACKING] Video hanging on a white screen on Arch Linux

Hi. I have a 13" laptop with Ryzen 5 7640U. When trying to play games, especially when the pc exits from suspension. I sometimes get a white screen.
I used ssh and run dmesg, here’s what it says:


[ven dic  8 19:12:14 2023] amdgpu 0000:c1:00.0: Using 44-bit DMA addresses
[ven dic  8 19:12:14 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffc000000 flags=0x0000]
[ven dic  8 19:12:14 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffc001000 flags=0x0000]
[ven dic  8 19:12:14 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffc002000 flags=0x0000]
[ven dic  8 19:12:14 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffc003000 flags=0x0000]
[ven dic  8 19:12:14 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffc004000 flags=0x0000]
[ven dic  8 19:12:14 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffc005000 flags=0x0000]
[ven dic  8 19:12:14 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffc006000 flags=0x0000]
[ven dic  8 19:12:14 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffc007000 flags=0x0000]
[ven dic  8 19:12:14 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffc010000 flags=0x0000]
[ven dic  8 19:12:14 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffc024000 flags=0x0000]
[ven dic  8 19:12:19 2023] amd_iommu_report_page_fault: 55133 callbacks suppressed
[ven dic  8 19:12:19 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbdd8000 flags=0x0000]
[ven dic  8 19:12:19 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbdd9000 flags=0x0000]
[ven dic  8 19:12:19 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbdda000 flags=0x0000]
[ven dic  8 19:12:19 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbddb000 flags=0x0000]
[ven dic  8 19:12:19 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbddc000 flags=0x0000]
[ven dic  8 19:12:19 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbddd000 flags=0x0000]
[ven dic  8 19:12:19 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbdde000 flags=0x0000]
[ven dic  8 19:12:19 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbddf000 flags=0x0000]
[ven dic  8 19:12:19 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbdd0000 flags=0x0000]
[ven dic  8 19:12:19 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbdc4000 flags=0x0000]
[ven dic  8 19:12:24 2023] amd_iommu_report_page_fault: 54812 callbacks suppressed
[ven dic  8 19:12:24 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb850000 flags=0x0000]
[ven dic  8 19:12:24 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb851000 flags=0x0000]
[ven dic  8 19:12:24 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb852000 flags=0x0000]
[ven dic  8 19:12:24 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb853000 flags=0x0000]
[ven dic  8 19:12:24 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb854000 flags=0x0000]
[ven dic  8 19:12:24 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb855000 flags=0x0000]
[ven dic  8 19:12:24 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb856000 flags=0x0000]
[ven dic  8 19:12:24 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb857000 flags=0x0000]
[ven dic  8 19:12:24 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb840000 flags=0x0000]
[ven dic  8 19:12:24 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb804000 flags=0x0000]
[ven dic  8 19:12:29 2023] amd_iommu_report_page_fault: 53011 callbacks suppressed
[ven dic  8 19:12:29 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbb80000 flags=0x0000]
[ven dic  8 19:12:29 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbb81000 flags=0x0000]
[ven dic  8 19:12:29 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbb82000 flags=0x0000]
[ven dic  8 19:12:29 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbb83000 flags=0x0000]
[ven dic  8 19:12:29 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbb84000 flags=0x0000]
[ven dic  8 19:12:29 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbb85000 flags=0x0000]
[ven dic  8 19:12:29 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbb86000 flags=0x0000]
[ven dic  8 19:12:29 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbb87000 flags=0x0000]
[ven dic  8 19:12:29 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbb40000 flags=0x0000]
[ven dic  8 19:12:29 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffbb8c000 flags=0x0000]
[ven dic  8 19:12:34 2023] amd_iommu_report_page_fault: 53737 callbacks suppressed
[ven dic  8 19:12:34 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb020000 flags=0x0000]
[ven dic  8 19:12:34 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb021000 flags=0x0000]
[ven dic  8 19:12:34 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb022000 flags=0x0000]
[ven dic  8 19:12:34 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb023000 flags=0x0000]
[ven dic  8 19:12:34 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb024000 flags=0x0000]
[ven dic  8 19:12:34 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb025000 flags=0x0000]
[ven dic  8 19:12:34 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb026000 flags=0x0000]
[ven dic  8 19:12:34 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb027000 flags=0x0000]
[ven dic  8 19:12:34 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb028000 flags=0x0000]
[ven dic  8 19:12:34 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffb044000 flags=0x0000]
[ven dic  8 19:12:39 2023] amd_iommu_report_page_fault: 53467 callbacks suppressed
[ven dic  8 19:12:39 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffadc0000 flags=0x0000]
[ven dic  8 19:12:39 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffadc1000 flags=0x0000]
[ven dic  8 19:12:39 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffadc2000 flags=0x0000]
[ven dic  8 19:12:39 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffadc3000 flags=0x0000]
[ven dic  8 19:12:39 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffadc4000 flags=0x0000]
[ven dic  8 19:12:39 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffadc5000 flags=0x0000]
[ven dic  8 19:12:39 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffadc6000 flags=0x0000]
[ven dic  8 19:12:39 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffadc7000 flags=0x0000]
[ven dic  8 19:12:39 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffadc8000 flags=0x0000]
[ven dic  8 19:12:39 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffadd4000 flags=0x0000]
[ven dic  8 19:12:44 2023] amd_iommu_report_page_fault: 60480 callbacks suppressed
[ven dic  8 19:12:44 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffba40000 flags=0x0000]
[ven dic  8 19:12:44 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffba41000 flags=0x0000]
[ven dic  8 19:12:44 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffba42000 flags=0x0000]
[ven dic  8 19:12:44 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffba43000 flags=0x0000]
[ven dic  8 19:12:44 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffba44000 flags=0x0000]
[ven dic  8 19:12:44 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffba45000 flags=0x0000]
[ven dic  8 19:12:44 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffba46000 flags=0x0000]
[ven dic  8 19:12:44 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffba47000 flags=0x0000]
[ven dic  8 19:12:44 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffba48000 flags=0x0000]
[ven dic  8 19:12:44 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffba54000 flags=0x0000]
[ven dic  8 19:12:49 2023] amd_iommu_report_page_fault: 66036 callbacks suppressed
[ven dic  8 19:12:49 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff800000 flags=0x0000]
[ven dic  8 19:12:49 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff801000 flags=0x0000]
[ven dic  8 19:12:49 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff802000 flags=0x0000]
[ven dic  8 19:12:49 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff803000 flags=0x0000]
[ven dic  8 19:12:49 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff804000 flags=0x0000]
[ven dic  8 19:12:49 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff805000 flags=0x0000]
[ven dic  8 19:12:49 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff806000 flags=0x0000]
[ven dic  8 19:12:49 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff807000 flags=0x0000]
[ven dic  8 19:12:49 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff808000 flags=0x0000]
[ven dic  8 19:12:49 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff814000 flags=0x0000]
[ven dic  8 19:12:55 2023] amd_iommu_report_page_fault: 65335 callbacks suppressed
[ven dic  8 19:12:55 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff6c0000 flags=0x0000]
[ven dic  8 19:12:55 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff6c1000 flags=0x0000]
[ven dic  8 19:12:55 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff6c2000 flags=0x0000]
[ven dic  8 19:12:55 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff6c3000 flags=0x0000]
[ven dic  8 19:12:55 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff6c4000 flags=0x0000]
[ven dic  8 19:12:55 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff6c5000 flags=0x0000]
[ven dic  8 19:12:55 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff6c6000 flags=0x0000]
[ven dic  8 19:12:55 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff6c7000 flags=0x0000]
[ven dic  8 19:12:55 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff6c8000 flags=0x0000]
[ven dic  8 19:12:55 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff6d4000 flags=0x0000]
[ven dic  8 19:13:00 2023] amd_iommu_report_page_fault: 64330 callbacks suppressed
[ven dic  8 19:13:00 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff240000 flags=0x0000]
[ven dic  8 19:13:00 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff241000 flags=0x0000]
[ven dic  8 19:13:00 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff242000 flags=0x0000]
[ven dic  8 19:13:00 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff243000 flags=0x0000]
[ven dic  8 19:13:00 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff244000 flags=0x0000]
[ven dic  8 19:13:00 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff245000 flags=0x0000]
[ven dic  8 19:13:00 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff246000 flags=0x0000]
[ven dic  8 19:13:00 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff247000 flags=0x0000]
[ven dic  8 19:13:00 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff248000 flags=0x0000]
[ven dic  8 19:13:00 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff254000 flags=0x0000]
[ven dic  8 19:13:05 2023] amd_iommu_report_page_fault: 67205 callbacks suppressed
[ven dic  8 19:13:05 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffef80000 flags=0x0000]
[ven dic  8 19:13:05 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffef81000 flags=0x0000]
[ven dic  8 19:13:05 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffef82000 flags=0x0000]
[ven dic  8 19:13:05 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffef83000 flags=0x0000]
[ven dic  8 19:13:05 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffef84000 flags=0x0000]
[ven dic  8 19:13:05 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffef85000 flags=0x0000]
[ven dic  8 19:13:05 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffef86000 flags=0x0000]
[ven dic  8 19:13:05 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffef87000 flags=0x0000]
[ven dic  8 19:13:05 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffef88000 flags=0x0000]
[ven dic  8 19:13:05 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffffef94000 flags=0x0000]
[ven dic  8 19:13:10 2023] amd_iommu_report_page_fault: 66144 callbacks suppressed
[ven dic  8 19:13:10 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff860000 flags=0x0000]
[ven dic  8 19:13:10 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff861000 flags=0x0000]
[ven dic  8 19:13:10 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff862000 flags=0x0000]
[ven dic  8 19:13:10 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff863000 flags=0x0000]
[ven dic  8 19:13:10 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff864000 flags=0x0000]
[ven dic  8 19:13:10 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff865000 flags=0x0000]
[ven dic  8 19:13:10 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff866000 flags=0x0000]
[ven dic  8 19:13:10 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff867000 flags=0x0000]
[ven dic  8 19:13:10 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff800000 flags=0x0000]
[ven dic  8 19:13:10 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff86c000 flags=0x0000]
[ven dic  8 19:13:15 2023] amd_iommu_report_page_fault: 65750 callbacks suppressed
[ven dic  8 19:13:15 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff5c0000 flags=0x0000]
[ven dic  8 19:13:15 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff5c1000 flags=0x0000]
[ven dic  8 19:13:15 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff5c2000 flags=0x0000]
[ven dic  8 19:13:15 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff5c3000 flags=0x0000]
[ven dic  8 19:13:15 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff5c4000 flags=0x0000]
[ven dic  8 19:13:15 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff5c5000 flags=0x0000]
[ven dic  8 19:13:15 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff5c6000 flags=0x0000]
[ven dic  8 19:13:15 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff5c7000 flags=0x0000]
[ven dic  8 19:13:15 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff5c8000 flags=0x0000]
[ven dic  8 19:13:15 2023] amdgpu 0000:c1:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xfffff5d4000 flags=0x0000]

The pc is responsive because everything works via ssh but to display anything it requires a hard reboot. Any idea? Is this a known bug in mesa? I’m using mesa 23.2.1 and 6.6.4 kernel

1 Like

Known issue;

Set UMA_GAME_OPTIMIZED in the BIOS for VRAM allocation (hoping Framework make this the default in next bios release).

and set

amdgpu.graphics_sg=0

as a kernel cli option.

4 Likes

What @jwp suggested, then make sure to update grub.

After some testing, your suggestions seem to be working. So this seems to be an amdgpu driver issue affecting APUs. Does disabling the scatter/gather display lead to performance issues?

Please note that it is called amdgpu.sg_display=0 rather than amdgpu.graphics_sg=0!

1 Like

It can, however, it depends on the workload. You’d have to test it against specific tasks to know for sure.

As the parameter has stopped the issue, I will mark this resolved for the forum. But it’s also worth filing a bug report.

1 Like

I have the same problem with the development version of KUbuntu 24.04, kernel 6.6.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC.

Until this is fixed in the BIOS (and, if necessary, all common kernel versions that have this problem), the workaround should be mentioned in the Framework Linux documentation

1 Like

Welp, we pulled this previously as it was no longer needed - I have personally never needed it. But, we can add it back under " Optional and only if needed" once again.

Most folks, historically have had success with UMA_GAME_OPTIMIZED in the BIOS for VRAM allocation in BIOS.

@Mario_Limonciello Question, where do we stand with amdgpu.graphics_sg=0, still a thing? We should be past this now (I’ve never needed it myself), or did we regress? Most folks I have worked with have had success with UMA_GAME_OPTIMIZED in the BIOS for VRAM allocation in BIOS.

On Ubuntu 22.04 LTS OEM D kernel and Fedora 39, not seeing this being needed.

I’ve never reproduced the issue that needs it. At least some people that say that they need it have said 6.8-rc6 fixes it. There are various MM changes in 6.8-rc6 that could have helped.

1 Like

Same boat I’m in. Thanks

This is very good to hear.

when kernel 6.8 is released, do we still need to set UMA_GAME_OPTIMIZED in the BIOS?

You can try without it and see if you have the same success as those reported not needing it anymore.

2 Likes