Announcement

Collapse
No announcement yet.

DRI3 & Present Support Finally Land Within Intel's Driver

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DRI3 & Present Support Finally Land Within Intel's Driver

    Phoronix: DRI3 & Present Support Finally Land Within Intel's Driver

    Support for Direct Rendering Infrastructure 3 and the Present Extension are finally supported by the mainline Intel X.Org graphics driver...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    So... how to use it?

    Xorg 1.15.1 says:
    Code:
    [    78.577] Initializing built-in extension DRI3
    ddx says:
    Code:
    [    78.630] (II) Loading sub module "dri3"
    [    78.630] (II) LoadModule: "dri3"
    [    78.631] (WW) Warning, couldn't open module dri3
    [    78.631] (II) UnloadModule: "dri3"
    [    78.631] (II) Unloading dri3
    [    78.631] (EE) intel: Failed to load module "dri3" (module does not exist, 0)
    What "module"?

    Code:
    xf86-video-intel 2.99.911 will be compiled with:
      Xorg Video ABI version: 15.0
      Acceleration backends: *sna uxa
      Additional debugging support? none
      Support for Kernel Mode Setting? yes
      Support for legacy User Mode Setting (for i810)? yes
      Support for Direct Rendering Infrastructure: DRI1 DRI2 DRI3 Present
      Support for Xv motion compensation (XvMC and libXvMC): yes
      Build additional tools and utilities? xf86-video-intel-backlight-helper intel-virtual-output

    Comment


    • #3
      Originally posted by ChrisXY View Post
      So... how to use it?

      Xorg 1.15.1 says:
      Code:
      [    78.577] Initializing built-in extension DRI3
      ddx says:
      Code:
      [    78.630] (II) Loading sub module "dri3"
      [    78.630] (II) LoadModule: "dri3"
      [    78.631] (WW) Warning, couldn't open module dri3
      [    78.631] (II) UnloadModule: "dri3"
      [    78.631] (II) Unloading dri3
      [    78.631] (EE) intel: Failed to load module "dri3" (module does not exist, 0)
      What "module"?
      X does not yet report those modules when builtin. On the other hand, the code in the Xserver is very buggy.

      Comment


      • #4
        X.Org X Server 1.15.99.902 (1.16.0 RC 2)

        Code:
        [  6480.899] (II) Loading sub module "dri3"
        [  6480.899] (II) LoadModule: "dri3"
        [  6480.899] (WW) Warning, couldn't open module dri3
        [  6480.899] (II) UnloadModule: "dri3"
        [  6480.899] (II) Unloading dri3
        [  6480.899] (EE) intel: Failed to load module "dri3" (module does not exist, 0)
        [  6480.899] (II) Loading sub module "dri2"
        [  6480.899] (II) LoadModule: "dri2"
        [  6480.899] (II) Module "dri2" already built-in
        [  6480.899] (II) Loading sub module "present"
        [  6480.899] (II) LoadModule: "present"
        [  6480.899] (WW) Warning, couldn't open module present
        [  6480.899] (II) UnloadModule: "present"
        [  6480.899] (II) Unloading present
        [  6480.899] (EE) intel: Failed to load module "present" (module does not exist, 0)

        Comment


        • #5
          Originally posted by Pontostroy View Post
          X.Org X Server 1.15.99.902 (1.16.0 RC 2)

          Code:
          [  6480.899] (II) Loading sub module "dri3"
          [  6480.899] (II) LoadModule: "dri3"
          [  6480.899] (WW) Warning, couldn't open module dri3
          [  6480.899] (II) UnloadModule: "dri3"
          [  6480.899] (II) Unloading dri3
          [  6480.899] (EE) intel: Failed to load module "dri3" (module does not exist, 0)
          [  6480.899] (II) Loading sub module "dri2"
          [  6480.899] (II) LoadModule: "dri2"
          [  6480.899] (II) Module "dri2" already built-in
          [  6480.899] (II) Loading sub module "present"
          [  6480.899] (II) LoadModule: "present"
          [  6480.899] (WW) Warning, couldn't open module present
          [  6480.899] (II) UnloadModule: "present"
          [  6480.899] (II) Unloading present
          [  6480.899] (EE) intel: Failed to load module "present" (module does not exist, 0)
          No version of xserver currently works (neither git master). You need 6 patches from xorg-devel mailing list starting at http://lists.freedesktop.org/archive...ay/042592.html. Patches also apply nicely to xserver-1.15.

          Comment


          • #6
            Originally posted by Krejzi View Post
            You need 6 patches from xorg-devel mailing list starting at http://lists.freedesktop.org/archive...ay/042592.html. Patches also apply nicely to xserver-1.15.
            Thanks.


            edit: I guess this place is as good as any to ask:
            Is there a convenient way to download a set of patches from mailing list when you're not subscribed? It's always very cumbersome to collect a number of patches from the web archive and then saving them often creates problems with spaces and linebreaks and such...


            @Michael
            Would have been nice to have this information in the article but I guess you didn't know any more than us...

            Please update the article.
            Last edited by ChrisXY; 02 June 2014, 04:19 PM.

            Comment


            • #7
              Two ways: patchwork and the montly gzipped mbox format download.

              Comment


              • #8
                Originally posted by curaga View Post
                Two ways: patchwork and the montly gzipped mbox format download.
                Well, http://lists.x.org/archives/xorg-devel/2014-June.txt.gz is just a huge mbox txt file that probably needs some mail client to properly extract the patches.

                Patchwork seems okay but unfortunately the web interface doesn't really connect to the mail archive other than showing headers, so there is no grouping of patches and some of them seem to be replies to mails that quote patches and are still listed and stuff and then there are sometimes different versions of the patches and some patches in a patchset are in different states, so filtering isn't really easy...

                It seems this is the most recent set:







                edit:
                Code:
                [ 21417.108] (II) intel(0): [DRI2] Setup complete
                [ 21417.108] (II) intel(0): [DRI2]   DRI driver: i965
                [ 21417.108] (II) intel(0): [DRI2]   VDPAU driver: i965
                [ 21417.108] (II) intel(0): direct rendering: DRI2 DRI3 enabled
                [ 21417.108] (II) intel(0): hardware support for Present enabled
                I guess this means it's working...?

                Code:
                [ 21417.121] (II) GLX: Initialized DRI2 GL provider for screen 0
                No GLX support yet? I'm not sure what this means for opengl compositing...
                Last edited by ChrisXY; 02 June 2014, 06:11 PM.

                Comment


                • #9
                  I haven't seen this mentioned: DRI_PRIME with radeonsi/glamor doesn't work anymore with this.

                  Comment


                  • #10
                    Originally posted by ChrisXY View Post
                    I haven't seen this mentioned: DRI_PRIME with radeonsi/glamor doesn't work anymore with this.
                    This is going to be fixed when DRI3 DRI_PRIME support is merged.

                    Comment

                    Working...
                    X