NVIDIA driver installed but not recognizable on Ubuntu 5.17.3

Hello,
My GPU is RTX 3090.
I’ve upgraded ubuntu to 5.17.3 and nVidia driver stopped working. I purged and reinstalled driver but for some reason it is not being loaded. My problem is similar to this one NVIDIA driver installed but not recognizable on Ubuntu

I tried the solution mentioned in the above thread
grep nvidia /etc/modprobe.d/* /lib/modprobe.d/*
Note an entry with blacklist nvidiafb is good and actually needed.

I commented the blacklisted entry rebooted but problem doesn’t go away.
How to fix this issue?