Git Product home page Git Product logo

Comments (6)

onny avatar onny commented on August 22, 2024

I wonder how xwayland applications would behave in this scenario? Is there something like multi-gpu support for xwayland?!

from wlc.

Cloudef avatar Cloudef commented on August 22, 2024

Good question. I have no idea and it should be tested. We may need to open xwayland for each GPU.

Edit: Though this obviously does not work since we can't have output specific env variable for DISPLAY heh.

from wlc.

Cloudef avatar Cloudef commented on August 22, 2024

We should also autodetect primary card here, instead of assuming card0.

from wlc.

onny avatar onny commented on August 22, 2024

This info might be related: Wayland On Mesa Now Supports DRI_PRIME, Render Nodes https://phoronix.com/scan.php?page=news_item&px=Wayland-DRI-PRIME-Mesa-Nodes

from wlc.

CodeOneTwo avatar CodeOneTwo commented on August 22, 2024

Can anyone provide a little insight on what is needed to support DRI_PRIME in wlc. I have a Docking Station for the Dell XPS (displaylink) that shows up as a second GPU in X11.

from wlc.

Cloudef avatar Cloudef commented on August 22, 2024

Prime needs basically drm backend instance for each card. Same kind of thing is needed to support multiple displays on different GPU's. All the dirty work regarding support between GPUs should be handled by mesa as far I understand. That is copying rendered buffer to another GPU so it can push it to the display controller. This has bit of cost though, this is unavoidable with hybrid GPUs I guess, but with multi GPU + multi display setup, as long as you keep the buffer on the connected display controller there is no overhead.

from wlc.

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.