Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2022 10:26:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 244877] graphics/mesa-dri: Fix vulkan by switching to unsynchronized userptr ioctls
Message-ID:  <bug-244877-7141-8oAP6LS0ZP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244877-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244877-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244877

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-runt=
ime)
in graphics/darktable and discovered this PR after receiving=20


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 stabili=
ty.
Abort was called at 115 line in file:
/wrkdirs/usr/ports/lang/intel-compute-runtime/work-llvm13/compute-runtime-2=
2.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?

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244877-7141-8oAP6LS0ZP>