<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Slow redrawing of menu in Gothic 2 under wine"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108893#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Slow redrawing of menu in Gothic 2 under wine"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108893">bug 108893</a>
from <span class="vcard"><a class="email" href="mailto:andrew.m.mcmahon@gmail.com" title="andrew.m.mcmahon@gmail.com">andrew.m.mcmahon@gmail.com</a>
</span></b>
<pre>(In reply to Michel Dänzer from <a href="show_bug.cgi?id=108893#c8">comment #8</a>)
<span class="quote">> 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.</span >
The heavy CPU usage in that particular video is entirely down to
SimpleScreenRecorder. When I'm running the game and NOT recording the screen at
the same time, CPU usage is around 30-50%:
<a href="https://imgur.com/a/AlhVLZp">https://imgur.com/a/AlhVLZp</a>
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 but
perhaps I'm wrong?
<a href="https://pcgamingwiki.com/wiki/Gothic_II#Low_frame_rate_in_fullscreen_mode">https://pcgamingwiki.com/wiki/Gothic_II#Low_frame_rate_in_fullscreen_mode</a>
I've compiled Mesa (git-8987152ac1) inside an amd64 & i386 chroot (debootstrap)
Adding --buildtype=debug into my usual script:
<a href="https://pastebin.com/6uP6d7kL">https://pastebin.com/6uP6d7kL</a>
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 area
and then exiting the game
Hopefully those files are of use:
<a href="https://drive.google.com/file/d/16s2OfDKIAhbnqrs8gwWicmP7RaJw28L-/view?usp=sharing">https://drive.google.com/file/d/16s2OfDKIAhbnqrs8gwWicmP7RaJw28L-/view?usp=sharing</a>
Just out of interest there's an unofficial D3D11 renderer plus an unfinished
open source remake - love to see the latter finished:
<a href="https://github.com/ataulien/GD3D11">https://github.com/ataulien/GD3D11</a>
<a href="https://github.com/REGoth-project/REGoth">https://github.com/REGoth-project/REGoth</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>