All of lore.kernel.org
 help / color / mirror / Atom feed
From: poma <pomidorabelisima-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Karol Herbst <karol-lIBOoy2+GI7scQ4cX5LuPg@public.gmane.org>,
	nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: glmark2: high CPU usage - DRI3 & modeset
Date: Thu, 7 Apr 2016 22:04:25 +0200	[thread overview]
Message-ID: <5706BD49.7090308@gmail.com> (raw)
In-Reply-To: <2037513278.20001.1460033460821.JavaMail.open-xchange-KNm3LHm9FEhKTQ5g00o1eQ@public.gmane.org>

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

      parent reply	other threads:[~2016-04-07 20:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5706BD49.7090308@gmail.com \
    --to=pomidorabelisima-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=karol-lIBOoy2+GI7scQ4cX5LuPg@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.