hadess / switcheroo-control

D-Bus service to check the availability of dual-GPU
9 stars 1 forks source link

switcheroo control is missing dependency on on also #10

Closed Firstyear closed 5 years ago

Firstyear commented 6 years ago

If the systm starts on IGD, and discreet in enabled, if you DO NOT turn of the discreet before alsa starts, the system locks up

switcheroo control must depend on:

Before=multi-user.target display-manager.target alsa-restore.service alsa-state.service

To correctly ensure that discreet/igd is disabled before alsa starts to prevent lockup.

This can be reproduced on mbp 8,2 with efi set to intel.

hadess commented 5 years ago

Was fixed in:

commit 3592c1c47239a022f83796522b330a244246bf32
Author: Bastien Nocera <hadess@hadess.net>
Date:   Tue Jun 11 19:32:23 2019 +0200

    data: Launch before some ALSA scripts

    Otherwise ALSA might use the enabled GPU's audio out, and refuse to
    relinquish it before boot.