You are not logged in.

#1 2022-09-29 13:16:13

0BADC0DE
Member
From: Regnum Utriusque Siciliae
Registered: 2018-02-21
Posts: 267

linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

I did an upgrade and a reboot.
External monitor, ethernet, keyboard and mouse are attached to an external USB docking station.
My laptop screen went black while back-light started flickering.
Second screen was OK, but mouse wasn't working.
I did a CTRL+ALT+F2 and switched back to previous version linux-zen 5.19.11.zen1-1 while ignoring linux-zen packages from upgrades.
Everything now works.
I am available to collect logs and other details once my working day is over.

[UPDATE]
5.19.13 works just fine!
See also here.

Last edited by 0BADC0DE (2022-10-05 06:39:35)


Maybe Computers Will Never Become As Intelligent
As Humans. Surely They Won't Ever Become So Stupid.

Offline

#2 2022-09-29 15:59:39

martinc2
Member
Registered: 2011-09-23
Posts: 60

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

FWIW, I have a very similar setup here (docking station and all) and haven't had any issues with 5.9.12.zen1-1.  No chance that it's something as simple as a loose cable?

Offline

#3 2022-09-29 16:11:27

0BADC0DE
Member
From: Regnum Utriusque Siciliae
Registered: 2018-02-21
Posts: 267

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

martinc2 wrote:

FWIW, I have a very similar setup here (docking station and all) and haven't had any issues with 5.9.12.zen1-1.  No chance that it's something as simple as a loose cable?

No way!
1. Laptop screen stops working
2. If I downgrade I fix it. If I re-upgrade I break it.
No loose cables here, though.


Maybe Computers Will Never Become As Intelligent
As Humans. Surely They Won't Ever Become So Stupid.

Offline

#4 2022-09-29 16:16:40

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

Please post the system journal from a boot under 5.9.12.zen1-1 and a boot under 5.19.11.zen1-1.

Offline

#5 2022-09-29 17:49:27

smn
Member
Registered: 2022-09-29
Posts: 1

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

Same issue here with both standard Arch Linux kernel as well as Xanmod. Upgrade from 5.19.11 to 5.19.12 breaks video on Intel graphics (11gen).

Offline

#6 2022-09-29 18:11:50

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

@smn can you bisect between the two releases and identify the causal commit?
Edit:
Please try the kernel linked below which is 5.19.12 without any additional locally applied commits
https://drive.google.com/file/d/1cWk_fl … sp=sharing linux-5.19.12-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1Gd2rRi … sp=sharing linux-headers-5.19.12-1-x86_64.pkg.tar.zst
Edit2:
If the kernel above has the issue try the kernel linked below which is the mid point of the bisection
https://drive.google.com/file/d/1A2f2Ep … sp=sharing linux-5.19.11.r104.g38aa25adcd4d-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1MWWCS3 … sp=sharing linux-headers-5.19.11.r104.g38aa25adcd4d-1-x86_64.pkg.tar.zst

Last edited by loqs (2022-09-29 19:12:23)

Offline

#7 2022-09-29 20:18:10

sngn
Member
Registered: 2022-09-29
Posts: 8

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

I have the same issue after upgrading to linux-zen 5.19.12 today.

After I upgraded I rebooted. Instead of grub I saw flickering.
I booted via usb stick and set GRUB_GFXMODE from "auto" to "640x480".
On the next boot grub menu appeared and flickering started after selecting linux-zen boot entry.

I tried an older kernel (bcachefs-simple-git with base 5.19 that I compiled last week) and everything works.

I tried both kernels that @loqs provided in the previous post and both have the issue.

edit: I forgot to mention that I also commented GRUB_GFXPAYLOAD_LINUX=keep so that grub resolution is not kept. I haven't tried with this active. I have not changed this setting since.
edit2: Sorry, i just looked at the build date of the working kernel and it is 2022-08-26, so more like 4 weeks ago. I compiled that kernel last week but did not install it on this machine.
edit3: Sorry again, this time for all the edits.. I am on 12th gen intel graphics here

Last edited by sngn (2022-09-29 20:25:55)

Offline

#8 2022-09-29 20:22:49

cadmium
Member
Registered: 2022-06-13
Posts: 6

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

I can confirm the behavior on a machine with intel graphics 11th gen.
When I shutdown with the faulty kernel 5.19.12, a call trace is displayed.
Don't know if I can find it in any log to post it.
But the last lines are:

[...] i915 ...: [drm] *ERROR* [CRTC:...:pipe A] flip_done timed out
[...] i915 ...: [drm] *ERROR* [CRTC:...:pipe B] flip_done timed out

