Steam games not working

Steam launches fine but launching any game fails. I mean, I click on the Start button to play an installed game, but nothing happens although my system seems to think that the game has already started though I do not see anything. I am thinking it might be a GPU driver issue. I have a GeForce GTX 1050 Ti, so I executed:

sudo mhwd -a pci nonfree 0300

but got the errors below.

error: target not found: linux511-nvidia
error: target not found: linux513-nvidia
Error: pacman failed!
Error: script failed!

Any help would be appreciated. Thanks!

Both kernels are EOL. Switch to a supported kernel:

sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu 
sudo mhwd-kernel -i linux510

Then reboot into 5.10 (Press Esc during boot to get into grub menu and boot with 5.10)
Double check your running kernel is 5.10 then remove the unsupported/eol ones:

uname -r #to check current kernel
sudo mhwd-kernel -r linux513 linux511

Also see:


sudo pacman -S --needed nvidia-dkms nvidia-utils lib32-nvidia-utils vulkan-icd-loader lib32-vulkan-icd-loader libvdpau lib32-libvdpau opencl-nvidia lib32-opencl-nvidia libxnvctrl

You will be asked for linux-headers just install linux-headers for your kernel version.