Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
subsystem_reset(3)		 Arcan Lua API		    subsystem_reset(3)

NAME
       subsystem_reset - Reset/rebuild a specific subsystem

SYNOPSIS
       nil
       subsystem_reset(	string:subsystem=video )
       subsystem_reset(	string:subsystem=video,	int:card )
       subsystem_reset(	string:subsystem=video,	int:card, int:swap )

DESCRIPTION
       This  function  is  used	 to assist in debugging	and for	specific cases
       where a subsystem have hotpluggable devices that	need special consider-
       ation. The most common use-case is multi- GPU  settings and GPU	  set-
       tings  where  there  is a difference between initialising the subsystem
       with a display connected	and one	where it is not. If subsystem  is  set
       to  video  and no card is specified or (the default) the	card is	set to
       -1, all GPU  contexts will be rebuilt. If subsystem is set to video and
       no card is specif

EXAMPLE
       function	subsystem_reset0()
	     a = color_surface(64, 64, 255, 0, 0);
	     show_image(a);
	     subsystem_reset("video");
       end

SEE ALSO:
system				  April	2025		    subsystem_reset(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=subsystem_reset&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help