{"action":"created","issue":{"url":"https://api.github.com/repos/pelya/xserver-xsdl/issues/32","labels_url":"https://api.github.com/repos/pelya/xserver-xsdl/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/pelya/xserver-xsdl/issues/32/comments","events_url":"https://api.github.com/repos/pelya/xserver-xsdl/issues/32/events","html_url":"https://github.com/pelya/xserver-xsdl/issues/32","id":53990578,"number":32,"title":" X server failed to launch","user":{"login":"Malcom3D","id":10485437,"avatar_url":"https://avatars.githubusercontent.com/u/10485437?v=3","gravatar_id":"","url":"https://api.github.com/users/Malcom3D","html_url":"https://github.com/Malcom3D","followers_url":"https://api.github.com/users/Malcom3D/followers","following_url":"https://api.github.com/users/Malcom3D/following{/other_user}","gists_url":"https://api.github.com/users/Malcom3D/gists{/gist_id}","starred_url":"https://api.github.com/users/Malcom3D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Malcom3D/subscriptions","organizations_url":"https://api.github.com/users/Malcom3D/orgs","repos_url":"https://api.github.com/users/Malcom3D/repos","events_url":"https://api.github.com/users/Malcom3D/events{/privacy}","received_events_url":"https://api.github.com/users/Malcom3D/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-01-11T12:36:24Z","updated_at":"2015-06-07T07:33:14Z","closed_at":"2015-01-17T00:23:46Z","body":"Hi Pelya,\r\nthank you for the effort on this app. I've some problem starting the xserver.\r\nI own a xt925 phone with CM10.1.3.\r\nAfter the count down screen, the Xserver won't start; it print:\r\n\r\n\"Error: X server failed to launch\r\nThis may happen because of SELinux or because installation was corrupted\"\r\n\r\nSElinux isn't compiled. I've try to clean cache data and reinstall the app, but I think something is wrong in my setup.\r\nLooking at the logcat I can see some error about swap interval and keyboard init:\r\n\r\nI/ActivityManager(  719): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=x.org.server/.MainActivity} from pid 1058\r\nD/dalvikvm(  719): GC_FOR_ALLOC freed 1653K, 26% free 15396K/20704K, paused 138ms, total 145ms\r\nI/dalvikvm-heap(  719): Grow heap (frag case) to 18.379MB for 1048592-byte allocation\r\nI/ActivityManager(  719): Start proc x.org.server for activity x.org.server/.MainActivity: pid=7344 uid=10071 gids={50071, 3003, 1015, 1028}\r\nI/SDL     ( 7344): libSDL: Creating startup screen\r\nW/ActivityManager(  719): Unable to start service Intent { cmp=x.org.server/.DummyService } U=0: not found\r\nI/SDL     ( 7344): libSDL: onWindowFocusChanged: true - sending onPause/onResume\r\nI/ActivityManager(  719): Displayed x.org.server/.MainActivity: +352ms\r\nI/SDL     ( 7344): libSDL: Loading libraries\r\nI/SDL     ( 7344): libSDL: loaded GLESv2 lib\r\nI/SDL     ( 7344): libSDL: loading lib /data/data/x.org.server/files/../lib/libsdl_native_helpers.so\r\nD/dalvikvm( 7344): Trying to load lib /data/data/x.org.server/files/../lib/libsdl_native_helpers.so 0x40ea2358\r\nD/dalvikvm( 7344): Added shared lib /data/data/x.org.server/files/../lib/libsdl_native_helpers.so 0x40ea2358\r\nD/dalvikvm( 7344): No JNI_OnLoad found in /data/data/x.org.server/files/../lib/libsdl_native_helpers.so 0x40ea2358, skipping init\r\nI/SDL     ( 7344): libSDL: loading lib /data/data/x.org.server/files/../lib/libsdl-1.2.so\r\nD/dalvikvm( 7344): Trying to load lib /data/data/x.org.server/files/../lib/libsdl-1.2.so 0x40ea2358\r\nD/dalvikvm( 7344): Added shared lib /data/data/x.org.server/files/../lib/libsdl-1.2.so 0x40ea2358\r\nI/SDL     ( 7344): libSDL: loading lib /data/data/x.org.server/files/../lib/libsdl_ttf.so\r\nD/dalvikvm( 7344): Trying to load lib /data/data/x.org.server/files/../lib/libsdl_ttf.so 0x40ea2358\r\nD/dalvikvm( 7344): Added shared lib /data/data/x.org.server/files/../lib/libsdl_ttf.so 0x40ea2358\r\nD/dalvikvm( 7344): No JNI_OnLoad found in /data/data/x.org.server/files/../lib/libsdl_ttf.so 0x40ea2358, skipping init\r\nI/SDL     ( 7344): libSDL: Trying to extract binaries from assets binaries-armeabi-v7a.zip\r\nI/SDL     ( 7344): File '/data/data/x.org.server/files/usr/bin/xli' exists and passed CRC check - not overwriting it\r\nI/SDL     ( 7344): File '/data/data/x.org.server/files/usr/bin/xhost' exists and passed CRC check - not overwriting it\r\nI/SDL     ( 7344): File '/data/data/x.org.server/files/usr/bin/xsel' exists and passed CRC check - not overwriting it\r\nI/SDL     ( 7344): File '/data/data/x.org.server/files/usr/bin/xkbcomp' exists and passed CRC check - not overwriting it\r\nI/SDL     ( 7344): File '/data/data/x.org.server/files/busybox' exists and passed CRC check - not overwriting it\r\nI/SDL     ( 7344): Extracting binaries finished\r\nI/SDL     ( 7344): libSDL: Loading settings\r\nI/SDL     ( 7344): libSDL: Settings.Load(): enter\r\nI/SDL     ( 7344): android.os.Build.MODEL: XT925\r\nI/SDL     ( 7344): libSDL: Settings.Load(): loaded settings successfully\r\nI/SDL     ( 7344): libSDL: old cfg version 11121, our version 11121\r\nI/InputReader(  719): Reconfiguring input devices.  changes=0x00000004\r\nI/InputReader(  719): Device reconfigured: id=1, name='melfas-ts', size 720x1280, orientation 1, mode 1, display id 0\r\nI/InputReader(  719): Reconfiguring input devices.  changes=0x00000004\r\nI/InputReader(  719): Device reconfigured: id=1, name='melfas-ts', size 720x1280, orientation 1, mode 1, display id 0\r\nI/ActivityManager(  719): Config changes=480 {1.0 222mcc1mnc it_IT ldltr sw360dp w640dp h335dp 320dpi nrml long land finger -keyb/v/h -nav/h s.14 themeResource=null}\r\nI/SDL     ( 7344): libSDL: loading lib /data/data/x.org.server/files/../lib/libapplication.so\r\nD/dalvikvm( 7344): Trying to load lib /data/data/x.org.server/files/../lib/libapplication.so 0x40ea2358\r\nD/dalvikvm( 7344): Added shared lib /data/data/x.org.server/files/../lib/libapplication.so 0x40ea2358\r\nD/dalvikvm( 7344): No JNI_OnLoad found in /data/data/x.org.server/files/../lib/libapplication.so 0x40ea2358, skipping init\r\nI/SDL     ( 7344): libSDL: loading lib /data/data/x.org.server/files/../lib/libsdl_main.so\r\nD/dalvikvm( 7344): Trying to load lib /data/data/x.org.server/files/../lib/libsdl_main.so 0x40ea2358\r\nD/dalvikvm( 7344): Added shared lib /data/data/x.org.server/files/../lib/libsdl_main.so 0x40ea2358\r\nI/SDL     ( 7344): libSDL: 3000-msec timeout in startup screen\r\nD/dalvikvm(  934): GC_FOR_ALLOC freed 654K, 61% free 9862K/24940K, paused 21ms, total 21ms\r\nI/dalvikvm-heap(  934): Grow heap (frag case) to 18.088MB for 6410576-byte allocation\r\nD/dalvikvm(  934): GC_CONCURRENT freed 5K, 36% free 16117K/24940K, paused 1ms+10ms, total 37ms\r\nD/dalvikvm(  934): GC_FOR_ALLOC freed 1K, 36% free 16117K/24940K, paused 18ms, total 18ms\r\nI/dalvikvm-heap(  934): Grow heap (frag case) to 24.626MB for 6860816-byte allocation\r\nD/dalvikvm(  934): GC_CONCURRENT freed 0K, 28% free 22817K/31644K, paused 2ms+4ms, total 38ms\r\nD/dalvikvm(  719): GC_EXPLICIT freed 924K, 26% free 16158K/21732K, paused 3ms+13ms, total 133ms\r\nI/SDL     ( 7344): libSDL: Timeout reached in startup screen, process with downloader\r\nI/SDL     ( 7344): libSDL: Starting data downloader\r\nI/SDL     ( 7344): libSDL: Starting downloader\r\nI/SDL     ( 7344): libSDL: Initializing video and SDL application\r\nD/SDL     ( 7344): libSDL: DemoRenderer.onWindowResize(): 1280x720\r\nD/libEGL  ( 7344): loaded /system/lib/egl/libEGL_adreno200.so\r\nD/libEGL  ( 7344): loaded /system/lib/egl/libGLESv1_CM_adreno200.so\r\nD/libEGL  ( 7344): loaded /system/lib/egl/libGLESv2_adreno200.so\r\nI/Adreno200-EGL( 7344): <qeglDrvAPI_eglInitialize:269>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB_VANILLA.04.02.02.60.051_msm8960_JB_VANILLA_CL2997615_release_AU (CL2997615)\r\nI/Adreno200-EGL( 7344): Build Date: 04/11/13 Thu\r\nI/Adreno200-EGL( 7344): Local Branch:\r\nI/Adreno200-EGL( 7344): Remote Branch: quic/mako_jb_mr1\r\nI/Adreno200-EGL( 7344): Local Patches: NONE\r\nI/Adreno200-EGL( 7344): Reconstruct Branch: AU_LINUX_ANDROID_JB_VANILLA.04.02.02.60.051 +  NOTHING\r\nI/SDL     ( 7344): libSDL: DemoRenderer.onSurfaceCreated(): paused false mFirstTimeStart true\r\nI/SDL     ( 7344): libSDL: DemoRenderer.onSurfaceChanged(): paused false mFirstTimeStart false w 1280 h 720\r\nI/libSDL  ( 7344): Physical screen resolution is 1280x720\r\nI/SDL     ( 7344): libSDL: setting envvar LANGUAGE to 'it_IT'\r\nD/SDL     ( 7344): libSDL: Is running on OUYA: false\r\nI/SDL     ( 7344): libSDL: starting gyroscope\r\nI/libSDL  ( 7344): Changing curdir to \"/storage/emulated/0/Android/data/x.org.server/files\"\r\nI/libSDL  ( 7344): Calling SDL_main(\"XSDL\")\r\nI/libSDL  ( 7344): param 0 = \"XSDL\"\r\nI/XSDL    ( 7344): Actual video resolution 1280/103x720/57\r\nI/XSDL    ( 7344): User u0_a71 ID 10071\r\nI/XSDL    ( 7344): Current video mode: 1280 720\r\nI/libSDL  ( 7344): SDL_SetVideoMode(): application requested mode 480x320 OpenGL 0 HW 0 BPP 16\r\nE/libSDL  ( 7344): ERROR: Setting the swap interval is not supported\r\nE/libSDL  ( 7344): ERROR: Getting the swap interval is not supported\r\nE/libSDL  ( 7344): ERROR: GL_GetAttribute not supported\r\nI/libSDL  ( 7344): ANDROID_GL_GetProcAddress(\"glGetString\"): 0x40035cc0\r\nD/BHD     (  311): Got a battery uevent,log details\r\nI/XSDL    ( 7344): TCP port 6000 already used, trying next one: Address already in use\r\nI/XSDL    ( 7344): TCP port 6001 already used, trying next one: Address already in use\r\nI/XSDL    ( 7344): TCP port 6002 already used, trying next one: Address already in use\r\nI/XSDL    ( 7344): TCP port 6003 already used, trying next one: Address already in use\r\nI/XSDL    ( 7344): 2 network interfaces found\r\nI/XSDL    ( 7344): interface: lo address: 127.0.0.1\r\nI/XSDL    ( 7344): interface: wlan0 address: 192.168.1.129\r\nI/XSDL    ( 7344): XSDL video resolution 1280/147x720/81x16, args:\r\nI/XSDL    ( 7344): > XSDL\r\nI/XSDL    ( 7344): > :4\r\nI/XSDL    ( 7344): > -nolock\r\nI/XSDL    ( 7344): > -noreset\r\nI/XSDL    ( 7344): > -fp\r\nI/XSDL    ( 7344): > /data/data/x.org.server/files/img/usr/share/fonts/X11/misc,/data/data/x.org.server/files/img/usr/share/fonts/X11/Type1,/data/data/x.org.server/files/img/usr/share/fonts/X11/100dpi,/data/data/x.org.server/files/img/usr/share/fonts/X11/75dpi,/data/data/x.org.server/files/img/usr/share/fonts/X11/cyrillic\r\nI/XSDL    ( 7344): > -screen\r\nI/XSDL    ( 7344): > 1280/147x720/81x16\r\nI/XSDL    ( 7344): > -exec\r\nI/XSDL    ( 7344): > /data/data/x.org.server/files/usr/bin/xhost + ; /data/data/x.org.server/files/usr/bin/xli -onroot -center /storage/emulated/0/Android/data/x.org.server/files/background.bmp\r\nI/XSDL    ( 7344): XSDL chdir to: /data/data/x.org.server/files\r\nI/XSDL    ( 7344): InitConnectionLimits: MaxClients = 255\r\nI/XSDL    ( 7344): InitCard: (null)\r\nI/XSDL    ( 7344): Calling SDL_Init()\r\nI/XSDL    ( 7344): _XSERVTrans\r\nI/XSDL    ( 7344): mkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.\r\nI/XSDL    ( 7344): _XSERVTrans\r\nI/XSDL    ( 7344): mkdir: ERROR: Cannot create /tmp/.X11-unix\r\nI/XSDL    ( 7344): _XSERVTrans\r\nI/XSDL    ( 7344): SocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno = 2\r\nI/XSDL    ( 7344): _XSERVTrans\r\nI/XSDL    ( 7344): MakeAllCOTSServerListeners: failed to create listener for unix\r\nI/XSDL    ( 7344): sdlScreenInit\r\nI/XSDL    ( 7344): Attempting for 1280x720/16bpp mode\r\nI/libSDL  ( 7344): SDL_SetVideoMode(): application requested mode 1280x720 OpenGL 0 HW 0 BPP 16\r\nE/libSDL  ( 7344): ERROR: Setting the swap interval is not supported\r\nE/libSDL  ( 7344): ERROR: Getting the swap interval is not supported\r\nE/libSDL  ( 7344): ERROR: GL_GetAttribute not supported\r\nI/libSDL  ( 7344): ANDROID_GL_GetProcAddress(\"glGetString\"): 0x40035cc0\r\nI/XSDL    ( 7344): Set 1280x720/16bpp mode\r\nI/XSDL    ( 7344): sdlMapFramebuffer: shadow 0\r\nI/XSDL    ( 7344): sdlRandRInit\r\nI/XSDL    ( 7344): InitOutput()\r\nI/XSDL    ( 7344): sdlCreateRes\r\nI/XSDL    ( 7344): [dix] Could not init font path element /data/data/x.org.server/files/img/usr/share/fonts/X11/misc, removing from list!\r\nI/XSDL    ( 7344): [dix] Could not init font path element /data/data/x.org.server/files/img/usr/share/fonts/X11/Type1, removing from list!\r\nI/XSDL    ( 7344): [dix] Could not init font path element /data/data/x.org.server/files/img/usr/share/fonts/X11/100dpi, removing from list!\r\nI/XSDL    ( 7344): [dix] Could not init font path element /data/data/x.org.server/files/img/usr/share/fonts/X11/75dpi, removing from list!\r\nI/XSDL    ( 7344): [dix] Could not init font path element /data/data/x.org.server/files/img/usr/share/fonts/X11/cyrillic, removing from list!\r\nI/XSDL    ( 7344): [xkb] XkbDDXCompileKeymapByNames executes: /data/data/x.org.server/files/usr/bin/xkbcomp -I/data/data/x.org.server/files/usr/share/X11/xkb -w 1 \"-R/data/data/x.org.server/files/usr/share/X11/xkb\" -xkm - -em1 xkbcomp: -emp --- -eml ======= /data/data/x.org.server/files/server-4.xkm\r\nI/XSDL    ( 7344): [xkb] XkbDDXCompileKeymapByNames compiling keymap:\r\nI/XSDL    ( 7344): (EE) Error compiling keymap (server-4)\r\nI/XSDL    ( 7344): (EE) XKB: Couldn't compile keymap\r\nI/XSDL    ( 7344): (EE) XKB: Failed to load keymap. Loading default keymap instead.\r\nI/XSDL    ( 7344): [xkb] XkbDDXCompileKeymapByNames executes: /data/data/x.org.server/files/usr/bin/xkbcomp -I/data/data/x.org.server/files/usr/share/X11/xkb -w 1 \"-R/data/data/x.org.server/files/usr/share/X11/xkb\" -xkm - -em1 xkbcomp: -emp --- -eml ======= /data/data/x.org.server/files/server-4.xkm\r\nI/XSDL    ( 7344): [xkb] XkbDDXCompileKeymapByNames compiling keymap:\r\nI/XSDL    ( 7344): (EE) Error compiling keymap (server-4)\r\nI/XSDL    ( 7344): (EE) XKB: Couldn't compile keymap\r\nI/XSDL    ( 7344): XKB: Failed to compile keymap\r\nI/XSDL    ( 7344): Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.\r\nI/XSDL    ( 7344):\r\nI/XSDL    ( 7344): Fatal server error:\r\nI/XSDL    ( 7344): Failed to activate core devices.\r\nI/XSDL    ( 7344):\r\nI/XSDL    ( 7344): (dix) removing device 2\r\nI/XSDL    ( 7344): (dix) removing device 3\r\nI/XSDL    ( 7344): Current video mode: 1280 720\r\nI/libSDL  ( 7344): SDL_SetVideoMode(): application requested mode 480x320 OpenGL 0 HW 0 BPP 16\r\nE/libSDL  ( 7344): ERROR: Setting the swap interval is not supported\r\nE/libSDL  ( 7344): ERROR: Getting the swap interval is not supported\r\nE/libSDL  ( 7344): ERROR: GL_GetAttribute not supported\r\nI/libSDL  ( 7344): ANDROID_GL_GetProcAddress(\"glGetString\"): 0x40035cc0\r\n\r\nI hope you can help me. Thank you very much!"},"comment":{"url":"https://api.github.com/repos/pelya/xserver-xsdl/issues/comments/109712698","html_url":"https://github.com/pelya/xserver-xsdl/issues/32#issuecomment-109712698","issue_url":"https://api.github.com/repos/pelya/xserver-xsdl/issues/32","id":109712698,"user":{"login":"depore","id":12771674,"avatar_url":"https://avatars.githubusercontent.com/u/12771674?v=3","gravatar_id":"","url":"https://api.github.com/users/depore","html_url":"https://github.com/depore","followers_url":"https://api.github.com/users/depore/followers","following_url":"https://api.github.com/users/depore/following{/other_user}","gists_url":"https://api.github.com/users/depore/gists{/gist_id}","starred_url":"https://api.github.com/users/depore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depore/subscriptions","organizations_url":"https://api.github.com/users/depore/orgs","repos_url":"https://api.github.com/users/depore/repos","events_url":"https://api.github.com/users/depore/events{/privacy}","received_events_url":"https://api.github.com/users/depore/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T07:33:14Z","updated_at":"2015-06-07T07:33:14Z","body":"hey im having the same kind of problem, but im using the Samsung Galaxy S6"}}