i seen picture and i conformed issues happened in stream correct . other than stream applications your graphics card works good , you can do all works in other applications.
i never seen this problems in lmy life .today only i seen it .
try below these ideas
1. add the stream application in nvidia control panel
2. add all the stream application and stream related files like .dll to the exclusion lists of windows defender and to third party antivirus
3. allow the stream application in windows firewall and in third party firewall application
4. install latest nviida geforce driver DCH WHQL based version latest is 445.78,download from nvidia officail website.
5, uninstall the existing nvdiia graphics driver by using DDU software ,you must do this safemode . all nviida related drivers files must removed using DDU software
6. restart the windows , then install downloaded driver 445.78 make sure DCHbased. ( i ma using same driver on R542UQ-DM153 asus laptop)
Intel i5 7200U_ Nvidia 940MX _Windows_11_Enterprise_64bit_22H2_buildno_22621.754