Offline

#9 2022-09-29 20:36:07

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

git bisect bad
Bisecting: 51 revisions left to test after this (roughly 6 steps)
[41f857033c44442a27f591fda8d986e7c9e42872] gpio: mockup: Fix potential resource leakage when register a chip

https://drive.google.com/file/d/10DftUH … sp=sharing linux-5.19.11.r52.g41f857033c44-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1UfmhjY … sp=sharing linux-headers-5.19.11.r52.g41f857033c44-1-x86_64.pkg.tar.zst

As you mentioned 11th gen https://git.kernel.org/pub/scm/linux/ke … 64d51f9503 could be the cause
Edit:
Assuming the above is bad

git bisect bad
Bisecting: 25 revisions left to test after this (roughly 5 steps)
[1c5a0a1f4d1509995cb2c10f124751f56d976b1a] ALSA: core: Fix double-free at snd_card_new()

https://drive.google.com/file/d/1M7A4S_ … sp=sharing linux-5.19.11.r26.g1c5a0a1f4d15-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/16-oAKR … sp=sharing linux-headers-5.19.11.r26.g1c5a0a1f4d15-1-x86_64.pkg.tar.zst

Last edited by loqs (2022-09-29 20:50:57)

Offline

#10 2022-09-29 20:55:57

sngn
Member
Registered: 2022-09-29
Posts: 8

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

@loqs I tried this kernel and it also results in flickering

Since I buried this info in an edit and it might be important, I want to restate that I am running 12th gen intel graphics
And also that grub was showing this flickering behaviour too (which I find surprising - did not know there was a connection betwenn kernel updates and grub - at least in this way)

Offline

#11 2022-09-29 21:01:55

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

git bisect bad
Bisecting: 12 revisions left to test after this (roughly 4 steps)
[7c64dd4dbf9026b2c2e19a01da126b0df17c5c1b] smb3: use filemap_write_and_wait_range instead of filemap_write_and_wait

https://drive.google.com/file/d/1uU_Kiq … sp=sharing linux-5.19.11.r13.g7c64dd4dbf90-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1MFnbnZ … sp=sharing linux-headers-5.19.11.r13.g7c64dd4dbf90-1-x86_64.pkg.tar.zst

I assume this one will be bad again and the next one I am building is in the middle of the i915 changes so may be a good one

Offline

#12 2022-09-29 21:03:50

sngn
Member
Registered: 2022-09-29
Posts: 8

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

I am sorry (again).. I only tried r52

I will now try r26 and if needed r13

will report in a few minutes

Offline

#13 2022-09-29 21:11:44

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

No rush if both r26 and r13 are bad as I assumed then the next one will be

git bisect bad
Bisecting: 6 revisions left to test after this (roughly 3 steps)
[d9d2625dafe29324fe01ecba684ce48a70ec322c] drm/i915/dsi: filter invalid backlight and CABC ports

https://drive.google.com/file/d/16Umhyl … sp=sharing linux-5.19.11.r6.gd9d2625dafe2-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1LiLdGP … sp=sharing linux-headers-5.19.11.r6.gd9d2625dafe2-1-x86_64.pkg.tar.zst

Offline

#14 2022-09-29 21:12:22

sngn
Member
Registered: 2022-09-29
Posts: 8

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

both show the flickering

the only difference in all these tries, was with r52 and r26 I too got the stack trace mentioned earlier, but not reproducible (at least not on the next try)

Offline

#15 2022-09-29 21:16:55

sngn
Member
Registered: 2022-09-29
Posts: 8

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

r6 is bad too

Offline

#16 2022-09-29 21:44:19

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

git bisect bad
Bisecting: 2 revisions left to test after this (roughly 2 steps)
[5da3f1bfb88ed59e43d9b52529321c20199e8826] drm/i915/bios: Split parse_driver_features() into two parts

https://drive.google.com/file/d/1a5B62N … sp=sharing linux-5.19.11.r3.g5da3f1bfb88e-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1DfoABp … sp=sharing linux-headers-5.19.11.r3.g5da3f1bfb88e-1-x86_64.pkg.tar.zst
Edit:
Sanity check
https://drive.google.com/file/d/10rAt5E … sp=sharing linux-5.19.11-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1IIF6E5 … sp=sharing linux-headers-5.19.11-1-x86_64.pkg.tar.zst

Last edited by loqs (2022-09-29 22:05:21)

Offline

#17 2022-09-29 22:09:23

sngn
Member
Registered: 2022-09-29
Posts: 8

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

