1. ldm-session-init(1)
  2. ldm-session-init(1)

NAME

ldm-session-init - Conditionally activate hybrid GPU for X11

SYNOPSIS

ldm-session-init

DESCRIPTION

ldm-session-init is unconditionally executed by the display manager at the start of the X11 session to maybe handle bootstrap of the hybrid GPU. If the hybrid GPU driver is not activated, or is missing the main driver, this program will exit immediately. This is handled very quickly so as not to introduce a login penalty for non hybrid GPU users.

Currently this command only supports Optimus™ graphics that have been correctly configured via linux-driver-management(1). Once this has been correctly established, the relevant xrandr(1) calls are made to set up the primary output provider to allow the discrete GPU to function as the "primary" graphics.

For users who do not have a display manager, you can safely place a call to ldm-session-init in your xinitrc or equivalent.

EXIT STATUS

On success, 0 is returned. A non-zero return code signals a failure.

SEE ALSO

NOTES

Creative Commons Attribution-ShareAlike 3.0 Unported

  1. January 2018
  2. ldm-session-init(1)