trying to enable hardware acceleration