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-de...@lists.freedesktop.org To: nouv...@lists.freedesktop.org CC: 1042...@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
signature.asc
Description: This is a digitally signed message part.