From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B257DC433DB for ; Wed, 24 Feb 2021 16:35:26 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4FD1364EF5 for ; Wed, 24 Feb 2021 16:35:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4FD1364EF5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=cetitec.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=nouveau-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C27606E05D; Wed, 24 Feb 2021 16:35:25 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id C54FA6E046; Wed, 24 Feb 2021 16:35:24 +0000 (UTC) Received: from mail.cetitecgmbh.com ([87.190.42.90]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MG9To-1l2uzP2Rn2-00Gade; Wed, 24 Feb 2021 17:35:15 +0100 Received: from pflvmailgateway.corp.cetitec.com (unknown [127.0.0.1]) by mail.cetitecgmbh.com (Postfix) with ESMTP id E30FF1E01E7; Wed, 24 Feb 2021 16:35:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at cetitec.com Received: from mail.cetitecgmbh.com ([127.0.0.1]) by pflvmailgateway.corp.cetitec.com (pflvmailgateway.corp.cetitec.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1R3S697HcAb2; Wed, 24 Feb 2021 17:35:14 +0100 (CET) Received: from pflmari.corp.cetitec.com (8-usr-pf-main.vpn.it.cetitec.com [10.8.5.8]) by mail.cetitecgmbh.com (Postfix) with ESMTPSA id 84DA61E01E6; Wed, 24 Feb 2021 17:35:14 +0100 (CET) Received: by pflmari.corp.cetitec.com (Postfix, from local account) Date: Wed, 24 Feb 2021 17:35:14 +0100 From: Alex Riesen To: Ilia Mirkin Message-ID: References: <20210119015415.2511028-2-lyude@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:sX/CG2UfR9ZWz0C/Msv3C8F4GLz8hmFRqQFTiqzctodHy2ofn0U jqYzCAVowjAtD2Vjh4vy6GWijFhTcMZTytE5M68lhm3s4yNmAeEE46r8VGuVuhok8uecR8f L+1Mg1CCqceDNg/EOIewiJ8fRRzrtH58WPwzkl4gOr5GUpu5ZJOGVx2SFKe5gNNY9xKx5Du I+lU/To4LH/xPVoybWa7Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:lRSiZ9jK9ck=:Aze318R3qNIq+LqBez9yGD 1db8gC4g4k3hlsY5tRmXvj4NpfTBG7IyNcyQ3YsbSdeqQfh6J6k/JpRSV15jDbIk6Gwbs8e52 5HZW2yTAhChuLkM9NcwDaOlLUSqDtcq0K6KBhC/HvxDWKUuwplCqyYCF8fIWmr3ftsYFNdCO6 PcKKZGLhcnq2OZ8ZXKDeCWQxApuT38KemaaS/1MNkhJYHQsnPzdJjh1NwBkKoUId8ss/QCBa7 IWK89kAr05DSLpyBTvCsqrOPq18qCfawaQpysVRKCDMZ/smDJZclqrfABFS+pBGGzI+3a+b8t +OjnAz4y7PyITLFQsEgfaVXoUDOA+3BwR9L0M61Ks5oOU/UDZenBvqc2SiMRComynM8PFpDP7 2MzLsJS1UttnkqJ5J/MXLt1WHusEaBWPD3umw5pFJdLR5lWgFqOzkbVc5xj72/EAhfa7gGqwd DkaLHuIroA== Subject: Re: [Nouveau] [PATCH 2/3] drm/nouveau/kms/nv50-: Report max cursor size to userspace X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Ser , dri-devel , Ben Skeggs , nouveau , Dave Airlie Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" Ilia Mirkin, Wed, Feb 24, 2021 16:10:57 +0100: > On Wed, Feb 24, 2021 at 4:09 AM Alex Riesen wrote: > > Ilia Mirkin, Tue, Feb 23, 2021 19:13:59 +0100: > > > It might also be worthwhile just testing if the 256x256 cursor works > > > quite the way one would want. If you're interested, grab libdrm, > > > there's a test called 'modetest', which has an option to enable a > > > moving cursor (-c iirc). It's hard-coded to 64x64, so you'll have to > > > modify it there too (and probably change the pattern from plain gray > > > to any one of the other ones). > > > > I am interested, so I did. > > > > If I start the test without X running, the sprite of 256x256 cursor always > > contained horizontal lines across it, both with commit reverted and vanilla > > v5.11. Similarly, the 64x64 cursor has no lines across it in both kernels. > > > > The test does not seem to work at all if there is an X server running (using > > modesetting driver): modetest complained about permission denied to set the > > mode, and just sits there, drawing nothing on the displays. > > So I could not run the test in the environment of original problem. > > Am I starting it correctly? Is the change in modetest.c correct? > > Looks right. Although TBH I'd just start it on a single display (I > forgot you could even do multiple displays). You should be able to > start it with the X server running if you switch to a vt (and run it > as root). If you can't, that means the modesetting driver is > forgetting to do something in the LeaveVT function. Tried that and yes, modetest works. Even without running it as root. > The fact that you're getting lines with modetest means there's > something wrong with 256x256. What if you do 128x128 -- does that work > OK? Yes. Unfortunately in both cases. > Simon, you tested on a GK208, that has a slightly later display > controller than the GK104 -- can you try to reproduce Alex's results? > Perhaps there was a problem with the GK10x's and it starts working OK > with the GK110 disp. > > I don't have any GK10x's in my posession (I have nearly every other > iteration of the display controller), but hopefully someone on the > nouveau team will be able to dig one up and reproduce. > > Thanks for testing, Alex! You're welcome! As I'm stuck with this particular machine for foreseeable future, you can count on mine GK10x as well. _______________________________________________ Nouveau mailing list Nouveau@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/nouveau