-
Notifications
You must be signed in to change notification settings - Fork 67
Home
Since vc4 build is still unstable & slow (but working), it's not documented on the README
After 'repo sync' step of https://github.com/peyo-hd/local_manifests, do 'git checkout vc4' on following sources.
- kernel/rpi
- external/mesa3d
- hardware/drm_gralloc
- device/brcm/rpi2
Then follow README of https://github.com/peyo-hd/device_brcm_rpi2
For vc4 original work of Eric Anholt, refer to http://dri.freedesktop.org/wiki/VC4 And his github : https://github.com/anholt
You might encounter below error during boot-up. In that case, work-around it by applying the patch upon framework/base.
FATAL EXCEPTION IN SYSTEM PROCESS: Thread-54 java.util.ConcurrentModificationException at java.util.AbstractList$FullListIterator.set(AbstractList.java:148) at java.util.Collections.sort(Collections.java:1888) at com.android.server.AssetAtlasService.computeBestConfiguration(AssetAtlasService.java:428)
/services/core/java/com/android/server/AssetAtlasService.java @@ -400,7 +400,7 @@ public class AssetAtlasService extends IAssetAtlas.Stub { // Don't bother with an extra thread if there's only one processor
-
int cpuCount = Runtime.getRuntime().availableProcessors();
-
int cpuCount = 1;//Runtime.getRuntime().availableProcessors(); if (cpuCount == 1) { new ComputeWorker(MIN_SIZE, MAX_SIZE, STEP, bitmaps, pixelCount, results, null).run();