Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Wayland Can Now Use Gallium3D Software Rendering

  1. #1
    Join Date
    Jan 2007
    Posts
    14,901

    Default Wayland Can Now Use Gallium3D Software Rendering

    Phoronix: Wayland Can Now Use Gallium3D Software Rendering

    Besides the obvious requirements and demands of needing to design a display server that can fully replace the needs of the long-standing X Server, and making all the tool-kits and major software support running natively on Wayland, another inhibitor to Wayland's adoption has been its graphics driver requirements. In particular, Wayland requires kernel mode-setting, EGL (in place of a DRI2 requirement), in-kernel memory management (GEM), and 3D acceleration...

    http://www.phoronix.com/vr.php?view=OTM3Ng

  2. #2
    Join Date
    Apr 2011
    Posts
    5

    Default

    Quote Originally Posted by phoronix View Post
    Phoronix: Wayland Can Now Use Gallium3D Software Rendering

    Right now this is using the Gallium3D Softpipe driver, but without too many problems it should be possible to get it running with the LLVMpipe software driver. LLVMpipe runs significantly faster than Softpipe as it takes advantage of the Low-Level Virtual Machine (LLVM) and can take full advantage of modern processor features.


    http://www.phoronix.com/vr.php?view=OTM3Ng
    Oh it runs with LLVMpipe.
    With "softpipe interface" the internal gallium software winsys interface was meant.

  3. #3
    Join Date
    Feb 2007
    Posts
    87

    Default

    now, correct me if I'm wrong, but in theory this could (eventually) run with hardware acceleration, by layering it on top of OpenGL or OpenCL, for proprietary drivers. Right?

  4. #4
    Join Date
    Nov 2007
    Posts
    1,024

    Default

    Nope.

    The only way to ever run Wayland on the proprietary drivers (assuming the drivers never gain native support for the APIs that Wayland requires) is to run the nested X11 version of Wayland on top of X.org using the binary drivers.

  5. #5
    Join Date
    Oct 2008
    Posts
    3,149

    Default

    Quote Originally Posted by elanthis View Post
    Nope.

    The only way to ever run Wayland on the proprietary drivers (assuming the drivers never gain native support for the APIs that Wayland requires) is to run the nested X11 version of Wayland on top of X.org using the binary drivers.
    Or extend Wayland to use the API's present in the binary drivers, which sounds like what is planned. It just doesn't make any sense to try and do that this early in the development process.

  6. #6
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,463

    Default

    Quote Originally Posted by smitty3268 View Post
    Or extend Wayland to use the API's present in the binary drivers, which sounds like what is planned. It just doesn't make any sense to try and do that this early in the development process.
    The binary drivers need X running today. Don't think it makes much sense trying to run X just to get the drivers running then run Wayland alongside X rendering through GL, although I guess it's probably possible (and might be a fun science project).

  7. #7
    Join Date
    Jan 2009
    Posts
    1,687

    Default

    Does having wayland running on software g3d means its possible to run it under a virtual machine (VMware, VirtualBox etc)??

  8. #8
    Join Date
    Feb 2007
    Posts
    87

    Default

    Quote Originally Posted by bridgman View Post
    The binary drivers need X running today. Don't think it makes much sense trying to run X just to get the drivers running then run Wayland alongside X rendering through GL, although I guess it's probably possible (and might be a fun science project).
    Ah right I see. Good point

  9. #9
    Join Date
    Sep 2010
    Posts
    467

    Default

    Even if you have hardware acceleration, you can opt to use software acceleration by setting the EGL_SOFTWARE, EGL_DRIVER, and EGL_PLATFORM environmental variables for the Wayland client. This is also capable of running the X11 compositor for Wayland with software rendering.
    Please tell me this only influences the specific application.

    I don't want to suddenly loose all hardware acceleration for all applications just because one of them wants to go soft.
    In other words, don't make an api that basically locks the graphics card down like one of the old windows api functions did.

  10. #10

    Default

    Quote Originally Posted by plonoma View Post
    Please tell me this only influences the specific application.

    I don't want to suddenly loose all hardware acceleration for all applications just because one of them wants to go soft.
    In other words, don't make an api that basically locks the graphics card down like one of the old windows api functions did.
    You probably have to set those variables and then restart Wayland for it to take effect, so you don't have anything to worry about.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •