On 02/26/2013 12:26 PM, f69m wrote:
Hello,Trying to port Ubuntu Touch to the ASUS Transformer TF300T. The port does boot and I can log in via adb, but the display stays black. The reason is that qml-phone-shell segfaults trying to load EGL. Here is the bottom of strace output: -- open("/system/build.prop", O_RDONLY) = 9 fstat64(9, {st_mode=S_IFREG|0644, st_size=2406, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40076000 read(9, "# begin build properties\n# autogenerated by build"..., 4096) = 2406 read(9, "", 4096) = 0 close(9) = 0 munmap(0x40076000, 4096) = 0 writev(5, [{"\3", 1}, {"NvOsDebugPrintf\0", 16}, {"Attempting to load EGL implementation /system/lib//egl/libEGL_tegra_impl, version: 1.0.0\n\0", 90}], 3) = 107 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ -- If it helps, I have kept a copy of the full strace output.
First make sure you have hybris and platform-api built and installed at the android side (see phablet-dev-bootstrap).
Second, try exporting GRAPHICS=NVIDIA before starting the shell, that might help as we know the nvidia drivers uses pthread a lot, which is not properly solved yet at hybris (there's a wip branch afaik, will try to get that public).
As I managed to get SSH login and apt-get to work via an adb tunnel, I am prepared to start serious debugging, but I would appreciate if someone could point me at the right place to start looking.
https://wiki.ubuntu.com/Touch/Core/UbuntuDebugAndroid might help you as well, if you want to give gdb a try :-)
Cheers, -- Ricardo Salveti de Araujo -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp

