All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Bainbridge <chris.bainbridge@gmail.com>
To: Satadru Pramanik <satadru@gmail.com>
Cc: Arnd Bergmann <arnd@kernel.org>,
	airlied@gmail.com, airlied@redhat.com, arnd@arndb.de,
	bskeggs@nvidia.com, bskeggs@redhat.com,
	"open list:DRM DRIVERS" <dri-devel@lists.freedesktop.org>,
	open list <linux-kernel@vger.kernel.org>,
	Lyude Paul <lyude@redhat.com>,
	nouveau@lists.freedesktop.org, simona@ffwll.ch, ttabi@nvidia.com,
	Thomas Zimmermann <tzimmermann@suse.de>,
	regressions@lists.linux.dev
Subject: Re: [PATCH] drm/nouveau: check ioctl command codes better
Date: Tue, 22 Jul 2025 11:29:17 +0100	[thread overview]
Message-ID: <aH9n_QGMFx2ZbKlw@debian.local> (raw)
In-Reply-To: <CAFrh3J85tsZRpOHQtKgNHUVnn=EG=QKBnZTRtWS8eWSc1K1xkA@mail.gmail.com>

On Mon, Jul 21, 2025 at 08:22:48AM -0400, Satadru Pramanik wrote:
> Hello all,
> 
> I suspect this commit in 6.16-rc7 has broken acceleration with Mesa's
> nouveau drivers on my machine.
> 
> glxinfo -B reports that I'm using llvmpipe.
> 
> Reverting this in 6.16-rc7 restores nouveau acceleration, and glxinfo
> then reports: "OpenGL renderer string: NVE7"
> 
> inxi -G
> Graphics:
>   Device-1: NVIDIA GK107M [GeForce GT 750M Mac Edition] driver: nouveau
>     v: kernel
>   Display: wayland server: X.Org v: 24.1.8 with: Xwayland v: 24.1.8
>     compositor: gnome-shell v: 48.0 driver: X: loaded: modesetting
>     unloaded: fbdev,vesa dri: nouveau gpu: nouveau resolution: 2880x1800~60Hz
>   API: EGL v: 1.5 drivers: nouveau,swrast
>     platforms: gbm,wayland,x11,surfaceless,device
>   API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa
>     v: 25.2.0~rc1+git2507191056.03f67b52319~p~mesarc0 renderer: NVE7
>   API: Vulkan v: 1.4.304 drivers: N/A surfaces: xcb,xlib,wayland
>   Info: Tools: api: eglinfo, glxinfo, vulkaninfo x11: xdriinfo, xdpyinfo,
>     xprop, xrandr
> 
> Best,
> Satadru Pramanik

I also bisected an issue to this commit. On my laptop, this commit
results in an intermittent desktop crash (Xorg segfault) when changing
display scale, which can be more reliably reproduced with:

for x in {1..100}; do
  xrandr --output eDP-1 --mode 2560x1600 --scale 0.5 --filter nearest
  xrandr --output eDP-1 --mode 2560x1600 --scale 1 --filter nearest
done

I also see the same glxinfo llvmpipe change that Satadru reported.
Reverting the commit fixes my scale test case, and also the glxinfo
renderer.

#regzbot introduced: e5478166dffb51fa64e76cdbb5c24421f22f2d43 ^
#regzbot title: nouveau hardware acceleration broken

  parent reply	other threads:[~2025-12-13 12:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-21 12:22 [PATCH] drm/nouveau: check ioctl command codes better Satadru Pramanik
2025-07-21 12:37 ` Arnd Bergmann
     [not found]   ` <CAFrh3J-SpU03=Kgi8vj1XLsMfruQyF1Rew6L2+aYUgZnkTLJAw@mail.gmail.com>
2025-07-21 13:50     ` Arnd Bergmann
2025-07-21 15:23       ` Satadru Pramanik
2025-07-22 10:29 ` Chris Bainbridge [this message]
2025-07-22 10:52   ` Arnd Bergmann
2025-07-22 11:45     ` Danilo Krummrich
  -- strict thread matches above, loose matches on Subject: below --
2025-07-11  7:24 Arnd Bergmann
2025-07-11 17:41 ` Danilo Krummrich
2025-07-11 18:01   ` Arnd Bergmann
2025-07-11 18:06 ` Danilo Krummrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aH9n_QGMFx2ZbKlw@debian.local \
    --to=chris.bainbridge@gmail.com \
    --cc=airlied@gmail.com \
    --cc=airlied@redhat.com \
    --cc=arnd@arndb.de \
    --cc=arnd@kernel.org \
    --cc=bskeggs@nvidia.com \
    --cc=bskeggs@redhat.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lyude@redhat.com \
    --cc=nouveau@lists.freedesktop.org \
    --cc=regressions@lists.linux.dev \
    --cc=satadru@gmail.com \
    --cc=simona@ffwll.ch \
    --cc=ttabi@nvidia.com \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.