oh well. Found out by disabling both, legacy and secure boot on the bios, I got intel gpu as the one used by grub. But then I realized I could actually select it on the bios, though it was sort of misleading to me, it said something like HMU, or similar, whereas the other options were like hybrid, the discrete gpu, or auto, where auto was the default. So that's better. But I guess I have a messy bios, which windows don't care about? I still get random freezes when doing init, and some times even a backtrace dump. When not getting into that, I'm seen several errors on dmsg:
% sudo dmesg | 'grep' -i -e error -e bug -e fail [ 0.230586] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored [ 0.300076] ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [CAP1] at bit offset/length 64/32 exceeds size of target Buffer (64 bits) (20211217/dsopcode-198) [ 0.300082] ACPI Error: Aborting method \_SB._OSC due to previous error (AE_AML_BUFFER_LIMIT) (20211217/psparse-529) [ 3.398151] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 3.736937] ACPI BIOS Error (bug): AE_AML_PACKAGE_LIMIT, Index (0x000000005) is beyond end of object (length 0x5) (20211217/exoparg2-393) [ 3.736947] ACPI Error: Aborting method \_TZ.GETP due to previous error (AE_AML_PACKAGE_LIMIT) (20211217/psparse-529) [ 3.736952] ACPI Error: Aborting method \_TZ.CHGZ._CRT due to previous error (AE_AML_PACKAGE_LIMIT) (20211217/psparse-529) [ 3.738367] ACPI BIOS Error (bug): AE_AML_PACKAGE_LIMIT, Index (0x000000005) is beyond end of object (length 0x5) (20211217/exoparg2-393) [ 3.738377] ACPI Error: Aborting method \_TZ.GETP due to previous error (AE_AML_PACKAGE_LIMIT) (20211217/psparse-529) [ 3.738382] ACPI Error: Aborting method \_TZ.CHGZ._CRT due to previous error (AE_AML_PACKAGE_LIMIT) (20211217/psparse-529) [ 3.738389] ACPI: thermal: [Firmware Bug]: No valid trip found [ 3.744899] AMD-Vi: AMD IOMMUv2 functionality not available on this system - This is not a bug. [ 3.772406] RAS: Correctable Errors collector initialized. [ 13.051064] Bluetooth: hci0: Debug lock is disabled [ 13.054636] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 13.054639] cfg80211: failed to load regulatory.db [ 13.344856] iwlwifi 0000:6f:00.0: Direct firmware load for iwlwifi-cc-a0-69.ucode failed with error -2 [ 13.344882] hp_wmi: query 0x4 returned error 0x5 [ 13.348164] hp_wmi: query 0xd returned error 0x5 [ 13.428685] hp_wmi: query 0x1b returned error 0x5 [ 13.627883] thermal thermal_zone13: failed to read out thermal zone (-61) [ 14.072072] sof-audio-pci-intel-cnl 0000:00:1f.3: Direct firmware load for intel/sof/sof-cfl.ri failed with error -2 [ 14.072075] sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof firmware file is missing, you might need to [ 14.072077] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load DSP firmware -2 [ 14.072451] sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof_probe_work failed err: -2
I guess I can start a different thread about this, and close the grub one... -- Javier