I downloaded PCSX2 from the AUR. It is the not the git package. Whenever I play games using it, after sometime the desktop times out and locks itself out. I am not sure how to fix this. If you know how to do it, it is appreciated.
Here are the relevant logs that I think can help the people who want to take a look at it:
Hardware information : https://0x0.st/8xoo.txt.
Kernel ring buffer infromation : https://0x0.st/8xo8.txt.
X.org logs : https://0x0.st/8xoX.txt.
Lightdm logs : https://0x0.st/8xoZ.txt.