Bumblebee-Project / bbswitch

Disable discrete graphics (currently nvidia only)
GNU General Public License v2.0
487 stars 78 forks source link

HDMI audio controller not being reactivated #203

Open luka-devnull opened 4 years ago

luka-devnull commented 4 years ago

OS is Arch Linux running 5.4.52-1-lts and using community/bbswitch-dkms. laptop is a Thinkpad T520. using options load_state=0 unload_state=1

when using the dGPU:

01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [Quadro NVS 4200M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev ff)

audio controller appears disabled (rev ff) when GPU is enabled. bbswitch only seems to touch 01:00.0, but it doesn't touch 01:00.1 so HDMI/DP audio doesn't work while the rest of the GPU functions normally.

my next step is trying load_state=1 and seeing if it's still active on at boot time. it probably is and just gets turned off when the GPU does for the first time and then bbswitch doesn't bother to turn it back on is my guess.

luka-devnull commented 4 years ago

my next step is trying load_state=1 and seeing if it's still active on at boot time. it probably is and just gets turned off when the GPU does for the first time and then bbswitch doesn't bother to turn it back on is my guess.

yeah. also had to set bumblebeed TurnCardOffAtExit=false cuz it kept turning it off on me

01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [Quadro NVS 4200M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller (rev a1)

DP audio is now working and shows up with aplay -l and pactl list sinks short, but if bbswitch turns off the GPU the audio controller goes with it and never gets turned back on