Auto-connecting the hardware-observe interface to allow firefox to detect GPU via libpci?

I have been investigating a bug in the firefox snap where it fails to detect the GPU using libpci.

Adding libpci3 to the stage packages, and connecting the hardware-observe interface is enough to fix the problem, but before I go ahead and submit these changes upstream, I would appreciate the opinion of people on the security team and @review-team on the suitability of the hardware-observe interface for this purpose, and the likelihood of auto-connection to it being granted for the firefox snap?

This seems a reasonable use case for hardware-observe to me, I’d say you should go ahead :+1:

Thanks Ian, I’ve gone ahead and submitted the upstream change for review, once it lands I will request auto-connection.

1 Like