Log in

View Full Version : x264 OpenCL & Intel HD4600 integrated graphics / Haswell i7-4770k (v. making it work)


Stereodude
2nd July 2013, 12:08
Is there any guide or trick to make OpenCL work on the integrated HD 4600? I'm running Windows 7 x64 with the latest drivers (9.18.10.3186 from 5/17/2013) and got this:

E:\Source>"C:\HDTV Tools\x264\x264.exe" --bitrate 22500 --preset veryslow --tune film --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --opencl --pass 1 --qpfile source.chp -o NUL source.AVS
avs [info]: 1920x1080p 1:1 @ 24000/1001 fps (cfr)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x264 [info]: OpenCL acceleration enabled with Intel(R) Corporation Intel(R) HD Graphics 4600
x264 [info]: Compiling OpenCL kernels...
x264 [info]: profile Main, level 4.1
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: x264 [error]: x264_encoder_encode failed
OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [error]: OpenCL: Invalid value.
x264 [error]: OpenCL: fatal error, aborting encode
x264 [info]: final ratefactor: 4.59

aborted at input frame 30, output frame 0

Does x264 need a certain amount of Video RAM allocated to the HD 4600? Is there something I'm doing wrong?

Timothy_Gu
17th July 2013, 03:45
I have a same problem. Anyone?

Wishbringer
17th July 2013, 06:37
see:
http://forum.doom9.org/showpost.php?p=1635190&postcount=1951

Stereodude
19th July 2013, 00:45
see:
http://forum.doom9.org/showpost.php?p=1635190&postcount=1951Yes, but that doesn't explain why it doesn't work and errors out. Just that it isn't worthwhile to use.

Timothy_Gu
27th July 2013, 00:30
Just so you know, I am using HD Graphics 4000 on my Surface Pro. It works on my Nvidia GT 555M.

abdamon
25th September 2013, 08:51
Yes, but that doesn't explain why it doesn't work and errors out. Just that it isn't worthwhile to use.

I also have this question;
Do you altready know why it doesn't work?

Wishbringer
26th September 2013, 19:36
Maybe AMD and NVidia made a full OpenCL-Implementation in their drivers,
x264-developers used these complete set of OpenCL-Instructions/Implementation.
And Intels OpenCL-Driver-Implementation isn't fully compatible to specs or just faulty.
"Invalid value" says that something isn't accepted by Intel-Drivers, that works with AMD/NVidia-Drivers.

These are only my thoughts. I am not a developer.
Only they can tell you the real reasons.
Maybe they could implement a workaround,
but Dark Shikari allready answered that Intel GPUs aren't powerfull enough, so why should they waste time to make things work with GPU slower than with CPU-Power.

abdamon
27th September 2013, 10:10
Maybe AMD and NVidia made a full OpenCL-Implementation in their drivers,
x264-developers used these complete set of OpenCL-Instructions/Implementation.
And Intels OpenCL-Driver-Implementation isn't fully compatible to specs or just faulty.
"Invalid value" says that something isn't accepted by Intel-Drivers, that works with AMD/NVidia-Drivers.

These are only my thoughts. I am not a developer.
Only they can tell you the real reasons.
Maybe they could implement a workaround,
but Dark Shikari allready answered that Intel GPUs aren't powerfull enough, so why should they waste time to make things work with GPU slower than with CPU-Power.

Thank you very much!

Stereodude
28th September 2013, 01:07
I also have this question;
Do you altready know why it doesn't work?
I never found out. I just gave up.