[Bug 1168776] New: Message spam about framebuffer compression in system log
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776 Bug ID: 1168776 Summary: Message spam about framebuffer compression in system log 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: Stromeko@NexGo.DE QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- This update produces reams of these messages on my system: Apr 05 09:17:36 Gertrud kernel: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS. There is no BIOS setting I could change on my Dell T20 unfortunaltely. I have already tried to set the kernel parameter i915.enable_fbc=0 (and a parameter file in /etc/modprobe.d with the same settings), which does result in a tainted kernel (so the setting should be active), but these messages still continue at a high rate and the frambuffer compression seems to be enabled anyway. The 5.5.* kernels do not have this problem, this message never occurs there. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
Michiel Janssens
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776#c3
--- Comment #3 from Achim Gratz
What do you have in /sys/kernel/debug/dri/0/i915_gem_stolen in both kernels?
That sysfs file does not exist under the 5.5.13 I'm currently running. I'll have to reboot into the 5.6.0 kernel later. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776#c4
--- Comment #4 from Achim Gratz
So the message appears repeatedly?
Yes, several times a second actually, in bursts of a few seconds apart.
Interesting, a patch to make the message to DRM_INFO_ONCE() was submitted in more than year ago, but it didn't get merged. https://lore.kernel.org/patchwork/patch/960241/
Yes I'd seen that, but it'
And you've hit this while it didn't happen on 5.5. So the call pattern has changed between 5.5 and 5.6 and starts triggering it...
Or the kernel decides to use the reported BIOS features differently. THe other thing that irks me is that I am apparently unable to switch off the framebuffer compression even though the kernel parameter was recognized. What's up with that? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776#c5
--- Comment #5 from Achim Gratz
(In reply to Jiri Slaby from comment #2)
What do you have in /sys/kernel/debug/dri/0/i915_gem_stolen in both kernels?
That sysfs file does not exist under the 5.5.13 I'm currently running. I'll have to reboot into the 5.6.0 kernel later.
The new kernel doesn't have that either... maybe this is what you were looking for? # cat /sys/kernel/debug/dri/0/i915_gem_objects 391 shrinkable [0 free] objects, 594219008 bytes system: total:0x00000001eb41d000, available:0x00000001eb41d000 bytes stolen: total:0x0000000002000000, available:0x0000000002000000 bytes -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776#c6
Achim Gratz
(In reply to Achim Gratz from comment #3)
(In reply to Jiri Slaby from comment #2)
What do you have in /sys/kernel/debug/dri/0/i915_gem_stolen in both kernels?
That sysfs file does not exist under the 5.5.13 I'm currently running. I'll have to reboot into the 5.6.0 kernel later.
The new kernel doesn't have that either... maybe this is what you were looking for?
# cat /sys/kernel/debug/dri/0/i915_gem_objects 391 shrinkable [0 free] objects, 594219008 bytes system: total:0x00000001eb41d000, available:0x00000001eb41d000 bytes stolen: total:0x0000000002000000, available:0x0000000002000000 bytes
the same output from the 5.5.13 kernel is just: # cat /sys/kernel/debug/dri/0/i915_gem_objects 367 shrinkable [0 free] objects, 591519744 bytes OK, so I dove into /sys/module/i915/parameters and see that fbc_enable is reading "0". So indeed the 5.5.13 kernel did _not_ switch on fb compression. Switching it on manually yields this: [ 617.221643] Setting dangerous option enable_fbc - tainting kernel [ 617.267790] [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS. So far that has been the only message. So I start to think that the bug with 5.6.0 is actually that the fb compression gets set to on unconditionally (as evidenced by the fact that the kernel parameter was read as "0" on boot, but the compression stayed on anyway). I might try to manually disable it via sysfs on 5.6.0 later, but I have to shut down for today. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776#c7
--- Comment #7 from Achim Gratz
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776#c8
--- Comment #8 from Achim Gratz
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776#c10
--- Comment #10 from Achim Gratz
Could you report this to upstream? gitlab.freedesktop.org issues.
Oh, please not another one of these stupid bugtrackers that require registration… -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776#c11
--- Comment #11 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776#c12
--- Comment #12 from Achim Gratz
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776#c13
--- Comment #13 from Achim Gratz
Well, basically there is no chance to fix such a bug in the distro side for TW. This must be handled in the upstream, and they need the proper bug report.
Well, one would have thought that somebody has figured out a way to "upstream" distro bugreports by now, as that's not exactly an uncommon occurence. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776#c14
--- Comment #14 from Takashi Iwai
(In reply to Takashi Iwai from comment #11)
Well, basically there is no chance to fix such a bug in the distro side for TW. This must be handled in the upstream, and they need the proper bug report.
Well, one would have thought that somebody has figured out a way to "upstream" distro bugreports by now, as that's not exactly an uncommon occurence.
Such a hardware-related bug report needs to be done by the original reporter, since the distro has no hardware access. If it were only on Leap, it's distro's responsibility as it's a backport problem. But if it's about TW, it's certainly an upstream bug, hence the hardware owner needs to cooperate with upstream devs for tracking down the problem. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776#c15
--- Comment #15 from Achim Gratz
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776#c16
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776
http://bugzilla.opensuse.org/show_bug.cgi?id=1168776#c17
--- Comment #17 from Achim Gratz
Thanks for the update. Now backported to stable branch. It looks merely like a workaround rather than a proper fix, at least the annoyance would be gone by this, so let's close now.
Yes, it seems to be papering over the issue of why we get that message in the first place. FB compression is already off for this display size, so the message must get triggered by some other error. I haven't got the round tuit to go look by which path it snakes there.
Feel free to reopen if you still encounter the problem even with the patch.
I've been running that for two days now (not too thoroughly stressed) and aside from the missing journal entries everything still seems to work as it should. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com