Record the warning
Save the exact wording and note whether it came from CS2, Steam or your graphics utility. Open Device Manager and expand Display adapters. Open the adapter's properties and check its installed version on the Driver tab.
Update the right adapter
Use Windows Update or an official package for your model and Windows version. On a laptop with two adapters, check the laptop manufacturer's recommendations. Restart after installing the update and confirm the driver version in Device Manager.
Repeat the test
Launch CS2 and repeat the action that triggered the warning. If it returns, save a screenshot and the versions for both adapters. If the update introduces a new problem, check whether Roll Back Driver is available on the Driver tab.