Thank you. I do think this is a different issue though.
After all my messing around I now have the same freeze in an Xorg session occasionally, with dmesg displaying the following at the exact time of the freeze.
[ 6129.055500] snd_hda_intel 0000:01:00.1: Disabling via vga_switcheroo
[ 6129.356301] snd_hda_intel 0000:01:00.1: Cannot lock devices!
[ 6129.367439] ACPI: \_SB_.PCI0.PEG0.VID_: failed to evaluate _DSM
[ 6131.624451] snd_hda_intel 0000:01:00.1: Enabling via vga_switcheroo
[ 6136.991846] snd_hda_intel 0000:01:00.1: Disabling via vga_switcheroo
[ 6137.292773] snd_hda_intel 0000:01:00.1: Cannot lock devices!
[ 6137.308345] ACPI: \_SB_.PCI0.PEG0.VID_: failed to evaluate _DSM
[ 6139.433018] snd_hda_intel 0000:01:00.1: Enabling via vga_switcheroo
So while it initially manifested in Wayland, I believe it relates to the GPU switching.
Probably the title/component needs to be changed.
Thank you. I do think this is a different issue though.
After all my messing around I now have the same freeze in an Xorg session occasionally, with dmesg displaying the following at the exact time of the freeze.
[ 6129.055500] snd_hda_intel 0000:01:00.1: Disabling via vga_switcheroo PEG0.VID_ : failed to evaluate _DSM PEG0.VID_ : failed to evaluate _DSM
[ 6129.356301] snd_hda_intel 0000:01:00.1: Cannot lock devices!
[ 6129.367439] ACPI: \_SB_.PCI0.
[ 6131.624451] snd_hda_intel 0000:01:00.1: Enabling via vga_switcheroo
[ 6136.991846] snd_hda_intel 0000:01:00.1: Disabling via vga_switcheroo
[ 6137.292773] snd_hda_intel 0000:01:00.1: Cannot lock devices!
[ 6137.308345] ACPI: \_SB_.PCI0.
[ 6139.433018] snd_hda_intel 0000:01:00.1: Enabling via vga_switcheroo
So while it initially manifested in Wayland, I believe it relates to the GPU switching.
Probably the title/component needs to be changed.