Used to work well on Ubuntu 16.04, 18.04 and 20.04 (with re-install), but when the drivers upgraded to 460, there comes bugs.
Basic conditions: Thinkpad P51, Ubuntu 20.04, with nvhda-start.service in /etc/systemd/system and nvhda in /etc/modules
After boot, journalctl -u nvhda-start.service shows that the service is started successfully. Terminal shows:
Input:
cat /proc/acpi/nvhda
Output:
0000:01:00.0 ON
Input:
aplay -l
Output:
card 0: PCH [HDA Intel PCH], device 0: ALC298 Analog [ALC298 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: AE5 [DELL PROFESSIONAL SOUND BAR AE5], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #11
It seems like the audio hasn't been real turned on. I tried to turn it on manually with sudo tee /proc/acpi/nvhda <<<ON, nothing happened.
Nevertheless, in the same condition after boot, if use sudo tee /proc/acpi/nvhda <<<OFF before sudo tee /proc/acpi/nvhda <<<ON, the audio can be turned on.
Therefore, I tried to add /bin/echo OFF >/proc/acpi/nvhda in the nvhda-start.service, but failed to fix this bug.
However, I'm not sure whether this bug comes with the latest driver or some other reasons. It's just a possible cause.
Used to work well on Ubuntu 16.04, 18.04 and 20.04 (with re-install), but when the drivers upgraded to 460, there comes bugs.
Basic conditions: Thinkpad P51, Ubuntu 20.04, with nvhda-start.service in /etc/systemd/system and nvhda in /etc/modules
After boot,
journalctl -u nvhda-start.serviceshows that the service is started successfully. Terminal shows:Input:
cat /proc/acpi/nvhdaOutput:
0000:01:00.0 ONInput:
aplay -lOutput:
It seems like the audio hasn't been real turned on. I tried to turn it on manually with
sudo tee /proc/acpi/nvhda <<<ON, nothing happened.Nevertheless, in the same condition after boot, if use
sudo tee /proc/acpi/nvhda <<<OFFbeforesudo tee /proc/acpi/nvhda <<<ON, the audio can be turned on.Therefore, I tried to add
/bin/echo OFF >/proc/acpi/nvhdain the nvhda-start.service, but failed to fix this bug.However, I'm not sure whether this bug comes with the latest driver or some other reasons. It's just a possible cause.