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

poma pomidorabelisima at gmail.com
Fri Nov 6 05:28:19 PST 2015


On 05.11.2015 23:47, poma wrote:
> 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
>>
>>
> 
> NV34 / i686
> 
> - DRI2:
> 
> /var/log/Xorg.0.log
> [   438.397] (II) Loading sub module "dri2"
> [   438.397] (II) LoadModule: "dri2"
> [   438.397] (II) Module "dri2" already built-in
> [   438.397] (==) NOUVEAU(0): Allowed maximum DRI level 2.
> [   438.606] (II) NOUVEAU(0): [DRI2] Setup complete
> [   438.606] (II) NOUVEAU(0): [DRI2]   DRI driver: nouveau
> 
> 
> $ LIBGL_DEBUG=verbose vblank_mode=0 glxgears
> libGL: OpenDriver: trying /usr/lib/dri/tls/nouveau_dri.so
> libGL: OpenDriver: trying /usr/lib/dri/nouveau_dri.so
> ATTENTION: default value of option vblank_mode overridden by environment.
> libGL: Using DRI2 for screen 0
> 858 frames in 5.0 seconds = 171.598 FPS
> 929 frames in 5.0 seconds = 185.706 FPS
> 935 frames in 5.0 seconds = 186.948 FPS
> 988 frames in 5.0 seconds = 197.338 FPS
> 961 frames in 5.0 seconds = 192.055 FPS
> 1052 frames in 5.0 seconds = 209.084 FPS
> 955 frames in 5.0 seconds = 190.737 FPS
> 1006 frames in 5.0 seconds = 201.106 FPS
> 912 frames in 5.0 seconds = 182.353 FPS
> 926 frames in 5.0 seconds = 185.176 FPS
> ^C
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> - DRI3:
> 
> $ cat /etc/X11/xorg.conf.d/nouveau-dri3.conf
> Section "Device"
> 	Identifier  "Videocard0"
> 	Driver      "nouveau"
> 	Option      "DRI" "3"
> EndSection
> 
> 
> /var/log/Xorg.0.log
> [  1045.613] (II) Loading sub module "dri2"
> [  1045.613] (II) LoadModule: "dri2"
> [  1045.613] (II) Module "dri2" already built-in
> [  1045.613] (**) NOUVEAU(0): Option "DRI" "3"
> [  1045.613] (**) NOUVEAU(0): Allowed maximum DRI level 3.
> [  1045.739] (II) NOUVEAU(0): [DRI2] Setup complete
> [  1045.739] (II) NOUVEAU(0): [DRI2]   DRI driver: nouveau
> [  1045.739] (II) NOUVEAU(0): DRI3 on EXA enabled
> 
> 
> $ LIBGL_DEBUG=verbose vblank_mode=0 glxgears
> libGL: pci id for fd 4: 10de:0322, driver nouveau
> libGL: OpenDriver: trying /usr/lib/dri/tls/nouveau_dri.so
> libGL: OpenDriver: trying /usr/lib/dri/nouveau_dri.so
> ATTENTION: default value of option vblank_mode overridden by environment.
> libGL: Using DRI3 for screen 0
> 1308 frames in 5.0 seconds = 261.500 FPS
> 1323 frames in 5.0 seconds = 264.532 FPS
> 1302 frames in 5.0 seconds = 260.171 FPS
> 1315 frames in 5.0 seconds = 262.957 FPS
> 1244 frames in 5.0 seconds = 248.704 FPS
> 1092 frames in 5.0 seconds = 218.283 FPS
> 1016 frames in 5.0 seconds = 202.803 FPS
> 1051 frames in 5.0 seconds = 210.104 FPS
> 1055 frames in 5.0 seconds = 210.974 FPS
> 1041 frames in 5.0 seconds = 208.108 FPS
> 1052 frames in 5.0 seconds = 210.313 FPS
> 1058 frames in 5.0 seconds = 211.247 FPS
> ^C
> 


Not only DRI3/XPresent is performant, but with xorg-x11-drv-nouveau (xf86-video-nouveau) "v1.0.12" i.e. current git
provides tear-free experience on Desktop.

Guys, what about "[ANNOUNCE] xf86-video-nouveau 1.0.12" i.e. actual v1.0.12 release?

xf86-video-nouveau-1.0.11 dates back more than 1 year, 03-Sep-2014
http://xorg.freedesktop.org/archive/individual/driver/?C=M;O=D




More information about the Nouveau mailing list