No hardware acceleration for Firefox on 367.27

I have laptop running arch linux with Quadro 1000M.
I cannot get hardware accleration working in Firefox ( or any of its forks). Scrolling is extrememly laggy and youtube videos run at 6 fps max. A few minutes of use would heat up my system to an unconfortable 90 degrees. Forcing hardware acceleration though firefox config did not yield any results. However, under chromium, everything worked as it should. Strangely, the older nvidia-340-xx driver does not have this problem.