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

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244877

Ivan <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #11 from Ivan <[email protected]> ---
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.