-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ubuntu 20.04 update #50
Comments
It really won't work with a mainstream kernel (at least not yet). The sound, touchpad and other drivers are only available in the CrOS kernels. What you need to do, before you upgrade, is to ensure you remove any ubuntu kernel packages, that way they will not get upgraded. After the upgrade you may want to re-run the ansible script to re-apply any changes that were over-written in the upgrade. |
@flantel What about 19.10? Will updating from 19.04 to 19.10 require any extra configuration, or will I need to run the ansible script again? |
@MatthewZito I upgraded to 19.10, just ran the ansible script again, and make sure no Ubuntu kernels get installed, or remove them before your reboot |
@flantel Thanks for the information. Is this going to wipe my storage or otherwise reset everything? Also, how do I ensure no Ubuntu kernels get installed? Just a bit new to this and don't want to screw up what I already have. I suppose I could update my repos to the 19.04 archives, worst case scenario. Thanks again. |
@MatthewZito before you upgrade, do |
@MatthewZito Forgot to mention - no, it won't overwrite your settings or home directory |
@flantel
I am trying to install the yuselfnapora script to install linux on the
Pixelbook utilizing Fedora 31, and it seems to run with some problems.
Most notably it will not install any of the CRAS audio components at all,
although the screen brightness/keyboard brightness controls and trackpad
tweaks seem to work well, it will not run any of the CRAS audio
components. Can you help me please, as you have been so gracious to do so
in the past. I cannot figure out why this is happening, as it has compiled
and is running the 4.4.205 chromium kernel, but not sure the ansible files
are optimized to run fedora although there are arrangements for a Fedora
install in the ansible documentation. It all seems to work quite well with
Ubuntu 19.1 but will not work properly with Fedora which I strongly prefer.
thank you in advance for any help you can provide to allow me to get the
sound working in Fedora 31. Thanks
@mcdowellmountains in Github
…On Sat, Apr 18, 2020 at 2:00 PM Barry Flanagan ***@***.***> wrote:
@MatthewZito <https://github.com/MatthewZito> I upgraded to 19.10, just
ran the ansible script again, and make sure no Ubuntu kernels get
installed, or remove them before your reboot
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANDBAIVPL3UE4V5GE3LFTCDRNHTE3ANCNFSM4MDIWD2A>
.
|
I update 19.10 to 20.04. Boot the right kernel, ubuntu spalshscreen for 2 seconds, and then black screen. |
I tried @flantel's fork of this repo with a fresh install of 20.04 (I'm typing on it now). I also get a black screen when booting the 4.4 kernel though. I've tried running the scripts a few times and ever re-installed Ubuntu. I also go the same result with Fedora 31 and compiling the kernel with the Thankfully the 5.4 kernel works enough to let the screen/keyboard/wifi work. I'm happy to help troubleshoot if anyone has ideas on how to get 4.4 booting. |
Oh, also wanted to add the build cras step in eve-audio failed for me
I trimmed the output but can probably get the rest if it'll be helpful. |
cras seems to need gcc-8 to compile properly. |
Any ideas about the blank screen issues? The 4.4 kernel installs ok (I've used deb installer on Ubuntu 20.04 and src install in fedora 31) but I have yet to successfully boot it or even switch it to text mode to troubleshoot. |
No, I have not attempted an upgrade. Due to working from home I can't afford to have my pixelbook out of action. |
Trying to install the pixelbook script with Linux MInt 19.3, which is based on ubuntu 18.04. Everything seems to work fine except when it gets to Cras, and then it issues the following error message: TASK [eve-audio : configure cras] ****************************************************************************************************************** can you provide some insight on how I can fix this?All Other features on the pixelbook seem to work ok, just need cras to function so I have sound. Not sure why this feature will not install Thanks for any help in resolving this. |
@ flantel,
Trying to install the pixelbook script with Linux MInt 19.3, which is based
on ubuntu 18.04. Everything seems to work fine except when it gets to Cras,
and then it issues the following error message:
TASK [eve-audio : configure cras]
******************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["env",
"CFLAGS=-I/usr/include/iniparser", "./configure", "--disable-dbus",
"--disable-webrtc-apm", "--with-socketdir=/var/run/cras"], "delta":
"0:00:00.001829", "end": "2020-04-26 08:10:51.684326", "msg": "non-zero
return code", "rc": 127, "start": "2020-04-26 08:10:51.682497", "stderr":
"env: ‘./configure’: No such file or directory", "stderr_lines": ["env:
‘./configure’: No such file or directory"], "stdout": "", "stdout_lines":
[]}
to retry, use: --limit @/home/john/pixelbook-linux/ansible/playbook.retry
can you provide some insight on how I can fix this? Other features on the
pixelbook all seem to work ok, just need cras to function so I have sound.
Thanks for any help in resolving this.
Regards,
[image: Picture]
John Longobardo
480-748-9530 (m)
…On Mon, Apr 27, 2020 at 5:06 AM Barry Flanagan ***@***.***> wrote:
No, I have not attempted an upgrade. Due to working from home I can't
afford to have my pixelbook out of action.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANDBAITT3Q3FKUZ5M2BPRETROVDJJANCNFSM4MDIWD2A>
.
|
@mcdowellmountains It is hard to sayh. Do you have a directory /opt/eve-linux-setup/adhd ? This is where the cras source should be downloaded to. |
@flantel, no errors anywhere else. And yes, I did get a directory with directory /opt/eve-linux-setup/adhd setup, and it looks like the cras souce files are in there. It worked fine with Ubuntu 19.1 but now that I am using mint on 18.04 it keeps throwing this error. Any other suggestions to try? As usual, thanks much. |
I just did a fresh install of Ubuntu 20.04 and had the same experience as @rothgar. WIFI, screen, keyboard and trackpad worked. The mouse was upside-down until I did |
I started with 19.10 instead of 20.04 and had some success.
Of course this isn't ideal, but at least gets you to a working state. This may work starting from 20.04 also, but I haven't tried that yet. Hope this helps. |
Black screen happens on Ubuntu 20.04, Debian Sid, Arch Linux, and Manjaro, and Bedrock Linux after hijacking Ubuntu 19.04. It also happens when trying to use the chromium 4.12 kernel with the same config on Ubuntu 19.04. The workaround above does not work, the external display detects no signal, although the computer does go to sleep when closed. Has anyone had any success fixing it? My theory is that the kernel config needs to be modified. |
If anyone is still trying to get this script to work on 20.04, I have a workaround to get the needed drivers working, on 20.04 with 5.4.47-chromium kernel. Here is how I got there: Start with fresh install of 19.10. Clone the source of chromium kernel tree, checkout your desired tag (5.4.47 was the latest release when I did this); copy the config file from this repo's ansible stuff, and use it as the config for your kernel build; modify the config to enable iwlwifi driver too, otherwise your wifi won't work after booting to the new kernel; install the new kernel, and boot to it. Once in, then run this ansible script (remove the kernel part since you have a newer chromium kernel already). Everything should work, except audio (so I moved it to the bottom of the playbook, and just let it fail). After the ansible script runs, reboot again, and should have the touchpad working properly. Then perform the distribution upgrade to 20.04. Make sure your 5.4.47-chromium is still the kernel you will boot to. Then reboot one final time after the ubuntu upgrade, and you should be 20.04 with working touchpad. I just need to figure out how to hack the audio part now. |
@htonl The problem GalliumOS has been having with audio on other platforms is the alsa ucm files, that is why the 4.4 kernel is used. Here is Mr. Chromebox's comment |
I have found not using systemd fixes it. |
For those interested (I'm not good at git, if I was I would have made a pull request), you can find all the changes I had to make in order to get MX Linux 19.2 (Based on Buster) working with Audio on Kernel 4.4 on my fork, I would have loved to commit all the changes individually with comments as to why, but I'm eager to continue working on my device and I have to wipe it to do some additional troubleshooting on Power Delivery via USB C docks. I needed to quickly push all my changes to a repo so I could pull them again later if required. To try and summarise what I did here,
Hit me up if any questions, hope I'm doing this right! If I've done anything wrong with this approach, please let me know! I'd be happy to learn proper git etiquette if there is any :) |
Can you give us more details on this? I can boot without video issues on generic 5.4 but no sound, no touchpad. |
Yeah so you'll need to get the 4.4 Chromium Kernel if you want sound. The drivers are not available in the 4.19 or 5.4 Chromium kernel. What have you tried and done so far? |
I found the source locations and grabbed both kernels. Loading your configs now. If I get these working I'll see if I can't get it working in ansible too |
I'm a bit confused, the repo we're talking about is literally an ansible cookbook to do it all for you? The sources and everything are in there? Is there something you don't follow when it comes to this repo and it's instructions / readme? Do you need assistance deciphering the cookbook? :) No hard feelings I just want to make sure I'm on the right page and point you in the right direction. |
It's ansible I'm not familiar with.
where is he getting this? or is this arbitrary naming? is eve_kernel_compiled_name the same? Which config did you use for 5.4? The tab in your spreadsheet doesn't even have modules enabled. UPDATE: I got a 5.4 chromium kernel compiled and installed, but i have stability issue after boot that have locked the machine up. I will be comparing the config of the stock ubuntu 5.4 kernel with your config to see what's different. |
Ah I see, okay, so I'm no ansible expert either, but the way I approached it was by working backwards, starting in the main task script and going backwards to see how it figured it out in there. Inside the main task it references the Kernel-Src yml file. Inside that file I found it had a "Git" task, and that's where you can find the Repo: https://chromium.googlesource.com/chromiumos/third_party/kernel You'll also find the src.yml task script that the branch name is the important part. What isn't explained clearly anywhere (except a location that says what Kernel each chromebook runs), is that the only kernel branches that have Eve kernel drivers in them, are 4.4 Based branches. So you can use any release-RXX-XXXXX.B-chromeos-4.4 , but it MUST have 4.4 in order to get Audio working. The audio drivers are not in the other source branches. Hope that helps! So you need to compile and get working a 4.4 kernel in order to succeed. |
@Ikbosh @ackstorm23 |
I switched over to Arch a year ago and I have everything except for sound working. Sound seems to be a lost cause. |
Has anyone tried to update to 20.04?
When I updated to 19.04, it created a new kernel available on the boot load menu. That kernel did not take on the post-installation adjustments after re-running the ansible python script in the new kernel. All pixelbook-linux changes remain within the "4.4.178chromium-g4245c5e1" kernel.
How, complex is it to re-apply the ansible script adjustments to an updated kernel? (I'm using this as my primary work laptop while abroad so it's a little scary to guinea pig this request myself)
The text was updated successfully, but these errors were encountered: