I/SurfaceFlinger( 3248): SurfaceFlinger is starting
I/SurfaceFlinger( 3248): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 3248): loaded /system/lib/egl/libGLES_mesa.so
W/EGL-DRI2( 3248): fail to get drm fd
W/libEGL ( 3248): eglInitialize(0xb6867400) failed (EGL_NOT_INITIALIZED)
W/gralloc ( 3248): FBIOPUT_VSCREENINFO failed, page flipping not supported
W/gralloc ( 3248): page flipping not supported (yres_virtual=1200, requested=2400)
I/gralloc ( 3248): using (fd=11)
I/gralloc ( 3248): id = inteldrmfb
I/gralloc ( 3248): xres = 1920 px
I/gralloc ( 3248): yres = 1200 px
I/gralloc ( 3248): xres_virtual = 1920 px
I/gralloc ( 3248): yres_virtual = 1200 px
I/gralloc ( 3248): bpp = 32
I/gralloc ( 3248): r = 16:8
I/gralloc ( 3248): g = 8:8
I/gralloc ( 3248): b = 0:8
I/gralloc ( 3248): width = 305 mm (159.895081 dpi)
I/gralloc ( 3248): height = 191 mm (159.581146 dpi)
I/gralloc ( 3248): refresh rate = 60.00 Hz
W/hwcomposer( 3248): getting VSYNC period from fb HAL: 16666667
D/hwcomposer( 3248): Intel hwcomposer module
I/SurfaceFlinger( 3248): Using composer version 1.0
W/SurfaceFlinger( 3248): no suitable EGLConfig found, trying a simpler query
F/SurfaceFlinger( 3248): no suitable EGLConfig found, giving up
--------- beginning of crash
F/libc ( 3248): Fatal signal 4 (SIGILL), code 2, fault addr 0xb767f3dc in tid 3248 (surfaceflinger)
I/SurfaceFlinger( 4094): SurfaceFlinger is starting
I/SurfaceFlinger( 4094): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
D/libEGL ( 4094): loaded /system/lib/egl/libGLES_mesa.so
I/GRALLOC-DRM( 4094): create intel for driver i915
I/ServiceManager( 4023): Waiting for service SurfaceFlinger...
D/GRALLOC-KMS( 4094): supported drm planes and formats
D/GRALLOC-KMS( 4094): plane id 21
D/GRALLOC-KMS( 4094): format RG16
D/GRALLOC-KMS( 4094): format AB24
D/GRALLOC-KMS( 4094): format AR24
D/GRALLOC-KMS( 4094): format XB24
D/GRALLOC-KMS( 4094): format XR24
D/GRALLOC-KMS( 4094): format XB30
D/GRALLOC-KMS( 4094): format AB30
D/GRALLOC-KMS( 4094): format YUYV
D/GRALLOC-KMS( 4094): format YVYU
D/GRALLOC-KMS( 4094): format UYVY
D/GRALLOC-KMS( 4094): format VYUY
D/GRALLOC-KMS( 4094): plane id 22
D/GRALLOC-KMS( 4094): format RG16
D/GRALLOC-KMS( 4094): format AB24
D/GRALLOC-KMS( 4094): format AR24
D/GRALLOC-KMS( 4094): format XB24
D/GRALLOC-KMS( 4094): format XR24
D/GRALLOC-KMS( 4094): format XB30
D/GRALLOC-KMS( 4094): format AB30
D/GRALLOC-KMS( 4094): format YUYV
D/GRALLOC-KMS( 4094): format YVYU
D/GRALLOC-KMS( 4094): format UYVY
D/GRALLOC-KMS( 4094): format VYUY
D/GRALLOC-KMS( 4094): plane id 26
D/GRALLOC-KMS( 4094): format RG16
D/GRALLOC-KMS( 4094): format AB24
D/GRALLOC-KMS( 4094): format AR24
D/GRALLOC-KMS( 4094): format XB24
D/GRALLOC-KMS( 4094): format XR24
D/GRALLOC-KMS( 4094): format XB30
D/GRALLOC-KMS( 4094): format AB30
D/GRALLOC-KMS( 4094): format YUYV
D/GRALLOC-KMS( 4094): format YVYU
D/GRALLOC-KMS( 4094): format UYVY
D/GRALLOC-KMS( 4094): format VYUY
D/GRALLOC-KMS( 4094): plane id 27
D/GRALLOC-KMS( 4094): format RG16
D/GRALLOC-KMS( 4094): format AB24
D/GRALLOC-KMS( 4094): format AR24
D/GRALLOC-KMS( 4094): format XB24
D/GRALLOC-KMS( 4094): format XR24
D/GRALLOC-KMS( 4094): format XB30
D/GRALLOC-KMS( 4094): format AB30
D/GRALLOC-KMS( 4094): format YUYV
D/GRALLOC-KMS( 4094): format YVYU
D/GRALLOC-KMS( 4094): format UYVY
D/GRALLOC-KMS( 4094): format VYUY
I/GRALLOC-KMS( 4094): there are 2 modes on connector 0x26, type 14
I/GRALLOC-KMS( 4094): 1920x1200
I/GRALLOC-KMS( 4094): 1920x1200
I/GRALLOC-KMS( 4094): Established mode:
I/GRALLOC-KMS( 4094): clock: 149900, hdisplay: 1920, hsync_start: 1964, hsync_end: 1996, htotal: 2064, hskew: 0
I/GRALLOC-KMS( 4094): vdisplay: 1200, vsync_start: 1203, vsync_end: 1208, vtotal: 1210, vscan: 0, vrefresh: 60
I/GRALLOC-KMS( 4094): flags: 10, type: 72, name 1920x1200
I/GRALLOC-KMS( 4094): the best mode is 1920x1200
W/dex2oat ( 3534): Verification of void org.ccil.cowan.tagsoup.HTMLSchema.<init>() took 145.974ms
D/GRALLOC-KMS( 4094): will use flip for fb posting
I/GRALLOC-MOD( 4094): mode.hdisplay 1920
I/GRALLOC-MOD( 4094): mode.vdisplay 1200
I/GRALLOC-MOD( 4094): mode.vrefresh 60.000000
I/GRALLOC-MOD( 4094): format 0x5
I/GRALLOC-MOD( 4094): xdpi 221.000000
I/GRALLOC-MOD( 4094): ydpi 217.000000
I/GRALLOC-MOD( 4094): mode.hdisplay 1920
I/GRALLOC-MOD( 4094): mode.vdisplay 1200
I/GRALLOC-MOD( 4094): mode.vrefresh 60.000000
I/GRALLOC-MOD( 4094): format 0x5
I/GRALLOC-MOD( 4094): xdpi 221.000000
I/GRALLOC-MOD( 4094): ydpi 217.000000
W/hwcomposer( 4094): getting VSYNC period from fb HAL: 16666667
D/hwcomposer( 4094): Intel hwcomposer module
I/SurfaceFlinger( 4094): Using composer version 1.0
W/SurfaceFlinger( 4094): no suitable EGLConfig found, trying a simpler query
I/SurfaceFlinger( 4094): EGL information:
I/SurfaceFlinger( 4094): vendor : Android
I/SurfaceFlinger( 4094): version : 1.4 Android META-EGL
I/SurfaceFlinger( 4094): extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_create_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer
I/SurfaceFlinger( 4094): Client API: OpenGL_ES
I/SurfaceFlinger( 4094): EGLSurface: 8-8-8-8, config=0xb684a660
I/SurfaceFlinger( 4094): OpenGL ES informations:
I/SurfaceFlinger( 4094): vendor : Intel Open Source Technology Center
I/SurfaceFlinger( 4094): renderer : Mesa DRI Intel(R) Bay Trail
I/SurfaceFlinger( 4094): version : OpenGL ES 3.0 Mesa 10.7.0-devel
I/SurfaceFlinger( 4094): extensions: GL_EXT_debug_marker GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_OES_depth_texture_cube_map
I/SurfaceFlinger( 4094): GL_MAX_TEXTURE_SIZE = 8192
I/SurfaceFlinger( 4094): GL_MAX_VIEWPORT_DIMS = 16384
E/cutils-trace( 4094): Error opening trace file: No such file or directory (2)
W/EGL-DRI2( 4094): Native format mismatch: 0x1 != 0x5
D/SurfaceFlinger( 4094): Set power mode=2, type=0 flinger=0xb685c000
D/SurfaceFlinger( 4094): SF. shader cache generated - 26 shaders in 215.846298 ms
E/GRALLOC-MOD( 4094): failed to add fb
W/GraphicBufferAllocator( 4094): alloc(1920, 1200, 1, 00001a00, ...) failed -22 (Invalid argument)
E/ ( 4094): GraphicBufferAlloc::createGraphicBuffer(w=1920, h=1200) failed (Invalid argument), handle=0x0
E/BufferQueueProducer( 4094): [FramebufferSurface] dequeueBuffer: createGraphicBuffer failed
F/libc ( 4094): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x38 in tid 4094 (surfaceflinger)
I/ServiceManager( 1386): service 'SurfaceFlinger' died
Ok, so after some digging I found out I forgot to set androidboot.hardware to load the correct gralloc.$hardware.so. Available are default and drm so I choose drm although it feels like this is not correct...
Now it's doing a little bit more but i get:
E/GRALLOC-MOD( 4094): failed to add fb
W/EGL-DRI2( 4094): Native format mismatch: 0x1 != 0x5
Invalid argument) sounds more serious (or maybe this is related to the pixel format of course):
W/GraphicBufferAllocator( 4094): alloc(1920, 1200, 1, 00001a00, ...) failed -22 (Invalid argument)
E/ ( 4094): GraphicBufferAlloc::createGraphicBuffer(w=1920, h=1200) failed (Invalid argument), handle=0x0
E/BufferQueueProducer( 4094): [FramebufferSurface] dequeueBuffer: createGraphicBuffer failed
F/libc ( 4094): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x38 in tid 4094 (surfaceflinger)
Thanks for the suggestions! I looked into in and it looks like it is just a warning and not a show stopper.
The (
Invalid argument) sounds more serious (or maybe this is related to the pixel format of course):
W/GraphicBufferAllocator( 4094): alloc(1920, 1200, 1, 00001a00, ...) failed -22 (Invalid argument)
E/ ( 4094): GraphicBufferAlloc::createGraphicBuffer(w=1920, h=1200) failed (Invalid argument), handle=0x0
E/BufferQueueProducer( 4094): [FramebufferSurface] dequeueBuffer: createGraphicBuffer failed
F/libc ( 4094): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x38 in tid 4094 (surfaceflinger)
/*
* This does not actually change the framebuffer format. It merely
* fakes this format to surfaceflinger so that when it creates
* framebuffer surfaces it will use this format. It's really a giant
* HACK to allow interworking with buggy gralloc+GPU driver
* implementations. You should *NEVER* need to set this for shipping
* devices.
*/
#ifdef FRAMEBUFFER_FORCE_FORMAT
*((uint32_t *)&fbDev->format) = FRAMEBUFFER_FORCE_FORMAT;
ALOGE("-----Detected force format");
#endif
*((uint32_t *)&fbDev->format) = 5; // Just to be sure
ALOGE("--------Force format set");
# Video
BOARD_GPU_DRIVERS := i915 i965
TARGET_HARDWARE_3D := true
USE_OPENGL_RENDERER := true
BOARD_EGL_CFG := device/hp/omni/gpu/egl_mesa.cfg
# Get the hardware acceleration libraries
$(call inherit-product-if-exists,$(LOCAL_PATH)/gpu/gpu_mesa.mk)
<!-- mesa -->
<remove-project name="platform/external/mesa3d" />
<project path="external/mesa" name="platform/external/mesa" remote="x86" revision="lollipop-x86" />
<project path="external/drm" name="platform/external/drm" remote="x86" revision="lollipop-x86" />
<project path="hardware/drm_gralloc" name="platform/hardware/drm_gralloc" remote="x86" revision="lollipop-x86" />
<project path="hardware/intel/hwcomposer" name="platform/hardware/intel/hwcomposer" remote="x86" revision="lollipop-x86" />
<project path="external/libpciaccess" name="platform/external/libpciaccess" remote="x86" revision="lollipop-x86" />
ifeq ($(BOARD_EGL_WORKAROUND_BUG_10194508),true)
LOCAL_CFLAGS += -DWORKAROUND_BUG_10194508=1
endif
early-boot
is not working any more,
readprops is not recognized as a function? All props are written to the file by init.sh but they are not read back. If I set
ro.hardware.gralloc=drm in build.prop manually everything is working as expected.
on early-boot
readprops /$platform.prop
2015-10-07 4:15 GMT+08:00 JJ Meijer <jjmei...@gmail.com>:
I/SystemServer( 3997): Entered the Android system server!
I/ServiceManager( 3765): Waiting for service batterystats...
V/Fingerprint-JNI( 3997): FingerprintManager JNI ready.
I/ ( 3997): System server: starting sensor init.
D/SensorService( 3997): nuSensorService starting...
E/SensorService( 3997): couldn't load sensors module (No such file or directory)
I/ ( 3997): System server: sensor init done.
I/SystemServiceManager( 3997): Starting com.android.server.pm.Installer
I/Installer( 3997): Waiting for installd to be ready.
I/InstallerConnection( 3997): connecting...
I/InstallerConnection( 3997): disconnecting...
E/InstallerConnection( 3997): connection failed
I/SystemServiceManager( 3997): Starting com.android.server.am.ActivityManagerService$Lifecycle
I/XXXXXX ( 3997): choosing minFree values for 32 Bit
I/XXXXXX ( 3997): choosing minFree values for 32 Bit
I/XXXXXX ( 3997): choosing minFree values for 32 Bit
I/XXXXXX ( 3997): choosing minFree values for 32 Bit
I/XXXXXX ( 3997): choosing minFree values for 32 Bit
I/XXXXXX ( 3997): choosing minFree values for 32 Bit
I/ActivityManager( 3997): Memory class: 192
I/AppOps ( 3997): No existing app ops /data/system/appops.xml; starting empty
I/IntentFirewall( 3997): Read new rules (A:0 B:0 S:0)
D/AppOps ( 3997): AppOpsService published
I/SystemServiceManager( 3997): Starting com.android.server.power.PowerManagerService
W/libsuspend( 3997): Error writing 'on' to /sys/power/state: Invalid argument
I/libsuspend( 3997): Selected wakeup count
I/SystemServiceManager( 3997): Starting com.android.server.display.DisplayManagerService
I/SystemServiceManager( 3997): Starting phase 100
I/DisplayManagerService( 3997): Display device added: DisplayDeviceInfo{"Built-in Screen": uniqueId="local:0", 1920 x 1200, 60.000004 fps, supportedRefreshRates [60.000004], density 240, 221.0 x 217.0 dpi, appVsyncOff 0, presDeadline 17666666, touch INTERNAL, rotation 0, type BUILT_IN, state UNKNOWN, FLAG_DEFAULT_DISPLAY, FLAG_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
I/SystemServer( 3997): Package Manager
W/SELinuxMMAC( 3997): Error opening /data/system/seapp_hash. Assuming first boot.
W/PackageManager( 3997): No security bridge jar found, using default
W/SystemConfig( 3997): No directory /system/etc/sysconfig, skipping
D/SELinuxMMAC( 3997): Using policy file /system/etc/security/mac_permissions.xml
D/PackageManager( 3997): No files in app dir /vendor/overlay
I/PackageManager( 3997): SELinux relabeling of cyanogenmod.platform issued.
I/InstallerConnection( 3997): connecting...
I/InstallerConnection( 3997): disconnecting...
E/InstallerConnection( 3997): connection failed
W/PackageManager( 3997): Failed to parse /system/framework/x86: Missing base APK in /system/framework/x86
I/PackageManager( 3997): SELinux relabeling of org.cyanogenmod.audiofx issued.
I/InstallerConnection( 3997): connecting...
I/InstallerConnection( 3997): disconnecting...
E/InstallerConnection( 3997): connection failed
I/PackageManager( 3997): SELinux relabeling of com.android.backupconfirm issued.
I/InstallerConnection( 3997): connecting...
I/InstallerConnection( 3997): disconnecting...
E/InstallerConnection( 3997): connection failed
I/PackageManager( 3997): SELinux relabeling of com.cyanogenmod.account issued.
I/InstallerConnection( 3997): connecting...
I/InstallerConnection( 3997): disconnecting...
E/InstallerConnection( 3997): connection failed
I/PackageManager( 3997): SELinux relabeling of org.cyanogenmod.cmsettings issued.
I/InstallerConnection( 3997): connecting...
I/InstallerConnection( 3997): disconnecting...
E/InstallerConnection( 3997): connection failed
I/PackageManager( 3997): SELinux relabeling of com.cyanogenmod.updater issued.
I/InstallerConnection( 3997): connecting...
I/InstallerConnection( 3997): disconnecting...
E/InstallerConnection( 3997): connection failed
..........................
Hey man. I'm happy to see that someone is porting CM to Android-x86. Good luck with the work. I'll try too give your builds a test in free time.
Have you heard about RemixOS? There are rom's released for Nexus 9 and 10 - these could be ported and would be better than CM - we'd have a true PC UI. Even better thing would be a combo of CM-RemixOS-Android-x86.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Details here: https://forum.jide.com/index.php?p=%2Fdiscussion%2F601%2Fnexus-10-rom-available-here#Head
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
Also, you could just try my latest cm builds from here: https://groups.google.com/forum/m/#!topic/android-x86/kJfT5eKJ-RA there has been a lot of improvement since this thread.
this my grub.cfg
Please change DIR= to SRC= than it should work.
--
You received this message because you are subscribed to a topic in the Google Groups "Android-x86" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-x86/EQR7dqArcXg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-x86...@googlegroups.com.
So why not install Linux Mint and put it on the same partition? It has a nice installer. It will take me some time to find out the real problem and I really don't have time.
Hello everybody,
I started a project to learn something more about Linux and Android so I started to port the Cyanogen project to my HP Omni 10 (Baytrail) tablet. Many thanks to the Android-x86 project I had relatively quickly my tablet booting and change_rooting into Android.
At the moment surfaceflinger is crashing because of a missing EGLConfig (No suitable EGLConfig found). Hints in how this config should be supplied are very welcome!
I will let you know how it goes... :)
Kind regard, JJ
Please provide more info including the hardware spec,
test environment and procedure, and the (most important)
logs (dmesg & logcat)."
I wish you a happy new year!
Happy new year!