Comment 9 for bug 712584

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I think that people should step back and realize that WebGL does work in the default install of Ubuntu. The AppArmor profile is opt-in and there are instructions in this bug on how to adjust the policy for nvidia.

When developing policy, giving firefox access to a device such as a video card should not be done rashly. That said, we will probably do something like I said in comment #6 for 12.04.

In the meantime, to be perfectly clear on how to make this work, add to /etc/apparmor.d/local/usr.bin.firefox the following:
/dev/nvidactl rw,
/dev/nvidia0 rw,
/proc/interrupts r,

Then run:
$ sudo apparmor_parser -r /etc/apparmor.d/usr.bin.firefox