[Mesa-dev] Resetting Video card without rebooting?

Tom Stellard tom at stellard.net
Mon Mar 17 10:21:37 PDT 2014


On Mon, Mar 17, 2014 at 03:36:37PM +0000, 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.
> 

Not sure if you were aware of this, but with render nodes you can run
OpenCL programs without X.  render nodes requires a 3.12.x or newer
kernel and booting with drm.rnodes=1.

Prior to render nodes, you could also run OpenCL programs without X,
but were limited to one program at a time.

-Tom

> Al Dorrington
> Software Engineer Sr
> Lockheed Martin, Mission Systems and Training

> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list