Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mb/system76/mtl: Enable NPU #240

Merged
merged 1 commit into from
Oct 22, 2024
Merged

mb/system76/mtl: Enable NPU #240

merged 1 commit into from
Oct 22, 2024

Conversation

crawfxrd
Copy link
Member

@crawfxrd crawfxrd commented Oct 3, 2024

The fuck did Intel add now?

TODO: Check if it's detected/works with the NPU driver or something.

Ref: system76/firmware-open#580

Change-Id: If2383f983435c861f59d7090e2a66f5ffa693faf
Signed-off-by: Tim Crawford <[email protected]>
@crawfxrd crawfxrd requested review from a team October 3, 2024 21:36
Copy link
Member

@leviport leviport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this on darp10-b running Ubuntu 24.04, with the NPU driver for Linux and ran the npu-umd-test app mentioned in the documentation for the driver.

On currently released firmware, I get a quick fail and only a handful of lines of output:

[==========] Running 182 tests from 37 test suites.
[----------] Global test environment set-up.
/home/system76/linux-npu-driver/validation/umd-test/testenv.hpp:74: Failure
Expected equality of these values:
  zeInit(0)
    Which is: ZE_RESULT_ERROR_UNINITIALIZED (0x78000001)
  ZE_RESULT_SUCCESS
    Which is: ZE_RESULT_SUCCESS (0x0)

After installing this update, it still says the test fails overall, but many of the tests it runs say that they succeed. At the very least, it certainly looks like it's doing a whole lot more than it was before: darp10-b-npu-test-output.txt

This indicates to me that the NPU is now active and doing something, and I think that's good enough for now.

@jackpot51 jackpot51 merged commit d0cab05 into system76 Oct 22, 2024
@jackpot51 jackpot51 deleted the mtl-npu branch October 22, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants