From what I can tell, it doesn't load up x org server when i switch to nvidia, also games (in this case "payday 2") don't launch in hybrid mode
Distro: Fedora 36
kernel version and type: 5.18.9-200.fc36.x86_64
nvidia graphics card: geforce 940mx
nvidia driver version: 515.57
intel integrated graphics: Intel HD Graphics 620
EnvyControl version: 2.1.1
If i need to include more information here, please tell me.
Edit: so i just ran nvidia-xconfig and i got these errors
WARNING: Unable to locate/open X configuration file.
WARNING: Unable to parse X.Org version string.
ERROR: Unable to find any GPUs in the system.
ERROR: Unable to write to directory '/etc/X11'.