Enable HW acceleration / Sound Chromebook CB5-311 Tegra K1

This forum is for supported devices using an ARMv7 nVidia SoC.

Enable HW acceleration / Sound Chromebook CB5-311 Tegra K1

Postby josie88 » Tue May 12, 2015 4:02 am

Hello,

I'm trying to get ALARM to work with my Chromebook. So far it's a lot of fun and I learn a lot.

Kernel:

I followed this guide to build a working 3.10 kernel:

https://github.com/lgeek/gnu-linux-on-a ... omebook-13

The kernel works fine and can be used for ubuntu trusty without problems, nvidia binary drivers also work.

I tryed to apply this guide to newer kernel sources and it always results in non-booting kernels (black screen, hang up)



Current state:
I extracted your ARMv7 universal file system to the SSD of the chrbook. The system boots fine. I installed the modules of my kernel and now got wifi / usb lan. I set up xfce.

Problems:
- no sound
- no hw acceleration (glxinfo | grep OpenGL --> vmware..., gallium llvm...)
- system hangs on shutdown (Kernel panic - not syncing: Attempted to kill init!)


Goals:
- Gnome 3
- full hw acceleration
- recent kernel


Can you help me to fix the problems and give me advises to reach my goals?

I could upload my build script of the kernel and my current rootfs if you want.
josie88
 
Posts: 5
Joined: Tue May 12, 2015 3:42 am

Re: Enable HW acceleration / Sound Chromebook CB5-311 Tegra

Postby josie88 » Thu Jun 04, 2015 3:32 pm

kernel 4.0 works now.

got lan acess, xfce works too. need help with set up of modules.

anyone?
josie88
 
Posts: 5
Joined: Tue May 12, 2015 3:42 am

Re: Enable HW acceleration / Sound Chromebook CB5-311 Tegra

Postby WarheadsSE » Thu Jun 04, 2015 8:35 pm

Check linux-armv7
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Enable HW acceleration / Sound Chromebook CB5-311 Tegra

Postby josie88 » Sun Jun 21, 2015 10:34 am

So I’m back.

After some half-working 4.0 upstream kernels, I tryed a different approach:

modify the chrubuntu-script to make it work with ArchLinuxArm. Basically it uses the modules and kernel of ChromeOS. This is 3.10.18 at the moment. The script works fine now (still needs some tweaks).

I set up ArchLinuxArm with Xfce4 and Gnome3. Gnome 3 is themed with Antergos packages.

Download is at the bottom of this post.


working:
sound
keyboard
touch pad
webcam
software renderer

problems:
battery indicator
custom service hide_wifi (for hiding/disabling obsolete wifi interfaces) doesn’t work at startup, manually starting works
3d acceleration


Help needed:

battery indicator:
I guess that I’m missing some kind of service for that

hide_wifi:
I think that didn’t configure the systemd service properly (it’s my first time)

3d:
I heard that the nvidia binaries for ubuntu could be used. Is that possible? How?

I tryed to compile nouveau from source, following the instructions on their home page, didn’t work.


I hope that someone with a deeper Linux knowledge than me could have a look at my rootfs and help me to sort the problems out.


logins:


root
root

user
user

root starts in xfce4
user starts in gnome3


link:
https://drive.google.com/folderview?id= ... sp=sharing
josie88
 
Posts: 5
Joined: Tue May 12, 2015 3:42 am

Re: Enable HW acceleration / Sound Chromebook CB5-311 Tegra

Postby josie88 » Mon Jun 22, 2015 3:32 am

Update: Upload done
josie88
 
Posts: 5
Joined: Tue May 12, 2015 3:42 am

Re: Enable HW acceleration / Sound Chromebook CB5-311 Tegra

Postby dfly » Fri Jul 03, 2015 9:45 pm

Thanks for your effort!

I have been struggeling with Linux and my CB for ages getting a non booting kernel every time I compile.

As soon as my semester is over I will give your script a shot.
Hopefully I might be able to resolve some of the issues.
dfly
 
Posts: 10
Joined: Thu Feb 05, 2015 1:17 am

Re: Enable HW acceleration / Sound Chromebook CB5-311 Tegra

Postby josie88 » Mon Jul 06, 2015 3:48 am

most time the kernel refuses to boot due to improper signing. Follow this:
https://github.com/lgeek/gnu-linux-on-a ... omebook-13

If you want to get a working 4.0 kernel, use the scripts from nvidias nouveau git repo for jetson tk1. Throw the zImage from there into the above build directory. Dont forget to install the modules.

I recommend to set dev_boot_signed_only to 0 on your chromebook
josie88
 
Posts: 5
Joined: Tue May 12, 2015 3:42 am

Re: Enable HW acceleration / Sound Chromebook CB5-311 Tegra

Postby dfly » Mon Jul 13, 2015 11:01 pm

Thanks for the link.

I have already tried it around Febuary.
With keys on my system I installed also with keys from my chromebook.

No result.
dfly
 
Posts: 10
Joined: Thu Feb 05, 2015 1:17 am

Re: Enable HW acceleration / Sound Chromebook CB5-311 Tegra

Postby raumzeit » Tue Sep 01, 2015 8:50 am

I've made a PKGBUILD for the ChromeOS kernel 3.10.18, which works out of the box. See this post: viewtopic.php?f=49&t=9242 and my PKGBUILD git repo here: https://github.com/RaumZeit/PKGBUILDs/t ... linux-nyan

At the end of the installation, do not flash the kernel to its default partition of the internal SSD, but flash the kernel (/boot/vmlinux.kpart) manually to whichever partition you want to have it flashed to...
Acer CB5-311, Asus Flip, Tinker Board, Samsung ARM Chromebook, NSA 325, ix4-300d, WandBoard Quad, Raspberry Pi B, BeagleBoard ...and a dead Pandaboard :sad:
raumzeit
 
Posts: 73
Joined: Mon Oct 17, 2011 8:37 pm
Location: Vienna AT


Return to nVidia

Who is online

Users browsing this forum: No registered users and 3 guests