On 03/11/16 09:45, sivmu via shifter-users wrote: > Hello everyone, > > Using the new Polaris10 AMD RX480 GPU, I get several failures in the > logs and it takes at least 15 seconds to connect the client. > > Tested on archlinux with version 0.17.6 > > Anyone an idea how to figure this one out? > > Log extract: > > cannot build the OpenCL program: clBuildProgram failed: > BUILD_PROGRAM_FAILURE - > Build on <pyopencl.Device 'AMD POLARIS10 (DRM 3.3.0 / 4.8.4-1-ARCH, LLVM > 3.9.0)' on 'Clover' at 0x55f4fb28ea08>: > error: unknown target CPU 'polaris10' > error: unknown target CPU 'polaris10' This looks like a bug in python-opencl. Just disable the opencl csc converter, ie this should be enough: --csc-modules=libyuv You can verify which ones are active with: xpra info | grep csc
Cheers Antoine > (options: -I /usr/lib/python2.7/site-packages/pyopencl/cl) > (source saved as /tmp/tmpAQzs_b.cl) > Traceback (most recent call last): > File > "/usr/lib/python2.7/site-packages/xpra/codecs/csc_opencl/colorspace_converter.py", > line 441, in bui > program.build() > File "/usr/lib/python2.7/site-packages/pyopencl/__init__.py", line 438, > in build > options_bytes=options_bytes, source=self._source) > File "/usr/lib/python2.7/site-packages/pyopencl/__init__.py", line 473, > in _build_and_catch_errors > raise err > RuntimeError: clBuildProgram failed: BUILD_PROGRAM_FAILURE - > Build on <pyopencl.Device 'AMD POLARIS10 (DRM 3.3.0 / 4.8.4-1-ARCH, LLVM > 3.9.0)' on 'Clover' at 0x55f4fb28 > error: unknown target CPU 'polaris10' > error: unknown target CPU 'polaris10' > (options: -I /usr/lib/python2.7/site-packages/pyopencl/cl) > (source saved as /tmp/tmpAQzs_b.cl) > all warnings: > Warning: csc_opencl failed its self test > cannot build the OpenCL program: clBuildProgram failed: > BUILD_PROGRAM_FAILURE - > Build on <pyopencl.Device 'AMD POLARIS10 (DRM 3.3.0 / 4.8.4-1-ARCH, LLVM > 3.9.0)' on 'Clover' at 0x55f4fb28 > error: unknown target CPU 'polaris10' > error: unknown target CPU 'polaris10' > (options: -I /usr/lib/python2.7/site-packages/pyopencl/cl) > (source saved as /tmp/tmpAQzs_b.cl) > _______________________________________________ > shifter-users mailing list > [email protected] > http://lists.devloop.org.uk/mailman/listinfo/shifter-users > _______________________________________________ shifter-users mailing list [email protected] http://lists.devloop.org.uk/mailman/listinfo/shifter-users
