snapd icon indicating copy to clipboard operation
snapd copied to clipboard

interfaces: Add more kernel fusion driver files to opengl

Open pedro-avalos opened this issue 11 months ago • 2 comments

This is a follow-up of #14685.

I am trying to create a snap of rocminfo, and I noticed that rocminfo is accessing the Kernel Fusion Driver via the /sys/devices/virtual/kfd path to retrieve the GPUs' properties. I've added the files that rocminfo was specifically accessing, but there are other subdirectories/files that are not included here.

These denials seem to also be blocking rocm-validation-suite from querying these properties when running some of its tests.

I also noticed that the Mir team is also interested in including rocminfo in their graphics-test-tools, so I'm sure they'd run into these issues eventually.

Let me know if you need anything or if I missed anything.

pedro-avalos avatar Feb 12 '25 22:02 pedro-avalos

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (master@6f9106f). Learn more about missing BASE report. Report is 287 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #15068   +/-   ##
=========================================
  Coverage          ?   78.06%           
=========================================
  Files             ?     1180           
  Lines             ?   157753           
  Branches          ?        0           
=========================================
  Hits              ?   123153           
  Misses            ?    26949           
  Partials          ?     7651           
Flag Coverage Δ
unittests 78.06% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Feb 12 '25 22:02 codecov[bot]

Mon Feb 24 15:23:25 UTC 2025 The following results are from: https://github.com/canonical/snapd/actions/runs/13393202730

Failures:

Executing:

  • google:ubuntu-25.04-64:tests/main/security-device-cgroups-serial-port
  • google:ubuntu-25.04-64:tests/main/security-device-cgroups:kmsg
  • google:ubuntu-25.04-64:tests/main/security-device-cgroups:uinput
  • google:ubuntu-25.04-64:tests/main/security-device-cgroups-strict-enforced
  • google:ubuntu-25.04-64:tests/main/security-device-cgroups-required-or-optional
  • google:ubuntu-25.04-64:tests/main/security-device-cgroups-helper
  • google:ubuntu-25.04-64:tests/main/security-device-cgroups-self-manage
  • google:ubuntu-25.04-64:tests/main/cgroup-devices-v2

Restoring:

  • google:ubuntu-25.04-64:tests/main/security-device-cgroups-strict-enforced

github-actions[bot] avatar Feb 13 '25 00:02 github-actions[bot]

Known failures, not related to changes.

ernestl avatar Feb 24 '25 21:02 ernestl