So the problem my games freezes mid games. The whole display freezes , I can’t tab or anything . discord does’t works either but spotify does cause I can still listen to songs. No problem in FPS drops or anything , the game works smoothly except the random freezes and my only choice is to hard reset.
I am using Manjaro i3 edition.
OS: Manjaro Linux x86_64 Host: GL553VE 1.0 Kernel: 5.15.28-1-MANJARO Uptime: 24 mins Packages: 1301 (pacman) Shell: bash 5.1.16 Resolution: 2560x1440 WM: i3 Theme: Sweet-Dark-v40 [GTK2/3] Icons: candy-icons [GTK2/3] Terminal: terminator CPU: Intel i7-7700HQ (8) @ 3.800GHz GPU: Intel HD Graphics 630 GPU: NVIDIA GeForce GTX 1050 Ti Mobile Memory: 4285MiB / 15886MiB
inxi -G output
Graphics: Device-1: Intel HD Graphics 630 driver: i915 v: kernel Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: nvidia v: 510.54 Device-3: Realtek USB2.0 HD UVC WebCam type: USB driver: uvcvideo Display: x11 server: X.Org v: 18.104.22.168 driver: X: loaded: modesetting,nvidia unloaded: nouveau gpu: i915 resolution: 2560x1440~60Hz OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 21.3.7
I read somewhere that nvidia drivers should be used the same as the kernel i.e I should use the Nvidia-515 drivers.
If the downgraded drivers is the problem my game freezes , then shall I upgrade it and if yes then how should I do it safely without breaking anything.
I already have the drivers donwloaded :
pacman -Sqe | grep 'nvidia’
lib32-nvidia-utils linux510-nvidia linux515-nvidia nvidia-prime nvidia-utils
Any help / suggestion would be great and I will provide any further info if required.
PS : I use a 2K display external monitor and use these commands everytime I boot:
xrandr --output HDMI-1 --primary #To set my monitor as primary display
xrandr --output eDP-1 --off #To switch off my laptop display (I keep the lid down)
xrandr -s 2560x1440 #To set the monitor resolution (At first it automatically detected and set the resolution but past few a days I have to do it manually so I set an alias)
Update : Now the game freezes after like 2-3 minutes of launch , not even playable.
Update 2 : If I didn’t use the xrandr commands , the game ran for 30 minutes without any problem.