Comments (31)
Closing this old issue. Reopen @ChrisTitusTech if needed.
from breath.
Should be fixed now since I modularized AMDGPU, giving it firmware access. Try running bash updatekernel.sh
on your Linux PC (not your chromebook).
from breath.
Hey Chris! are you planning to make a video on this project? That would be epic!
from breath.
Yeah, checking out all the different ways to bypass ChromeOS's janky firmware. I hate it.
Breath looks amazing, currently I'm using coreboot from mrchromebox firmware to get around it.
from breath.
Are you using Mr. Chromebox's firmware with this project? This only works with stock dev mode ChromeOS firmware.
from breath.
I've just noticed you have an AMD Chromebook. I don't have any AMD chromebooks to test on, but I'll still try to get it working :D
from breath.
Thanks Milky I'm sure the Ryzen firmware is causing this. Its a lot different than the intel chromebooks, but also more powerful.
Using the bypass and install stock linux using the chromebox coreboot firmware method has some strange results. The touch screen with rotation is all over the place and sound of course is a sore spot as well.
Touchpad and other features do work. The only other thing I see is the standby states are pretty jacked and will need to be tweaked to work with stock linux.
from breath.
I think breath would be a much better solution. I'm going to revert everything to stock with dev mode. I'll keep going with a linux container, but let me know if you need a lspci or any readouts from this system.
from breath.
I think it should be fixed now, I compiled in amdgpu
drivers. Update the git repo (git fetch; git pull
), plug in a USB, and run:
bash updatekernel.sh
Let me know if it works (since I don't have an AMD chromebook)!
from breath.
updated the usb drive with bash updatekernel.sh
and then tried again with Ctrl U at startup. Still just getting a black screen
I did do a fresh clone on a new drive to see if that changed anything, but alas still just a black screen. Darn those AMD drivers... I think it could also be the touchscreen as well. It's one of those Lenovo screens that can do a full 360 degree swap to "tablet mode"
from breath.
YOU ARE THE MAN! ... Worked like a champ.
from breath.
Just wondering, could you try making a video over this :D? I think if this project had a bit more exposure I could get more contributors and testers for more chromebooks supported. Thanks!
from breath.
I recently also got audio working on AMD Chromebooks (#24) :D
from breath.
Awesome! Yeah, I'm definitely going to make a video on it. The biggest issue I'm having now is getting it moved from USB to internal storage. The bin/internal-storage script isn't working for me. Sooo close to building it into a sweet little linux laptop.
from breath.
I've just now fixed the install to internal storage script, just run:
sudo wget https://raw.githubusercontent.com/MilkyDeveloper/cb-linux/main/bin/install-to-internal-storage -O /usr/local/bin/install-to-internal-storage
and then
sudo chmod +x /usr/local/bin/install-to-internal-storage
Although I don't have an AMD Chromebook, i've had users report that running my sof-setup-audio
script works. Since you've installed it earlier than when I released it, you could run:
sudo wget https://raw.githubusercontent.com/MilkyDeveloper/cb-linux/main/bin/sof-setup-audio -O /usr/local/bin/sof-setup-audio
and then
sudo chmod +x /usr/local/bin/sof-setup-audio
from breath.
This worked absolutely perfectly on the internal storage. Much faster than usb as my chromebook has an nvme.
Running like a dream. Now to build out my system. I can't wait to see the FPS difference in steam games.
from breath.
That's awesome! Do you think I would see a performance increase using the internal storage over my 32gig MicroSD card? I have 64GB of eMMC storage.
from breath.
Yes, I experienced a performance boost when installing from a common Sandisk SD Card to my EMMC.
from breath.
Few things I'm noticing with Debian.
using sof-setup-audio the audio doesn't work. It's looking for alsa-base
package which doesn't exist in debian
Another notable thing I haven't figure out is re-mapping the "chrome keys" at the top of the keyboard to F-Keys or something else.
I'd say these are the last things from keeping it from being complete for me.
from breath.
I've fixed the sof-setup-audio
script:
sudo wget https://raw.githubusercontent.com/MilkyDeveloper/cb-linux/main/bin/sof-setup-audio -O /usr/local/bin/sof-setup-audio
and then
sudo chmod +x /usr/local/bin/sof-setup-audio
As for the keymappings, it might take me some time to implement this. I don't want something that depends on X11, but I need to support X11, Wayland, and the TTY.
from breath.
Still having issues with sound. Looks like it might be an AMD issue as I'm not seeing a driver for any of my audio or multimedia outputs of lspci -kk.
Here is my an abridged output. Getting a kernel module loaded for my sound is my first step.
from breath.
Here is the kernel driver readout
.
from breath.
A good starting place would be modprobing sof-pci
and sof-pci
. Why don't you post the output of lsmod
within the ChromeOS shell (not Crostini) to find out which modules are needed?
from breath.
I wiped out all my ChromeOS and installed it to internal storage.
Here is my lsmod output:
Module Size Used by
cdc_ether 16384 0
usbnet 45056 1 cdc_ether
r8152 122880 0
mii 16384 2 usbnet,r8152
btusb 53248 0
btrtl 24576 1 btusb
btbcm 20480 1 btusb
btintel 45056 1 btusb
bluetooth 630784 5 btrtl,btintel,btbcm,btusb
ecdh_generic 16384 1 bluetooth
ecc 36864 1 ecdh_generic
amdgpu 6221824 13
snd_hda_codec_hdmi 65536 0
crc32c_intel 24576 0
joydev 24576 0
rtw88_8822ce 16384 0
rtw88_8822c 475136 1 rtw88_8822ce
cros_ec_sensorhub 61440 0
rtw88_pci 28672 1 rtw88_8822ce
snd_hda_intel 49152 0
snd_intel_dspcfg 24576 1 snd_hda_intel
drm_ttm_helper 16384 1 amdgpu
snd_hda_codec 163840 2 snd_hda_codec_hdmi,snd_hda_intel
gpu_sched 45056 1 amdgpu
rtw88_core 172032 2 rtw88_pci,rtw88_8822c
snd_hwdep 16384 1 snd_hda_codec
i2c_piix4 24576 0
snd_hda_core 106496 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_soc_rt5682_i2c 16384 0
snd_soc_rt5682 86016 1 snd_soc_rt5682_i2c
acpi_als 16384 1
snd_soc_rl6231 16384 1 snd_soc_rt5682
industrialio_triggered_buffer 16384 1 acpi_als
kfifo_buf 16384 1 industrialio_triggered_buffer
industrialio 86016 3 industrialio_triggered_buffer,acpi_als,kfifo_buf
snd_soc_max98357a 16384 0
iwlmvm 401408 0
iwlwifi 376832 1 iwlmvm
fuse 143360 3
from breath.
I'd start by running modprobe snd_sof_pci snd_sof_pci_dev snd_sof_intel_hda_common
from breath.
Modprobe was successful run on snd_sof_pci
and snd_sof_intel_hda_common
Modprobe did not find snd_sof_pci_dev
No effect before or after reboot aplay -l
still lists no soundcards found.
I'm thinking the hardware might be too new for the 5.10 kernel.
from breath.
Then again, I do recall in the latest ChromeOS update 98 dev build... sound in the linux containers started working where in prior builds it did not.
from breath.
Could you post the dmesg
? Might be something about firmware.
from breath.
This is my dmesg output:
dmesg.txt
from breath.
Looks like the card is now recognized and even shows in aplay -l
however no sound.
I did loadup alsamixer
and it showed the sound and I was able to adjust volumes, but again no actual sound came from the speakers.
from breath.
Looks like this was a kernel issue. Maybe retrying the latest release from the docs would work? The kernel has been updated a lot since I last made progress on this issue.
from breath.
Related Issues (20)
- Can't boot from Breath USB - Acer 713 i5 Tiger Lake HOT 2
- Can't boot from Breath USB - Asus C433 i5 HOT 2
- black screen bootup HOT 11
- Black screen - not booting on HP 11 G6 EE HOT 2
- reboots after few minutes of usage HOT 2
- No Audio - Lenovo IdeaPad Flex 3i Chromebook Gen 6 (11" Intel N4500) (BOTENFLEX) HOT 2
- No Audio - Acer CB317-1H-C994 (Jasper Lake) HOT 1
- Audio fault on Lenovo 100E Gen 2 Intel Celelron N4020 HOT 7
- HP Chromebook 11 G6 EE Celeron - no sound HOT 1
- apl-sof-setup-audio doesn't run on debian 11 HOT 11
- How to create an UEFI Image HOT 3
- Samsung Chromebook Pro (Caroline) - setup-audio not working
- Can't expand USB image to use available space HOT 2
- No Audio (via speakers OR headphones) Samsung Galaxy Chromebook Comet Lake
- Wireguard doesn't work HOT 1
- no password requested HOT 1
- Arch KDE cannot be built with CROSTINI HOT 2
- Dead? HOT 2
- Hearphone jack sound not working in [LARS] Chromebook 14 For Work HOT 2
- Blank screen on Lenovo Gaming Chromebook 16 "Taniks" (Alder Lake) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from breath.