FS#69557 - [linux/drm] Rendering problem after update from 5.10.12 to 5.10.13
Attached to Project:
Arch Linux
Opened by Ali Molaei (ali_molaei) - Saturday, 06 February 2021, 10:25 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 23 May 2021, 19:37 GMT
Opened by Ali Molaei (ali_molaei) - Saturday, 06 February 2021, 10:25 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 23 May 2021, 19:37 GMT
|
Details
Description:
I don't know if I should wait for a graphics driver update (I have only Intel graphics with i915 driver) or it is a kernel problem (Maybe compile options changed?) But when I downgrade to 5.10.12 Problems will be resolved for me I'm glad to provide more info if you ask, I don't know what info should I provide, I'll attach screenshots from the rendering problem. A side-note: If I switch to wayland, I don't have problems in firefox, but In Minecraft still seeing the problems, Maybe it's xorg related? I don't know. Additional info: * package version(s) linux 5.10.13.arch1-1 xf86-video-intel 1:2.99.917+916+g31486f40-1 gnome-desktop 1:3.38.3-1 mutter 3.38.3-1 xorg-server 1.20.10-3 wayland 1.19.0-1 xorg-xwayland 1.20.0.r844.g1e72c3ce8-1 Steps to reproduce: Upgrade to linux 5.10.13? |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Sunday, 23 May 2021, 19:37 GMT
Reason for closing: Fixed
Additional comments about closing: linux 5.12.6.arch1-1
Sunday, 23 May 2021, 19:37 GMT
Reason for closing: Fixed
Additional comments about closing: linux 5.12.6.arch1-1
$ git clone git://git.archlinux.org/svntogit/packages.git --single-branch --branch "packages/linux"
$ cd packages/trunk
$ makepkg -odd
$ cd src/archlinux-linux/
$ git checkout 05f6d2aa7e2f2cdd137ee600785704139e6dd3b7 #checkout v5.10.12, the tag is not available so using commit instead
$ cd ../..
$ makepkg -rsi # build 5.10.12 check that does not have the issue
$ cd packages/trunk/src/archlinux-linux/
$ git checkout 0c245c5fe93f0e9769de4a8b31f129b2759bf802 #checkout v5.10.13, again by commit
cd ../..
$ makepkg -rsif # build 5.10.13 check that does have the issue
$ cd packages/trunk/src/archlinux-linux/
$ git bisect start
$ git bisect bad
$ git bisect good 05f6d2aa7e2f2cdd137ee600785704139e6dd3b7
$ cd ../..
$ makepkg -rsif # build the commit git bisect need to check
$ cd packages/trunk/src/archlinux-linux/
$ git bisect $result #replace $result with good or bad
$ cd ../..
$ makepkg -rsif # repeat last four commands until git bisect finds the causal commit
[1] https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.13
[2] https://wiki.archlinux.org/index.php/Bisecting_bugs_with_Git
[3] https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html
[4] https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs
[5] https://wiki.archlinux.org/index.php/Unofficial_user_repositories#miffe
[1] https://wiki.archlinux.org/index.php/Unofficial_user_repositories#miffe
The problem is not solved. I will try the steps you mentioned before, btw, here is 2 AM right now, I put the commands to clone the kernel (to be downloaded) and let you know about any progress
```
520d05a77b2866eb4cb9e548e1d8c8abcfe60ec5 is the first bad commit
commit 520d05a77b2866eb4cb9e548e1d8c8abcfe60ec5
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Sun Jan 17 09:30:15 2021 +0000
drm/i915/gt: Clear CACHE_MODE prior to clearing residuals
commit ef99a60ffd9b918354e038bc5e61f007ff7e901d upstream.
Since we do a bare context switch with no restore, the clear residual
kernel runs on dirty state, and we must be careful to avoid executing
with bad state from context registers inherited from a malicious client.
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2955
Fixes: 09aa9e45863e ("drm/i915/gt: Restore clear-residual mitigations for Ivybridge, Baytrail")
Testcase: igt/gem_ctx_isolation # ivb,vlv
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Reviewed-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Link:20210117093015.29143-1-chris@chris-wilson.co.uk"> https://patchwork.freedesktop.org/patch/msgid/20210117093015.29143-1-chris@chris-wilson.co.uk
(cherry picked from commit ace44e13e577c2ae59980e9a6ff5ca253b1cf831)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/gt/gen7_renderclear.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
```
I don't know if I should report it upstream or not doe.
https://wiki.archlinux.org/index.php/Ccache
Does the proposed fix [1] work?
[1] https://patchwork.freedesktop.org/patch/420436/?series=86947&rev=1
Artifacts in Firefox and glxgears.
FS#69406Effects: Firefox, Minetest and glxgears still shows artifacts.
@bulletmark I watched your video, it seems to be another problem though, The best way I found to detect this issue is by running the command: glxgears
For me it just looks like bits of the geometry is missing.
glxgears: still artifacts
https://gitlab.freedesktop.org/drm/intel/-/issues/3081#note_928867
This should solve the issue, but I think it's in the kernel that comes after v5.13-rc2