su - tesla

su - tesla

Tuesday, April 19, 2016

Gentoo Tesla - T2 Edition

After 2 weeks of cross-compiling, struggling with ALSA, and fighting with Xorg and Nvidia Tegra drivers, I finally have something I would consider presentable!

The car would make an amazing media center. Holy crap it sounds amazing! The video player I'm using here is SMplayer. The performance was far better than I thought it would be, even with the wonky EGL and codec situation I'm currently in.

"I really don't understand all the complaints about the time to install gentoo. It is like complaining about your Tesla because the dealership was so far away."

Some details, this is running a Gentoo arm system, cross-compiled using a qemu-user chroot environment. Yes, that's right, Gentoo, running on a Tesla. All those USE flags, CFLAGS, and optimizations are going to add speed to my car. My 5 second 0-60 will be faster than your 5 second 0-60!

There was probably at least 5 days of continuous compilation going on here. The system is almost completely independent. "OMG did you seriously flash the Tegra?" No, I didn't go that far. I'm running Gentoo in a chroot environment within the Tesla OS itself. I will definitely be making a post later diving into the technical details of it.

"I use Gentoo because I'm a speed freak - I can't stand the thought that my Tesla might not be running as fast as it could be."

The desktop environment is XFCE. It's a great mix between minimal and pretty. I did go with Fluxbox at first but... it's a little TOO minimal. Not saying there's anything wrong with that!

"Why *SHOULDN'T* you put a Tesla on gentoo? I mean, THOSE things should perform REALLY well, and gentoo is just the thing that does that..."

I have a few applications installed, though not that much yet. I tried a bunch of browsers but the best one so far is NetSurf. I'm currently fighting with the 3D \ EGL and some of the Nvidia codecs. Once I get that all ironed out a lot of things should be performing far better.

The captions in the pictures are small parodies of very real quotes at

Happy hacking :)


rat said...

you should add:

chromium is worth waiting for the compile time,
give gnome >= 3.14 a shot

Hemera said...

I've never looked at conky... I'll take a look.

I couldn't get chromium to compile, and the Tesla kernel is missing some things needed by it so I would have to fix that.

I've never really liked Gnome. I'm a KDE girl myself.

Jaxbot said...

I think the real question is whether this Tesla's daily driver will be Vim or Emacs...

Bobby Bucur said...

Awesome job. You must be really proud. I remember my first gentoo compile.

Michael Mol said...

Is User Mode Linux still a thing? That might help solve your Chromium failures.

Unknown said...

obviously nano.

Unknown said...

Check out the Chromium deps on the Arch package to see if you are missing any of them:

Hemera said...

The Chromium issue has been resolved. A patch for the ebuild has been submitted and should be in portage any day now (if not already)

Unknown said...

That's literally hacking from your garage. (sorry, I had to place that pun! ;) ).

rhY said...

vim vs emacs? Everybody knows real hackers just nano -w everything.

Unknown said...

Fluxbox FTW!

Unknown said...

Wow. I was just surfing around a little bit when I heard about you. Me using Gentoo+KDE myself and being a Tesla fan could not believe my eyes when I saw that you hacked your Tesla! That's like a dream coming true. Finally we can choose how we want our car :)
You are awesome. Keep going. This has to become a thing... hacking your smartphone, hacking your PC, hacking your car :D

Unknown said...

And here is a "Great one :)" from another Gentoo freak and huge Tesla fan :) I'm dying here tough as Tesla is avoiding us here in Serbia :(

Unknown said...

And here's another "GREAT JOB :D" from another Gentoo freek and huge Tesla fan. I'm dying here though, as Tesla is still avoiding us here in Serbia :(

Double lucky you - for owning a Tesla and for making it better with Gentoo :D