Firefox freezes display

Since the update to Firefox 57 it randomly freezes the display, when I scroll down a long page or watch some video.

The display is stuck and displays what it was displaying before, but nothing happens, and I have to reboot the system to fix it. The console ttys still work. In a video the sound still works, and i can stop/continue that.

$ sudo lspci -v
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
        Subsystem: Dell Latitude E6410
        Flags: bus master, fast devsel, latency 0, IRQ 25
        Memory at f0000000 (64-bit, non-prefetchable) [size=4]
        Memory at e0000000 (64-bit, prefetchable) [size=256]
        I/O ports at 70b0 [size=8]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [d0] Power Management version 2
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: i915
        Kernel modules: i915


if you are using plasma 5 you can try switching to uxa acceleration
or simply disable hardware acceleration in Firefox
the hamburger bar -> Options under Performance uncheck use reccomended performance settings then uncheck use hardware acceleration restart Firefox

thx, it seems that option has fixed it.