HW support for monochrome mode encoding: 0 Here are the capabilities reported for a GTX 960: Capabilities for GUID 0:
Printf("\t%s: %d\n", desc.name, capabilityValue) Status=%d\n", nvStatus) Īssert(encodeGUIDArraySize NvEncGetEncodeCaps(encodeGUIDArray, &caps, &capabilityValue) NvStatus = pNvHWEncoder->NvEncGetEncodeGUIDs(encodeGUIDArray, encodeGUIDCount, &encodeGUIDArraySize) Memset(encodeGUIDArray, 0, sizeof(GUID)* encodeGUIDCount) Printf("Failed to get count of encode GUIDs. NVENCSTATUS nvStatus = pNvHWEncoder->NvEncGetEncodeGUIDCount(&encodeGUIDCount) Here’s a snippet to print the device capabilities - call this after m_pNvHWEncoder->Initialize: void PrintCapabilities(CNvHWEncoder * pNvHWEncoder)
#What causes blue screen windows 7 driver#
Sadly, the NVEncoder sample doesn’t check the device capabilities, and it appears that the driver doesn’t validate its inputs properly either. OK I think I found some kind of answer: The GTX 960 supports encoding at up to 4096x4096. NVEncoder output: Encoding input : "Test.yuv" NVEncoder command line: nvencoder -i Test.yuv -o Test.h265 -size 6144 1080 -codec 1 To reset the display driver and recover from a timeout failed.
The VIDEO_TDR_ ERROR bug check has a value of 0x00000116.
There doesn’t appear to be all that much about NVEnc in these forums. This is the first time I’ve tried using NVEnc, so I’m not sure where to look for a solution. The NVEncoder sample seems to run OK at HD resolution with H264 and HEVC codecs. At 7680x1080, the Timeout Detection & Recovery (TDR) fails and I get a blue screen. At 5120x10x1080, the display driver hangs and is re-started by Windows. I’m trying to get the NVEnc SDK “NVEncoder” sample to run, and I find it causes display driver failures and a blue screen when using the HEVC codec with image widths greater than 4096.