Using oCam at work or school? A license is required, and it removes all ads, including this window. See the paid version →
In Java-based applications that use CUDA, including oCam, problems may occur when certain NVIDIA drivers are installed. In particular, if NVIDIA driver version 378.49 (or some other versions) is installed, a bug may occur where the app crashes with the error "Stack cookie instrumentation code detected a stack-based buffer overrun" when calling the CUDA initialization function `cuInit`.
This issue is not a bug in oCam itself, but a problem with the NVIDIA driver that affects all applications that use CUDA. Therefore, the same error may occur not only in oCam but also in other CUDA-based Java applications.
To resolve this issue, you need to update the NVIDIA driver to the latest version, 378.66 or later. Follow the steps below to update the driver:
1. Go to the official NVIDIA website (geforce.com/drivers).
2. Select your graphics card model and operating system, then search for the latest driver (version 378.66 or later).
3. Run the downloaded driver installer and proceed with the installation.
4. After the installation is complete, restart your computer and run oCam or another CUDA-based application to check whether the issue has been resolved.
Updating the driver to version 378.66 or later will resolve the CUDA initialization crash issue and allow you to use oCam and other related applications normally. If the problem continues even after installing the latest driver, contact NVIDIA Support or check for the latest version of oCam.
* Game recording supports DirectX 8 through DirectX 12 and OpenGL.
Click the Game Recording tab at the top.
Once clicked, it will switch to the Game Recording tab as shown below, and the resize button will disappear.
Now move to the running game window, and you will see a yellow FPS counter appear at the top left of the game screen, as shown below.

Now press the recording hotkey F2 ( you can change it in Settings. )
Then the FPS counter will turn red as shown below, indicating that recording is in progress.

To stop recording, press the recording hotkey F2 again.
Please note that game recording does not work with all games.
If a game that used to work no longer records properly, it is likely being blocked by the game security solution used by the game company. In that case, it is recommended to ask the game company to add an exception so recording with oCam is allowed.