Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp225610lqh; Mon, 6 May 2024 17:50:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVzGprlBweLOXR6L8ucNMlXAmyHq7vh05T/t3dZWUbF1O4sIX7D2o+r2RupQJIXyyQm+7MET3Vce/EygNc9W4xrgxlgiS6Ki5mBz70oBw== X-Google-Smtp-Source: AGHT+IHKnGbnkE6Aecd4y/0TokiUhly2VPk/JNT7l+NdicHuDulb9upCfmneFpD2FDafZHdz8MSY X-Received: by 2002:a17:907:72c1:b0:a59:be8a:bd6f with SMTP id du1-20020a17090772c100b00a59be8abd6fmr4270413ejc.61.1715043049182; Mon, 06 May 2024 17:50:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715043049; cv=pass; d=google.com; s=arc-20160816; b=F3LfhIhzmG78FdPze1Z0xZDHhY9fwRoHO4KD143gnatYVq+1w2E2oDwaaXMse0zExN c9qTZxHFL/Uy9tv1itr+A6CdqK/MeNYExyg17OUFdw7iy9KqTwQt+Ka1Utk/nJJqJxpu uX73lRDzazyCefWZWbhy2csGPW6IiCJ73ToYvzmHqrjnqtASMgIPGZ3dXeUbhVFaGP6J sNLUzm5qP4X6ktKcvXf1POdWAPo8UgQHbDviiUwH1RRkGGpEiuIYyIR/v/WKY3Fq6jKd phd07YIGdC8VYcip2IEVrr6FcgQiGAaWPRXuLUaEkkvBgY5IUEiQMIULfHIGTL5ePrOy mKww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ZRma+TmGKw3NTq5BF25piq4ird9OossEUWl7xifP6as=; fh=2qzsAf518bsEK1smbAbauqj1YxOyTMtE+jFpVAdAHM4=; b=JiOuTXgmJ8dCHWr+S132BbdvqLYDYRAig93oEzGeu+Bf31TVczkywo/garbASTh6Iq ayrNmJ/tmIBSStYzKxm1dV/6KUq7NQraJwUDva7JgaQotwWrDIGaZaZR87aWr90t1nle o0xXi8XDFxb98xNurGy5QUFloshj+vQ74rz1D66X9vYAbVD2zObwJoVVHN+wTjEqikFa W7stPx9ml4QUA1KduLt/vQpvK8WIZ8T7iSyL3IAKkTfDBGeHVbKfkaNVd+J2aszXZyvz t7NYHMru5mqwTupEWYje0cZ8SHJVhJz5Q0RlGVIQV7IYmTlS484PnJHCo3i14M6ta9uA 0ZjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@codeweavers.com header.s=s1 header.b=jvSsoX4H; arc=pass (i=1 spf=pass spfdomain=codeweavers.com dkim=pass dkdomain=codeweavers.com dmarc=pass fromdomain=codeweavers.com); spf=pass (google.com: domain of linux-kernel+bounces-170527-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170527-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeweavers.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id oz14-20020a170906cd0e00b00a59b3ec65c3si2889940ejb.547.2024.05.06.17.50.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 17:50:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170527-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@codeweavers.com header.s=s1 header.b=jvSsoX4H; arc=pass (i=1 spf=pass spfdomain=codeweavers.com dkim=pass dkdomain=codeweavers.com dmarc=pass fromdomain=codeweavers.com); spf=pass (google.com: domain of linux-kernel+bounces-170527-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170527-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeweavers.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E5AE61F249A6 for ; Tue, 7 May 2024 00:50:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73E2D1862; Tue, 7 May 2024 00:50:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeweavers.com header.i=@codeweavers.com header.b="jvSsoX4H" Received: from mail.codeweavers.com (mail.codeweavers.com [4.36.192.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C529389; Tue, 7 May 2024 00:50:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=4.36.192.163 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715043040; cv=none; b=NBLMv0tibUvjbdoOTsR+CPIkLNxfsBoS7mk6/o18GXfVjixqqdz94Db5Mpt6feeKTXJDKdt9ZFTBbu3VF3Ar+KCh4eXYZLwnY91YQGcZypOEpOt0kYeCN3zkcSYFbksNmF0cBmL+QxmX661zwa+VVz0ckgAmi2lqQKQqGP5LPdk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715043040; c=relaxed/simple; bh=ZFwYXSUEUJ7GtWn4g6K2L0ODS19vwoG9t774Aj8p1Ak=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=CJAjmx6niz9q1ALccWlI3r8+XBI07cosm9xbfeg6p5Q8dqvrVI5yVyN4SHZmh0Yql1wf1nXQQ5aPCvKYzA2MBIe/i537JtjqDDQfqS8BNKs/xNRBxG82zSTIKOk7qf4xTKpSNX0ZC22WE5JYQfoh3si1G5fP7rXHvqKbdSbn844= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeweavers.com; spf=pass smtp.mailfrom=codeweavers.com; dkim=pass (2048-bit key) header.d=codeweavers.com header.i=@codeweavers.com header.b=jvSsoX4H; arc=none smtp.client-ip=4.36.192.163 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeweavers.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeweavers.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codeweavers.com; s=s1; h=Message-ID:Date:Subject:Cc:To:From:Sender; bh=ZRma+TmGKw3NTq5BF25piq4ird9OossEUWl7xifP6as=; b=jvSsoX4HQtDd4ZWS8FuW7Csjj0 vRkmivbaWCgzWBDvERJE/2jR2sqbPuMGBo7C//qSVgXGrQzqimil/U+QRsQAiHgd0bhlguC3SDgs3 fwEeL7wROiuQsQ83dYpXM7/ZxYgxx6TOLFH2JbM/tXkG8AgiZKeppskKkVm5jbV4PU4WKwBKS3dle AgUqwtpHG2hjnnVhmTNodGRi5AkxiDU+I9l+sTADWodzS7/lEhSDKMWWUAVnq4XO56nMcCkSid8RK 937Sh3ecNzUWXlgtJJCotaLAdm6Kp6h4xmjqM+Cb69Hns1MyMvChBh1uQ+HGGcCZlKBH43DVRqj+B Is6ZQG0A==; Received: from [10.69.139.6] (helo=watership.localnet) by mail.codeweavers.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1s492T-00Fgi0-0B; Mon, 06 May 2024 19:50:37 -0500 From: Elizabeth Figura To: Peter Zijlstra Cc: wine-devel@winehq.org, Arnd Bergmann , Greg Kroah-Hartman , Jonathan Corbet , Shuah Khan , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, =?ISO-8859-1?Q?Andr=E9?= Almeida , Wolfram Sang , Andy Lutomirski , linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Randy Dunlap , Ingo Molnar , Will Deacon , Waiman Long , Boqun Feng , Elizabeth Figura Subject: Re: [PATCH v4 00/30] NT synchronization primitive driver Date: Mon, 06 May 2024 19:50:34 -0500 Message-ID: <3923517.aeNJFYEL58@watership> In-Reply-To: <4560699.LvFx2qVVIh@camazotz> References: <20240416010837.333694-1-zfigura@codeweavers.com> <20240419161611.GA23130@noisy.programming.kicks-ass.net> <4560699.LvFx2qVVIh@camazotz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Friday, April 19, 2024 3:46:07=E2=80=AFPM CDT Elizabeth Figura wrote: > On Friday, 19 April 2024 11:16:11 CDT Peter Zijlstra wrote: >=20 > > On Tue, Apr 16, 2024 at 05:18:56PM -0500, Elizabeth Figura wrote: > >=20 > > > On Tuesday, 16 April 2024 16:18:24 CDT Elizabeth Figura wrote: > > >=20 > > > > On Tuesday, 16 April 2024 03:14:21 CDT Peter Zijlstra wrote: > > > >=20 > > > > > I don't support GE has it in his builds? Last time I tried, > > > > > building > > > > > Wine was a bit of a pain. > > > >=20 > > > >=20 > > > > It doesn't seem so. I tried to build a GE-compatible ntsync build, > > > > uploaded here (thanks Arek for hosting): > > > >=20 > > > >=20 > > > > https://f002.backblazeb2.com/file/wine-ntsync/ntsync-wine.tar.xz > > >=20 > > >=20 > > > Oops, the initial version I uploaded had broken paths. Should be fixed > > > now. =20 > > > (It's also broken on an unpatched kernel unless explicitly disabled w= ith > > >=20 > > > WINE_DISABLE_FAST_SYNC=3D1. Not sure what I messed up there=E2=80=94i= t should fall > > > back=20 cleanly=E2=80=94but hopefully shouldn't be too important for testing.) > >=20 > >=20 > > So I've tried using that wine build with lutris, and I can't get it to > > start EGS or anything else. > >=20 > > I even added a printk to the ntsync driver for every open, to see if it > > gets that far, but I'm not even getting that :/ >=20 >=20 > That's odd, it works for me, both as a standalone build and with > lutris... >=20 > Does /dev/ntsync exist (module is loaded) and have nonzero permissions? > I forgot to mention that's necessary, sorry. >=20 > Otherwise I can try to look at an strace, or a Wine debug log. I don't > think there's an easy way to get the latter with Lutris, but something > like `WINEDEBUG=3D+all ./wine winecfg 2>log` should work. >=20 >=20 It's also possible that the build was made against too new libraries. I've= =20 created a new build, built and tested on stock Debian 12, and with some ext= ra=20 debugging: https://f002.backblazeb2.com/file/wine-ntsync/ntsync-wine2.tar.xz Hopefully that's good enough to test with, or at least gives more of a hint= as=20 to why it fails?