Enable PCI Gen 3

Hi, for 3 years I have been using Linux on my HP z620 with 2x e52690 chips… and NVIDA graphics… Sometimes a GTX 1050ti or a rtx 2080… It crashes regularly and i have to reinstall linux. Now I happen to be on Fedora 31

5.6.13-200.fc31.x86_64

and I can’t seem to activate PCI gen 3 for my two pci slots that are cpapble… I even went into bios and activated it that way disableing turbo boost, but I had another way too that worked where I didn’t have to do that that involved this:

Edit /etc/modprobe.d/local.conf or create a new file like /etc/modprobe.d/nvidia.conf

and add this:

  1. options nvidia NVreg_EnablePCIeGen3=1

It doesn’t work anymore stuck in GEN 2.