Using BOOST_LOG to print Chinese characters will cause the program to crash. When min_log_level=0 is set in the configuration file, starting sunshine will terminate and the error stack trace is as follows:
terminate called after throwing an instance of 'boost::wrapexcept<boost::exception_detail::error_info_injector<boost::log::v2s_mt_nt6::conversion_error> >'
what(): Could not convert character encoding
I found that the crash occurred in the code_convert() method through breakpoints, as shown in the following image.


The str1 variable containing Chinese characters.
D:\Developer\Code\Sunshine\cmake-build-debug\sunshine.exe
[min_log_level] -- [0]
[2023:07:29:15:09:11]: Info: nvprefs: No need to modify application profile settings
[2023:07:29:15:09:11]: Error: nvprefs: NvAPI error: NVAPI_INVALID_USER_PRIVILEGE
[2023:07:29:15:09:11]: Error: nvprefs: NvAPI_DRS_SetSetting() OGL_CPL_PREFER_DXPRESENT failed
[2023:07:29:15:09:11]: Error: nvprefs: Couldn't modify global profile settings
[2023:07:29:15:09:12]: Info: Sunshine version: 0.20.0.4b986b2
[2023:07:29:15:09:12]: Info: Compiling shaders...
[2023:07:29:15:09:12]: Info: System tray created
[2023:07:29:15:09:12]: Debug: System tray loop
[2023:07:29:15:09:12]: Info: Compiled shaders
[2023:07:29:15:09:12]: Debug: Stereo: supported
[2023:07:29:15:09:12]: Debug: Surround 5.1: supported
[2023:07:29:15:09:12]: Debug: Surround 7.1: supported
[2023:07:29:15:09:12]: Debug: Stereo: supported
[2023:07:29:15:09:12]: Debug: Surround 5.1: supported
[2023:07:29:15:09:12]: Debug: Surround 7.1: supported
[2023:07:29:15:09:12]: Debug: Stereo: supported
[2023:07:29:15:09:12]: Debug: Surround 5.1: supported
[2023:07:29:15:09:12]: Debug: Surround 7.1: supported
[2023:07:29:15:09:12]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2023:07:29:15:09:12]: Info: Trying encoder [nvenc]
[2023:07:29:15:09:12]: Error: Failed to start ddprobe.exe: CreateProcess failed: ϵͳ�Ҳ���ָ�����ļ���
[2023:07:29:15:09:12]: Warning: Failed to set GPU preference. Capture may not work!
[2023:07:29:15:09:13]: Info:
Device Description : NVIDIA GeForce RTX 3060 Laptop GPU
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002560
Device Video Mem : 6023 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 7867 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2023:07:29:15:09:13]: Info: Desktop resolution [2560x1440]
[2023:07:29:15:09:13]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:07:29:15:09:13]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2023:07:29:15:09:13]: Info: SDR color coding [Rec. 601]
[2023:07:29:15:09:13]: Info: Color range: [JPEG]
[h264_nvenc @ 00000000029fd6c0] Loaded lib: nvcuda.dll
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuInit
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuDeviceGetCount
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuDeviceGet
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuDeviceGetAttribute
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuDeviceGetName
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuDeviceComputeCapability
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuCtxCreate_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuCtxSetLimit
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuCtxPushCurrent_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuCtxPopCurrent_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuCtxDestroy_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemAlloc_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemAllocPitch_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemAllocManaged
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemsetD8Async
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemFree_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemcpy
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemcpyAsync
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemcpy2D_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemcpy2DAsync_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemcpyHtoD_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemcpyHtoDAsync_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemcpyDtoH_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemcpyDtoHAsync_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemcpyDtoD_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMemcpyDtoDAsync_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuGetErrorName
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuGetErrorString
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuCtxGetDevice
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuDevicePrimaryCtxRetain
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuDevicePrimaryCtxRelease
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuDevicePrimaryCtxSetFlags
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuDevicePrimaryCtxGetState
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuDevicePrimaryCtxReset
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuStreamCreate
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuStreamQuery
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuStreamSynchronize
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuStreamDestroy_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuStreamAddCallback
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuEventCreate
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuEventDestroy_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuEventSynchronize
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuEventQuery
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuEventRecord
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuLaunchKernel
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuLinkCreate
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuLinkAddData
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuLinkComplete
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuLinkDestroy
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuModuleLoadData
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuModuleUnload
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuModuleGetFunction
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuModuleGetGlobal
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuTexObjectCreate
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuTexObjectDestroy
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuGLGetDevices_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuGraphicsGLRegisterImage
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuGraphicsUnregisterResource
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuGraphicsMapResources
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuGraphicsUnmapResources
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuGraphicsSubResourceGetMappedArray
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuGraphicsResourceGetMappedPointer_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuDeviceGetUuid
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuImportExternalMemory
[h264_nvenc @ 00000000029fd6c0] Loaded sy[2023:07:29:15:09:13]: Error: Failed to start ddprobe.exe: CreateProcess failed: ϵͳ�Ҳ���ָ�����ļ���
[2023:07:29:15:09:13]: Warning: Failed to set GPU preference. Capture may not work!
[2023:07:29:15:09:14]: Info:
Device Description : NVIDIA GeForce RTX 3060 Laptop GPU
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002560
Device Video Mem : 6023 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 7867 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2023:07:29:15:09:14]: Info: Desktop resolution [2560x1440]
[2023:07:29:15:09:14]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:07:29:15:09:14]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2023:07:29:15:09:14]: Info: SDR color coding [Rec. 601]
[2023:07:29:15:09:14]: Info: Color range: [JPEG]
m: cuDestroyExternalMemory
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuExternalMemoryGetMappedBuffer
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuExternalMemoryGetMappedMipmappedArray
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMipmappedArrayGetLevel
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuMipmappedArrayDestroy
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuImportExternalSemaphore
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuDestroyExternalSemaphore
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuSignalExternalSemaphoresAsync
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuWaitExternalSemaphoresAsync
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuArrayCreate_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuArray3DCreate_v2
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuArrayDestroy
[h264_nvenc @ 00000000029fd6c0] Cannot load optional cuEGLStreamProducerConnect
[h264_nvenc @ 00000000029fd6c0] Cannot load optional cuEGLStreamProducerDisconnect
[h264_nvenc @ 00000000029fd6c0] Cannot load optional cuEGLStreamConsumerDisconnect
[h264_nvenc @ 00000000029fd6c0] Cannot load optional cuEGLStreamProducerPresentFrame
[h264_nvenc @ 00000000029fd6c0] Cannot load optional cuEGLStreamProducerReturnFrame
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuD3D11GetDevice
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuD3D11GetDevices
[h264_nvenc @ 00000000029fd6c0] Loaded sym: cuGraphicsD3D11RegisterResource
[h264_nvenc @ 00000000029fd6c0] Loaded lib: nvEncodeAPI64.dll
[h264_nvenc @ 00000000029fd6c0] Loaded sym: NvEncodeAPICreateInstance
[h264_nvenc @ 00000000029fd6c0] Loaded sym: NvEncodeAPIGetMaxSupportedVersion
[h264_nvenc @ 00000000029fd6c0] Loaded Nvenc version 11.1
[h264_nvenc @ 00000000029fd6c0] Nvenc initialized successfully
nal_unit_type: 7(SPS), nal_ref_idc: 3
nal_unit_type: 8(PPS), nal_ref_idc: 3
nal_unit_type: 6(SEI), nal_ref_idc: 0
nal_unit_type: 6(SEI), nal_ref_idc: 0
nal_unit_type: 5(IDR), nal_ref_idc: 3
nal_unit_type: 12(Filler data), nal_ref_idc: 0
[h264_nvenc @ 00000000029fd6c0] Nvenc unloaded
[hevc_nvenc @ 00000000029fd140] Loaded lib: nvcuda.dll
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuInit
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuDeviceGetCount
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuDeviceGet
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuDeviceGetAttribute
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuDeviceGetName
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuDeviceComputeCapability
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuCtxCreate_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuCtxSetLimit
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuCtxPushCurrent_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuCtxPopCurrent_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuCtxDestroy_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemAlloc_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemAllocPitch_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemAllocManaged
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemsetD8Async
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemFree_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemcpy
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemcpyAsync
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemcpy2D_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemcpy2DAsync_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemcpyHtoD_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemcpyHtoDAsync_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemcpyDtoH_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemcpyDtoHAsync_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemcpyDtoD_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMemcpyDtoDAsync_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuGetErrorName
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuGetErrorString
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuCtxGetDevice
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuDevicePrimaryCtxRetain
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuDevicePrimaryCtxRelease
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuDevicePrimaryCtxSetFlags
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuDevicePrimaryCtxGetState
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuDevicePrimaryCtxReset
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuStreamCreate
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuStreamQuery
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuStreamSynchronize
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuStreamDestroy_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuStreamAddCallback
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuEventCreate
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuEventDestroy_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuEventSynchronize
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuEventQuery
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuEventRecord
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuLaunchKernel
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuLinkCreate
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuLinkAddData
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuLinkComplete
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuLinkDestroy
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuModuleLoadData
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuModuleUnload
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuModuleGetFunction
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuModuleGetGlobal
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuTexObjectCreate
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuTexObjectDestroy
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuGLGetDevices_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuGraphicsGLRegisterImage
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuGraphicsUnregisterResource
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuGraphicsMapResources
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuGraphicsUnmapResources
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuGraphicsSubResourceGetMappedArray
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuGraphicsResourceGetMappedPointer_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuDeviceGetUuid
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuImportExternalMemory
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuDestroyExternalMemory
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuExternalMemoryGetMappedBuffer
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuExternalMemoryGetMappedMipmappedArray
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMipmappedArrayGetLevel
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuMipmappedArrayDestroy
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuImportExternalSemaphore
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuDestroyExternalSemaphore
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuSignalExternalSemaphoresAsync
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuWaitExternalSemaphoresAsync
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuArrayCreate_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuArray3DCreate_v2
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuArrayDestroy
[hevc_nvenc @ 00000000029fd140] Cannot load optional cuEGLStreamProducerConnect
[hevc_nvenc @ 00000000029fd140] Cannot load optional cuEGLStreamProducerDisconnect
[hevc_nvenc @ 00000000029fd140] Cannot load optional cuEGLStreamConsumerDisconnect
[hevc_nvenc @ 00000000029fd140] Cannot load optional cuEGLStreamProducerPresentFrame
[hevc_nvenc @ 00000000029fd140] Cannot load optional cuEGLStreamProducerReturnFrame
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuD3D11GetDevice
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuD3D11GetDevices
[hevc_nvenc @ 00000000029fd140] Loaded sym: cuGraphicsD3D11RegisterResource
[hevc_nvenc @ 00000000029fd140] Loaded lib: nvEncodeAPI64.dll
[hevc_nvenc @ 00000000029fd140] Loaded sym: NvEncodeAPICreateInstance
[hevc_nvenc @ 00000000029fd140] Loaded sym: NvEncodeAPIGetMaxSupportedVersion
[hevc_nvenc @ 00000000029fd140] Loaded Nvenc version 11.1
[hevc_nvenc @ 00000000029fd140] Nvenc initialized successfully
nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 19(IDR_W_RADL), n[2023:07:29:15:09:14]: Error: Failed to start ddprobe.exe: CreateProcess failed: ϵͳ�Ҳ���ָ�����ļ���
[2023:07:29:15:09:14]: Warning: Failed to set GPU preference. Capture may not work!
[2023:07:29:15:09:15]: Info:
Device Description : NVIDIA GeForce RTX 3060 Laptop GPU
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002560
Device Video Mem : 6023 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 7867 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2023:07:29:15:09:15]: Info: Desktop resolution [2560x1440]
[2023:07:29:15:09:15]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:07:29:15:09:15]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2023:07:29:15:09:15]: Info: SDR color coding [Rec. 709]
[2023:07:29:15:09:15]: Info: Color range: [JPEG]
uh_layer_id: 0, temporal_id: 0
[hevc_nvenc @ 00000000029fd140] Nvenc unloaded
[hevc_nvenc @ 00000000029fd000] Loaded lib: nvcuda.dll
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuInit
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuDeviceGetCount
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuDeviceGet
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuDeviceGetAttribute
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuDeviceGetName
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuDeviceComputeCapability
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuCtxCreate_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuCtxSetLimit
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuCtxPushCurrent_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuCtxPopCurrent_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuCtxDestroy_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemAlloc_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemAllocPitch_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemAllocManaged
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemsetD8Async
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemFree_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemcpy
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemcpyAsync
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemcpy2D_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemcpy2DAsync_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemcpyHtoD_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemcpyHtoDAsync_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemcpyDtoH_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemcpyDtoHAsync_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemcpyDtoD_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMemcpyDtoDAsync_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuGetErrorName
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuGetErrorString
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuCtxGetDevice
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuDevicePrimaryCtxRetain
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuDevicePrimaryCtxRelease
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuDevicePrimaryCtxSetFlags
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuDevicePrimaryCtxGetState
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuDevicePrimaryCtxReset
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuStreamCreate
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuStreamQuery
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuStreamSynchronize
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuStreamDestroy_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuStreamAddCallback
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuEventCreate
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuEventDestroy_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuEventSynchronize
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuEventQuery
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuEventRecord
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuLaunchKernel
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuLinkCreate
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuLinkAddData
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuLinkComplete
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuLinkDestroy
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuModuleLoadData
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuModuleUnload
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuModuleGetFunction
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuModuleGetGlobal
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuTexObjectCreate
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuTexObjectDestroy
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuGLGetDevices_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuGraphicsGLRegisterImage
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuGraphicsUnregisterResource
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuGraphicsMapResources
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuGraphicsUnmapResources
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuGraphicsSubResourceGetMappedArray
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuGraphicsResourceGetMappedPointer_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuDeviceGetUuid
[hevc_nvenc @ 00000000029fd000[2023:07:29:15:09:15]: Info:
[2023:07:29:15:09:15]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2023:07:29:15:09:15]: Info:
[2023:07:29:15:09:15]: Debug: ------ h264 ------
[2023:07:29:15:09:15]: Debug: PASSED: supported
[2023:07:29:15:09:15]: Debug: REF_FRAMES_RESTRICT: supported
[2023:07:29:15:09:15]: Debug: CBR: supported
[2023:07:29:15:09:15]: Debug: DYNAMIC_RANGE: unsupported
[2023:07:29:15:09:15]: Debug: VUI_PARAMETERS: supported
[2023:07:29:15:09:15]: Debug: -------------------
[2023:07:29:15:09:15]: Debug: ------ hevc ------
[2023:07:29:15:09:15]: Debug: PASSED: supported
[2023:07:29:15:09:15]: Debug: REF_FRAMES_RESTRICT: supported
[2023:07:29:15:09:15]: Debug: CBR: supported
[2023:07:29:15:09:15]: Debug: DYNAMIC_RANGE: supported
[2023:07:29:15:09:15]: Debug: VUI_PARAMETERS: supported
[2023:07:29:15:09:15]: Debug: -------------------
[2023:07:29:15:09:15]: Info: Found encoder nvenc: [h264_nvenc, hevc_nvenc]
[2023:07:29:15:09:15]: Info: Configuration UI available at [https://localhost:47990]
[2023:07:29:15:09:16]: Info: Registered Sunshine mDNS service
[2023:07:29:15:09:19]: Debug: TUNNEL :: NONE
[2023:07:29:15:09:19]: Debug: METHOD :: GET
[2023:07:29:15:09:19]: Debug: DESTINATION :: /serverinfo
[2023:07:29:15:09:19]: Debug: User-Agent -- okhttp/3.12.13
[2023:07:29:15:09:19]: Debug: Accept-Encoding -- gzip
[2023:07:29:15:09:19]: Debug: Connection -- Keep-Alive
[2023:07:29:15:09:19]: Debug: Host -- 192.168.1.6:47989
[2023:07:29:15:09:19]: Debug: [--]
[2023:07:29:15:09:19]: Debug: uuid -- 72757f45-8e4f-4a60-b064-7b8962cbeec7
[2023:07:29:15:09:19]: Debug: uniqueid -- 0123456789ABCDEF
[2023:07:29:15:09:19]: Debug: [--]
[2023:07:29:15:09:19]: Debug: TUNNEL :: NONE
[2023:07:29:15:09:19]: Debug: METHOD :: GET
[2023:07:29:15:09:19]: Debug: DESTINATION :: /serverinfo
[2023:07:29:15:09:19]: Debug: User-Agent -- okhttp/3.12.13
[2023:07:29:15:09:19]: Debug: Accept-Encoding -- gzip
[2023:07:29:15:09:19]: Debug: Connection -- Keep-Alive
[2023:07:29:15:09:19]: Debug: Host -- 192.168.1.6:47989
[2023:07:29:15:09:19]: Debug: [--]
[2023:07:29:15:09:19]: Debug: uuid -- aa03d86f-fe40-4f05-bf69-1117a0c14f44
[2023:07:29:15:09:19]: Debug: uniqueid -- 0123456789ABCDEF
[2023:07:29:15:09:19]: Debug: [--]
[2023:07:29:15:09:19]: Debug: TUNNEL :: NONE
[2023:07:29:15:09:19]: Debug: METHOD :: GET
[2023:07:29:15:09:19]: Debug: DESTINATION :: /serverinfo
[2023:07:29:15:09:19]: Debug: User-Agent -- okhttp/3.12.13
[2023:07:29:15:09:19]: Debug: Accept-Encoding -- gzip
[2023:07:29:15:09:19]: Debug: Connection -- Keep-Alive
[2023:07:29:15:09:19]: Debug: Host -- [2408:820c:d2c:a940:9368:764c:835b:540e]:47989
[2023:07:29:15:09:19]: Debug: [--]
[2023:07:29:15:09:19]: Debug: uuid -- 55bd12a8-5bcc-49a7-b615-ac8788c66fa2
[2023:07:29:15:09:19]: Debug: uniqueid -- 0123456789ABCDEF
[2023:07:29:15:09:19]: Debug: [--]
[2023:07:29:15:09:19]: Debug: TUNNEL :: NONE
[2023:07:29:15:09:19]: Debug: METHOD :: GET
[2023:07:29:15:09:19]: Debug: DESTINATION :: /serverinfo
[2023:07:29:15:09:19]: Debug: User-Agent -- okhttp/3.12.13
[2023:07:29:15:09:19]: Debug: Accept-Encoding -- gzip
[2023:07:29:15:09:19]: Debug: Connection -- Keep-Alive
[2023:07:29:15:09:19]: Debug: Host -- 192.168.1.6:47989
[2023:07:29:15:09:19]: Debug: [--]
[2023:07:29:15:09:19]: Debug: uuid -- 5fff26c4-c49f-46c1-91ff-a413a1c5a746
[2023:07:29:15:09:19]: Debug: uniqueid -- 0123456789ABCDEF
[2023:07:29:15:09:19]: Debug: [--]
[2023:07:29:15:09:19]: Debug: /CN=NVIDIA GameStream Client -- verified
[2023:07:29:15:09:19]: Debug: TUNNEL :: HTTPS
[2023:07:29:15:09:19]: Debug: METHOD :: GET
[2023:07:29:15:09:19]: Debug: DESTINATION :: /serverinfo
[2023:07:29:15:09:19]: Debug: User-Agent -- okhttp/3.12.13
[2023:07:29:15:09:19]: Debug: Accept-Encoding -- gzip
[2023:07:29:15:09:19]: Debug: Connection -- Keep-Alive
[2023:07:29:15:09:19]: Debug: Host -- 192.168.1.6:47984
[2023:07:29:15:09:19]: Debug: [--]
[2023:07:29:15:09:19]: Debug: uuid -- e0c2e1bc-a001-4803-8534-9b75712efbe1
[2023:07:29:15:09:19]: Debug: uniqueid -- 0123456789ABCDEF
[2023:07:29:15:09:19]: Debug: [--]
[2023:07:29:15:09:19]: Debug: /CN=NVIDIA GameStream Client -- verified
[2023:07:29:15:09:19]: Debug: TUNNEL :: HTTPS
[2023:07:29:15:09:19]: Debug: METHOD :: GET
[2023:07:29:15:09:19]: Debug: DESTINATION :: /serverinfo
[2023:07:29:15:09:19]: Debug: User-Agent -- okhttp/3.12.13
[2023:07:29:15:09:19]: Debug: Accept-Encoding -- gzip
[2023:07:29:15:09:19]: Debug: Connection -- Keep-Alive
[2023:07:29:15:09:19]: Debug: Host -- [2408:820c:d2c:a940:9368:764c:835b:540e]:47984
[2023:07:29:15:09:19]: Debug: [--]
[2023:07:29:15:09:19]: Debug: uuid -- 19c326ca-f988-48ad-933f-db3c2225a74c
[2023:07:29:15:09:19]: Debug: uniqueid -- 0123456789ABCDEF
[2023:07:29:15:09:19]: Debug: [--]
[2023:07:29:15:09:20]: Debug: /CN=NVIDIA GameStream Client -- verified
[2023:07:29:15:09:20]: Debug: TUNNEL :: HTTPS
[2023:07:29:15:09:20]: Debug: METHOD :: GET
[2023:07:29:15:09:20]: Debug: DESTINATION :: /serverinfo
[2023:07:29:15:09:20]: Debug: User-Agent -- okhttp/3.12.13
[2023:07:29:15:09:20]: Debug: Accept-Encoding -- gzip
[2023:07:29:15:09:20]: Debug: Connection -- Keep-Alive
[2023:07:29:15:09:20]: Debug: Host -- 192.168.1.6:47984
[2023:07:29:15:09:20]: Debug: [--]
[2023:07:29:15:09:20]: Debug: uuid -- ccbfb236-394c-4c29-bec2-de67f6459590
[2023:07:29:15:09:20]: Debug: uniqueid -- 0123456789ABCDEF
[2023:07:29:15:09:20]: Debug: [--]
[2023:07:29:15:09:20]: Debug: /CN=NVIDIA GameStream Client -- verified
[2023:07:29:15:09:20]: Debug: TUNNEL :: HTTPS
[2023:07:29:15:09:20]: Debug: METHOD :: GET
[2023:07:29:15:09:20]: Debug: DESTINATION :: /launch
[2023:07:29:15:09:20]: Debug: User-Agent -- okhttp/3.12.13
[2023:07:29:15:09:20]: Debug: Accept-Encoding -- gzip
[2023:07:29:15:09:20]: Debug: Connection -- Keep-Alive
[2023:07:29:15:09:20]: Debug: Host -- 192.168.1.6:47984
[2023:07:29:15:09:20]: Debug: [--]
[2023:07:29:15:09:20]: Debug: uuid -- 69810ffb-e5f8-4144-a8e7-efb0fa8ec293
[2023:07:29:15:09:20]: Debug: gcpersist -- 0
[2023:07:29:15:09:20]: Debug: localAudioPlayMode -- 0
[2023:07:29:15:09:20]: Debug: gcmap -- 0
[2023:07:29:15:09:20]: Debug: remoteControllersBitmap -- 0
[2023:07:29:15:09:20]: Debug: rikeyid -- 1354982599
[2023:07:29:15:09:20]: Debug: surroundAudioInfo -- 196610
[2023:07:29:15:09:20]: Debug: rikey -- 131B158D39D895094E55F981D438180A
[2023:07:29:15:09:20]: Debug: sops -- 1
[2023:07:29:15:09:20]: Debug: uniqueid -- 0123456789ABCDEF
[2023:07:29:15:09:20]: Debug: additionalStates -- 1
[2023:07:29:15:09:20]: Debug: mode -- 1920x1080x120
[2023:07:29:15:09:20]: Debug: appid -- 1577243657
[2023:07:29:15:09:20]: Debug: [--]
[2023:07:29:15:09:20]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2023:07:29:15:09:20]: Info: Trying encoder [nvenc]
[2023:07:29:15:09:20]: Error: Failed to start ddprobe.exe: CreateProcess failed: ϵͳ�Ҳ���ָ�����ļ���
[2023:07:29:15:09:20]: Warning: Failed to set GPU preference. Capture may not work!
[2023:07:29:15:09:21]: Info:
Device Description : NVIDIA GeForce RTX 3060 Laptop GPU
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002560
Device Video Mem : 6023 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 7867 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2023:07:29:15:09:21]: Info: Desktop resolution [2560x1440]
[2023:07:29:15:09:21]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:07:29:15:09:21]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2023:07:29:15:09:21]: Info: SDR color coding [Rec. 601]
[2023:07:29:15:09:21]: Info: Color range: [JPEG]
] Loaded sym: cuImportExternalMemory
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuDestroyExternalMemory
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuExternalMemoryGetMappedBuffer
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuExternalMemoryGetMappedMipmappedArray
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMipmappedArrayGetLevel
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuMipmappedArrayDestroy
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuImportExternalSemaphore
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuDestroyExternalSemaphore
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuSignalExternalSemaphoresAsync
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuWaitExternalSemaphoresAsync
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuArrayCreate_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuArray3DCreate_v2
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuArrayDestroy
[hevc_nvenc @ 00000000029fd000] Cannot load optional cuEGLStreamProducerConnect
[hevc_nvenc @ 00000000029fd000] Cannot load optional cuEGLStreamProducerDisconnect
[hevc_nvenc @ 00000000029fd000] Cannot load optional cuEGLStreamConsumerDisconnect
[hevc_nvenc @ 00000000029fd000] Cannot load optional cuEGLStreamProducerPresentFrame
[hevc_nvenc @ 00000000029fd000] Cannot load optional cuEGLStreamProducerReturnFrame
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuD3D11GetDevice
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuD3D11GetDevices
[hevc_nvenc @ 00000000029fd000] Loaded sym: cuGraphicsD3D11RegisterResource
[hevc_nvenc @ 00000000029fd000] Loaded lib: nvEncodeAPI64.dll
[hevc_nvenc @ 00000000029fd000] Loaded sym: NvEncodeAPICreateInstance
[hevc_nvenc @ 00000000029fd000] Loaded sym: NvEncodeAPIGetMaxSupportedVersion
[hevc_nvenc @ 00000000029fd000] Loaded Nvenc version 11.1
[hevc_nvenc @ 00000000029fd000] Nvenc initialized successfully
nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
[hevc_nvenc @ 00000000029fd000] Nvenc unloaded
[h264_nvenc @ 000000000a31bbc0] Loaded lib: nvcuda.dll
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuInit
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuDeviceGetCount
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuDeviceGet
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuDeviceGetAttribute
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuDeviceGetName
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuDeviceComputeCapability
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuCtxCreate_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuCtxSetLimit
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuCtxPushCurrent_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuCtxPopCurrent_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuCtxDestroy_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemAlloc_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemAllocPitch_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemAllocManaged
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemsetD8Async
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemFree_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemcpy
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemcpyAsync
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemcpy2D_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemcpy2DAsync_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemcpyHtoD_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemcpyHtoDAsync_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemcpyDtoH_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemcpyDtoHAsync_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemcpyDtoD_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMemcpyDtoDAsync_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuGetErrorName
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuGetErrorString
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuCtxGetDevice
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuDevicePrimaryCtxRetain
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuDevicePrimaryCtxRelease
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuDevicePrimaryCtxSetFlags
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuDevicePrimaryCtxGetState
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuDevicePrimaryCtxReset
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuStreamCreate
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuStreamQuery
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuStreamSynchronize
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuStreamDestroy_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuStreamAddCallback
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuEventCreate
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuEventDestroy_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuEventSynchronize
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuEventQuery
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuEventRecord
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuLaunchKernel
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuLinkCreate
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuLinkAddData
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuLinkComplete
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuLinkDestroy
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuModuleLoadData
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuModuleUnload
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuModuleGetFunction
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuModuleGetGlobal
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuTexObjectCreate
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuTexObjectDestroy
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuGLGetDevices_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuGraphicsGLRegisterImage
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuGraphicsUnregisterResource
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuGraphicsMapResources
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuGraphicsUnmapResources
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuGraphicsSubResourceGetMappedArray
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuGraphicsResourceGetMappedPointer_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuDeviceGetUuid
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuImportExternalMemory
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuDestroyExternalMemory
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuExternalMemoryGetMappedBuffer
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuExternalMemoryGetMappedMipmappedArray
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMipmappedArrayGetLevel
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuMipmappedArrayDestroy
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuImportExternalSemaphore
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuDestroyExternalSemaphore
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuSignalExternalSemaphoresAsync
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuWaitExternalSemaphoresAsync
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuArrayCreate_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuArray3DCreate_v2
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuArrayDestroy
[h264_nvenc @ 000000000a31bbc0] Cannot load optional cuEGLStreamProducerConnect
[h264_nvenc @ 000000000a31bbc0] Cannot load optional cuEGLStreamProducerDisconnect
[h264_nvenc @ 000000000a31bbc0] Cannot load optional cuEGLStreamConsumerDisconnect
[h264_nvenc @ 000000000a31bbc0] Cannot load optional cuEGLStreamProducerPresentFrame
[h264_nvenc @ 000000000a31bbc0] Cannot load optional cuEGLStreamProducerReturnFrame
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuD3D11GetDevice
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuD3D11GetDevices
[h264_nvenc @ 000000000a31bbc0] Loaded sym: cuGraphicsD3D11RegisterResource
[h264_nvenc @ 000000000a31bbc0] Loaded lib: nvEncodeAPI64.dll
[h264_nvenc @ 000000000a31bbc0] Loaded sym: NvEncodeAPICreateInstance
[h264_nvenc @ 000000000a31bbc0] Loaded sym: NvEncodeAPIGetMaxSupportedVersion
[h264_nvenc @ 000000000a31bbc0] Loaded Nvenc version 11.1
[h264_nvenc @ 000000000a31bbc0] Nvenc initialized successfully
nal_unit_type: 7(SPS), nal_ref_idc: 3
nal_unit_type: 8(PPS), nal_ref_idc: 3
nal_unit_type: 6(SEI), nal_ref_idc: 0
nal_unit_type:[2023:07:29:15:09:21]: Error: Failed to start ddprobe.exe: CreateProcess failed: ϵͳ�Ҳ���ָ�����ļ���
[2023:07:29:15:09:21]: Warning: Failed to set GPU preference. Capture may not work!
[2023:07:29:15:09:21]: Info:
Device Description : NVIDIA GeForce RTX 3060 Laptop GPU
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002560
Device Video Mem : 6023 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 7867 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2023:07:29:15:09:21]: Info: Desktop resolution [2560x1440]
[2023:07:29:15:09:21]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:07:29:15:09:21]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2023:07:29:15:09:22]: Info: SDR color coding [Rec. 601]
[2023:07:29:15:09:22]: Info: Color range: [JPEG]
6(SEI), nal_ref_idc: 0
nal_unit_type: 5(IDR), nal_ref_idc: 3
nal_unit_type: 12(Filler data), nal_ref_idc: 0
[h264_nvenc @ 000000000a31bbc0] Nvenc unloaded
[hevc_nvenc @ 000000000a340d00] Loaded lib: nvcuda.dll
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuInit
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuDeviceGetCount
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuDeviceGet
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuDeviceGetAttribute
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuDeviceGetName
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuDeviceComputeCapability
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuCtxCreate_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuCtxSetLimit
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuCtxPushCurrent_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuCtxPopCurrent_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuCtxDestroy_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemAlloc_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemAllocPitch_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemAllocManaged
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemsetD8Async
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemFree_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemcpy
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemcpyAsync
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemcpy2D_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemcpy2DAsync_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemcpyHtoD_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemcpyHtoDAsync_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemcpyDtoH_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemcpyDtoHAsync_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemcpyDtoD_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMemcpyDtoDAsync_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuGetErrorName
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuGetErrorString
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuCtxGetDevice
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuDevicePrimaryCtxRetain
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuDevicePrimaryCtxRelease
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuDevicePrimaryCtxSetFlags
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuDevicePrimaryCtxGetState
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuDevicePrimaryCtxReset
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuStreamCreate
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuStreamQuery
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuStreamSynchronize
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuStreamDestroy_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuStreamAddCallback
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuEventCreate
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuEventDestroy_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuEventSynchronize
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuEventQuery
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuEventRecord
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuLaunchKernel
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuLinkCreate
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuLinkAddData
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuLinkComplete
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuLinkDestroy
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuModuleLoadData
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuModuleUnload
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuModuleGetFunction
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuModuleGetGlobal
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuTexObjectCreate
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuTexObjectDestroy
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuGLGetDevices_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuGraphicsGLRegisterImage
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuGraphicsUnregisterResource
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuGraphicsMapResources
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuGraphicsUnmapResources
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuGraphicsSubResourceGetMappedArray
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuGraphicsResourceGetMappedPointer_v2
[hevc_nvenc [2023:07:29:15:09:22]: Error: Failed to start ddprobe.exe: CreateProcess failed: ϵͳ�Ҳ���ָ�����ļ���
[2023:07:29:15:09:22]: Warning: Failed to set GPU preference. Capture may not work!
[2023:07:29:15:09:22]: Info:
Device Description : NVIDIA GeForce RTX 3060 Laptop GPU
Device Vendor ID : 0x000010DE
Device Device ID : 0x00002560
Device Video Mem : 6023 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 7867 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2023:07:29:15:09:22]: Info: Desktop resolution [2560x1440]
[2023:07:29:15:09:22]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:07:29:15:09:22]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.330078]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2023:07:29:15:09:22]: Info: SDR color coding [Rec. 709]
[2023:07:29:15:09:22]: Info: Color range: [JPEG]
@ 000000000a340d00] Loaded sym: cuDeviceGetUuid
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuImportExternalMemory
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuDestroyExternalMemory
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuExternalMemoryGetMappedBuffer
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuExternalMemoryGetMappedMipmappedArray
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMipmappedArrayGetLevel
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuMipmappedArrayDestroy
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuImportExternalSemaphore
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuDestroyExternalSemaphore
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuSignalExternalSemaphoresAsync
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuWaitExternalSemaphoresAsync
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuArrayCreate_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuArray3DCreate_v2
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuArrayDestroy
[hevc_nvenc @ 000000000a340d00] Cannot load optional cuEGLStreamProducerConnect
[hevc_nvenc @ 000000000a340d00] Cannot load optional cuEGLStreamProducerDisconnect
[hevc_nvenc @ 000000000a340d00] Cannot load optional cuEGLStreamConsumerDisconnect
[hevc_nvenc @ 000000000a340d00] Cannot load optional cuEGLStreamProducerPresentFrame
[hevc_nvenc @ 000000000a340d00] Cannot load optional cuEGLStreamProducerReturnFrame
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuD3D11GetDevice
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuD3D11GetDevices
[hevc_nvenc @ 000000000a340d00] Loaded sym: cuGraphicsD3D11RegisterResource
[hevc_nvenc @ 000000000a340d00] Loaded lib: nvEncodeAPI64.dll
[hevc_nvenc @ 000000000a340d00] Loaded sym: NvEncodeAPICreateInstance
[hevc_nvenc @ 000000000a340d00] Loaded sym: NvEncodeAPIGetMaxSupportedVersion
[hevc_nvenc @ 000000000a340d00] Loaded Nvenc version 11.1
[hevc_nvenc @ 000000000a340d00] Nvenc initialized successfully
nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
[hevc_nvenc @ 000000000a340d00] Nvenc unloaded
[hevc_nvenc @ 000000000a31b280] Loaded lib: nvcuda.dll
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuInit
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuDeviceGetCount
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuDeviceGet
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuDeviceGetAttribute
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuDeviceGetName
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuDeviceComputeCapability
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuCtxCreate_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuCtxSetLimit
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuCtxPushCurrent_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuCtxPopCurrent_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuCtxDestroy_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemAlloc_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemAllocPitch_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemAllocManaged
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemsetD8Async
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemFree_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemcpy
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemcpyAsync
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemcpy2D_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemcpy2DAsync_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemcpyHtoD_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemcpyHtoDAsync_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemcpyDtoH_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemcpyDtoHAsync_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemcpyDtoD_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMemcpyDtoDAsync_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuGetErrorName
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuGetErrorString
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuCtxGetDevice
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuDevicePrimaryCtxRetain
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuDevicePrimaryCtxRelease
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuDevicePrimaryCtxSetFlags
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuDevicePrimaryCtxGetState
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuDevicePrimaryCtxReset
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuStreamCreate
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuStreamQuery
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuStreamSynchronize
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuStreamDestroy_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuStreamAddCallback
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuEventCreate
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuEventDestroy_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuEventSynchronize
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuEventQuery
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuEventRecord
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuLaunchKernel
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuLinkCreate
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuLinkAddData
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuLinkComplete
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuLinkDestroy
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuModuleLoadData
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuModuleUnload
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuModuleGetFunction
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuModuleGetGlobal
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuTexObjectCreate
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuTexObjectDestroy
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuGLGetDevices_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuGraphicsGLRegisterImage
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuGraphicsUnregisterResource
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuGraphicsMapResources
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuGraphicsUnmapResources
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuGraphicsSubResourceGetMappedArray
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuGraphicsResourceGetMappedPointer_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuDeviceGetUuid
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuImportExternalMemory
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuDestroyExternalMemory
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuExternalMemoryGetMappedBuffer
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuExternalMemoryGetMappedMipmappedArray
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMipmappedArrayGetLevel
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuMipmappedArrayDestroy
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuImportExternalSemaphore
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuDestroyExternalSemaphore
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuSignalExternalSemaphoresAsync
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuWaitExternalSemaphoresAsync
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuArrayCreate_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuArray3DCreate_v2
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuArrayDestroy
[hevc_nvenc @ 000000000a31b280] Cannot load optional cuEGLStreamProducerConnect
[hevc_nvenc @ 000000000a31b280] Cannot load optional cuEGLStreamProducerDisconnect
[hevc_nvenc @ 000000000a31b280] Cannot load optional cuEGLStreamConsumerDisconnect
[hevc_nvenc @ 000000000a31b280] Cannot load optional cuEGLStreamProducerPresentFrame
[hevc_nvenc @ 000000000a31b280] Cannot load optional cuEGLStreamProducerReturnFrame
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuD3D11GetDevice
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuD3D11GetDevices
[hevc_nvenc @ 000000000a31b280] Loaded sym: cuGraphicsD3D11RegisterResource
[hevc_nvenc @ 000000000a31b280] Loaded lib: nvEncodeAPI64.dll
[hevc_nvenc @ 000000000a31b280] Loaded sym: NvEncodeAPICreateInstance
[hevc_nvenc @ 000000000a31b280] Loaded sym: NvEncodeAPIGetMaxSupportedVersion
[hevc_nvenc @ 000000000a31b280] Loaded Nvenc version 11.1
[hevc_nvenc @ 000000000a31b280] Nvenc initialized successfully
nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_[2023:07:29:15:09:22]: Info:
[2023:07:29:15:09:22]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2023:07:29:15:09:22]: Info:
[2023:07:29:15:09:22]: Debug: ------ h264 ------
[2023:07:29:15:09:22]: Debug: PASSED: supported
[2023:07:29:15:09:22]: Debug: REF_FRAMES_RESTRICT: supported
[2023:07:29:15:09:22]: Debug: CBR: supported
[2023:07:29:15:09:22]: Debug: DYNAMIC_RANGE: unsupported
[2023:07:29:15:09:22]: Debug: VUI_PARAMETERS: supported
[2023:07:29:15:09:22]: Debug: -------------------
[2023:07:29:15:09:22]: Debug: ------ hevc ------
[2023:07:29:15:09:22]: Debug: PASSED: supported
[2023:07:29:15:09:22]: Debug: REF_FRAMES_RESTRICT: supported
[2023:07:29:15:09:22]: Debug: CBR: supported
[2023:07:29:15:09:22]: Debug: DYNAMIC_RANGE: supported
[2023:07:29:15:09:22]: Debug: VUI_PARAMETERS: supported
[2023:07:29:15:09:22]: Debug: -------------------
[2023:07:29:15:09:22]: Info: Found encoder nvenc: [h264_nvenc, hevc_nvenc]
[2023:07:29:15:09:22]: Info: Executing [Desktop]
[2023:07:29:15:09:22]: Debug: handle_read(): Handle read of size: 97 bytes
[2023:07:29:15:09:22]: Debug: handle_payload(): Handle read of size: 0 bytes
[2023:07:29:15:09:22]: Debug: type [REQUEST]
[2023:07:29:15:09:22]: Debug: sequence number [1]
[2023:07:29:15:09:22]: Debug: protocol :: RTSP/1.0
[2023:07:29:15:09:22]: Debug: payload ::
[2023:07:29:15:09:22]: Debug: command :: OPTIONS
[2023:07:29:15:09:22]: Debug: target :: rtsp://192.168.1.6:48010
[2023:07:29:15:09:22]: Debug: CSeq :: 1
[2023:07:29:15:09:22]: Debug: X-GS-ClientVersion :: 14
[2023:07:29:15:09:22]: Debug: Host :: 192.168.1.6
[2023:07:29:15:09:22]: Debug: ---Begin MessageBuffer---
OPTIONS
---End MessageBuffer---
[2023:07:29:15:09:22]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 1
---End Response---
[2023:07:29:15:09:22]: Debug: handle_read(): Handle read of size: 173 bytes
[2023:07:29:15:09:22]: Debug: handle_payload(): Handle read of size: 0 bytes
[2023:07:29:15:09:22]: Debug: type [REQUEST]
[2023:07:29:15:09:22]: Debug: sequence number [2]
[2023:07:29:15:09:22]: Debug: protocol :: RTSP/1.0
[2023:07:29:15:09:22]: Debug: payload ::
[2023:07:29:15:09:22]: Debug: command :: DESCRIBE
[2023:07:29:15:09:22]: Debug: target :: rtsp://192.168.1.6:48010
[2023:07:29:15:09:22]: Debug: CSeq :: 2
[2023:07:29:15:09:22]: Debug: X-GS-ClientVersion :: 14
[2023:07:29:15:09:22]: Debug: Host :: 192.168.1.6
[2023:07:29:15:09:22]: Debug: Accept :: application/sdp
[2023:07:29:15:09:22]: Debug: If-Modified-Since :: Thu, 01 Jan 1970 00:00:00 GMT
[2023:07:29:15:09:22]: Debug: ---Begin MessageBuffer---
DESCRIBE
---End MessageBuffer---
[2023:07:29:15:09:22]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 2
a=x-ss-general.featureFlags: 2sprop-parameter-sets=AAAAAU
a=fmtp:97 surround-params=21101
a=fmtp:97 surround-params=21101
a=fmtp:97 surround-params=642012453
a=fmtp:97 surround-params=660012345
a=fmtp:97 surround-params=85301245367
a=fmtp:97 surround-params=88001234567
---End Response---
[2023:07:29:15:09:22]: Debug: handle_read(): Handle read of size: 187 bytes
[2023:07:29:15:09:22]: Debug: handle_payload(): Handle read of size: 0 bytes
[2023:07:29:15:09:22]: Debug: type [REQUEST]
[2023:07:29:15:09:22]: Debug: sequence number [3]
[2023:07:29:15:09:22]: Debug: protocol :: RTSP/1.0
[2023:07:29:15:09:22]: Debug: payload ::
[2023:07:29:15:09:22]: Debug: command :: SETUP
[2023:07:29:15:09:22]: Debug: target :: streamid=audio/0/0
[2023:07:29:15:09:22]: Debug: CSeq :: 3
[2023:07:29:15:09:22]: Debug: X-GS-ClientVersion :: 14
[2023:07:29:15:09:22]: Debug: Host :: 192.168.1.6
[2023:07:29:15:09:22]: Debug: Transport :: unicast;X-GS-ClientPort=50000-50001
[2023:07:29:15:09:22]: Debug: If-Modified-Since :: Thu, 01 Jan 1970 00:00:00 GMT
[2023:07:29:15:09:22]: Debug: ---Begin MessageBuffer---
SETUP
---End MessageBuffer---
[2023:07:29:15:09:22]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 3
Session: DEADBEEFCAFE;timeout = 90
Transport: server_port=48000
---End Response---
[2023:07:29:15:09:22]: Debug: handle_read(): Handle read of size: 210 bytes
[2023:07:29:15:09:22]: Debug: handle_payload(): Handle read of size: 0 bytes
[2023:07:29:15:09:22]: Debug: type [REQUEST]
[2023:07:29:15:09:22]: Debug: sequence number [4]
[2023:07:29:15:09:22]: Debug: protocol :: RTSP/1.0
[2023:07:29:15:09:22]: Debug: payload ::
[2023:07:29:15:09:22]: Debug: command :: SETUP
[2023:07:29:15:09:22]: Debug: target :: streamid=video/0/0
[2023:07:29:15:09:22]: Debug: CSeq :: 4
[2023:07:29:15:09:22]: Debug: X-GS-ClientVersion :: 14
[2023:07:29:15:09:22]: Debug: Host :: 192.168.1.6
[2023:07:29:15:09:22]: Debug: Session :: DEADBEEFCAFE
[2023:07:29:15:09:22]: Debug: Transport :: unicast;X-GS-ClientPort=50000-50001
[2023:07:29:15:09:22]: Debug: If-Modified-Since :: Thu, 01 Jan 1970 00:00:00 GMT
[2023:07:29:15:09:22]: Debug: ---Begin MessageBuffer---
SETUP
---End MessageBuffer---
[2023:07:29:15:09:22]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 4
Session: DEADBEEFCAFE;timeout = 90
Transport: server_port=47998
---End Response---
[2023:07:29:15:09:22]: Debug: handle_read(): Handle read of size: 213 bytes
[2023:07:29:15:09:22]: Debug: handle_payload(): Handle read of size: 0 bytes
[2023:07:29:15:09:22]: Debug: type [REQUEST]
[2023:07:29:15:09:22]: Debug: sequence number [5]
[2023:07:29:15:09:22]: Debug: protocol :: RTSP/1.0
[2023:07:29:15:09:22]: Debug: payload ::
[2023:07:29:15:09:22]: Debug: command :: SETUP
[2023:07:29:15:09:22]: Debug: target :: streamid=control/13/0
[2023:07:29:15:09:22]: Debug: CSeq :: 5
[2023:07:29:15:09:22]: Debug: X-GS-ClientVersion :: 14
[2023:07:29:15:09:22]: Debug: Host :: 192.168.1.6
[2023:07:29:15:09:22]: Debug: Session :: DEADBEEFCAFE
[2023:07:29:15:09:22]: Debug: Transport :: unicast;X-GS-ClientPort=50000-50001
[2023:07:29:15:09:22]: Debug: If-Modified-Since :: Thu, 01 Jan 1970 00:00:00 GMT
[2023:07:29:15:09:22]: Debug: ---Begin MessageBuffer---
SETUP
---End MessageBuffer---
[2023:07:29:15:09:22]: Debug: ---Begin Response---
RTSP/1.0 200 OK
CSeq: 5
Session: DEADBEEFCAFE;timeout = 90
Transport: server_port=47999
---End Response---
[2023:07:29:15:09:22]: Debug: handle_read(): Handle read of size: 536 bytes
[2023:07:29:15:09:22]: Debug: handle_payload(): Handle read of size: 365 bytes
[2023:07:29:15:09:22]: Debug: Found Content-Length: 1353 bytes
[2023:07:29:15:09:22]: Debug: handle_payload(): Handle read of size: 536 bytes
[2023:07:29:15:09:22]: Debug: Found Content-Length: 1353 bytes
[2023:07:29:15:09:22]: Debug: handle_payload(): Handle read of size: 452 bytes
[2023:07:29:15:09:22]: Debug: Found Content-Length: 1353 bytes
[2023:07:29:15:09:22]: Debug: type [REQUEST]
[2023:07:29:15:09:22]: Debug: sequence number [6]
[2023:07:29:15:09:22]: Debug: protocol :: RTSP/1.0
[2023:07:29:15:09:22]: Debug: payload :: v=0
o=android 0 14 IN IPv4 192.168.1.6
s=NVIDIA Streaming Client
a=x-nv-video[0].clientViewportWd:1920
a=x-nv-video[0].clientViewportHt:1080
a=x-nv-video[0].maxFPS:120
a=x-nv-video[0].packetSize:1392
a=x-nv-video[0].rateControlMode:4
a=x-nv-video[0].timeoutLengthMs:7000
a=x-nv-video[0].framesWithInvalidRefThreshold:0
a=x-nv-video[0].initialBitrateKbps:100000
a=x-nv-video[0].initialPeakBitrateKbps:100000
a=x-nv-vqos[0].bw.minimumBitrateKbps:100000
a=x-nv-vqos[0].bw.maximumBitrateKbps:100000
a=x-nv-vqos[0].fec.enable:1
a=x-nv-vqos[0].videoQualityScoreUpdateTime:5000
a=x-nv-vqos[0].qosTrafficType:5
a=x-nv-aqos.qosTrafficType:4
a=x-nv-general.featureFlags:167
a=x-nv-general.useReliableUdp:13
a=x-nv-vqos[0].fec.minRequiredFecPackets:2
a=x-nv-vqos[0].bllFec.enable:0
a=x-nv-vqos[0].drc.enable:0
a=x-nv-general.enableRecoveryMode:0
a=x-nv-video[0].videoEncoderSlicesPerFrame:1
a=x-nv-clientSupportHevc:1
a=x-nv-vqos[0].bitStreamFormat:1
a=x-nv-video[0].dynamicRangeMode:0
a=x-nv-video[0].maxNumReferenceFrames:1
a=x-nv-video[0].clientRefreshRateX100:6000
a=x-nv-audio.surround.numChannels:2
a=x-nv-audio.surround.channelMask:3
a=x-nv-audio.surround.enable:0
a=x-nv-audio.surround.AudioQuality:0
a=x-nv-aqos.packetDuration:5
a=x-nv-video[0].encoderCscMode:2
t=0 0
m=video 47998
[2023:07:29:15:09:22]: Debug: command :: ANNOUNCE
[2023:07:29:15:09:22]: Debug: target :: streamid=control/13/0
[2023:07:29:15:09:22]: Debug: CSeq :: 6
[2023:07:29:15:09:22]: Debug: X-GS-ClientVersion :: 14
[2023:07:29:15:09:22]: Debug: Host :: 192.168.1.6
[2023:07:29:15:09:22]: Debug: Session :: DEADBEEFCAFE
[2023:07:29:15:09:22]: Debug: Content-type :: application/sdp
[2023:07:29:15:09:22]: Debug: Content-length :: 1353
[2023:07:29:15:09:22]: Debug: ---Begin MessageBuffer---
ANNOUNCE
---End MessageBuffer---
[2023:07:29:15:09:22]: Debug: Found Host: 192.168.1.6
[2023:07:29:15:09:23]: Verbose: Recv: 192.168.1.12:47310 :: AUDIO
[2023:07:29:15:09:23]: Debug: RAISE: 192.168.1.12:47310 :: AUDIO
[2023:07:29:15:09:23]: Debug: Received ping from 192.168.1.12:47310 [474E4950]
[2023:07:29:15:09:23]: Debug: Start capturing Audio
[2023:07:29:15:09:23]: Debug: Stereo: supported
[2023:07:29:15:09:23]: Debug: Surround 5.1: supported
[2023:07:29:15:09:23]: Debug: Surround 7.1: supported
[2023:07:29:15:09:23]: Debug: Stereo: supported
[2023:07:29:15:09:23]: Debug: Surround 5.1: supported
[2023:07:29:15:09:23]: Debug: Surround 7.1: supported
[2023:07:29:15:09:23]: Debug: Stereo: supported
[2023:07:29:15:09:23]: Debug: Surround 5.1: supported
[2023:07:29:15:09:23]: Debug: Surround 7.1: supported
[2023:07:29:15:09:23]: Debug: Stereo: supported
[2023:07:29:15:09:23]: Verbose: Recv: 192.168.1.12:47310 :: AUDIO
[2023:07:29:15:09:23]: Debug: Surround 5.1: supported
[2023:07:29:15:09:23]: Debug: Surround 7.1: supported
id: 0
nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0
nal_unit_type: 19(IDR_W_RADL), nuh_layer_id: 0, temporal_id: 0
[hevc_nvenc @ 000000000a31b280] Nvenc unloaded
terminate called after throwing an instance of 'boost::wrapexcept<boost::exception_detail::error_info_injector<boost::log::v2s_mt_nt6::conversion_error> >'
what(): Could not convert character encoding
Process finished with exit code 3
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the nightly release?
Describe the Bug
Using BOOST_LOG to print Chinese characters will cause the program to crash. When min_log_level=0 is set in the configuration file, starting sunshine will terminate and the error stack trace is as follows:
I found that the crash occurred in the code_convert() method through breakpoints, as shown in the following image.


The str1 variable containing Chinese characters.
Expected Behavior
just use
BOOST_LOGto print Chinese characters like this:Additional Context
No response
Host Operating System
Windows
Operating System Version
Windows 11
Architecture
64 bit
Sunshine commit or version
4b986b2
Package
Windows - portable
GPU Type
AMD
GPU Model
GeForce RTX 3060
GPU Driver/Mesa Version
472.56
Capture Method (Linux Only)
No response
Config
Apps
No response
Relevant log output