r3 works, running it right now

Offline

#18 2022-09-29 22:29:45

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

Sigh of relief there was a good one.  Likely cause https://git.kernel.org/pub/scm/linux/ke … 8a70ec322c

git bisect good
Bisecting: 0 revisions left to test after this (roughly 1 step)
[fc6aff984b1c63d6b9e54f5eff9cc5ac5840bc8c] drm/i915/bios: Split VBT data into per-panel vs. global parts

https://drive.google.com/file/d/1PQS4ie … sp=sharing linux-5.19.11.r5.gfc6aff984b1c-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/14ZERdB … sp=sharing linux-headers-5.19.11.r5.gfc6aff984b1c-1-x86_64.pkg.tar.zst

Offline

#19 2022-09-29 23:04:18

sngn
Member
Registered: 2022-09-29
Posts: 8

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

r5 is bad

Offline

#20 2022-09-29 23:21:30

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

git bisect bad
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[2af21ae876cf00800219f6f6d6245d081aeed47a] drm/i915/bios: Split VBT parsing to global vs. panel specific parts

https://drive.google.com/file/d/1P9z2ri … sp=sharing linux-5.19.11.r4.g2af21ae876cf-1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1HkMoyE … sp=sharing linux-headers-5.19.11.r4.g2af21ae876cf-1-x86_64.pkg.tar.zst

Offline

#21 2022-09-29 23:25:44

sngn
Member
Registered: 2022-09-29
Posts: 8

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

r4 works

Offline

#22 2022-09-29 23:32:15

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

git bisect good
fc6aff984b1c63d6b9e54f5eff9cc5ac5840bc8c is the first bad commit
commit fc6aff984b1c63d6b9e54f5eff9cc5ac5840bc8c
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Tue May 10 13:42:39 2022 +0300

    drm/i915/bios: Split VBT data into per-panel vs. global parts
    
    [ Upstream commit 3cf050762534cc268a02793ec00240f81c6e2229 ]
    
    Move the panel specific VBT parsing to happen during the
    output probing stage. Needs to be done because the VBT
    parsing will need to look at the EDID to determine
    the correct panel_type on some machines.
    
    We split the parsed VBT data (i915->vbt) along the same
    boundary. For the moment we just hoist all the panel
    specific stuff into connector->panel.vbt since that seems
    like the most convenient place for eg. the backlight code.
    
    Note that we simply drop the drrs type check from
    intel_drrs_frontbuffer_update() since that operates on the whole
    device rather than a specific connector/encoder. But the check
    was just a micro optimization so removing it doesn't actually
    mattter for correctness.
    
    TODO: Lot's of cleanup to be done in the future. Eg. most of
    the DSI stuff could probably be eliminated entirely and just
    parsed on demand during DSI init.
    
    v2: Note the intel_drrs_frontbuffer_update() change
    
    Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20220510104242.6099-13-ville.syrjala@linux.intel.com
    Reviewed-by: Jani Nikula <jani.nikula@intel.com>
    Stable-dep-of: 607f41768a1e ("drm/i915/dsi: filter invalid backlight and CABC ports")
    Signed-off-by: Sasha Levin <sashal@kernel.org>

 drivers/gpu/drm/i915/display/icl_dsi.c             |  11 +-
 drivers/gpu/drm/i915/display/intel_backlight.c     |  23 +-
 drivers/gpu/drm/i915/display/intel_bios.c          | 371 +++++++++++----------
 drivers/gpu/drm/i915/display/intel_bios.h          |   5 +-
 drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c |   9 +-
 drivers/gpu/drm/i915/display/intel_display.c       |   1 -
 drivers/gpu/drm/i915/display/intel_display_types.h |  69 ++++
 drivers/gpu/drm/i915/display/intel_dp.c            |  21 +-
 drivers/gpu/drm/i915/display/intel_dp.h            |   1 +
 .../gpu/drm/i915/display/intel_dp_aux_backlight.c  |   6 +-
 drivers/gpu/drm/i915/display/intel_drrs.c          |   3 -
 drivers/gpu/drm/i915/display/intel_dsi.c           |   2 +-
 .../gpu/drm/i915/display/intel_dsi_dcs_backlight.c |   9 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c       |  56 ++--
 drivers/gpu/drm/i915/display/intel_lvds.c          |   6 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |  13 +-
 drivers/gpu/drm/i915/display/intel_pps.c           |   6 +-
 drivers/gpu/drm/i915/display/intel_psr.c           |  30 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |   3 +
 drivers/gpu/drm/i915/display/vlv_dsi.c             |  14 +-
 drivers/gpu/drm/i915/i915_drv.h                    |  63 ----
 21 files changed, 391 insertions(+), 331 deletions(-)
