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. ScreenSaver Qt 5.15 using linuxfb plugin
Forum Updated to NodeBB v4.3 + New Features

ScreenSaver Qt 5.15 using linuxfb plugin

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 2 Posters 194 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.
  • W Offline
    W Offline
    webquinty
    wrote last edited by webquinty
    #1

    Hi everybody,

    Let me introduce myself. My name is John and I'm programmer.
    I'm going crazy over this issue and I don't know who to turn to.
    A lot of years ago, with Qt 4.8.7 I can be able to blank and unblank screen without any problem.

    Now, with new kernel ( well, 5.10 is quite old ) and Qt 5.15 it's impossible to turn off the screen.
    I would normally access this variable /sys/class/graphics/fb0/blank and it works properly, but now no.

    The same hardware with old system, this option works but the same system with new BSP, it doesn't work.
    Could anybody any idea or advice about how to do it?
    I don't want a solution, I just want a clue to keep investigating.

    Best regards.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote last edited by
      #2

      Hi,

      Did you check that if the blanking is still working when using the command line directly ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • W Offline
        W Offline
        webquinty
        wrote last edited by
        #3

        Yes, is still working.... but if I execute Qt app, the same command hasn't any efffect.
        It's as if Qt takes exclusive control of the screen.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote last edited by
          #4

          Which backed are you using ? Both in Qt 4 and Qt 5 ?
          The underlying architecture has changed quite a lot between the two.
          Also, do you have the same issue if you run your Qt 4 application with the new kernel ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • W Offline
            W Offline
            webquinty
            wrote last edited by webquinty
            #5

            Hi,

            The old system has Qt4.8.7 and kernel 4.18. --> sys/class/graphics/fb0/blank works properly!!!!!
            The new system has Qt 5.15.14 and kernel 5.10 --> sys/class/graphics/fb0/blank fail !!!!!!!

            I'm going to run that test you mentioned, Qt 4.8.7 and the new kernel, but honestly, I don't think I'll have the same problem with Qt 4. Anyway, I'll try to run that test.

            And thank you very much for your support.

            1 Reply Last reply
            0
            • W Offline
              W Offline
              webquinty
              wrote last edited by
              #6

              Thsi is the result of my test...

              Kernel 5.10 and Qt 4.8.7 --> sys/class/graphics/fb0/blank works properly!!!!!
              Kernel 5.10 and Qt 5.15.14 --> sys/class/graphics/fb0/blank FAIL!!!!

              And more curious with the second case. if I before turn off the screen from terminal and then execute tje Qt app, Qt return a segmentation fault due linuxfb plugin !!!!!

              What??? in short, QT 5.15 take the control in exclusive mode totally.

              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