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

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

  1. #1
    Join Date
    Jan 2007
    Posts
    15,135

    Default 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...

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

  2. #2
    Join Date
    Jun 2010
    Location
    ฿ 16LDJ6Hrd1oN3nCoFL7BypHSEYL84ca1JR
    Posts
    1,052

    Default

    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

  3. #3

    Default

    Quote 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.

  4. #4
    Join Date
    Feb 2011
    Location
    Ukraine
    Posts
    142

    Default

    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)

  5. #5
    Join Date
    Feb 2013
    Posts
    88

    Default

    Quote 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.

  6. #6
    Join Date
    Jun 2010
    Location
    ฿ 16LDJ6Hrd1oN3nCoFL7BypHSEYL84ca1JR
    Posts
    1,052

    Default

    Quote 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; 06-02-2014 at 04:19 PM.

  7. #7
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,187

    Default

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

  8. #8
    Join Date
    Jun 2010
    Location
    ฿ 16LDJ6Hrd1oN3nCoFL7BypHSEYL84ca1JR
    Posts
    1,052

    Default

    Quote 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:
    http://patchwork.freedesktop.org/patch/26724/
    http://patchwork.freedesktop.org/patch/26721/
    http://patchwork.freedesktop.org/patch/26722/
    http://patchwork.freedesktop.org/patch/26723/
    http://patchwork.freedesktop.org/patch/26719/
    http://patchwork.freedesktop.org/patch/26720/

    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; 06-02-2014 at 06:11 PM.

  9. #9
    Join Date
    Jun 2010
    Location
    ฿ 16LDJ6Hrd1oN3nCoFL7BypHSEYL84ca1JR
    Posts
    1,052

    Default

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

  10. #10
    Join Date
    Dec 2012
    Posts
    158

    Default

    Quote 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.

Posting Permissions

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