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. OpenGL RPi2 Arch Qt5 blank screen hangs no display
Forum Updated to NodeBB v4.3 + New Features

OpenGL RPi2 Arch Qt5 blank screen hangs no display

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 2 Posters 1.3k Views 2 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
    Sirmonkey
    wrote on last edited by Sirmonkey
    #1

    update when launching a QML app from platform mode
    example:# ./app -platform linuxfb
    what other options should I use ? for example dose "Graphical Effects" need to know anything? like driver?

    So in qtcreator there is several examples
    The "gallery" (QT Quick Extras - Gallery) one uses sliders menu and is great demo! ( it uses OpenGL it looks like )

    On the Rpi2 with Archlinux, the "gallery" app will run in Xfce4 but its painfully slow, like sad slow as if Open GL is getting emulated like 10+ years ago when you'd play q3atest.

    and trying to run without X11 xorg, from console " ./app -platform linuxfb " it looks to launch but nothing pops up on the screen and the system seems to hang. (it doesn't hang because i can ssh reboot and things comeback)

    i'm thinking there is a conflict with the mesa-lib (that gets installed with qt5-base) AND the secret sauce broadcom GPU stuff. I can't remove mesa without removing qt5 :-/
    I was told this is all supposed to be ironed out Qt + RPi , also why i think its a library Arch Linux install issue maybe?

    note a generic hello world design thing qt app runs both ways. (but i'm guessing isn't open gl

    Thanks :-)

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

      same thing happens with Debian Jessie on the pi .
      now to try raspbian (which my work won't let me use, but i can at-least test against it)

      1 Reply Last reply
      0
      • EddyE Offline
        EddyE Offline
        Eddy
        wrote on last edited by
        #3

        Hi sirmonkey,

        Where did you get the debian jessie image?

        I ask because when using a raspbian image all hw use is optimized and opengl 2 is used if i recall correctly. I doubt your images has been tuned for the pi hw.

        Eddy

        Qt Certified Specialist
        www.edalsolutions.be

        S 1 Reply Last reply
        0
        • EddyE Eddy

          Hi sirmonkey,

          Where did you get the debian jessie image?

          I ask because when using a raspbian image all hw use is optimized and opengl 2 is used if i recall correctly. I doubt your images has been tuned for the pi hw.

          Eddy

          S Offline
          S Offline
          Sirmonkey
          wrote on last edited by
          #4

          @Eddy http://sjoerd.luon.net/posts/2015/02/debian-jessie-on-rpi2/ is where i started.
          do you know of an image that works?

          Tonight I'm going to try to do a
          apt-get dist-upgrade
          on Raspbian and see what happends

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sirmonkey
            wrote on last edited by
            #5

            Update:
            after some reading. it looks like the ArchLinuxARM package of Qt5 is compiled with OpenGL3
            the RaspberryPi2 is OpenGL2. so in X it gets emulated in Mesa.

            but there is probably other issues aswell maybe? I don't know

            Is it possible to tell Qt on the command line which to use, or do I have to recompile Qt5 on the pi?

            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