On 17/03/14 15:36, Dorrington, Albert wrote: > I'm curious if there is any way to reset/restart the video card via Mesa or > the libdrm drivers? > > I'm currently doing development against the OpenCL drivers, and getting the > video card into a state where is will not respond. > The only way I can get things cleaned up is by rebooting my Linux box, but I > would think there would be some way to 'kick' the video card and get it to > reinitialize. > > I'm running my Linux box headless, so I'm not worried about taking out the X > display manager. > AFAIK all drivers handle gpu lockups except for nouveau. I have successfully brought my geforce gpu back to normal using a s2r cycle although your experience may vary.
Considering that you're working on opencl I would imagine that you're working on amd/ati hardware the driver for which should attempt a GPU reset. Doing the s2ram trick might help as well. -Emil# > Al Dorrington > Software Engineer Sr > Lockheed Martin, Mission Systems and Training > > > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev