[Intel-gfx] Running DRI3 on intel-gfx

Sedat Dilek sedat.dilek at gmail.com
Wed Jun 4 19:09:46 CEST 2014


On Wed, Jun 4, 2014 at 6:58 PM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
> On Wed, Jun 4, 2014 at 6:52 PM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>> On Wed, Jun 04, 2014 at 06:37:44PM +0200, Sedat Dilek wrote:
>>> > DRI2 or DRI3 running here?
>>> >
>>>
>>> I did some more testing and played with UXA/SNA for intel-ddx.
>>>
>>> $ egrep -i 'dri2|dri3|present|sna|uxa' Xorg.0.log_UXA
>>> [  8471.151] (II) intel(0): DRI2: Enabled
>>> [  8471.151] (II) intel(0): DRI3: Enabled
>>> [  8471.194] (II) GLX: Initialized DRI2 GL provider for screen 0
>>>
>>> $ egrep -i 'dri2|dri3|present|sna|uxa' Xorg.0.log_SNA
>>> [  8574.658] (II) intel(0): direct rendering: DRI2 DRI3 enabled
>>> [  8574.658] (II) intel(0): hardware support for Present enabled
>>> [  8574.666] (II) GLX: Initialized DRI2 GL provider for screen 0
>>>
>>> Still unsure if I had success.
>>
>> Yes, the DDX is ready. Try enabling LIBGL_DEBUG to check that mesa is
>> using DRI3.
>
> How do I see if DRI3 is enabled for mesa on my SandyBridge intel-gfxcard?
>
> glxinfo log-file attached...
>
>     $ LC_ALL=C LIBGL_DEBUG=verbose glxinfo 2> /dev/null > /tmp/glxinfo.txt
>
> To check for which keywords?
>

Not sure if a lsof'd libxcb-dri3 is a good sign...

$ sudo lsof 2> /dev/null | grep ^Xorg | egrep 'intel|i965|dri3'
Xorg      1370       root  mem       REG                7,0
25201405     694976 /opt/xorg/lib/dri/i965_dri.so
Xorg      1370       root  mem       REG                7,0
139160         88 /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
Xorg      1370       root  mem       REG                7,0
2317299     694968 /opt/xorg/lib/xorg/modules/drivers/intel_drv.so
Xorg      1370       root  mem       REG                7,0
10288      30113 /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0

- Sedat -



More information about the Intel-gfx mailing list