cancel
Showing results for 
Search instead for 
Did you mean: 

Graphics Cards

firemind
Journeyman III

Games crashing: "present flip failed" and other errors.


Hi,
I have been having the odd crash with my amdgpu while playing games in Lutris. Here is my system info:
---------------------------------------
System76 Thelio Mira
AMD® Ryzen 7 7700x 8-core processor × 16
Memory: 32.0 GiB
AMD® Radeon rx 6600 - OEM
Disk capacity: 2.3 TB
Pop!_OS 22.04 LTS
74 bit
Kernel: 6.5.6-76060506-generic
---------------------------------------
Last December I got a new computer and the graphics in games like Elder Scrolls online and City Of heroes were great. There was with my OS that a kernel upgrade fixed but the upgrade gave the older COH game graphical errors and artifacts. ESO was uneffected.

About 2 months ago I noticed errors that spammed my linux logs (like these examples):

Dec 10 14:37:00 pop-os /usr/libexec/gdm-x-session[1810]: (EE) AMDGPU(0): present flip failed
Dec 10 14:37:00 pop-os /usr/libexec/gdm-x-session[1810]: (WW) AMDGPU(0): Page flip failed: Invalid argument
Dec 10 14:37:00 pop-os /usr/libexec/gdm-x-session[1810]: (WW) AMDGPU(0): flip queue failed: Invalid argument

Other than the spam I didn't notice a problem when playing games. I reloaded COH a few weeks ago and it ran fine with no graphical problems but crashed to desktop after an hour. The flip messages were in glaring red type. I switched to ESO and got in an intense battle and the game froze and I was booted to login screen. I got back to my desktop and checked logs and shut down my system completely and the turned it on. The second crash may have been due to kernel panic at not having rebooted.

I played ESO quite a bit since and I have gotten the spam but no crashes. Today, I had no problems with the gpu and went to play COH with friends and crashed to desktop as soon as I selected a character and tried to enter the game. The above errors were noted as well as:
---------------
Dec 10 14:37:01 pop-os net.lutris.Lutris.desktop[15200]: 2023-12-10 14:37:01,522: Stopping City of Heroes (wine)
Dec 10 14:37:01 pop-os net.lutris.Lutris.desktop[15200]: 2023-12-10 14:37:01,521: Game still running (state: running)
Dec 10 14:37:00 pop-os net.lutris.Lutris.desktop[15200]: Exit with return code 0
Dec 10 14:37:00 pop-os net.lutris.Lutris.desktop[15200]: Monitored process exited.
Dec 10 14:37:00 pop-os kernel: [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -22
Dec 10 14:37:00 pop-os /usr/libexec/gdm-x-session[1810]: (EE) AMDGPU(0): present flip failed
Dec 10 14:37:00 pop-os /usr/libexec/gdm-x-session[1810]: (WW) AMDGPU(0): Page flip failed: Invalid argument
Dec 10 14:37:00 pop-os /usr/libexec/gdm-x-session[1810]: (WW) AMDGPU(0): flip queue failed: Invalid argument
Dec 10 14:37:00 pop-os net.lutris.Lutris.desktop[15200]: amdgpu: The process will be terminated.
Dec 10 14:37:00 pop-os net.lutris.Lutris.desktop[15200]: amdgpu: The CS has been rejected (-125), but the context isn't robust.
Dec 10 14:37:00 pop-os net.lutris.Lutris.desktop[15200]: amdgpu: The CS has been rejected (-125). Recreate the context.
Dec 10 14:37:00 pop-os net.lutris.Lutris.desktop[15200]: amdgpu: The CS has been rejected (-125). Recreate the context.
Dec 10 14:37:00 pop-os net.lutris.Lutris.desktop[15200]: amdgpu: amdgpu_cs_query_fence_status failed.
Dec 10 14:37:00 pop-os kernel: [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
------
This is frustrating and any help you can give is appreciated.
Thx,fm

0 Likes
0 Replies