Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Beaglebone Black Webengine fails
Forum Updated to NodeBB v4.3 + New Features

Beaglebone Black Webengine fails

Scheduled Pinned Locked Moved Solved Mobile and Embedded
4 Posts 3 Posters 630 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gruener
    wrote on last edited by
    #1

    Hi,
    I've this problem already for a few days and I need help...
    I would like to have a web browser without an X server ( with linuxfb ) on the Beaglebone Black.
    To do this I compiled an image with QtWebengine using the Yocto project with the help of this Website.

    My recives:
    .
    ├── bbb
    │ ├── build
    │ └── meta-bbb
    └── poky-dunfell
    ├── meta
    ├── meta-arm
    ├── meta-jumpnow
    ├── meta-openembedded
    ├── meta-poky
    ├── meta-qt5
    ├── meta-security
    ├── meta-selftest
    ├── meta-skeleton
    └── meta-ti

    The build process worked out very well...
    Then I programmed a minimal browser with QWebEngineView.

    Code:

    int main (int argc, char * argv [])
    {
        QApplication a (argc, argv);
        QWebEngineView view;
        view.setUrl (QUrl ("https://www.qt.io"));
        view.resize (1024,750);
        view.show ();
        return a.exec
    }
    

    When I run this program from the host PC everything works
    perfect.

    Browser.png

    Then I compiled the code for the Beaglebone using the Yocto SDK.
    Now when I run the program, the UI is displayed, but the WebView fails to load with these error messages:

    $ dmesg
    ...
    Unhandled prefetch abort: debug event (0x002) at 0xb27e5940
    Unhandled prefetch abort: debug event (0x002) at 0xb27e5940

    If I try to load another Webpage with webview.setUrl() these two error messages keeps spamming.

    Next i tried to debug it with gdb, but with no success...
    Have you any ideas where the problem is?

    Thank you for your help,
    Lukas

    Pablo J. RoginaP 1 Reply Last reply
    0
    • S Offline
      S Offline
      Soniatekniko
      Banned
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • G Gruener

        Hi,
        I've this problem already for a few days and I need help...
        I would like to have a web browser without an X server ( with linuxfb ) on the Beaglebone Black.
        To do this I compiled an image with QtWebengine using the Yocto project with the help of this Website.

        My recives:
        .
        ├── bbb
        │ ├── build
        │ └── meta-bbb
        └── poky-dunfell
        ├── meta
        ├── meta-arm
        ├── meta-jumpnow
        ├── meta-openembedded
        ├── meta-poky
        ├── meta-qt5
        ├── meta-security
        ├── meta-selftest
        ├── meta-skeleton
        └── meta-ti

        The build process worked out very well...
        Then I programmed a minimal browser with QWebEngineView.

        Code:

        int main (int argc, char * argv [])
        {
            QApplication a (argc, argv);
            QWebEngineView view;
            view.setUrl (QUrl ("https://www.qt.io"));
            view.resize (1024,750);
            view.show ();
            return a.exec
        }
        

        When I run this program from the host PC everything works
        perfect.

        Browser.png

        Then I compiled the code for the Beaglebone using the Yocto SDK.
        Now when I run the program, the UI is displayed, but the WebView fails to load with these error messages:

        $ dmesg
        ...
        Unhandled prefetch abort: debug event (0x002) at 0xb27e5940
        Unhandled prefetch abort: debug event (0x002) at 0xb27e5940

        If I try to load another Webpage with webview.setUrl() these two error messages keeps spamming.

        Next i tried to debug it with gdb, but with no success...
        Have you any ideas where the problem is?

        Thank you for your help,
        Lukas

        Pablo J. RoginaP Offline
        Pablo J. RoginaP Offline
        Pablo J. Rogina
        wrote on last edited by
        #3

        @Gruener said in Beaglebone Black Webengine fails:

        Have you any ideas where the problem is?

        I'd try building a simple Qt GUI app (not using QWebEngine at all, with just a couple buttons and labels) and run it in the BBB.
        That way I'll be able to rule if the problem is QWebEngine or something else related to your target device.

        Upvote the answer(s) that helped you solve the issue
        Use "Topic Tools" button to mark your post as Solved
        Add screenshots via postimage.org
        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

        G 1 Reply Last reply
        1
        • Pablo J. RoginaP Pablo J. Rogina

          @Gruener said in Beaglebone Black Webengine fails:

          Have you any ideas where the problem is?

          I'd try building a simple Qt GUI app (not using QWebEngine at all, with just a couple buttons and labels) and run it in the BBB.
          That way I'll be able to rule if the problem is QWebEngine or something else related to your target device.

          G Offline
          G Offline
          Gruener
          wrote on last edited by
          #4

          @Pablo-J-Rogina

          Thanks for replying :->
          Yesterday I figured out what the problem was:
          Had a problem with opengl and the sgx graphics driver.
          But now it works perfectly

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved