Hi,
I have downloaded a OpenCL enabled x264 encoder from Universität Heidelberg , compilation was fine on AMD platform but it failed to run on Ubuntu_13.10 + HD7970, segmentation fault.
Sharing the compiled binaries here:
Command to run the demo: # ./x264 --threads 8 -A none --no-cabac --no-deblock --subme 0 --me dia --qp 16 --output out.264 result.y4m
change x264 executable permission if required.
Can some one help me on it?
Sorry, link was not provided in the original thread.
Here is the link to binaries: Dropbox - demo-binaires.rar
Any comments/updates on this??
Hi,
Can you compile run it on a CPU only machine (either Intel or AMD) that supports OpenCL? This will help in understanding if the problem is in the driver or in the code.
Sure Sudarshan, i will get back to you on it.
Sudarshan - found the same error (seg fault) when i ran the demo on CPU device.
What to do next ? is it a bug in demo itself?
Any help is highly appreciated
Hi,
The team is working on this issue. We'll keep you updated.
--Prasad
Hi,
I have compiled and ran the code. It is working for yuv (4:2:0) input. I am giving below the screenshot.
/home/cas/sshinde/H.264>./x264 --threads 8 -A none --no-cabac --no-deblock --subme 0 --me dia --qp 16 -o akio_h264.264 akiyo_qcif.yuv 176x144
x264 [info]: 176x144 @ 25.00 fps
x264 [info]: using cpu capabilities: none!
x264 [info]: profile Baseline, level 1.1
x264 [info]: slice I:2 Avg QP:13.00 size: 7849 PSNR Mean Y:49.72 U:50.76 V:51.19 Avg:50.10 Global:50.10
x264 [info]: slice P:298 Avg QP:16.00 size: 913 PSNR Mean Y:47.33 U:48.81 V:49.01 Avg:47.80 Global:47.79
x264 [info]: mb I I16..4: 2.0% 0.0% 98.0%
x264 [info]: mb P I16..4: 0.0% 0.0% 0.0% P16..4: 100.0% 0.0% 0.0% 0.0% 0.0% skip: 0.0%
x264 [info]: coded y,uvDC,uvAC intra:99.1% 99.5% 89.4% inter:22.5% 31.8% 5.7%
x264 [info]: SSIM Mean Y:0.9941359
x264 [info]: PSNR Mean Y:47.350 U:48.821 V:49.021 Avg:47.812 Global:47.801 kb/s:191.75
encoded 300 frames, 2149.09 fps, 192.08 kb/s
/home/cas/sshinde/H.264>
Though I am using ubuntu 12.04 and Radeon 7880 series, this should matter little.
Could you try it on yuv (4:2:0) sequences? What happens if you do not disable CABAC and deblocking? Also can you share the test sequence you are using?
Thanks,
Hi,
I tried with the akiyo_qcif.yuv file but it's giving same error, seg fault.
Also tried with not disabling CABAC and deblocking, every time it's segfault.
Can you try on Ubuntu 13.10 if possible?
Hi,
I doubt if it is Ubuntu 13.10 vs 12.04 issue.
Could you check on the university's site which libraries are being used by the code, and whether they are installed properly on your machine?
Ok. I will check with 12.04
Did you check with 12.04? What did you discover?