From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108893] Slow redrawing of menu in Gothic 2 under wine Date: Fri, 03 May 2019 22:10:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0666428846==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7311489852 for ; Fri, 3 May 2019 22:10:48 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0666428846== Content-Type: multipart/alternative; boundary="15569214482.be4a7.28022" Content-Transfer-Encoding: 7bit --15569214482.be4a7.28022 Date: Fri, 3 May 2019 22:10:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D108893 --- Comment #12 from andrew.m.mcmahon@gmail.com --- (In reply to Michel D=C3=A4nzer from comment #8) > The video shows very low frame-rate and GPU load in the menu, but high CPU > load. Maybe there's a CPU bottleneck which affects the reporter even more > badly. A CPU profile from sysprof or perf might give a clue. The heavy CPU usage in that particular video is entirely down to SimpleScreenRecorder. When I'm running the game and NOT recording the scree= n at the same time, CPU usage is around 30-50%: https://imgur.com/a/AlhVLZp That doesn't seem abnormal; the Phenom II is ancient plus it's going through Wine. I also assume that the main menu ~10 fps cap is a quirk of the game b= ut perhaps I'm wrong? https://pcgamingwiki.com/wiki/Gothic_II#Low_frame_rate_in_fullscreen_mode I've compiled Mesa (git-8987152ac1) inside an amd64 & i386 chroot (debootst= rap)=20 Adding --buildtype=3Ddebug into my usual script: https://pastebin.com/6uP6d7kL I've done two recordings with sysprof: - A 1 minute recording starting once the game reaches the main menu - A 5 minute recording starting the game, running around in the starting ar= ea and then exiting the game Hopefully those files are of use: https://drive.google.com/file/d/16s2OfDKIAhbnqrs8gwWicmP7RaJw28L-/view?usp= =3Dsharing Just out of interest there's an unofficial D3D11 renderer plus an unfinished open source remake - love to see the latter finished: https://github.com/ataulien/GD3D11 https://github.com/REGoth-project/REGoth --=20 You are receiving this mail because: You are the assignee for the bug.= --15569214482.be4a7.28022 Date: Fri, 3 May 2019 22:10:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 12 on bug 10889= 3 from an= drew.m.mcmahon@gmail.com
(In reply to Michel D=C3=A4nzer from comment #8)
> The video shows very low frame-rate and GPU load=
 in the menu, but high CPU
> load. Maybe there's a CPU bottleneck which affects the reporter even m=
ore
> badly. A CPU profile from sysprof or perf might give a clue.
The heavy CPU usage in that particular video is entirely down to
SimpleScreenRecorder. When I'm running the game and NOT recording the scree=
n at
the same time, CPU usage is around 30-50%:
https://imgur.com/a/AlhVLZp

That doesn't seem abnormal; the Phenom II is ancient plus it's going through
Wine. I also assume that the main menu ~10 fps cap is a quirk of the game b=
ut
perhaps I'm wrong?
https://pcgamingwiki.com/wiki/Gothic_II#Low_frame_rate_in_fullsc=
reen_mode

I've compiled Mesa (git-8987152ac1) inside an amd64 & i386 chroot (debo=
otstrap)=20
Adding --buildtype=3Ddebug into my usual script:
https://pastebin.com/6uP6d7kL

I've done two recordings with sysprof:
- A 1 minute recording starting once the game reaches the main menu
- A 5 minute recording starting the game, running around in the starting ar=
ea
and then exiting the game

Hopefully those files are of use:
https://drive.google.com/file/d/16s2OfDKIAhbnqrs8gwWi=
cmP7RaJw28L-/view?usp=3Dsharing

Just out of interest there's an unofficial D3D11 renderer plus an unfinished
open source remake - love to see the latter finished:
https://github.com/ataulien/=
GD3D11
https://github.com/REG=
oth-project/REGoth


You are receiving this mail because:
  • You are the assignee for the bug.
= --15569214482.be4a7.28022-- --===============0666428846== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0666428846==--