Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deinterlace issue, --vpp-afs do not work on RX 5700 series #7

Closed
Begnion opened this issue May 7, 2020 · 5 comments
Closed

Deinterlace issue, --vpp-afs do not work on RX 5700 series #7

Begnion opened this issue May 7, 2020 · 5 comments

Comments

@Begnion
Copy link

Begnion commented May 7, 2020

When using --vpp-afs on RX 5700,
VCEEncC64 --interlace bff --vpp-afs preset=anime -i "C:\xxx.mp4" -c avc -u slow -o "C:\xxx.mp4"

it will get back some errors

`build log of gfx1010...
C:\Users\mxxx\AppData\Local\Temp\comgr-e903f2\input\CompileCLSource:252:19: error: non-kernel function variable cannot be declared in local address space
__local float s_tmp[3][SHARED_C_Y][SYN_BLOCK_INT_X];
^
C:\Users\mxxx\AppData\Local\Temp\comgr-e903f2\input\CompileCLSource:253:18: error: non-kernel function variable cannot be declared in local address space
__local DATA s_out[SYN_BLOCK_Y][SYN_BLOCK_INT_X * 4];
^
C:\Users\mxxx\AppData\Local\Temp\comgr-e903f2\input\CompileCLSource:650:1: warning: null character ignored
<U+0000>
^
C:\Users\mxxx\AppData\Local\Temp\comgr-e903f2\input\CompileCLSource:650:2: warning: null character ignored
<U+0000><U+0000>
^
C:\Users\mxxx\AppData\Local\Temp\comgr-e903f2\input\CompileCLSource:650:3: warning: null character ignored
<U+0000><U+0000><U+0000>
^
3 warnings and 2 errors generated.
Error: Failed to compile opencl source (from CL to LLVM IR).
Error (clBuildProgram): build program failure.
afs: failed to load VCE_FILTER_AFS_SYNTHESIZE_CL
Finished with error in VCEEncC.

But on RX 580, it can run correctly.

@rigaya
Copy link
Owner

rigaya commented May 8, 2020

I'm testing on R3 3200G without error, so it seems to be some problems related to Navi GPUs (which I don't have).

I'll check out what this error means...

non-kernel function variable cannot be declared in local address space

@rigaya
Copy link
Owner

rigaya commented May 12, 2020

I have made some change to OpenCL code on VCEEnc 6.01 trying to fix this issue, I hope it works, but I'm not sure as I don't have Navi GPUs.

@Begnion
Copy link
Author

Begnion commented May 13, 2020

Now will get back some errors like this:


build log of gfx1010...
C:\Users\MASSPO1\AppData\Local\Temp\comgr-e40878\input\CompileCLSource:651:1: warning: null character ignored
<U+0000><U+0000>
^
C:\Users\MASSPO
1\AppData\Local\Temp\comgr-e40878\input\CompileCLSource:651:2: warning: null character ignored
<U+0000><U+0000>
^
C:\Users\MASSPO~1\AppData\Local\Temp\comgr-e40878\input\CompileCLSource:651:3: error: source file is not valid UTF-8
<U+0000><U+0000>
^
2 warnings and 1 error generated.
Error: Failed to compile opencl source (from CL to LLVM IR).


Error (clBuildProgram): build program failure.
afs: failed to load VCE_FILTER_AFS_SYNTHESIZE_CL
Finished with error in VCEEncC.

@rigaya
Copy link
Owner

rigaya commented May 14, 2020

Thanks for comfirming, probably 2nd error should be fixed in VCEEnc 6.02.

@Begnion
Copy link
Author

Begnion commented May 16, 2020

Now it can run correctly. Thanks !

@Begnion Begnion closed this as completed May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants