Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2658837pxb; Tue, 23 Feb 2021 12:12:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9YsGlNQkdgQZbD02sYNdCDAp49YdK9yFL9qazwkcgHtz29kqPtph4N7m2Edy1GnsYYELD X-Received: by 2002:a17:906:f8c4:: with SMTP id lh4mr19810683ejb.14.1614111141426; Tue, 23 Feb 2021 12:12:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614111141; cv=none; d=google.com; s=arc-20160816; b=AJBYnRxPN0XNb03EtQdjN5RI5/iUukcXTh4EfhdGrqzBE0QlL8SyXEaHvWt/3SL4VM hqmcqMsHV0w8L7pfr959XS2lc9UC9Ew39GMaJp05JVgeWEFVxyDnD4p08RZCQ6alWVFN FUyB4wkrbPPJofn9+MXCYZQjwsBM1gc9Iz3M2XNB42e+4RDf0B4ublMVk8VQZfmDP/r7 PFQGywUIlP4ob3674w8POdqJsZ12LHFBWzb6b9x8fzxAbpC2YklYJlDAK/ociaoJooU8 oMtBvsCaI+hgd7wb2rMoEIfSkffyjZBCMrXL0huPj18wzmyyzl1uFICasRtfGNSfYgId C1Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=vKK3UhU86NDSihNu20PdtNd9FjjCA9RZUgXi+aekH1s=; b=hmUJPzguIROzhCC7B7IK71AfO4DqaXmLb0TpHrsiHvmdANBkdgGVMokDvFFTOQ2rnR vxjtix6KStCGxRWA0mnSng5yUKFAVFCNBV5hzhyIo/QEXEyWN/Iu9Na7HE6d5W7nSv2s 17TVazzre0i+30R9Ox5kvVNkl5ADsDAHG0wFo7pBs3wq8uMepZcKPxguvBGgkwsK9NTU lsjKmLOGY/lQqQ87XkkoL5oeSA+vOMrahoIeOMZyuR7EQ5LgmBQq7LZw+4jpvElfXLDZ cu61UBXtlgI4bYG1k9bZoQ8mYhZ61pOYOlBaFMa/IXKlZLOa6y3aAUwbJv+SISNceMYM LjVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h5si10564130ejg.608.2021.02.23.12.11.57; Tue, 23 Feb 2021 12:12:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233455AbhBWPyS (ORCPT + 99 others); Tue, 23 Feb 2021 10:54:18 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:60729 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233302AbhBWPyR (ORCPT ); Tue, 23 Feb 2021 10:54:17 -0500 Received: from mail.cetitecgmbh.com ([87.190.42.90]) by mrelayeu.kundenserver.de (mreue009 [213.165.67.97]) with ESMTPSA (Nemesis) id 1M89P1-1lATVT1OiJ-005M5W; Tue, 23 Feb 2021 16:51:28 +0100 Received: from pflvmailgateway.corp.cetitec.com (unknown [127.0.0.1]) by mail.cetitecgmbh.com (Postfix) with ESMTP id 3A6551E01E7; Tue, 23 Feb 2021 15:51:27 +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 tnEpDMyau6jA; Tue, 23 Feb 2021 16:51:26 +0100 (CET) Received: from pflmari.corp.cetitec.com (2-usr-pf-main.vpn.it.cetitec.com [10.8.5.2]) by mail.cetitecgmbh.com (Postfix) with ESMTPSA id E826D1E01E6; Tue, 23 Feb 2021 16:51:26 +0100 (CET) Received: by pflmari.corp.cetitec.com (Postfix, from local account) Date: Tue, 23 Feb 2021 16:51:26 +0100 From: Alex Riesen To: Ilia Mirkin Cc: Lyude Paul , Pankaj Bharadiya , David Airlie , nouveau , James Jones , LKML , dri-devel , Jeremy Cline , Ben Skeggs , Dave Airlie Subject: Re: [PATCH 2/3] drm/nouveau/kms/nv50-: Report max cursor size to userspace Message-ID: References: <20210119015415.2511028-1-lyude@redhat.com> <20210119015415.2511028-2-lyude@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:TZGccT2syXDhApLxVFzVDJq5wKOtDGq/dl3aJQEA5t+BCVA3L2q V2lhNWDapJfSve9PZ5g8vpBtD2MQCXpv4W0PVMnTyWJdp+BAqHPypSdzeLnJYlzv9EmFZC+ +D2ZnMjL5Xr4bJYsf5D69SAm/mbjuwsuOsuWdiJQDmhgdDu0O08nB4SHW3ORqAliTh1oPrC 5KbbtmIVlyk6JiDnl/AAg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:2BLltldadtY=:4/40UfQuTN5gRc7injwK9G VwF3NpsVQh17Mk95k953iVeMGZ/Yu/dXP1705KZELeDrGyGtxOTTFOnDiiavm06f799DFkiHO 6tqZYNLBRpm+z4LHOnyO4oOoMCb1M/xDicQ61+6+4irBCbveD4N/lE2lH2MU5y6bzelkdHobY GcdCAqhp8tgmuLx/0CsdClgAEw3AYXhIBmhYM8Zke5SNsyOE0yLqFJcBRMzgeqp5jJAnhREUV oSutt83jV/UfqJUu8URcvTkOpQVmbIZXr69m1tHErDtqThiGMfAi0O/03KQdhjkgtAQvbdguD FeuAgbuAsV7rWmfjwOJiC7CP51/iHltbSRfJjrjX/fku9EuQFw82pI2mBHkGotONBPgAKiSk6 WFYdkQ3FJbcFoDMSRnG5ozSeU+Ryn5DpBW56d5hepl5DtmntgmvbZUbAvTTG+7pexLzrnGBOS OwYhwJJ1lw== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ilia Mirkin, Tue, Feb 23, 2021 16:46:52 +0100: > On Tue, Feb 23, 2021 at 10:36 AM Alex Riesen wrote: > > Ilia Mirkin, Tue, Feb 23, 2021 15:56:21 +0100: > > > On Tue, Feb 23, 2021 at 9:26 AM Alex Riesen wrote: > > > > > > > > This change broke X cursor in my setup, and reverting the commit restores it. > > > > > > > > Dell Precision M4800, issue ~2014 with GK106GLM [Quadro K2100M] (rev a1). > > > > libdrm 2.4.91-1 (Debian 10.8 stable). > > > > There are no errors or warnings in Xorg logs nor in the kernel log. > > > > > > Could you confirm which ddx is driving the nvidia hw? You can find > > > this out by running "xrandr --listproviders", or also in the xorg log. > > > > xrandr(1) does not seem to list much: > > > > $ xrandr --listproviders > > Providers: number : 1 > > Provider 0: id: 0x48 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 5 associated providers: 0 name:modesetting > > Thanks - this is what I was looking for. name:modesetting, i.e. the > modesetting ddx driver. > > I checked nouveau source, and it seems like it uses a 64x64 cursor no > matter what. Not sure what the modesetting ddx does. > > I'd recommend using xf86-video-nouveau in any case, but some distros I would like try this out. Do you know how to force the xorg server to choose this driver instead of modesetting? > have decided to explicitly force modesetting in preference of nouveau. > Oh well. (And regardless, the regression should be addressed somehow, > but it's also good to understand what the problem is.) > > Can you confirm what the problem with the cursor is? The cursor looks stretched vertically over a bigger matrix, while missing some lines and being wrapped over the bottom on top of that matrix.