[Bug 1143139] New: Displaying (both in X and tty) is stuttering with kernel 5.2.1
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139 Bug ID: 1143139 Summary: Displaying (both in X and tty) is stuttering with kernel 5.2.1 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: w01dnick@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- When kernel 5.2.1 is used visual is stuttering for a while - mouse doesn't move, any display content isn't updated. Display is rarely updated in X and in TTY sessions as well, stopping X doesn't change anything. Aside from visual stuttering everything else looks working fine, e.g. typing `shutdown -r now` in TTY works well, and system is rebooted even before you'll see this command. With kernel 5.1.16 system works fine. `journalctl` doesn't show anything suspicious. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c1
--- Comment #1 from Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c2
--- Comment #2 from Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c3
--- Comment #3 from Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c4
--- Comment #4 from Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c5
--- Comment #5 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c6
--- Comment #6 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c7
--- Comment #7 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c8
--- Comment #8 from Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c9
--- Comment #9 from Mykola Krachkovsky
Do you have suse-prime installed?
Yes, 0.5 is installed, but it's not used as is, I'm using slightly tweaked version to get rid of bbswitch.
What is output from 'inxi -GxxSa'?
System: Host: thaumaturge Kernel: 5.1.16-1-default x86_64 bits: 64 compiler: gcc v: 9.1.1 parameters: BOOT_IMAGE=/boot/vmlinuz-5.1.16-1-default root=UUID=1d777cab-f56c-4d4c-b729-cd47dac4e2ee acpi_backlight=vendor resume=/dev/disk/by-uuid/e29078be-d4cf-4e45-9473-abe30f28eacd splash=silent quiet showopts Desktop: KDE Plasma 5.16.3 tk: Qt 5.13.0 wm: kwin_x11 dm: SDDM Distro: openSUSE Tumbleweed 20190726 Graphics: Device-1: Intel HD Graphics 530 vendor: Micro-Star MSI driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:191b Device-2: NVIDIA GM204M [GeForce GTX 970M] vendor: Micro-Star MSI driver: N/A bus ID: 01:00.0 chip ID: 10de:13d8 Display: x11 server: X.Org 1.20.5 driver: modesetting compositor: kwin_x11 resolution: 1920x1080~60Hz OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2) v: 4.5 Mesa 19.1.2 compat-v: 3.0 direct render: Yes -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c10
Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c11
Takashi Iwai
So, openSUSE:Factory still has files for 5.1.16 kernel, so I've been able to download them and install manually. At least I have working system now.
You may still find the old kernel in TW history repo, http://download.opensuse.org/history/ Also I have a collection of old kernels in my repos, e.g. http://download.opensuse.org/repositories/home:/tiwai:/kernel:/5.1/standard/ (In reply to Mykola Krachkovsky from comment #2)
So, I've checked. 5.2.2 is affected too. And despite I've checked 5.1.16 kernel as locked with `zypper al` it was removed. So I have no usable system right now. What the heck? Why it was removed?
Because you still have a kernel-default package on your system even after removing an old one. The multi-version packages are managed in a different way and the number of installed packages is specified in /etc/zypp/zypp.conf. Edit the multiversion.kernels line in that file to allow more instances. In anyway, if the problem persists and 5.1.x is confirmed to work as is, please boot with drm.debug=0x0e option on both working and non-working kernels, and upload the dmesg outputs to Bugzilla, too. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c12
--- Comment #12 from Mykola Krachkovsky
Please attach /var/log/Xorg.0.log after having booted 5.2 kernel and having started Plasma.
I've added attachment, but I don't think this is related to X. Bug presents in TTY when system booted into 3 mode as well. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c13
--- Comment #13 from Mykola Krachkovsky
You may still find the old kernel in TW history repo, http://download.opensuse.org/history/ Thanks! That's really useful.
Also I have a collection of old kernels in my repos, e.g.
http://download.opensuse.org/repositories/home:/tiwai:/kernel:/5.1/standard/ Thanks, added bookmark.
Because you still have a kernel-default package on your system even after removing an old one. The multi-version packages are managed in a different way and the number of installed packages is specified in /etc/zypp/zypp.conf. Edit the multiversion.kernels line in that file to allow more instances. Yeah... I've tried to add lock to specific version, but that doesn't work either... I've disables `purge-kernels` for now.
In anyway, if the problem persists and 5.1.x is confirmed to work as is, please boot with drm.debug=0x0e option on both working and non-working kernels, and upload the dmesg outputs to Bugzilla, too. Yes, I can't reproduce bug with 5.1.16 (and wasn't noticed with earlier versions), but it constantly reproducable with 5.2.2. I'll add some logs now.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c14
--- Comment #14 from Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c15
Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c16
--- Comment #16 from Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c17
--- Comment #17 from Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c18
--- Comment #18 from Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c19
--- Comment #19 from Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c20
--- Comment #20 from Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c21
Mikael Widersten
Also, I've booted with external display and noticed that only notebook internal display is affected, external display works absolutely fine. For example, internal display still shows SDDM, while on external KDE Plasma successfully loaded and works fine.
xrandr info (1st is internal, 2nd external): ``` xrandr -q | grep -A1 ' conn' eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm 1920x1080 60.02 + 60.01* 59.97 59.96 59.93 47.99 -- HDMI-2 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 477mm x 268mm 1920x1080 60.00*+ ```
Also when external display is plugged TTY behaves much better (presence of X doesn't matter).
And it might be false impression, but it seems, when mouse moves from external to internal display it's updated.
Sorry for hijacking this thread, but I experience the same (very similar) problem after updating from 5.1.16 to 5.2.1. I have tried up to 5.2.4 and the problem persists. Hw= Lenovo X1 Skylake GT2 520 graphics rev 07, i915 driver. It is impossible to boot without an attached external screen (via DP). After booting interacting through the external screen, the system behaves normal (but with an unusable internal screen - it is frozen). reverting back to 5.1.6 fixed the issue. Tumbleweed 20190726 plasma 5.16.3, kernel-default 5.1.16-1. best, /mikael -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c25
--- Comment #25 from Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c27
--- Comment #27 from Mykola Krachkovsky
Since it happens with the recent 5.2.x, could you report this to upstream bug tracker? e.g. bugs.freedesktop.org, component DRI/Intel. Feel free to put me (tiwai@suse.de) to Cc there for any assistance. Thanks.
As this bug https://bugs.freedesktop.org/show_bug.cgi?id=111088 exists, there is no point of creating another one, is there any help to create comment there with link to this bug? (In reply to Patrik Jakobsson from comment #23)
Can you try disabling PSR? eg. booting with i915.enable_psr=0
Checked it, seems working fine with 5.2.3. (In reply to Patrik Jakobsson from comment #26)
Found a possible fix at: https://patchwork.freedesktop.org/patch/319173/?series=63774&rev=4
Yeah, I'll try it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c28
--- Comment #28 from Mykola Krachkovsky
Found a possible fix at: https://patchwork.freedesktop.org/patch/319173/?series=63774&rev=4
Well, I've tried to patch it: https://build.opensuse.org/package/rdiff/home:NickLion:kernel/kernel-source?opackage=kernel-source&oproject=Kernel%3Astable&rev=3 But no luck, maybe it somewhat better, but problem still presents. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c29
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c30
Martin Wilck
$ cat /sys/kernel/debug/dri/0/i915_capabilities gen: 9 platform: SKYLAKE pch: 4 is_mobile: no ... has_psr: yes
I've tried to figure out the relevant commit but I haven't yet. Note that 5.3-rc3 does not include the patch which disables PSR2 ( https://patchwork.freedesktop.org/patch/319173/?series=63774&rev=4).
$ git log --oneline --grep PSR -i v5.2..v5.3-rc3 -- drivers/gpu/drm/i915/ 6d61f71 drm/i915/vbt: Fix VBT parsing for the PSR section 417f254 Merge tag 'drm-intel-next-2019-06-19' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 381f8a2 drm/i915/psr: Force manual PSR exit in older gens 4d432f95 drm: Rename struct edp_vsc_psr to struct dp_sdp 8e9d645 drm/i915/dp: Add a config function for YCBCR420 outputs 6f08ebe drm/i915: Remove the unneeded AUX power ref from intel_dp_hpd_pulse()
I suspected 381f8a2 but that makes little sense as that affects gen < 9 only, and I have gen = 9. So the only one that remains would be 6d61f71, no idea if that makes sense. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c33
--- Comment #33 from Mikael Widersten
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c34
Martin Wilck
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c35
--- Comment #35 from Martin Wilck
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c36
--- Comment #36 from Mykola Krachkovsky
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139
http://bugzilla.opensuse.org/show_bug.cgi?id=1143139#c37
--- Comment #37 from Mykola Krachkovsky
participants (1)
-
bugzilla_noreply@novell.com