[Nouveau] NOUVEAU(0): DRI3 on EXA enabled

poma pomidorabelisima at gmail.com
Thu Nov 5 02:17:54 PST 2015


On 04.11.2015 12:27, poma wrote:
> On 04.11.2015 11:57, Martin Peres wrote:
>> On 02/11/15 08:28, poma wrote:
>>> An interesting results.
>>>
>>> DRI2:
>>>
>>> $ vblank_mode=0 glxgears
>>> ATTENTION: default value of option vblank_mode overridden by environment.
>>> 6321 frames in 5.0 seconds = 1264.103 FPS
>>> 6380 frames in 5.0 seconds = 1275.943 FPS
>>> 6369 frames in 5.0 seconds = 1273.629 FPS
>>> 6377 frames in 5.0 seconds = 1275.322 FPS
>>> 6387 frames in 5.0 seconds = 1277.330 FPS
>>> 6407 frames in 5.0 seconds = 1281.337 FPS
>>> 6381 frames in 5.0 seconds = 1276.053 FPS
>>> 6410 frames in 5.0 seconds = 1281.855 FPS
>>> 6405 frames in 5.0 seconds = 1280.905 FPS
>>> 6378 frames in 5.0 seconds = 1275.599 FPS
>>> ^C
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> DRI3:
>>>
>>> $ cat /etc/X11/xorg.conf.d/nouveau-dri3.conf
>>> Section "Device"
>>> 	Identifier  "Videocard0"
>>> 	Driver      "nouveau"
>>> 	Option      "DRI" "3"
>>> EndSection
>>>
>>> $ grep DRI3 /var/log/Xorg.0.log
>>> [ 4367.417] (II) NOUVEAU(0): DRI3 on EXA enabled
>>
>> For the record, the only acceptable way of checking for DRI3 is to run 
>> the program with LIBGL_DEBUG=verbose. Any other solution is wrong.
>>
> 
> 
> - DRI2:
> 
> [  3210.736] (II) Loading sub module "dri2"
> [  3210.736] (II) LoadModule: "dri2"
> [  3210.736] (II) Module "dri2" already built-in
> [  3210.736] (==) NOUVEAU(0): Allowed maximum DRI level 2.
> [  3210.877] (II) NOUVEAU(0): [DRI2] Setup complete
> [  3210.894] (II) GLX: Initialized DRI2 GL provider for screen 0
> 
> 
> $ LIBGL_DEBUG=verbose vblank_mode=0 glxgears
> libGL: OpenDriver: trying /usr/lib64/dri/tls/nouveau_dri.so
> libGL: OpenDriver: trying /usr/lib64/dri/nouveau_dri.so
> ATTENTION: default value of option vblank_mode overridden by environment.
> libGL: Using DRI2 for screen 0
> 6231 frames in 5.0 seconds = 1246.081 FPS
> 6387 frames in 5.0 seconds = 1277.312 FPS
> 6421 frames in 5.0 seconds = 1284.023 FPS
> 6375 frames in 5.0 seconds = 1274.905 FPS
> 6399 frames in 5.0 seconds = 1279.609 FPS
> 6440 frames in 5.0 seconds = 1287.837 FPS
> 6371 frames in 5.0 seconds = 1274.142 FPS
> 6397 frames in 5.0 seconds = 1279.245 FPS
> 6429 frames in 5.0 seconds = 1285.668 FPS
> 6371 frames in 5.0 seconds = 1274.177 FPS
> ^C
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> - DRI3:
> 
> [  3750.992] (II) Loading sub module "dri2"
> [  3750.992] (II) LoadModule: "dri2"
> [  3750.992] (II) Module "dri2" already built-in
> [  3750.992] (**) NOUVEAU(0): Option "DRI" "3"
> [  3750.992] (**) NOUVEAU(0): Allowed maximum DRI level 3.
> [  3751.128] (II) NOUVEAU(0): [DRI2] Setup complete
> [  3751.128] (II) NOUVEAU(0): DRI3 on EXA enabled
> [  3751.145] (II) GLX: Initialized DRI2 GL provider for screen 0
> 
> 
> $ LIBGL_DEBUG=verbose vblank_mode=0 glxgears
> libGL: pci id for fd 4: 10de:06e4, driver nouveau
> libGL: OpenDriver: trying /usr/lib64/dri/tls/nouveau_dri.so
> libGL: OpenDriver: trying /usr/lib64/dri/nouveau_dri.so
> ATTENTION: default value of option vblank_mode overridden by environment.
> libGL: Using DRI3 for screen 0
> 7261 frames in 5.0 seconds = 1452.136 FPS
> 7353 frames in 5.0 seconds = 1470.404 FPS
> 7354 frames in 5.0 seconds = 1470.652 FPS
> 7385 frames in 5.0 seconds = 1476.916 FPS
> 7337 frames in 5.0 seconds = 1467.380 FPS
> 7344 frames in 5.0 seconds = 1468.661 FPS
> 7360 frames in 5.0 seconds = 1471.951 FPS
> 7327 frames in 5.0 seconds = 1465.211 FPS
> 7345 frames in 5.0 seconds = 1468.992 FPS
> 7371 frames in 5.0 seconds = 1474.112 FPS
> ^C
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> $ xfwm4 --version
> This is xfwm4 version 4.12.3git.20150825 (revision 20150825) for Xfce 4.12
> Released under the terms of the GNU General Public License.
> Compiled against GTK+-2.24.28, using GTK+-2.24.28.
> 
> Build configuration and supported features:
> - Startup notification support:                 Yes
> - XSync support:                                Yes
> - Render support:                               Yes
> - Xrandr support:                               Yes
> - Xpresent support:                             Yes
> - Embedded compositor:                          Yes
> - Epoxy support:                                No
> 
> 
> $ xfconf-query --channel xfwm4 --property /general/use_compositing
> true
> 
> 
> SW:
> xorg-x11-drv-nouveau-1.0.12-0.3.fc22.x86_64
> xorg-x11-server-Xorg-1.17.3-1.fc22.x86_64
> mesa-dri-drivers-10.6.9-1.20151008.fc22.x86_64
> libdrm-2.4.61-3.fc22.x86_64
> libXpresent-1.0.0-1.fc22.x86_64
> xfwm4-4.12.3-15.1.xpresent.nv34.git20150825.fc22.x86_64
> 
> 

Add Option "DRI" to allow selection of maximum DRI level. (v2)
http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/commit/?id=6296145

"exa accel supports both DRI2 and, if the kernel supports rendernodes, also DRI3. However, DRI3 still seems to have some bugs on current implementations, ..."

Mario, 
what are these "some bugs on current implementations"?




More information about the Nouveau mailing list