From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 102358] WarThunder freezes at start, with activated vsync
(vblank_mode=2)
Date: Fri, 25 Aug 2017 17:01:12 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1086369377=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 6F0126E8CE
for ; Fri, 25 Aug 2017 17:01:12 +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
--===============1086369377==
Content-Type: multipart/alternative; boundary="15036804720.6445Ffa.9175";
charset="UTF-8"
--15036804720.6445Ffa.9175
Date: Fri, 25 Aug 2017 17:01:12 +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=3D102358
--- Comment #12 from Thomas Hellstr=C3=B6m ---
(In reply to haro41 from comment #11)
> i applied your patch successful, still the freezes, maybe in average a bit
> later now.
>=20
> The behavoir changed a bit:
>=20
> before patch:
>=20
> vblank_mode=3D2 (default)-> always freezes inside 0..2 minutes runtime,=20
> framerate fix/clamped at 50(as expected)
> vblank_mode=3D0 -> no freezes at all, dynamic, high framerates=20
> LIBGL_DRI3_DISABLE=3D1 -> no freezes at all, framerate fix at 50=20
>=20
>=20
> after patch:
>=20
> vblank_mode=3D2 (default)-> always freezes inside 0..2 minutes runtime,=20
> framerate fix/clamped at 100(!!)
> vblank_mode=3D0 -> no freezes at all, dynamic, high framerates=20
> LIBGL_DRI3_DISABLE=3D1 -> no freezes at all, framerate fix at 50=20
>=20
>=20
> To be honest, i am not familiar enough with DRM internals to understand w=
hat
> exactly happens here, but it looks like something is broken in respect to
> DRI 3 usage.
>=20
> Somehow i think i could be the only one with this freezes and to ensure i=
am
> not wasting your time:
> Can you give me a hint, where i should look first to exclude it is someth=
ing
> specific to my system/setup?
That's really weird :).
Actually I don't think anything's wrong with your setup, but rather that
there's a multithreading bug in dri3 or the app. There's no concurrency
protection at all in the dri3 client and I'm not sure that's correct. I thi=
nk
you're the only one seeing this possibly perhaps because you're the first to
try it with a heavily multithreaded application.
Anyway, I'm OK with commenting out the glFinish() wait for swapbuffers until
someone has the possibility to debug this thoroughly. Unfortunately WarThun=
der
doesn't run on vmware's svga driver (yet) due to bugs...
It would also be good to try to rule out server side radeon dri3 problems.
Perhaps by running it on nouveau or intel...
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15036804720.6445Ffa.9175
Date: Fri, 25 Aug 2017 17:01:12 +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 10235=
8
from Thomas Hellstr=C3=B6m
(In reply to haro41 from comment #11)
> i applied your patch successful, still the freez=
es, maybe in average a bit
> later now.
>=20
> The behavoir changed a bit:
>=20
> before patch:
>=20
> vblank_mode=3D2 (default)-> always freezes inside 0..2 minutes runt=
ime,=20
> framerate fix/clamped at 50(as expected)
> vblank_mode=3D0 -> no freezes at all, dynamic, high framer=
ates=20
> LIBGL_DRI3_DISABLE=3D1 -> no freezes at all, framerate fix at 50=
=20
>=20
>=20
> after patch:
>=20
> vblank_mode=3D2 (default)-> always freezes inside 0..2 minutes runt=
ime,=20
> framerate fix/clamped at 100(!!)
> vblank_mode=3D0 -> no freezes at all, dynamic, high framer=
ates=20
> LIBGL_DRI3_DISABLE=3D1 -> no freezes at all, framerate fix at 50=
=20
>=20
>=20
> To be honest, i am not familiar enough with DRM internals to understan=
d what
> exactly happens here, but it looks like something is broken in respect=
to
> DRI 3 usage.
>=20
> Somehow i think i could be the only one with this freezes and to ensur=
e i am
> not wasting your time:
> Can you give me a hint, where i should look first to exclude it is som=
ething
> specific to my system/setup?
That's really weird :).
Actually I don't think anything's wrong with your setup, but rather that
there's a multithreading bug in dri3 or the app. There's no concurrency
protection at all in the dri3 client and I'm not sure that's correct. I thi=
nk
you're the only one seeing this possibly perhaps because you're the first to
try it with a heavily multithreaded application.
Anyway, I'm OK with commenting out the glFinish() wait for swapbuffers until
someone has the possibility to debug this thoroughly. Unfortunately WarThun=
der
doesn't run on vmware's svga driver (yet) due to bugs...
It would also be good to try to rule out server side radeon dri3 problems.
Perhaps by running it on nouveau or intel...
You are receiving this mail because:
- You are the assignee for the bug.
=
--15036804720.6445Ffa.9175--
--===============1086369377==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1086369377==--