FWIW, there's no need to set DRI_PRIME for steam itself, it can be set in Properties -> Launch Options of individual games. Does the problem still occur with a current kernel?