sebanc / brunch

Boot ChromeOS on x86_64 PC - Supports Intel CPU/GPU from 8th gen or AMD Ryzen
GNU General Public License v3.0
3.69k stars 393 forks source link

Samsung NP700Z3A #505

Open lordxidious opened 4 years ago

lordxidious commented 4 years ago

Audio does not work & youtube videos do not load. I am not sure how to make the audio work or get youtube working. Can someone assist me please.

sebanc commented 4 years ago

Could you attach a dmesg to this issue ? (run "dmesg > ~/Downloads/dmesg.txt" in crosh shell and attach dmesg.txt to this issue)

lordxidious commented 4 years ago

dmesg.txt

lordxidious commented 4 years ago

cat /proc/asound/card0/codec* | grep Codec Codec: Realtek ALC269VC Codec: Intel CougarPoint HDMI

lordxidious commented 4 years ago

Some new information I found out is that when connecting headphones audio will play, and when connecting it to an HDMI cable it will play audio from the monitor speakers, and ONLY when connected to HDMI can I select the internal speakers to make audio come from them, but if I restart and do not have it connected via HDMI then I can only use audio from the headphones port.

sebanc commented 4 years ago

Does adding "snd_hda_intel.index=0" to the kernel command line helps ?

If not, what is the output of: "cat /proc/asound/cards"

lordxidious commented 4 years ago

with your suggestion, the sound did not work. I know for 100% certainty these speakers work, and that it is not the laptop.

cat /proc/asound/cards 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xc0800000 irq 34

lordxidious commented 4 years ago

sudo aplay -l List of PLAYBACK Hardware Devices card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0

sebanc commented 4 years ago

Thanks for the additional info.

This bug seems known since a long time but I did not find much solutions: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/697498

The best solution seems to be: https://askubuntu.com/questions/1234745/realtek-alc269vb-not-playing-sound-on-ubuntu-server-18-04

However, you cannot use hdajackretask from ChromeOS. What I suggest is: 1) Boot a linux distro and use hdajackretask to create a hda-jack-retask.fw according to the guidelines in the above post. 2) copy your hda-jack-retask.fw to your chromeos /lib/firmware folder (keep a backup of your hda-jack-retask.fw file somewhere) 3) Add "snd_hda_intel.patch=hda-jack-retask.fw" to the kernel command line and boot chromeos to see if it works 4) If it works, attach it here and I will add it to brunch

Alternatively, you can try booting with "module_blacklist=snd_hda_intel" added to the kernel command line which will activate a new sound driver called sof but I doubt it will work.

lordxidious commented 4 years ago

Thank you I should be able to do this next week when I get home from my long weekend. I will let you know how it goes.