Today I added some Chromebook related packages into my PPA. What is there?
- xserver-xorg-video-armsoc == accelerated Xorg video driver.
- chromium-mali-opengles == OpenGL ES support — works as long as you have ROOT-A partition with Chromium OS cause I mount it to get Mali library.
- libasound2 == ALSA packages with UCM profiles for Chromebook. Say “no more” to fried speakers.
No support from me as usual. I provide packages for just released Ubuntu “quantal” and for development version (“raring”).
Kernel will probably be next. There are instructions from Olof Johansson for it. Not hard task but requires some time. Also requires packaging of vboot tools (for signing kernels) and cgpt (for manipulating GPT).
Another part is touchpad snippet for X11:
Section "InputClass"
Identifier "touchpad"
MatchIsTouchpad "on"
EndSection
Any idea how to package it in friendly way? I thought about “meta-chromebook” package for such tweaks but it does not sound nice to me.
Video acceleration would be great. But this part is beyond me so far.
So, if you have Ubuntu running on your Chromebook (nevermind is it on internal storage or side SD or USB stick) as long as it is at least “quantal” go and grab my packages. They will make use of device much more pleasant. Share any tweaks and tips in comments.
UPDATE: There is a new project related to Chromebook support in distributions. More about it in my blog post about it.
Thank you for your work on this, it’s appreciated.
Thank you ! for all the work you have done – really imporved my experince. I think I’ll leave it in ChrUbuntu now.. -D
Hey thanks for your works.
I would like to use your PPA but unfortunately, I can’t upgrade to quantal or raring because everytime, I got a plymouth error:
“plymouthd: ply-terminal.c:611: ply_terminal_open: Assertion
terminal != ((void *)0)failed”Do you have any fix for this issue ?
I have been trying to add something like echo “console=tty1 debug nosplash noplymouth verbose root=/dev/mmcblk1p3 rootwait rw” > /tmp/config when I generate the kernel. But it doesn’t seems to change anything.
Thank you very much.
That’s bug in Plymouth. It looks like it is always using first ‘console’ argument from kernel. Check https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1082742 and mark is as affecting you.
Ok so I have now updated to 12.10 quantal and got rid of the plymouth bug by:
copying the xorg.conf.d/exynos.conf from the ChromeOS partition into the xorg.conf.d/ folder in the ubuntu system.
update from 12.04 to 12.10 but DONT reboot
Add Marcin’s ppa to your software sources: add-apt-repository ppa:hrw/my-own-packages
apt-get install xserver-xorg-video-armsoc
apt-get install chromium-mali-opengles
reboot
Thanks to Loïc Nogues for your help today.
Only problem is X is running slowly and it is using software rasterizing mode. the following shows up in /var/log/xorg.o.log
[ 5.078] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/armsoc_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/armsoc_dri.so: cannot open shared object file: No such file or directory) [ 5.078] (EE) AIGLX: reverting to software rendering [ 5.078] (II) AIGLX: Screen 0 is not DRI capable
Any ideas guys?
Ach, right — I have to add that exynos.conf file to X11 driver. Forgot about it. Hope that my 32GB card will arrive soon so I will have second copy of system to test my binaries without any hacks.
have you found a solution to this yet?
cool, any idea where I can find the missing…. armsoc_dri.so
There is no such thing as armsoc_dri.so — never was.
ok, can you think of an obvious reason why myself and a couple of others are not seeing accelerated X after installing your packages?
Few even:
There is still work to do. We do not got OpenMAX video acceleration working under !Chromium OS for example.
cant understand whether there is an armsoc driver or not.
First you say there isnt “There is no such thing as armsoc_dri.so — never was.” Then you refer to it twice “I forgot to include /etc/X11/xorg.conf.d/exynos.conf to make use of ‘armsoc’ driver. Armsoc driver is just a bit better/other then ‘fbdev’ one.”
Its a little confusing
Greg: There are two things named “armsoc”:
First one exists and I provide it for Quantal and Raring. Second one never existed.
What’s the status of the OpenGL ES Driver?
Working?
Non-Working?
Other?
I would say “randomly working” cause on my first Ubuntu installation it worked fine but on current one it has lot of artifacts.
Hey Marcin, thanks for keeping this PPA! I’m an Ubuntu user on a Samsung S 550 chromebook… everything works except suspend; I believe this is a kernel issue. Any suggestions?
I’m using “Linux ChrUbuntu 3.4.0″ from http://chromeos-cr48.blogspot.com/2012/04/chrubuntu-1204-now-with-double-bits.html
Samsung S 550 is just a PC. Boots in a bit other way but it is a pc. Use Ubuntu kernel and if there are problems then report them.
See, that’s what I don’t understand. I think the custom kernel is in its own partition (I’m not sure, as I ran the script linked to earlier). My GPT looks like:
And even when I try and install the stock ubuntu kernel, the kernel stays the same:
yochai@ChrUbuntu:~$ uname -a Linux ChrUbuntu 3.4.0 #1 SMP Sat Nov 24 23:10:06 PST 2012 x86_64 x86_64 x86_64 GNU/Linux
You have to sign the kernel and do few more steps. There is a howto for it somewhere I hope.