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 and Qt 4.8.6
Forum Updated to NodeBB v4.3 + New Features

Beaglebone Black and Qt 4.8.6

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.6k 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.
  • S Offline
    S Offline
    Spessi
    wrote on last edited by
    #1

    Hi guys,
    I'm trying since several days to get a acceptable GUI on my Beaglebone Black. I want to read accelerometer values via CAN bus and visualize them by a rotating disc or something like this (loaded via pixmap). I added this Pixmap to my scene and the scene to my GraphicsView.
    Unfortunately, especially when the disc rotates fast, there is some ugly flickering and fragmenting. Since GraphicsView should use double buffering inherently, I think there isn't much else I can do than trying to set an OpenGL viewport. But the Beaglebone Black doesn't support SGX/OpenGL ES with kernel v3.8, and with kernel 3.12 (from Robert C. Nelson) I don't get the EGL surface initialized with Qt 4 (Qt 5.1.1 works, but this isn't an option).

    So I hope you could help me with this problem. Maybe it isn't even neccessary to use OpenGL for better rotating (hacks are welcome ;-))?

    At last a quick summary of my text:

    • Beaglebone Black, Kernel v3.8 (due to better cape support)
    • Qt 4.8.6 (due to better embedded support, more than just window, etc.)
    • Fast / flickerfree rotation of Pixmaps
    • Either with SGX / OGLES or without (enable better buffering, or another tricks)

    Many many thanks in advance!

    Regards,
    Marcel

    Edit:
    I should say that I'm using Ubuntu 14.04 with a Linaro Toolchain for crosscompiling.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Spessi
      wrote on last edited by
      #2

      Hi, sorry for double post, but now I got the graphic drivers (SGX) running under kernel v3.8 - the demos (OGLES2EvilSkull, etc.) are running.

      Unfortunately Qt 4.8.6 still doesn't work. I've added these to patches https://github.com/prabindh/qt-configs/tree/master/qt4.8 first, and then this one: http://downloads.ti.com/dsps/dsps_public_sw/gfxsdk/4_10_00_01/exports/0001-Qt-4.x-patch-for-1.10DDK.patch

      Now, if I want to run an example application, it quits with error 0x3001:
      debian@beaglebone:~/hellogl_es2$ ./hellogl_es2 -qws -display powervr
      QEglContext::createSurface(): Unable to create EGL surface, error = 0x3001

      The Qt application opens up, but the OpenGL area remains green.

      Do you have any ideas? libpvrQWSWSEGL.so is configured as WindowSystem.

      Regards,
      Marcel

      1 Reply Last reply
      0
      • raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        sorry i can't help you with your initial problem.
        But just out of curiosity: what is your hardware setup for reading the CAN data. Can you also share some code?

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        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