472d471< #if LINUX_VERSION_CODE < KERNEL_VERSION(4,15,0)474,476d472< #else< static void hdaps_mousedev_poll(struct timer_list *unused)< #endif786d781< #if LINUX_VERSION_CODE < KERNEL_VERSION(4,15,0)789,791d783< #else< timer_setup(&hdaps_timer, hdaps_mousedev_poll, 0);< #endif
..but...if you are building nougat, as mentioned in the title,
One more question, Mauro Rossi.Is -C option on android make system removed on Oreo? Which can be used on Kernel's menuconfig?
01-21 13:13:56.677 16130 16118 F google-breakpad: -----END BREAKPAD MICRODUMP-----
01-21 13:13:56.800 15305 16118 F libc : Fatal signal 11 (SIGSEGV), code -6, fault addr 0x3bc9 in tid 16118 (Chrome_InProcGp)
01-21 13:13:56.899 16133 16133 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-21 13:13:56.899 16133 16133 F DEBUG : Build fingerprint: 'Android-x86/android_x86_64/x86_64:7.1.2/N2G48H/root01210301:userdebug/test-keys'
01-21 13:13:56.899 16133 16133 F DEBUG : Revision: '0'
01-21 13:13:56.899 16133 16133 F DEBUG : ABI: 'x86'
01-21 13:13:56.899 16133 16133 F DEBUG : pid: 15305, tid: 16118, name: Chrome_InProcGp >>> jp.co.yahoo.android.apps.navi <<<
01-21 13:13:56.899 16133 16133 F DEBUG : signal 11 (SIGSEGV), code -6 (SI_TKILL), fault addr 0x3bc9
01-21 13:13:56.899 16133 16133 F DEBUG : eax 00000000 ebx cf899d40 ecx 00008000 edx c0dbec58
01-21 13:13:56.899 16133 16133 F DEBUG : esi 00000000 edi 00000000
01-21 13:13:56.899 16133 16133 F DEBUG : xcs 00000023 xds 0000002b xes 0000002b xfs 0000006b xss 0000002b
01-21 13:13:56.899 16133 16133 F DEBUG : eip cf66012c ebp c0dbec78 esp c0dbe680 flags 00210282
01-21 13:13:56.899 16133 16133 F DEBUG :
01-21 13:13:56.899 16133 16133 F DEBUG : backtrace:
01-21 13:13:56.899 16133 16133 F DEBUG : #00 pc 005d812c /system/lib/dri/i965_dri.so
01-21 13:13:56.899 16133 16133 F DEBUG : #01 pc 000267b2 /system/lib/dri/i965_dri.so
01-21 13:13:56.899 16133 16133 F DEBUG : #02 pc 00029bee /system/lib/dri/i965_dri.so
01-21 13:13:56.899 16133 16133 F DEBUG : #03 pc 0035e248 /system/lib/dri/i965_dri.so
01-21 13:13:56.899 16133 16133 F DEBUG : #04 pc 0000ab1e /system/lib/libglapi.so
01-21 13:13:56.899 16133 16133 F DEBUG : #05 pc 00a12d91 /system/app/webview/webview.apk (offset 0x927000)
GAPPS_VARIANT := nanoPRODUCT_PACKAGES += Chrome \ Maps \ KeyboardGoogle \ GoogleTTS \ YouTube \ PixelIcons \ PixelLauncher \ Wallpapers \ PixelLauncherIcons \ GoogleServicesFramework \ GoogleLoginService
#PRODUCT_PACKAGES += HangoutsGAPPS_EXCLUDED_PACKAGES := PrebuiltGmsCoreInstantApps \ FaceLock \ AndroidPlatformServices
GAPPS_FORCE_BROWSER_OVERRIDES := true
PRODUCT_PROPERTY_OVERRIDES := \ ro.kernel.android.gps=ttyUSB0 \ ro.kernel.android.gpsttybaud=4800
$(call inherit-product,build/target/product/languages_full.mk)
$(call inherit-product,vendor/opengapps/build/opengapps-packages.mk)
# includes the base of Android-x86 platform$(call inherit-product,device/generic/common/x86_64.mk)
# OverridesPRODUCT_NAME := android_x86_64PRODUCT_BRAND := Android-x86PRODUCT_DEVICE := x86_64PRODUCT_MODEL := Generic Android-x86_64
diff --git a/audio/AudioPolicyManagerBase.cpp b/audio/AudioPolicyManagerBase.cppindex 74ee22a..e3d16da 100644--- a/audio/AudioPolicyManagerBase.cpp+++ b/audio/AudioPolicyManagerBase.cpp@@ -3248,7 +3248,7 @@ float AudioPolicyManagerBase::computeVolume(int stream, index != mStreams[stream].mIndexMin && (device == AUDIO_DEVICE_OUT_AUX_DIGITAL || device == AUDIO_DEVICE_OUT_DGTL_DOCK_HEADSET)) {- return 1.0;+ // return 1.0; }
diff --git a/services/core/java/com/android/server/audio/AudioService.java b/services/core/java/com/android/server/audio/AudioService.javaindex c70a87c..87cabe0 100644--- a/services/core/java/com/android/server/audio/AudioService.java+++ b/services/core/java/com/android/server/audio/AudioService.java@@ -520,12 +520,13 @@ public class AudioService extends IAudioService.Stub { = new RemoteCallbackList<IAudioRoutesObserver>();
// Devices for which the volume is fixed and VolumePanel slider should be disabled- int mFixedVolumeDevices = AudioSystem.DEVICE_OUT_HDMI |- AudioSystem.DEVICE_OUT_DGTL_DOCK_HEADSET |- AudioSystem.DEVICE_OUT_ANLG_DOCK_HEADSET |- AudioSystem.DEVICE_OUT_HDMI_ARC |- AudioSystem.DEVICE_OUT_SPDIF |- AudioSystem.DEVICE_OUT_AUX_LINE;+ int mFixedVolumeDevices = 0;+ //AudioSystem.DEVICE_OUT_HDMI |+ //AudioSystem.DEVICE_OUT_DGTL_DOCK_HEADSET |+ //AudioSystem.DEVICE_OUT_ANLG_DOCK_HEADSET |+ //AudioSystem.DEVICE_OUT_HDMI_ARC |+ //AudioSystem.DEVICE_OUT_SPDIF |+ //AudioSystem.DEVICE_OUT_AUX_LINE; int mFullVolumeDevices = 0;
0035e248
[???]
^C
addr2line -Cfe out/product/target/x86_64/symbols/system/lib/libglapi.so
0000ab1e[???]Same procedure required for the other SIGSEGV01-21 12:47:21.791 3767 3959 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x20c in tid 3959 (Binder:3767_4) 01-21 12:47:21.899 4090 4090 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 01-21 12:47:21.899 4090 4090 F DEBUG : Build fingerprint: 'Android-x86/android_x86_64/x86_64:7.1.2/N2G48H/root01210301:userdebug/test-keys' 01-21 12:47:21.899 4090 4090 F DEBUG : Revision: '0' 01-21 12:47:21.899 4090 4090 F DEBUG : ABI: 'x86_64' 01-21 12:47:21.899 4090 4090 F DEBUG : pid: 3767, tid: 3959, name: Binder:3767_4 >>> com.google.android.gms.unstable <<< 01-21 12:47:21.899 4090 4090 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20c 01-21 12:47:21.899 4090 4090 F DEBUG : rax 0000000000000000 rbx 0000000000000000 rcx 00007c395843de0c rdx 00007c39591d5d94 01-21 12:47:21.899 4090 4090 F DEBUG : rsi 0000000000000000 rdi 0000000000000000 01-21 12:47:21.899 4090 4090 F DEBUG : r8 0000000000000003 r9 00007c39591d7450 r10 0000000000000000 r11 0000000000000005 01-21 12:47:21.899 4090 4090 F DEBUG : r12 00007c395846bc00 r13 00007c3972dd1f00 r14 0000000000000020 r15 0000000000000001 01-21 12:47:21.899 4090 4090 F DEBUG : cs 0000000000000033 ss 000000000000002b 01-21 12:47:21.899 4090 4090 F DEBUG : rip 00007c39587eb741 rbp 0000000000000000 rsp 00007c39591d5ca0 eflags 0000000000010246 01-21 12:47:23.574 4090 4090 F DEBUG : 01-21 12:47:23.574 4090 4090 F DEBUG : backtrace: 01-21 12:47:23.574 4090 4090 F DEBUG : #00 pc 0000000000064741 /system/lib64/dri/i965_dri.so 01-21 12:47:23.574 4090 4090 F DEBUG : #01 pc 000000000006769a /system/lib64/dri/i965_dri.soon source folder:addr2line -Cfe out/product/target/x86_64/symbols/system/lib64/dri/i965_dri.so0000000000064741[???]000000000006769a[???]
This pattern of mesa 17.2.x + nougat-x86 libdrm working suggeststhat the problem with Coffelake (gen 8) was most probably due to mesa libraries moved to /vendor in mesa 17.3 and laterAlso when I build nougat, with mesa 17.3 and later, I use x86/oreo-x86 version of external/drm_grallocIn order to confirm I'm uploading experimental test images with mesa 17.3.3 here (3 hours to go):
root@UbuntuPV:/mnt/nfs/data/src/android-x86-nougat-x86-rc2# addr2line -Cfe ./out/target/product/x86_64/symbols/system/lib/dri/i965_dri.so005d812caddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesaddr2line: Dwarf Error: Info pointer extends beyond end of attributesget_fast_clear_rect/proc/self/cwd/external/mesa/src/intel/blorp/blorp_clear.c:196000267b2do_single_blorp_clear/proc/self/cwd/external/mesa/src/mesa/drivers/dri/i965/brw_blorp.c:85900029beebrw_clear/proc/self/cwd/external/mesa/src/mesa/drivers/dri/i965/brw_clear.c:2330035e248clear/proc/self/cwd/external/mesa/src/mesa/main/clear.c:221
root@UbuntuPV:/mnt/nfs/data/src/android-x86-nougat-x86-rc2# addr2line -Cfe ./out/target/product/x86_64/symbols/system/lib/libglapi.so0000ab1eshared_dispatch_stub_203/proc/self/cwd/out/target/product/x86_64/obj_x86/SHARED_LIBRARIES/libglapi_intermediates/shared-glapi/glapi_mapi_tmp.h:18408
root@UbuntuPV:/mnt/nfs/data/src/android-x86-nougat-x86-rc2# addr2line -Cfe ./out/target/product/x86_64/symbols/system/lib64/dri/i965_dri.so0000000000064741do_single_blorp_clear/proc/self/cwd/external/mesa/src/mesa/drivers/dri/i965/brw_blorp.c:789000000000006769abrw_clear/proc/self/cwd/external/mesa/src/mesa/drivers/dri/i965/brw_clear.c:233
2. Base : <a href="https://osdn.net/projects/android-x86/scm/git/manifest/commits/e8653d3a463c6894daff37073b35b2f880e59a0e" title="e8653d3a463c6894daff37073b35b2f880e59a0e" style="color:rgb(0,85,128);outline:0px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14.4px" rel="nofollow" target="_blank" onmousedo
I tested your latest build "nougat_x86_64_amd_dc_llvm50_mesa-17.3.3_hwc1.iso" on the skylake 6Y30. Unfortunately, the new versions of MESA and kernel did not fix the problem in 7.1.2 which appeared since November 2017. A number of applications and games (antutu 3dmark, defense zone 3) using the Unity at startup lead to a reboot of the android. This problem is not present in 8.1 and in October assemblies 7.1.2.