Git Product home page Git Product logo

Comments (3)

vanfanel avatar vanfanel commented on September 27, 2024 3

Thanks guys. I had a discussion with the labwc compositor authors, and got some compositor logs that show how RetroArch fares on Wayland with regards to Direct-scanout.
Long story short: RetroArch works perfect and goes into Direct-Scanout mode as expected. If you are interested:

labwc/labwc#1518 (reply in thread)

I am closing this. Thanks for passing by and commenting on this relatively obscure matter!

from retroarch.

ColinKinloch avatar ColinKinloch commented on September 27, 2024

I assume by "real" you're looking for mode setting. In which case I don't think it's something that wayland allows clients to do.

This is a good reference for what wayland clients can do: https://wayland.app/protocols/
You can see compositor support for each protocol at the bottom of the page.

If you're looking for more detail/rationale for a protocol there are good discussions in the MR's https://gitlab.freedesktop.org/wayland/wayland-protocols
The SDL source is also a good reference, it doesn't seem to differentiate SDL_WINDOW_FULLSCREEN_DESKTOP.

It could be that DRM lease could provide something interesting, but that would be pretty involved.

You should look for a application that has the behaviour you're looking for and look at the code.

from retroarch.

zoltanvb avatar zoltanvb commented on September 27, 2024

As I checked, there is a thing called fullscreen unredirect, which can bypass the compositor when the whole screen is covered, but it seems to be automatic without explicit enable/disable.

Mode setting (resolution / refresh rate change) is not available, this discussion mentions a few options, I believe RetroArch uses none of these.

from retroarch.

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.