All of lore.kernel.org
 help / color / mirror / Atom feed
* glmark2: high CPU usage - DRI3 & modeset
@ 2016-04-07 11:56 poma
       [not found] ` <57064ADC.6070703-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: poma @ 2016-04-07 11:56 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org


$ glmark2
=======================================================
    glmark2 2014.03
=======================================================
    OpenGL Information
    GL_VENDOR:     nouveau
    GL_RENDERER:   Gallium 0.4 on NV98
    GL_VERSION:    3.0 Mesa 11.2.0
=======================================================


/etc/X11/xorg.conf.d/nouveau.conf 
Section "Device"
  Identifier  "gpu0"
  Driver      "nouveau"
EndSection

$ ps -C glmark2 -o cmd,pcpu
CMD                         %CPU
glmark2                     16.2

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/etc/X11/xorg.conf.d/nouveau.conf 
Section "Device"
  Identifier  "gpu0"
  Driver      "nouveau"
  Option      "DRI" "3"
EndSection

$ ps -C glmark2 -o cmd,pcpu
CMD                         %CPU
glmark2                     86.4

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/etc/X11/xorg.conf.d/modeset.conf 
Section "Device"
  Identifier  "gpu0"
  Driver      "modesetting"
EndSection

$ ps -C glmark2 -o cmd,pcpu
CMD                         %CPU
glmark2                     94.5

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: glmark2: high CPU usage - DRI3 & modeset
       [not found] ` <57064ADC.6070703-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2016-04-07 12:51   ` Karol Herbst
       [not found]     ` <2037513278.20001.1460033460821.JavaMail.open-xchange-KNm3LHm9FEhKTQ5g00o1eQ@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Karol Herbst @ 2016-04-07 12:51 UTC (permalink / raw)
  To: poma, nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

did the test result changed in any way? Maybe the DRI2 run was vsynced and the
DRI3 not?
Nouveau has a pretty high cpu usage in general, because it usually busy waits on
fences (I think? not sure where it was exactly that nouveau is busy waiting)

> poma <pomidorabelisima@gmail.com> hat am 7. April 2016 um 13:56 geschrieben:
> 
> 
> 
> $ glmark2
> =======================================================
>     glmark2 2014.03
> =======================================================
>     OpenGL Information
>     GL_VENDOR:     nouveau
>     GL_RENDERER:   Gallium 0.4 on NV98
>     GL_VERSION:    3.0 Mesa 11.2.0
> =======================================================
> 
> 
> /etc/X11/xorg.conf.d/nouveau.conf 
> Section "Device"
>   Identifier  "gpu0"
>   Driver      "nouveau"
> EndSection
> 
> $ ps -C glmark2 -o cmd,pcpu
> CMD                         %CPU
> glmark2                     16.2
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> /etc/X11/xorg.conf.d/nouveau.conf 
> Section "Device"
>   Identifier  "gpu0"
>   Driver      "nouveau"
>   Option      "DRI" "3"
> EndSection
> 
> $ ps -C glmark2 -o cmd,pcpu
> CMD                         %CPU
> glmark2                     86.4
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> /etc/X11/xorg.conf.d/modeset.conf 
> Section "Device"
>   Identifier  "gpu0"
>   Driver      "modesetting"
> EndSection
> 
> $ ps -C glmark2 -o cmd,pcpu
> CMD                         %CPU
> glmark2                     94.5
> 
> _______________________________________________
> Nouveau mailing list
> Nouveau@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/nouveau
_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: glmark2: high CPU usage - DRI3 & modeset
       [not found]     ` <2037513278.20001.1460033460821.JavaMail.open-xchange-KNm3LHm9FEhKTQ5g00o1eQ@public.gmane.org>
@ 2016-04-07 20:04       ` poma
  0 siblings, 0 replies; 3+ messages in thread
From: poma @ 2016-04-07 20:04 UTC (permalink / raw)
  To: Karol Herbst, nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

On 07.04.2016 14:51, Karol Herbst wrote:
> did the test result changed in any way? Maybe the DRI2 run was vsynced and the
> DRI3 not?
> Nouveau has a pretty high cpu usage in general, because it usually busy waits on
> fences (I think? not sure where it was exactly that nouveau is busy waiting)
> 
>> poma <pomidorabelisima@gmail.com> hat am 7. April 2016 um 13:56 geschrieben:
>>
>>
>>
>> $ glmark2
>> =======================================================
>>     glmark2 2014.03
>> =======================================================
>>     OpenGL Information
>>     GL_VENDOR:     nouveau
>>     GL_RENDERER:   Gallium 0.4 on NV98
>>     GL_VERSION:    3.0 Mesa 11.2.0
>> =======================================================
>>
>>
>> /etc/X11/xorg.conf.d/nouveau.conf 
>> Section "Device"
>>   Identifier  "gpu0"
>>   Driver      "nouveau"
>> EndSection
>>
>> $ ps -C glmark2 -o cmd,pcpu
>> CMD                         %CPU
>> glmark2                     16.2
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> /etc/X11/xorg.conf.d/nouveau.conf 
>> Section "Device"
>>   Identifier  "gpu0"
>>   Driver      "nouveau"
>>   Option      "DRI" "3"
>> EndSection
>>
>> $ ps -C glmark2 -o cmd,pcpu
>> CMD                         %CPU
>> glmark2                     86.4
>>
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> /etc/X11/xorg.conf.d/modeset.conf 
>> Section "Device"
>>   Identifier  "gpu0"
>>   Driver      "modesetting"
>> EndSection
>>
>> $ ps -C glmark2 -o cmd,pcpu
>> CMD                         %CPU
>> glmark2                     94.5
>>


'vblank_mode=0 glmark2' makes no difference.

A -fence- as a sync object?
https://www.opengl.org/wiki/Sync_Object#Fence


_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-07 20:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-07 11:56 glmark2: high CPU usage - DRI3 & modeset poma
     [not found] ` <57064ADC.6070703-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-04-07 12:51   ` Karol Herbst
     [not found]     ` <2037513278.20001.1460033460821.JavaMail.open-xchange-KNm3LHm9FEhKTQ5g00o1eQ@public.gmane.org>
2016-04-07 20:04       ` poma

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.