It is not recommended to use the .run installer. Please review the following topic: Nvidia Drivers on Rocky Linux
.run