[Nouveau] Regression in 5.15 in nouveau

Christian König christian.koenig at amd.com
Tue Dec 7 09:52:00 UTC 2021


Am 06.12.21 um 19:37 schrieb Dan Moulding:
> On 04.12.21 17:40, Stefan Fritsch wrote:
>> Hi,
>>
>> when updating from 5.14 to 5.15 on a system with NVIDIA GP108 [GeForce
>> GT 1030] (NV138) and Ryzen 9 3900XT using kde/plasma on X (not wayland),
>> there is a regression: There is now some annoying black flickering in
>> some applications, for example thunderbird, firefox, or mpv. It mostly
>> happens when scrolling or when playing video. Only the window of the
>> application flickers, not the whole screen. But the flickering is not
>> limited to the scrolled area: for example in firefox the url and
>> bookmark bars flicker, too, not only the web site. I have bisected the
>> issue to this commit:
>>
>> commit 3e1ad79bf66165bdb2baca3989f9227939241f11 (HEAD)
> I have been experiencing this same issue since switching to 5.15. I
> can confirm that reverting the above mentioned commit fixes the issue
> for me. I'm on GP104 hardware (GeForce GTX 1070), also running KDE
> Plasma on X.

I'm still scratching my head what's going wrong here.

Either we trigger some performance problem because we now wait twice for 
submissions or nouveau is doing something very nasty and not syncing 
it's memory accesses correctly.

Attached is an only compile tested patch which might mitigate the first 
problem.

But if it's the second then nouveau has a really nasty design issue here 
and somebody with more background on that driver design needs to take a 
look.

Please test if that patch changes anything.

Thanks,
Christian.

>
> Cheers,
>
> -- Dan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-nouveau-wait-for-the-exclusive-fence-after-the-s.patch
Type: text/x-patch
Size: 2322 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20211207/4565c396/attachment.bin>


More information about the dri-devel mailing list