@@ -87,5 +87,161 @@ $ oc logs intel-dgpu-hwinfo-44k4d
87
87
Attached to: #89 (PCI bridge)
88
88
```
89
89
90
+ ### Verify Media feature provisioning for Intel® Data Center GPU
91
+ It is verified on Intel® Data Center GPU Flex Series.
92
+
93
+ #### VAInfo
94
+ This workload runs [ vainfo] ( https://github.com/intel/libva-utils ) utilizing the i915 resource from GPU provisioning and displays the Media features supported by the GPU.
95
+
96
+ * Build the workload container image.
97
+
98
+ ```
99
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/vainfo_build.yaml
100
+ ```
101
+
102
+ * Deploy and execute the workload.
103
+
104
+ ```
105
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/vainfo_job.yaml
106
+ ```
107
+
108
+ * Check the results.
109
+ ```
110
+ $ oc get pods -n intel-dgpu
111
+ NAME READY STATUS RESTARTS AGE
112
+ intel-dgpu-vainfo-1-build 0/1 Completed 0 9m49s
113
+ intel-dgpu-vainfo-rbdvz 0/1 Completed 0 45s
114
+ ```
115
+ ```
116
+ $ oc logs intel-dgpu-vainfo-rbdvz -n intel-dgpu
117
+ vainfo: VA-API version: 1.20 (libva 2.20.0)
118
+ vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.4.3 (a9f272496)
119
+ vainfo: Supported profile and entrypoints
120
+ VAProfileNone : VAEntrypointVideoProc
121
+ VAProfileNone : VAEntrypointStats
122
+ VAProfileMPEG2Simple : VAEntrypointVLD
123
+ VAProfileMPEG2Main : VAEntrypointVLD
124
+ VAProfileH264Main : VAEntrypointVLD
125
+ VAProfileH264Main : VAEntrypointEncSliceLP
126
+ VAProfileH264High : VAEntrypointVLD
127
+ VAProfileH264High : VAEntrypointEncSliceLP
128
+ VAProfileJPEGBaseline : VAEntrypointVLD
129
+ VAProfileJPEGBaseline : VAEntrypointEncPicture
130
+ VAProfileH264ConstrainedBaseline: VAEntrypointVLD
131
+ VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
132
+ VAProfileHEVCMain : VAEntrypointVLD
133
+ VAProfileHEVCMain : VAEntrypointEncSliceLP
134
+ VAProfileHEVCMain10 : VAEntrypointVLD
135
+ VAProfileHEVCMain10 : VAEntrypointEncSliceLP
136
+ VAProfileVP9Profile0 : VAEntrypointVLD
137
+ VAProfileVP9Profile1 : VAEntrypointVLD
138
+ VAProfileVP9Profile2 : VAEntrypointVLD
139
+ VAProfileVP9Profile3 : VAEntrypointVLD
140
+ VAProfileHEVCMain12 : VAEntrypointVLD
141
+ VAProfileHEVCMain422_10 : VAEntrypointVLD
142
+ VAProfileHEVCMain422_10 : VAEntrypointEncSliceLP
143
+ VAProfileHEVCMain422_12 : VAEntrypointVLD
144
+ VAProfileHEVCMain444 : VAEntrypointVLD
145
+ VAProfileHEVCMain444 : VAEntrypointEncSliceLP
146
+ VAProfileHEVCMain444_10 : VAEntrypointVLD
147
+ VAProfileHEVCMain444_10 : VAEntrypointEncSliceLP
148
+ VAProfileHEVCMain444_12 : VAEntrypointVLD
149
+ VAProfileHEVCSccMain : VAEntrypointVLD
150
+ VAProfileHEVCSccMain : VAEntrypointEncSliceLP
151
+ VAProfileHEVCSccMain10 : VAEntrypointVLD
152
+ VAProfileHEVCSccMain10 : VAEntrypointEncSliceLP
153
+ VAProfileHEVCSccMain444 : VAEntrypointVLD
154
+ VAProfileHEVCSccMain444 : VAEntrypointEncSliceLP
155
+ VAProfileAV1Profile0 : VAEntrypointVLD
156
+ VAProfileAV1Profile0 : VAEntrypointEncSliceLP
157
+ VAProfileHEVCSccMain444_10 : VAEntrypointVLD
158
+ VAProfileHEVCSccMain444_10 : VAEntrypointEncSliceLP
159
+ ```
160
+ #### Using libvpl
161
+ This workload runs various test programs from [ libvpl] ( https://github.com/intel/libvpl ) utilizing the i915 resource from GPU provisioning and displays the Video Processing Library (VPL) fetures supported by the GPU.
162
+
163
+ * Build the workload container image.
164
+
165
+ ```
166
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/intelvpl_build.yaml
167
+ ```
168
+
169
+ * Deploy and execute the workload.
170
+
171
+ ```
172
+ $ oc apply -f https://raw.githubusercontent.com/intel/intel-technology-enabling-for-openshift/main/tests/l2/dgpu/intelvpl_job.yaml
173
+ ```
174
+
175
+ * Check the results.
176
+ ```
177
+ $ oc get pods -n intel-dgpu
178
+ NAME READY STATUS RESTARTS AGE
179
+ intel-dgpu-intelvpl-1-build 0/1 Completed 0 26m
180
+ intel-dgpu-intelvpl-f68tb 0/1 Completed 0 15m
181
+ ```
182
+ ```
183
+ $ oc logs intel-dgpu-intelvpl-f68tb -n intel-dgpu
184
+
185
+ Implementation #0: mfxhw64
186
+ Library path: /usr/lib64/libmfxhw64.so.1.35
187
+ AccelerationMode: MFX_ACCEL_MODE_VIA_VAAPI
188
+ ApiVersion: 1.35
189
+ Impl: MFX_IMPL_TYPE_HARDWARE
190
+ VendorImplID: 0x0000
191
+ ImplName: mfxhw64
192
+ License:
193
+ Version: 1.2
194
+ Keywords: MSDK,x64
195
+ VendorID: 0x8086
196
+ mfxAccelerationModeDescription:
197
+ Version: 1.0
198
+ Mode: MFX_ACCEL_MODE_VIA_VAAPI
199
+ mfxPoolPolicyDescription:
200
+ Version: 1.0
201
+ mfxDeviceDescription:
202
+ MediaAdapterType: MFX_MEDIA_UNKNOWN
203
+ DeviceID: 56c1/0
204
+ Version: 1.1
205
+ mfxDecoderDescription:
206
+ Version: 0.0
207
+ mfxEncoderDescription:
208
+ Version: 0.0
209
+ mfxVPPDescription:
210
+ Version: 0.0
211
+ NumExtParam: 0
212
+ Warning - MFX_IMPLCAPS_SURFACE_TYPES not supported
213
+
214
+ Implementation #1: mfxhw64
215
+ Library path: /usr/lib64/libmfxhw64.so.1.35
216
+ AccelerationMode: MFX_ACCEL_MODE_VIA_VAAPI
217
+ ApiVersion: 1.35
218
+ Impl: MFX_IMPL_TYPE_HARDWARE
219
+ VendorImplID: 0x0001
220
+ ImplName: mfxhw64
221
+ License:
222
+ Version: 1.2
223
+ Keywords: MSDK,x64
224
+ VendorID: 0x8086
225
+ mfxAccelerationModeDescription:
226
+ Version: 1.0
227
+ Mode: MFX_ACCEL_MODE_VIA_VAAPI
228
+ mfxPoolPolicyDescription:
229
+ Version: 1.0
230
+ mfxDeviceDescription:
231
+ MediaAdapterType: MFX_MEDIA_UNKNOWN
232
+ DeviceID: 56c1/1
233
+ Version: 1.1
234
+ mfxDecoderDescription:
235
+ Version: 0.0
236
+ mfxEncoderDescription:
237
+ Version: 0.0
238
+ mfxVPPDescription:
239
+ Version: 0.0
240
+ NumExtParam: 0
241
+ Warning - MFX_IMPLCAPS_SURFACE_TYPES not supported
242
+
243
+ Total number of implementations found = 2
244
+ ```
245
+
90
246
## See Also
91
247
For GPU demos on vanilla Kubernetes, refer to [ link] ( https://github.com/intel/intel-device-plugins-for-kubernetes/tree/main/demo/intel-opencl-icd )
0 commit comments