From nobody Mon Jul 25 10:26:49 2022 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Lrx6f4xDwz4X6Bg for ; Mon, 25 Jul 2022 10:26:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lrx6f3l8Sz41fk for ; Mon, 25 Jul 2022 10:26:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lrx6f2nvSztpH for ; Mon, 25 Jul 2022 10:26:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26PAQoAJ050261 for ; Mon, 25 Jul 2022 10:26:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26PAQoXH050260 for x11@FreeBSD.org; Mon, 25 Jul 2022 10:26:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 244877] graphics/mesa-dri: Fix vulkan by switching to unsynchronized userptr ioctls Date: Mon, 25 Jul 2022 10:26:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bsd@abinet.ru X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658744810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r8AO3YaSK8kNg6v9gb1Uaf/JV2ejmaCO35Rxhqduvo4=; b=Oie4QBfq50DKuDKtNDpbDQKdHzVghQQPSX34PWc9cmXq95mV7VMb6FklNZ67UQJV6dyNBC HeSue8gzpLfHlYoI8nPDpkRDT2SVfwF2Q2TSxcnALW9J/ukY9cFCPrOyLElTu1l8DZVrgY 0+8++V4r1MUGIwJzmYVfIrMslyH30Fvkb0Esq0ZrfmRtX8J9MFi8fj36clfc8noBqBMCXT nNlCY6OBVcujus7EZXsr7MXABGLbAnt3z+qEVx+vV/H6VG/DVjw49e78lOoz//IQorH2lo PgqsfTb3EuggiurRIQuCEhLR5LTFcWzVxZrinja0LnsuGBB8GP6RdQ4UIRql6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658744810; a=rsa-sha256; cv=none; b=NHHDr5fxNne1eKi67r5N9su09SJUnMLVUl8M2pPn6VP3gbRrkQkcv9b7kpssnYZ5/r1ALA wBv1uVEP2Qp1nxgQbJdfsOi14isziO8e4VX10YW8xUnkQtTwSX9fMCzzzTox5yRUVSDi1q Wz9HxIjGp322C7OMpRj2TrQmQKPjB/91wgpO3zuO0qXI06PxLBI9KBD2TnP2I2KjroksHV pIRO5Wryr2TqJMjagtKszgpqTlBSP/lxM6b+H9BQ1ZlBWZsFalsaWAjEaNbnY6Zy1Z4Bmr dFQUDO+tnmazqHIFA8Us6KaFCmfaVAMZEcEktC5e9EY5dG4k2nr5NXFdezFMlQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244877 Ivan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bsd@abinet.ru --- Comment #11 from Ivan --- 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.=