<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<span style="display: inline !important; background-color: rgb(255, 255, 255);" class="ContentPasted0">Hi</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<div style="margin: 0px; background-color: rgb(255, 255, 255);"><br class="x_ContentPasted1 ContentPasted0">
</div>
<div class="x_ContentPasted1 ContentPasted0" style="margin: 0px; background-color: rgb(255, 255, 255);">
I have a machine running Windows 10 that has 2 graphics cards in it, an Intel HD Graphics 630 & an NVIDIA GeForce GTX 1060. The CPU supports Quicksync & the monitor is plugged into the Intel Graphics card.</div>
<div style="margin: 0px; background-color: rgb(255, 255, 255);"><br class="x_ContentPasted1 ContentPasted0">
</div>
<div class="x_ContentPasted1 ContentPasted0" style="margin: 0px; background-color: rgb(255, 255, 255);">
I'm using a variant of Anton Khirnov's 2015 qsvdec.c example.</div>
<div style="margin: 0px; background-color: rgb(255, 255, 255);"><br class="x_ContentPasted1 ContentPasted0">
</div>
<div class="x_ContentPasted1 ContentPasted0" style="margin: 0px; background-color: rgb(255, 255, 255);">
If I have both graphic cards enabled in Windows then we I get to the line:</div>
<div style="margin: 0px; background-color: rgb(255, 255, 255);"><br class="x_ContentPasted1 ContentPasted0">
</div>
<div class="x_ContentPasted1 ContentPasted0" style="margin: 0px; background-color: rgb(255, 255, 255);">
av_hwdevice_ctx_create(@FHWDecode.hw_device_ref,AV_HWDEVICE_TYPE_QSV,'auto',nil,0)</div>
<div style="margin: 0px; background-color: rgb(255, 255, 255);"><br class="x_ContentPasted1 ContentPasted0">
</div>
<div class="x_ContentPasted1 ContentPasted0" style="margin: 0px; background-color: rgb(255, 255, 255);">
I get "Error initializing an MFX session: -3." If I disable the NVIDIA card using the device manager the call is successful & things work properly. To my untrained eye, it would appear like it's trying to open a Quicksync session on the wrong card. Interestingly,
when I initialize a Quicksync enabled encoder (eg h264_qsv) it is always quite happy to do that even when the NVIDIA card is enabled.</div>
<div style="margin: 0px; background-color: rgb(255, 255, 255);"><br class="x_ContentPasted1 ContentPasted0">
</div>
<div style="margin: 0px; background-color: rgb(255, 255, 255);" class="ContentPasted0">
If I'm right about it trying to open a Quicksync session to the NVIDIA card, <span class="x_ContentPasted2 ContentPasted0" style="margin: 0px; display: inline !important; background-color: rgb(255, 255, 255);">is there a way of pointing at the correct videocontroller
without having to disable to card? </span>I can identify which videocontroller is the Intel card using WMI.</div>
<div style="margin: 0px; background-color: rgb(255, 255, 255);"><br class="x_ContentPasted1 ContentPasted0">
</div>
<div class="x_ContentPasted1 ContentPasted0" style="margin: 0px; background-color: rgb(255, 255, 255);">
Best wishes</div>
<div style="margin: 0px; background-color: rgb(255, 255, 255);"><br class="x_ContentPasted1 ContentPasted0">
</div>
<span style="display: inline !important; background-color: rgb(255, 255, 255);" class="ContentPasted0">Fred</span><br>
</div>
This email message and its attachments are confidential and/or privileged information. The email may contain personal views, which are not necessarily the views of The Company. If you are not the intended recipient, you must not disclose or use the information
contained in it. If you have received this email message in error, please advise the sender by email or call +44(0) 1296 745080. Please also delete the message and any associated attachments. Any attachments to this message have been checked for viruses, but
it is recommended that you scan any attachments for viruses. The company may monitor emails sent or received from and to its systems. The company assumes further communication will signify your consent to this.
</body>
</html>