[winswitch] Problem on Polaris

Antoine Martin antoine at nagafix.co.uk
Fri Nov 4 02:16:29 GMT 2016


On 04/11/16 06:58, sivmu via shifter-users wrote:
> changing csc-modules did not help.
> 
> the output of xpra info | grep csc after the changes:
> 
> client.encoding.csc_atoms=1
> client.encoding.full_csc_modes.h265=('RGB',)
> video.encoding.csc-module.cython=disabled
> video.encoding.csc-module.opencl=not found
> video.encoding.csc-module.swscale=disabled
> 
> 
> still the same error message.
> However after removing python2-pyopencl, the error message disapeared,
> but the issue with the slow response still exists.
> 
> Please note, after removing the amd gpu and using the internal intel
> gpu, xpra works fine and connects in less then a second.
> 
> So the issue is definitly related to the gpu.
In that case, try running with opengl disabled:
xpra attach --opengl=no ...

And if that helps, please post the bug report's opengl data.
Or just post the output from the gl_check.py tool so we can greylist
those GPUs until the drivers become more mature.

Cheers
Antoine


> Am 03.11.2016 um 04:10 schrieb Antoine Martin via shifter-users:
>> 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
>>> shifter-users at lists.devloop.org.uk
>>> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>>>
>>
>> _______________________________________________
>> shifter-users mailing list
>> shifter-users at lists.devloop.org.uk
>> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>>
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
> 




More information about the shifter-users mailing list