CS2 VK_ERROR_DEVICE_LOST help - fedora 42 , vega 8 , Mesa 25

Why did you need custom MESA?
That is a odd thing to do and likely to break things.

I run games using steam from rpmfusion and it just works.

Just to check the obvious
1 you login to your steam account in the steam client
2 you install cs2 using steam client
3 you start cs2 using steam client

Is that right?