git bisect log
git bisect start
# status: waiting for both good and bad commits
# bad: [58df6af8cea3c5377c0220d9fb47cbf85a216f54] Linux 5.19.12
git bisect bad 58df6af8cea3c5377c0220d9fb47cbf85a216f54
# status: waiting for good commit(s), bad commit known
# good: [fcf22aefe87101424563a8dd8adec8a75b8c7576] Linux 5.19.11
git bisect good fcf22aefe87101424563a8dd8adec8a75b8c7576
# bad: [38aa25adcd4da9e114c795a1db222e2dd2a9e199] scsi: mpt3sas: Fix return value check of dma_get_required_mask()
git bisect bad 38aa25adcd4da9e114c795a1db222e2dd2a9e199
# bad: [41f857033c44442a27f591fda8d986e7c9e42872] gpio: mockup: Fix potential resource leakage when register a chip
git bisect bad 41f857033c44442a27f591fda8d986e7c9e42872
# bad: [1c5a0a1f4d1509995cb2c10f124751f56d976b1a] ALSA: core: Fix double-free at snd_card_new()
git bisect bad 1c5a0a1f4d1509995cb2c10f124751f56d976b1a
# bad: [7c64dd4dbf9026b2c2e19a01da126b0df17c5c1b] smb3: use filemap_write_and_wait_range instead of filemap_write_and_wait
git bisect bad 7c64dd4dbf9026b2c2e19a01da126b0df17c5c1b
# bad: [d9d2625dafe29324fe01ecba684ce48a70ec322c] drm/i915/dsi: filter invalid backlight and CABC ports
git bisect bad d9d2625dafe29324fe01ecba684ce48a70ec322c
# good: [5da3f1bfb88ed59e43d9b52529321c20199e8826] drm/i915/bios: Split parse_driver_features() into two parts
git bisect good 5da3f1bfb88ed59e43d9b52529321c20199e8826
# bad: [fc6aff984b1c63d6b9e54f5eff9cc5ac5840bc8c] drm/i915/bios: Split VBT data into per-panel vs. global parts
git bisect bad fc6aff984b1c63d6b9e54f5eff9cc5ac5840bc8c
# good: [2af21ae876cf00800219f6f6d6245d081aeed47a] drm/i915/bios: Split VBT parsing to global vs. panel specific parts
git bisect good 2af21ae876cf00800219f6f6d6245d081aeed47a
# first bad commit: [fc6aff984b1c63d6b9e54f5eff9cc5ac5840bc8c] drm/i915/bios: Split VBT data into per-panel vs. global parts

How to file i915 bugs to contact upstream.

Offline

#23 2022-09-30 06:32:21

0BADC0DE
Member
From: Regnum Utriusque Siciliae
Registered: 2018-02-21
Posts: 267

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

loqs wrote:

Please post the system journal from a boot under 5.9.12.zen1-1 and a boot under 5.19.11.zen1-1.

I think these logs aren't needed any more. Are they?


Maybe Computers Will Never Become As Intelligent
As Humans. Surely They Won't Ever Become So Stupid.

Offline

#24 2022-09-30 07:34:16

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

0BADC0DE wrote:
loqs wrote:

Please post the system journal from a boot under 5.9.12.zen1-1 and a boot under 5.19.11.zen1-1.

I think these logs aren't needed any more. Are they?

Correct.  Upstream does need more information though see https://gitlab.freedesktop.org/drm/intel/-/issues/6993
Edit:
Linked bug report was for a different issue.

Last edited by loqs (2022-10-01 00:14:13)

Offline

#25 2022-09-30 07:50:05

0BADC0DE
Member
From: Regnum Utriusque Siciliae
Registered: 2018-02-21
Posts: 267

Re: linux-zen 5.19.12.zen1-1 makes my laptop unusable [5.19.13 fixes it!]

loqs wrote:
0BADC0DE wrote:
loqs wrote:

Please post the system journal from a boot under 5.9.12.zen1-1 and a boot under 5.19.11.zen1-1.

I think these logs aren't needed any more. Are they?

Correct.  Upstream does need more information though see https://gitlab.freedesktop.org/drm/intel/-/issues/6993

Thanks. Unluckily this is my one and only daily work machine and can do those reboots only at EoBD.


Maybe Computers Will Never Become As Intelligent
As Humans. Surely They Won't Ever Become So Stupid.

Offline

Board footer

Powered by FluxBB