I’m pretty sure that a current 460 driver doesn’t support 740M in Optimus mode.
All I get with different configurations and installations - is a black screen.
I tried a lot of options, installation from a run. file, creating config files as you advised (nvidia,conf and optimus.desktop)
I also tried to completely uninstall the driver and install it from rpmfusion (and other) repositories as you also recomended.
I also tried to use my old xorg.conf that had been working for me for years which sets nvidia as a primary GPU, or without xorg.conf at all.
No luck. Just a black screen or a total PC freeze.
I still think that 418.113 is the only working driver for 704M but it doesn’t build against a new kernel from centos 8 repo and it needs to be patched like is was done for 440 driver and kernel 5.5 for the same reason - fatal error: drm/drmP.h: No such file or directory
And yes - an official Nvidia web site’s driver download page stays the same - the latest Linux driver for 740M is 418.113 and NOT 460.current…
Dear developers, could you please fix the driver and let it continue do it’s job please, cause now I completely lost nvidia graphics support on my rig.