Git Product home page Git Product logo

Comments (5)

dimovnike avatar dimovnike commented on August 11, 2024

can someone confirm that this still fixes the low color depth issues http://thebugfreeblog.blogspot.ro/2012/11/32-bit-color-depth-qt-on-raspberry-pi.html?showComment=1428446883898#c3127471068375151835 ?

from pot.

dimovnike avatar dimovnike commented on August 11, 2024

also note that QT completely ignores QT_QPA_EGLFS_DEPTH variable

from pot.

penguinest avatar penguinest commented on August 11, 2024

You have to set it manually using QSurfaceFormat on your main.cpp. You could something like this:

QSurfaceFormat curSurface = viewer.format();
curSurface.setRedBufferSize(8);
curSurface.setGreenBufferSize(8);
curSurface.setBlueBufferSize(8);
curSurface.setAlphaBufferSize(8);
viewer.setFormat(curSurface);

I think this issue can be closed since it's not related with the fork.
Regards,

from pot.

carlonluca avatar carlonluca commented on August 11, 2024

Ah yes, that is probably the best way to set color depth. Thank you @Atr0N!
Related to the EGL setup however. I'll set the depth of the POC player to 24 bits for reference.

from pot.

dimovnike avatar dimovnike commented on August 11, 2024

yes this solves it! it increases CPU usage with about 5% (on a 720p video). Thank you!

from pot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.