enable hardware acceleration