[Bug 1202850] New: Tearing and slow screen rendering after update
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 Bug ID: 1202850 Summary: Tearing and slow screen rendering after update Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: x86-64 OS: openSUSE Leap 15.4 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: gfx-bugs@suse.de Reporter: rgb.mldc@gmail.com QA Contact: gfx-bugs@suse.de Found By: --- Blocker: --- Until a few days ago, the graphics were working without problems in my laptop (system info bellow). After the last update that changed (if I remember right) some mesa libraries, screen rendering started to go in "jumps" with a lot of tearing and rendering artifacts. 3D applications are now slow. For example, until last week supertuxkart worked without problems, but now it's impossible to use. Many desktop effects are not working anymore. For example, transparency when dragging windows is not working or even available on Plasma desktop effect settings, but expos�� effect, highlighting panels and blurring on log-out still work (a few checkboxes where neither checked nor unchecked, they showed three dots instead). Everything worked without problems before the update. System information: TUXEDO-Book-BC1507. Graphics (as reported by YaST2 hardware information): intel CoffeeLake-H GT2 (UHD Graphics 630). Copied from KInfoCenter: Operating System: openSUSE Leap 15.4 KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.14.21-150400.24.18-default (64-bit) Graphics Platform: X11 Processors: 8 �� Intel�� Core��� i5-8300H CPU @ 2.30GHz Memory: 15.4 GiB of RAM Graphics Processor: llvmpipe The puzzling bit is "llvmpipe". I cannot find anymore an option to set the graphic motor under Plasma's system settings ��� Screen ��� Compositor. Bellow the output of ~> sudo lspci -v -s 00:02.0 00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] (prog-if 00 [VGA controller]) Subsystem: CLEVO/KAPOK Computer Device 8555 Flags: bus master, fast devsel, latency 0, IRQ 128 Memory at 8d000000 (64-bit, non-prefetchable) [size=16M] Memory at 90000000 (64-bit, prefetchable) [size=256M] I/O ports at 4000 [size=64] [virtual] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: [40] Vendor Specific Information: Len=0c <?> Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities: [d0] Power Management version 2 Capabilities: [100] Process Address Space ID (PASID) Capabilities: [200] Address Translation Service (ATS) Capabilities: [300] Page Request Interface (PRI) Kernel driver in use: i915 Kernel modules: i915 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c1 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |IN_PROGRESS Summary|Tearing and slow screen |[Intel Coffeelake GT2] |rendering after update |Tearing and slow screen | |rendering after update --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> --- Hmm. Could have been the Mesa update. ------------------------------------------------------------------- Mon Jul 4 14:27:37 UTC 2022 - Stefan Dirsch <sndirsch@suse.com> - change default driver from 'iris' back to 'i965' for Intel Gen8-11 hardware; that way we also use the same driver used by X and Mesa (boo#1200965); related bugs: boo#1197045, boo#1197046 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c2 --- Comment #2 from Stefan Dirsch <sndirsch@suse.com> --- Possible workaround. --- Users can also override the driver selection at run-time. To change it for all applications, they can create a ~/.drirc file containing: <driconf> <device driver="loader" kernel_driver="i915"> <option name="dri_driver" value="iris" /> </device> </driconf> This can also be set via an environment variable for one-off testing: dri_driver=iris ./app --- -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c3 --- Comment #3 from Stefan Dirsch <sndirsch@suse.com> --- For all users on the system: /usr/share/drirc.d/00-mesa-defaults.conf [...] <driconf> <device driver="loader" kernel_driver="i915"> <option name="dri_driver" value="iris" /> </device> [...] </driconf> -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c4 --- Comment #4 from Ricardo Gabriel Berlasso <rgb.mldc@gmail.com> --- (In reply to Stefan Dirsch from comment #2)
Possible workaround.
--- Users can also override the driver selection at run-time. To change it for all applications, they can create a ~/.drirc file containing:
<driconf> <device driver="loader" kernel_driver="i915"> <option name="dri_driver" value="iris" /> </device> </driconf>
This can also be set via an environment variable for one-off testing:
dri_driver=iris ./app ---
I created the file as indicated, restarted the session but nothing changed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c5 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rgb.mldc@gmail.com Flags| |needinfo?(rgb.mldc@gmail.co | |m) --- Comment #5 from Stefan Dirsch <sndirsch@suse.com> --- Hmm. Could you try this? strace -f -e trace=file glxinfo -B 2>&1 | grep _dri and add the output here? Should look similar to this: # strace -f -e trace=file glxinfo -B 2>&1|grep _dri openat(AT_FDCWD, "/usr/lib64/dri/tls/i965_dri.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib64/dri/i965_dri.so", O_RDONLY|O_CLOEXEC) = 5 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c6 Ricardo Gabriel Berlasso <rgb.mldc@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(rgb.mldc@gmail.co | |m) | --- Comment #6 from Ricardo Gabriel Berlasso <rgb.mldc@gmail.com> --- (In reply to Stefan Dirsch from comment #5)
Hmm. Could you try this?
strace -f -e trace=file glxinfo -B 2>&1 | grep _dri
and add the output here? Should look similar to this:
# strace -f -e trace=file glxinfo -B 2>&1|grep _dri openat(AT_FDCWD, "/usr/lib64/dri/tls/i965_dri.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib64/dri/i965_dri.so", O_RDONLY|O_CLOEXEC) = 5
Both, with and without the file ~/.drirc I get the same result ~> strace -f -e trace=file glxinfo -B 2>&1 | grep _dri openat(AT_FDCWD, "/usr/lib64/dri/tls/swrast_dri.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No existe el fichero o el directorio) openat(AT_FDCWD, "/usr/lib64/dri/swrast_dri.so", O_RDONLY|O_CLOEXEC) = 4 The Spanish text between brackets at the center line says that the file or the directory does not exist. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c7 --- Comment #7 from Stefan Dirsch <sndirsch@suse.com> --- It tries to load the software rasterizer. This is weird. Try this dri_driver=iris strace -f -e trace=file glxinfo -B 2>&1|grep _dri Should look like this. ATTENTION: default value of option dri_driver overridden by environment. openat(AT_FDCWD, "/usr/lib64/dri/tls/iris_dri.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib64/dri/iris_dri.so", O_RDONLY|O_CLOEXEC) = 5 ATTENTION: default value of option dri_driver overridden by environment. Try also with "i965" and "crocus" as drivers instead of "iris". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c8 --- Comment #8 from Ricardo Gabriel Berlasso <rgb.mldc@gmail.com> --- (In reply to Stefan Dirsch from comment #7)
It tries to load the software rasterizer. This is weird.
Try this
dri_driver=iris strace -f -e trace=file glxinfo -B 2>&1|grep _dri
Should look like this.
ATTENTION: default value of option dri_driver overridden by environment. openat(AT_FDCWD, "/usr/lib64/dri/tls/iris_dri.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib64/dri/iris_dri.so", O_RDONLY|O_CLOEXEC) = 5 ATTENTION: default value of option dri_driver overridden by environment.
Try also with "i965" and "crocus" as drivers instead of "iris".
It makes no difference, I always get the same output ~> dri_driver=iris strace -f -e trace=file glxinfo -B 2>&1|grep _dri openat(AT_FDCWD, "/usr/lib64/dri/tls/swrast_dri.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No existe el fichero o el directorio) openat(AT_FDCWD, "/usr/lib64/dri/swrast_dri.so", O_RDONLY|O_CLOEXEC) = 4 ~> dri_driver=i965 strace -f -e trace=file glxinfo -B 2>&1|grep _dri openat(AT_FDCWD, "/usr/lib64/dri/tls/swrast_dri.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No existe el fichero o el directorio) openat(AT_FDCWD, "/usr/lib64/dri/swrast_dri.so", O_RDONLY|O_CLOEXEC) = 4 ~> dri_driver=crocus strace -f -e trace=file glxinfo -B 2>&1|grep _dri openat(AT_FDCWD, "/usr/lib64/dri/tls/swrast_dri.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No existe el fichero o el directorio) openat(AT_FDCWD, "/usr/lib64/dri/swrast_dri.so", O_RDONLY|O_CLOEXEC) = 4 I don't really know what I'm doing, so to be sure, I created a text file with <driconf> <device driver="loader" kernel_driver="i915"> <option name="dri_driver" value="iris" /> </device> </driconf> on it and named it as .drirc, saving it in my home directory, and then restarted the session, but having it or not makes no difference. Do I need to do something else? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c9 --- Comment #9 from Stefan Dirsch <sndirsch@suse.com> --- Indeed your driver settings are ignored, but you're doing it correctly, exactly as I told you! Obviously only "swrast" is being tried for some reason. I have no explanation for this right now. :-( -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c10 --- Comment #10 from Stefan Dirsch <sndirsch@suse.com> --- Meanwhile I'm wondering whether you're running with fbdev X driver for some reason. Maybe intel modeset kernel driver is broken or disabled for some reason. Can you provide the Xserver logfile somehow? Unfortunately I don't know where to find it when using sddm as displaymanager. Maybe it's still /var/log/Xorg.0.log or it's in ~/.local/share/xorg or somewhere else or hidden somewhere in journalctl. :-( -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c11 --- Comment #11 from Ricardo Gabriel Berlasso <rgb.mldc@gmail.com> --- Created attachment 861150 --> http://bugzilla.opensuse.org/attachment.cgi?id=861150&action=edit Xorg.0.log file Here it is the Xorg.0.log file in /var/log/ There is also a Xorg.1.log file there, but it seems from February. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #861150|text/x-log |text/plain mime type| | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c12 --- Comment #12 from Dirk Weber <d_werner@gmx.net> --- (In reply to Ricardo Gabriel Berlasso from comment #6)
(In reply to Stefan Dirsch from comment #5)
Hmm. Could you try this?
strace -f -e trace=file glxinfo -B 2>&1 | grep _dri
and add the output here? Should look similar to this:
# strace -f -e trace=file glxinfo -B 2>&1|grep _dri openat(AT_FDCWD, "/usr/lib64/dri/tls/i965_dri.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib64/dri/i965_dri.so", O_RDONLY|O_CLOEXEC) = 5
Both, with and without the file ~/.drirc I get the same result
~> strace -f -e trace=file glxinfo -B 2>&1 | grep _dri openat(AT_FDCWD, "/usr/lib64/dri/tls/swrast_dri.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No existe el fichero o el directorio) openat(AT_FDCWD, "/usr/lib64/dri/swrast_dri.so", O_RDONLY|O_CLOEXEC) = 4
The Spanish text between brackets at the center line says that the file or the directory does not exist.
just a brief observation: the path "/usr/lib64/dri/tls/swrast_dri.so" looks strange. I do not have a directory /usr/lib64/dri/tls on my system. But I have: /usr/lib64/dri/swrast_dri.so and also ls -1 /usr/lib64/dri/i* /usr/lib64/dri/i830_dri.so /usr/lib64/dri/i915_dri.so /usr/lib64/dri/i965_dri.so /usr/lib64/dri/iris_dri.so rpm -qf /usr/lib64/dri/iris_dri.so Mesa-dri-21.2.4-150400.68.3.1.x86_64 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c13 --- Comment #13 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Ricardo Gabriel Berlasso from comment #11)
Created attachment 861150 [details] Xorg.0.log file
Here it is the Xorg.0.log file in /var/log/
There is also a Xorg.1.log file there, but it seems from February.
modeset driver is used, which is fine, but the Mesa driver selection for GLAMOR support (2D acceleration via Mesa 3D driver) from Xserver is also wrong. It should load "i965" instead of "swrast" driver. [ 46.592] (II) modeset(0): Refusing to try glamor on llvmpipe [ 46.594] (EE) modeset(0): glamor initialization failed But this is hardcoded in Xserver. So this should not be related to the Mesa update. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c14 --- Comment #14 from Stefan Dirsch <sndirsch@suse.com> --- @Dirk Weber The "tls" error message can be ignored. Unrelated to this issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c15 --- Comment #15 from Ricardo Gabriel Berlasso <rgb.mldc@gmail.com> --- (In reply to Dirk Weber from comment #12)
just a brief observation: the path "/usr/lib64/dri/tls/swrast_dri.so" looks strange.
I do not have a directory /usr/lib64/dri/tls on my system. But I have: /usr/lib64/dri/swrast_dri.so
Indeed, I've just checked and that's the case there too.
and also ls -1 /usr/lib64/dri/i* /usr/lib64/dri/i830_dri.so /usr/lib64/dri/i915_dri.so /usr/lib64/dri/i965_dri.so /usr/lib64/dri/iris_dri.so
I get ~> ls -1 /usr/lib64/dri/i* /usr/lib64/dri/i830_dri.so /usr/lib64/dri/i915_dri.so /usr/lib64/dri/i965_dri.so /usr/lib64/dri/i965_drv_video.so /usr/lib64/dri/iHD_drv_video.so /usr/lib64/dri/iris_dri.so
rpm -qf /usr/lib64/dri/iris_dri.so Mesa-dri-21.2.4-150400.68.3.1.x86_64
Same result for me. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c16 --- Comment #16 from Stefan Dirsch <sndirsch@suse.com> --- I will try to reproduce with a laptop with similar gfx card and Leap 15.4 installed - as soon as possible. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c23 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |luke.driscoll@gmail.com --- Comment #23 from Stefan Dirsch <sndirsch@suse.com> --- *** Bug 1202886 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c32 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |comes@naic.edu --- Comment #32 from Stefan Dirsch <sndirsch@suse.com> --- *** Bug 1202954 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c35 --- Comment #35 from Stefan Dirsch <sndirsch@suse.com> --- *** Bug 1203029 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202850 http://bugzilla.opensuse.org/show_bug.cgi?id=1202850#c38 --- Comment #38 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1202850) was mentioned in https://build.opensuse.org/request/show/1034271 Factory / Mesa -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com