Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Ubuntu Graphics Security

Ubuntu To Disable Intel Graphics Security Mitigations To Boost GPU Performance By Up To 20% (arstechnica.com) 15

Disabling Intel graphics security mitigations in GPU compute stacks for OpenCL and Level Zero can yield a performance boost of up to 20%, prompting Ubuntu's Canonical and Intel to disable these mitigations in future Ubuntu packages. Phoronix's Michael Larabel reports: Intel does allow building their GPU compute stack without these mitigations by using the "NEO_DISABLE_MITIGATIONS" build option and that is what Canonical is looking to set now for Ubuntu packages to avoid the significant performance impact. This work will likely all be addressed in time for Ubuntu 25.10. This NEO_DISABLE_MITIGATIONS option is just for compiling the Intel Compute Runtime stack and doesn't impact the Linux kernel security mitigations or else outside of Intel's "NEO" GPU compute stack. Both Intel and Canonical are in agreement with this move and it turns out that even Intel's GitHub binary packages for their Compute Runtime for OpenCL and Level Zero ship with the mitigations disabled due to the performance impact. This Ubuntu Launchpad bug report for the Intel Compute Runtime notes some of the key takeaways. There is also this PPA where Ubuntu developers are currently testing their Compute Runtime builds with NEO_DISABLE_MITIGATIONS enabled for disabling the mitigations.

Ubuntu To Disable Intel Graphics Security Mitigations To Boost GPU Performance By Up To 20%

Comments Filter:
  • Disable Snap (Score:5, Insightful)

    by RazorSharp ( 1418697 ) on Monday June 23, 2025 @08:31PM (#65471149)

    Disable Snap by default and fully support apt again and I might consider installing Ubuntu again. Until then they're dead to me.

  • Exactly (Score:3, Informative)

    by tenplus1 ( 6354024 ) on Tuesday June 24, 2025 @12:59AM (#65471523)
    I do this already with my home desktop for the performance gains by adding mitigations=off to grub, also using deb packages instead of snap gives a nice boost too.
  • This is coming on the heels of their switch to Wayland only. If you ask the Wayland people why everyone should switch to Wayland when it isn't a replacement for X11 and requires help by almost the entire software industry given it's a wholly new API, the conversation normally goes:

    WN: Well it's more efficient!

    X: No, X11 is actually a little faster and has better latency

    (Yes, I'm aware you've been told X11 is inefficient your entire life. It's also been debunked your entire life, some of you just didn't choo

  • Someone cited a Phoronix article. It explains that the GPU security mitigation were against Spectre attacks. This attack class is now addressed in the kernel and there is no need to take care of it in the GPU anymore.
    • Unless they are spectre attacks against the gpu, not the cpu. In which case they are only needed if you allow GPU compute jobs over the internet.

      • But we do not know if current GPU mitigations would protect against that new attack. Probably they would not.

"Can't you just gesture hypnotically and make him disappear?" "It does not work that way. RUN!" -- Hadji on metaphyics and Mandrake in "Johnny Quest"

Working...