Exciting! Thank you so much for your help mate, it's very much appreciated.
I did try kernel 6.6 without either patch before installing the new one, and I can confirm that the issue was still present on that version.
With the new patch though (after adding a comma to the end of each .ident string), everything is working as expected.
Either way, this did it! Thank you so much!
I believe that the issue might be that the amdgpu driver is too new, judging by this string of errors:
Dec 20 21:30:54 minion xserver-wrapper[1080]: (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
Dec 20 21:30:54 minion xserver-wrapper[1080]: (EE) AMDGPU(0): [drm] Failed to open DRM device for pci:0000:05:00.0: Invalid argument
Dec 20 21:30:54 minion xserver-wrapper[1080]: (II) AMDGPU(1): [KMS] Kernel modesetting enabled.
Dec 20 21:30:54 minion xserver-wrapper[1080]: (EE) AMDGPU(1): [drm] Failed to open DRM device for pci:0000:05:00.0: Invalid argument
Dec 20 21:30:54 minion xserver-wrapper[1080]: (EE) Screen 0 deleted because of no matching config section.
Dec 20 21:30:54 minion xserver-wrapper[1080]: (II) UnloadModule: "amdgpu"
Dec 20 21:30:54 minion xserver-wrapper[1080]: (EE) Screen 0 deleted because of no matching config section.
Dec 20 21:30:54 minion xserver-wrapper[1080]: (II) UnloadModule: "amdgpu"
Dec 20 21:30:54 minion xserver-wrapper[1080]: (EE) Device(s) detected, but none match those in the config file.
Dec 20 21:30:54 minion xserver-wrapper[1080]: (EE)
Dec 20 21:30:54 minion xserver-wrapper[1080]: Fatal server error:
Dec 20 21:30:54 minion xserver-wrapper[1080]: (EE) no screens found(EE)
So if this doesn't end up working, I'll definitely look into the pinning thing, because 5.10 seems like my best shot.
Figured I'd do the pre-setup before I went to bed, so I've run the grep command and put the board_name from that output such that the patch now reads thus:
boot.kernelPatches = [{
name = "acpi quirk";
patch = pkgs.writeText "acpi.patch" ''
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 297a88587031..655332f3a5da 100644
***
a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -524,6 +524,12 @@ static const struct dmi_system_id pcspecialist_laptop[] = {
DMI_MATCH(DMI_BOARD_NAME, "GM6BG0Q"),
},
},
+ {
+ /* Infinity E15-5A165-BM */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_NAME, "GM5RG1E0009COM"),
+ },
+ },
{ }
};
'';
}];
I'll report back with the results when I'm able.
Splatsune
joined 1 year ago