Re: The CS has been rejected (-2)

2025-06-02 Thread Erik Faye-Lund
That's not a valid link...

On Mon, 2025-06-02 at 09:20 -0400, Jean-François Boyer wrote:
> I have already fill a Mesa issue 
> 
> https://gitlab.freedesktop.org/mesa/mesa/-/issues/?show=eyJpaWQiOiIxMzI3MyIsImZ1bGxfcGF0aCI6Im1lc2EvbWVzYSIsImlkIjoxMzM1NjV9
> 
> thank you for your help
> 
> On Mon, Jun 2, 2025 at 3:01 AM Samuel Pitoiset 
> wrote:
> >  
> >  
> > Can you fill a Mesa issue here
> > https://gitlab.freedesktop.org/mesa/mesa/-/issues/ please?
> >  
> > On 5/29/25 8:51 PM, Jean-François Boyer wrote:
> >  
> >  
> > >  
> > >  
> > > 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`
> > >  
> > >  This same game was working properly with kernel 5.10 and mesa3d
> > > 21.1.1
> > >  
> > > any help or fix would be appreciated
> > >  
> > > thank you
> > >  Jee
> > >  
> > >  
> >  


Re: The CS has been rejected (-2)

2025-06-02 Thread Jean-François Boyer
Sorry for that, here the proper link

https://gitlab.freedesktop.org/mesa/mesa/-/issues/13273

the reference is mesa/mesa#13273

On Mon, Jun 2, 2025 at 10:15 AM Erik Faye-Lund 
wrote:

> That's not a valid link...
>
> On Mon, 2025-06-02 at 09:20 -0400, Jean-François Boyer wrote:
> > I have already fill a Mesa issue
> >
> >
> https://gitlab.freedesktop.org/mesa/mesa/-/issues/?show=eyJpaWQiOiIxMzI3MyIsImZ1bGxfcGF0aCI6Im1lc2EvbWVzYSIsImlkIjoxMzM1NjV9
> >
> > thank you for your help
> >
> > On Mon, Jun 2, 2025 at 3:01 AM Samuel Pitoiset 
> > wrote:
> > >
> > >
> > > Can you fill a Mesa issue here
> > > https://gitlab.freedesktop.org/mesa/mesa/-/issues/ please?
> > >
> > > On 5/29/25 8:51 PM, Jean-François Boyer wrote:
> > >
> > >
> > > >
> > > >
> > > > 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`
> > > >
> > > >  This same game was working properly with kernel 5.10 and mesa3d
> > > > 21.1.1
> > > >
> > > > any help or fix would be appreciated
> > > >
> > > > thank you
> > > >  Jee
> > > >
> > > >
> > >
>


Re: The CS has been rejected (-2)

2025-06-02 Thread Jean-François Boyer
I have already fill a Mesa issue

https://gitlab.freedesktop.org/mesa/mesa/-/issues/?show=eyJpaWQiOiIxMzI3MyIsImZ1bGxfcGF0aCI6Im1lc2EvbWVzYSIsImlkIjoxMzM1NjV9

thank you for your help

On Mon, Jun 2, 2025 at 3:01 AM Samuel Pitoiset  wrote:

> Can you fill a Mesa issue here
> https://gitlab.freedesktop.org/mesa/mesa/-/issues/ please?
> On 5/29/25 8:51 PM, Jean-François Boyer wrote:
>
> 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`
>
> This same game was working properly with kernel 5.10 and mesa3d 21.1.1
>
> any help or fix would be appreciated
>
> thank you
> Jee
>
>


Re: The CS has been rejected (-2)

2025-06-02 Thread Samuel Pitoiset
Can you fill a Mesa issue here 
https://gitlab.freedesktop.org/mesa/mesa/-/issues/ please?


On 5/29/25 8:51 PM, Jean-François Boyer wrote:


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`

This same game was working properly with kernel 5.10 and mesa3d 21.1.1

any help or fix would be appreciated

thank you
Jee