patch gpu stuff