[Bug 244877] graphics/mesa-dri: Fix vulkan by switching to unsynchronized userptr ioctls

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 25 Jul 2022 10:26:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244877

Ivan <bsd@abinet.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bsd@abinet.ru

--- Comment #11 from Ivan <bsd@abinet.ru> ---
Hello,

I've tried to use hardware accelerated opencl (with lang/intel-compute-runtime)
in graphics/darktable and discovered this PR after receiving 


0.068381 [opencl_init] opencl library 'libOpenCL' found on your system and
loaded
ioctl(I915_GEM_USERPTR) failed. Try running as root but expect poor stability.
Abort was called at 115 line in file:
/wrkdirs/usr/ports/lang/intel-compute-runtime/work-llvm13/compute-runtime-22.24.23453/shared/source/os_interface/linux/drm_memory_manager.cpp

I've found discussion here https://github.com/FreeBSDDesktop/kms-drm/issues/197
but still fail to understand what is needed to workaround the issue.

Can you enlighten me, should I apply this patch or try something else?

Workstation uses Skylake CPU, which is rather modern (compared to Broadwell),
so I suppose it shouldn't use userptr at all, isn't it?

-- 
You are receiving this mail because:
You are the assignee for the bug.