- Intel Core i5-10600K
- Gigabyte H510M H
- NVIDIA GTX 1050TI 4GB
- 500GB x1 NVME SSD (Installed Ubuntu), 2TB x1 HDD, 1TB x1 IDE HDD, and
250GB x1 SSD
- Ubuntu 22.04
- kernel 5.15.0-27-generic
I had the same problem, but the SGX option literally did not exist in my BIOS, so it was impossible to change that.
A workaround was to reinstall with the "Minimal installation" option (as opposed to "Normal"), as well as not download updates or install third party software.