UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. amrith
    3. Best
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 17
    • Groups 0

    Posts

    Recent Best Controversial
    • UBport new device porting problem

      I have

      25019.271313] audit: type=1107 audit(1568197260.187:772): pid=1080 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/NetworkManager" interface="org.freedesktop.NetworkManager" bolded textmember="DeviceAdded" name=":1.12" mask="receive" pid=18156 label="snap.telegram-desktop.telegram-desktop" peer_pid=1081 peer_label="unconfined"

      details:
      I am porting halium and ubports ubuntu touch to my phone oneplus x onyx
      it has kernel 3.4 and i have successfully generated system image boot image and have boot into Ubuntu touch loading screen (with 4-5 dots as animation). It gets stuck there nothing happens after that .
      2019-09-11-133001.jpg

      I asked in halium telegram groups and they have mentioned it is better to askUbports .
      How to solve Apparmour =denied ?
      I am also adding full dmesg logs here
      dmesg log
      logcat
      (Is anyone having any apparmor related patches for kernel 3.4 to work please share)

      1. how to patch for this to work?

      update1;
      unity8.log link

      Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >
      std::exception::what: could not select EGL config for use with framebuffer
        
      [1971-04-04:15:32:35.724] ERROR: QMirServer - Mir failed to start
      

      TEST_EGL_CONFIGS
      output

      TEST_EGL

      root@ubuntu-phablet:~# test_egl
      library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it
      Segmentation fault  
      

      update 2 :
      So i have understood the main problem here Mir doesnt start unity8 because EGL thows exception at

      select_egl_config_with_format() 
      

      function
      as given in logs
      previous errors were caused by ownership as well as permission problem
      update 3
      sudo chown -R $USER /dev/input
      $ QML_BAD_GUI_RENDER_LOOP=1 QT_QPA_PLATFORM=mirserver unity8
      should start unity8 successfully once accidentally but was just flickering although i will have to fix the screen resolution.
      problem seems to be 1. ownership
      2.environment variables not set properly
      3.Dbus errors

      posted in Porting
      A
      amrith