Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp890652lqt; Fri, 19 Apr 2024 13:46:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUrR9caioc0PSxBnHoWxez51GR58f3B/YzkF+PQRHSF+xS13vb49triSCvb3+WDipflJov/GOHiUg7PEiOlxhqxEOT3SpywJC7NqIQMTw== X-Google-Smtp-Source: AGHT+IFxChVc6znXvPK2q8NRX9mWjboZKAAdS86SI55Ue0td0Qbn1ETXv+1AzE7F7XsxwUameZwH X-Received: by 2002:a17:906:f1d6:b0:a55:5c04:89a4 with SMTP id gx22-20020a170906f1d600b00a555c0489a4mr2261431ejb.21.1713559589855; Fri, 19 Apr 2024 13:46:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713559589; cv=pass; d=google.com; s=arc-20160816; b=s7Q9zV53t31khAV7+SV4n7k0eDPWWC0Fy9QkbdvXqKeeQmbxRzuGtkfdbVHyc0Bmjj hagL+DwvBjkhg5xSm3Y4ZsPudC4jTTXh7ZnZzPMrTnyNvAxgquesWPMsuhz/b3Fw4iCk UHMoLzwT9nIzumgjUHdA0okz58/S8Uol2yCNhzTQ0OHZNJnFXdKifnk15YXzFC4UNN5t 1d/KKaaq35xuAL9gzxBBjKhIvrTgBGu9/qgaLTVg2nQg6SKaKZd+lgoUbUTCKEnduO0v FDt4L0YNizxcTcGWOo3d38Q1QGmdG5NUdrovWrH5qaIVBYJgQSjwEWa0327kNIEG9/g/ 8KAQ== 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=5p2yQvQe15hu1/dZghXrbNWOB2J/4kqzCzCcLTivdwE=; fh=fLY6SLy4iqUZES3IbIeP3NRQnqm4/hpOcUo9QzMIIL0=; b=iXda4xZIguV5oiymSKLj4W2XrNI97QmZnCFNCTSFoav0pYRpGLutCWXzyRg9vsRTr5 +4SxprWhhTPxvTILZqxUwUSljewRVFvPktUGo2u1XPeXQkLbBbxnxG10TG/E0gBMTzUi yOkB10co3UmBf6RcwCBR0zAy5C74HKSLY+QdellyDlQ+oFoJki4qDfBAtYb8+hm2E5FN 1Eiaf0YUK6rYwirntnOvcc/juDQpcTfdo9gvKGY69QjcEki/NOZcIW6f3Xtw8R7suk3Y EkD4Vs9EFG5ZgHX8KtPCGuQJ8qGx6a4mMUs6e16TiHFyxUBX8Hdm/ymWvmRfRDeEWOuL RVcw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@codeweavers.com header.s=s1 header.b=fR9v3p+z; 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-151942-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151942-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z8-20020a170906240800b00a51e5aa5b2esi2491833eja.575.2024.04.19.13.46.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 13:46:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151942-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@codeweavers.com header.s=s1 header.b=fR9v3p+z; 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-151942-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151942-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 946731F22C11 for ; Fri, 19 Apr 2024 20:46:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A5F42BAEC; Fri, 19 Apr 2024 20:46:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeweavers.com header.i=@codeweavers.com header.b="fR9v3p+z" 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 6802229CE5; Fri, 19 Apr 2024 20:46:20 +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=1713559581; cv=none; b=D4jite2ZiTQdsOGGx7UUM23yZYnjyOC5nLKI9WPMNeQRboxVjyCF7FwA6HbiG2/cCElJNIfuVu+eXvQwEsIF0VCVbEy81bLDXafi+sejbV4G+x3A2RwbFqhcHCxX6T0BEPteG1WmXL0VFG4mg48jd9YjIqeYl4qDoQQZTmRVPbc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713559581; c=relaxed/simple; bh=Q0n2p3Gl2XGwFRL69wM+4Pn8DrdIQvix54nl3TqcDfI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NYnhi/OzRzzfGL5LxbED5XEctWb/2+xE54e5HaTiGYk+UZBJkZPjjILic0FZSSo/YQEDV0BS3VUkWIbuyrPOenMmO7WQUSmeZJNuDmr6riBjbnMjKLywPQUtQJf9itR8/J9f3Pidz5gcAoakDjem0bFq5XKaUyz9DpwRnXtiOiY= 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=fR9v3p+z; 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=5p2yQvQe15hu1/dZghXrbNWOB2J/4kqzCzCcLTivdwE=; b=fR9v3p+zjVf9sCIqkYiQdMIBvS FQWQVZ71cUCDyVhziOVnArmJjPymIm2os81/0UHq/3QVttuvtt4/WXtfa2arno+JquVqpETCQzu8j WEN74vvkg3kh8B+URuhpz+FpbM+nnmYSrkz5OW0/2pXVxXHgAkkcPhbb+T+jF7DkFSdA6NXxkHGb2 a8ZtvB9ROZMZAbLXO8w6xshaP/5lW+FZ6GPMvA+V/fP0/CXdGFYcJFAQL2RQdTIJ3p0Fu0lVgABRx GMqAq0xAcPtwtt+QZBQXBARwETz2JXk+TFEI9Ip6q/TsffEH+Wpu2x5I8J6Ka3l5B306VEtmGY9Kw zf83hOmQ==; Received: from cw137ip160.mn.codeweavers.com ([10.69.137.160] helo=camazotz.localnet) by mail.codeweavers.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rxv7X-001bTU-1M; Fri, 19 Apr 2024 15:46:07 -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 Subject: Re: [PATCH v4 00/30] NT synchronization primitive driver Date: Fri, 19 Apr 2024 15:46:07 -0500 Message-ID: <4560699.LvFx2qVVIh@camazotz> In-Reply-To: <20240419161611.GA23130@noisy.programming.kicks-ass.net> References: <20240416010837.333694-1-zfigura@codeweavers.com> <3743440.MHq7AAxBmi@terabithia> <20240419161611.GA23130@noisy.programming.kicks-ass.net> 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, 19 April 2024 11:16:11 CDT Peter Zijlstra wrote: > On Tue, Apr 16, 2024 at 05:18:56PM -0500, Elizabeth Figura wrote: > > On Tuesday, 16 April 2024 16:18:24 CDT Elizabeth Figura wrote: > > > On Tuesday, 16 April 2024 03:14:21 CDT Peter Zijlstra wrote: > > > > I don't support GE has it in his builds? Last time I tried, building > > > > Wine was a bit of a pain. > > >=20 > > > It doesn't seem so. I tried to build a GE-compatible ntsync build, up= loaded > > > here (thanks Arek for hosting): > > >=20 > > > https://f002.backblazeb2.com/file/wine-ntsync/ntsync-wine.tar.xz > >=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 wit= h=20 > > WINE_DISABLE_FAST_SYNC=3D1. Not sure what I messed up there=E2=80=94it = should fall back=20 > > cleanly=E2=80=94but hopefully shouldn't be too important for testing.) >=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 :/ That's odd, it works for me, both as a standalone build and with lutris... Does /dev/ntsync exist (module is loaded) and have nonzero permissions? I forgot to mention that's necessary, sorry. 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.