Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1157089

Bug#1042753: nouveau: Screen remains black.

From Diederik de Haas <didi.debian@cknow.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1042753: nouveau: Screen remains black.
Date 2023-08-02 19:40 +0200
Message-ID <GYnZf-4DPq-9@gated-at.bofh.it> (permalink)
References <GXyDn-41RD-7@gated-at.bofh.it> <GYmTv-4D6c-1@gated-at.bofh.it> <GXyDn-41RD-7@gated-at.bofh.it> <GYmTv-4D6c-1@gated-at.bofh.it>
Organization Connecting Knowledge

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wednesday, 2 August 2023 18:26:32 CEST Olaf Skibbe wrote:
> I gave it a shot and ran
> 
> # apt install /home/olaf/Patches/*.deb

Just linux-image-6.1.0-0.a.test-amd64-unsigned_6.1.38-2a~test_amd64.deb 
would've been enough, but this works too ;-)

> Result: Booted in the new kernel.
> 
> # uname -r
> 6.1.0-0.a.test-amd64
> 
> Graphics works now.

This is fantastic \o/

> I guess I am supposed to build some more kernels with subsets of
> patches? Any hint where to start?

I looked at them, but there wasn't one that stood out for me.
You could try them one by one, but that'll take quite a while.

So I suggest we move on the the next step/phase: contact the upstream 
developers, who are also the ones who'd make the actual fix.

So I want to ask you to write an email and send that:
To: dri-devel@lists.freedesktop.org
To: nouveau@lists.freedesktop.org
CC: 1042753@bugs.debian.org (optionally)

And then 'paste' in the text of your initial bug report until this part:
[    3.561131] ---[ end trace 0000000000000000 ]---
I suggest to also include the output of 
`lspci -v -s $(lspci | grep -i vga | awk '{ print $1 }')

Tell them that you found out that it was a regression between upstream kernel 
version 6.1.27 and 6.1.38.

Then explain that you build a new 6.1.38 kernel with these commits reverted:
62aecf23f3d1 drm/nouveau: add nv_encoder pointer check for NULL
fb725beca62d drm/nouveau/dp: check for NULL nv_connector->native_mode
90748be0f4f3 drm/nouveau: don't detect DSM for non-NVIDIA device
5a144bad3e75 nouveau: fix client work fence deletion race

And that that made graphics work again.
Referencing https://bugs.debian.org/1042753 for full context may also be 
useful.

They may ask you to only revert a specific commit as they should be able to 
make a proper guess. Or they already know by the context.
With a bit of luck they'll also ask you to try a potential fix. They should be 
able to provide such a fix/patch as one which cleanly applies to 6.1.38.
Or otherwise I can probably help with that.

And you can pass that patch (file) as argument to the `test-patches` script :-)

If you have any questions, feel free to ask them.

Cheers,
   Diederik

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1042753: nouveau: Screen remains black. Olaf Skibbe <news@kravcenko.com> - 2023-07-31 12:50 +0200
  Bug#1042753: nouveau: Screen remains black. Diederik de Haas <didi.debian@cknow.org> - 2023-07-31 13:20 +0200
    Bug#1042753: nouveau: Screen remains black. Olaf Skibbe <news@kravcenko.com> - 2023-07-31 18:40 +0200
      Bug#1042753: nouveau: Screen remains black. Diederik de Haas <didi.debian@cknow.org> - 2023-07-31 20:40 +0200
        Bug#1042753: nouveau: Screen remains black. Olaf Skibbe <news@kravcenko.com> - 2023-07-31 22:00 +0200
          Bug#1042753: nouveau: Screen remains black. Diederik de Haas <didi.debian@cknow.org> - 2023-07-31 22:50 +0200
            Bug#1042753: nouveau: Screen remains black. Olaf Skibbe <news@kravcenko.com> - 2023-08-02 00:30 +0200
              Bug#1042753: nouveau: Screen remains black. Diederik de Haas <didi.debian@cknow.org> - 2023-08-02 01:20 +0200
                Bug#1042753: nouveau: Screen remains black. Olaf Skibbe <news@kravcenko.com> - 2023-08-02 18:30 +0200
                Bug#1042753: nouveau: Screen remains black. Diederik de Haas <didi.debian@cknow.org> - 2023-08-02 19:40 +0200
  Bug#1042753: nouveau bug in linux/6.1.38-2 Olaf Skibbe <news@kravcenko.com> - 2023-08-02 23:40 +0200
    Bug#1042753: nouveau bug in linux/6.1.38-2 Thorsten Leemhuis <regressions@leemhuis.info> - 2023-08-04 14:50 +0200
  Bug#1042753: nouveau bug in linux/6.1.38-2 Karol Herbst <kherbst@redhat.com> - 2023-08-04 14:30 +0200
    Bug#1042753: nouveau bug in linux/6.1.38-2 Olaf Skibbe <news@kravcenko.com> - 2023-08-04 15:00 +0200
    Bug#1042753: nouveau bug in linux/6.1.38-2 Olaf Skibbe <news@kravcenko.com> - 2023-08-04 20:20 +0200
      Bug#1042753: nouveau bug in linux/6.1.38-2 Karol Herbst <kherbst@redhat.com> - 2023-08-05 01:20 +0200
  Bug#1042753: nouveau bug in linux/6.1.38-2 Karol Herbst <kherbst@redhat.com> - 2023-08-04 15:00 +0200
  Bug#1042753: nouveau bug in linux/6.1.38-2 Diederik de Haas <didi.debian@cknow.org> - 2023-08-04 15:50 +0200
  Bug#1042753: nouveau bug in linux/6.1.38-2 Diederik de Haas <didi.debian@cknow.org> - 2023-08-05 12:50 +0200

csiph-web