I tried using hooking my laptop up to an external display through HDMI and now the built in audio does not work. I can still get audio through the audio jack. pavucontrol shows that audio should be playing through the built in speakers. I have tried reinstalling ALSA but that didn't work. My computer recognizes my soundcard, but still nothing plays. I tried updating drivers and got this error
W:Skipping acquire of configured file 'universe/binary-i386/Packages' as repository 'http://miktex.org/download/ubuntu bionic InRelease' doesn't support architecture 'i386', E:The repository 'http://ppa.launchpad.net/ubuntu-audio-dev/ppa/ubuntu bionic Release' does not have a Release file.
I have a Razer Blade 2017 with Ubuntu 18.04 installed. Any suggestions?
edit: I dual boot with Windows 10 and the audio works fine there.
edit: I have found a non ideal solution. If I put my laptop into suspend and then log back in, audio works fine. Still have no idea what the root of the problem is though.