amdgpu: The CS has been rejected (-2)
Jean-François Boyer <[email protected]> Thu, 29 May 2025 14:48:53 -0400
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <CAPh=SvDctdnbdT1DPQrJqyzBz3nsSthxF-S3QMQb3W48usNRMA@mail.gmail.com> |
--00000000000082f46606364ac76c Content-Type: text/plain; charset="UTF-8" I have a setup with linux kernel 6.12 mesa3d 24.0.9 llvm 15.0.3 running on a AMD board OpenGL Vendor: AMD OpenGL Renderer: AMD Ryzen Embedded V1807B with Radeon Vega Gfx (radeonsi, raven, LLVM 15.0.3, DRM 3.61, 6.12.19) OpenGL Version: 4.6 (Core Profile) Mesa 24.0.9 I am having issues when running a game. I got this error amdgpu: The CS has been rejected (-2) in dmesg and the game stopped. The graphical stack seems to be working fine since I am able to run glmark2 without issue. I strace the game and found this iotctl call crashing `3185 ioctl(58, DRM_IOCTL_AMDGPU_CS, 0x7f0767af7ae0) = -1 ENOENT (No such file or directory)` `3185 write(2, "amdgpu: The CS has been rejected (-2).\n", 39) = 39` any help or fix would be appreciated thank you Jee --00000000000082f46606364ac76c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"markdown-here-wrapper" style=3D""><p style= =3D"margin:0px 0px 1.2em!important">I have a setup with <code style=3D"font= -size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px = 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,= 234);background-color:rgb(248,248,248);border-radius:3px;display:inline">li= nux kernel 6.12 mesa3d 24.0.9 llvm 15.0.3</code> running on a AMD board<br>= OpenGL Vendor: AMD<br>OpenGL Renderer: AMD Ryzen Embedded V1807B with Radeo= n Vega Gfx (radeonsi, raven, LLVM 15.0.3, DRM 3.61, 6.12.19)<br>OpenGL Vers= ion: 4.6 (Core Profile) Mesa 24.0.9</p><p style=3D"margin:0px 0px 1.2em!imp= ortant">I am having issues when running a game. I got this error=C2=A0amdgp= u: The CS has been rejected (-2) in dmesg and the game stopped.=C2=A0<br><b= r>The graphical stack seems to be working fine since I am able to run glmar= k2 without issue.=C2=A0<br><br>I strace the game and=C2=A0 found this iotct= l=C2=A0call crashing</p><p style=3D"margin:0px 0px 1.2em!important">`3185= =C2=A0 ioctl(58, DRM_IOCTL_AMDGPU_CS, 0x7f0767af7ae0) =3D -1 ENOENT (No suc= h file or directory)`<br>`3185=C2=A0 write(2, "amdgpu: The CS has been= rejected (-2).\n", 39) =3D 39`<br><br>any help or fix would=C2=A0be a= ppreciated</p><p style=3D"margin:0px 0px 1.2em!important">thank you<br>Jee<= /p> <div title=3D"MDH:PGRpdiBkaXI9Imx0ciI+PGRpdiBkaXI9Imx0ciI+SSBoYXZlIGEgc2V0d= XAgd2l0aCBgbGludXgg a2VybmVsIDYuMTIgbWVzYTNkIDI0LjAuOSBsbHZtIDE1LjAuM2AgcnVubmluZyBvbiBhIEFNRCZ= u YnNwOzxicj5gPC9kaXY+CjwvZGl2Pgo=3D" style=3D"height:0;width:0;max-height:0;= max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0"></div></div><= /div> --00000000000082f46606364ac76c--