[Intel-gfx] [PATCH] linux: Automatically ShareVTs if the VT are already in graphics mode

Chris Wilson chris at chris-wilson.co.uk
Thu Aug 14 12:36:11 CEST 2014


On Wed, Aug 13, 2014 at 10:58:54AM +0100, Chris Wilson wrote:
> If the VT we are using is already in KD_GRAPHICS mode, calling SETACTIVE
> will silently fail. This leads to an indefinite hang as WAITACTIVE never
> returns causing lockups on boot. This issue becomes apparent when the
> kernel driver does not install a fbdev for kernel to use for consoles
> and plymouth leaves the VT in graphics mode.

It stops the hang on boot, but it also leaves process control on the
defunct VT (i.e. ^C kills Xorg). Can we do the console switch without
WAITACTIVE? Also doesn't explain why it works the second time.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list