dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 98693] Mad Max: Long lags when VRAM full
@ 2016-11-12  0:46 bugzilla-daemon
  2016-11-16  8:46 ` bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-11-12  0:46 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1213 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=98693

            Bug ID: 98693
           Summary: Mad Max: Long lags when VRAM full
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: jani.karkkainen@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

I get random lagging when playing the recently released Mad Max. Every once in
a while, the game freezes completely, and gets back to the game after an
arbitrary amount of seconds, anywhere from 2 to 35. 

With GALLIUM_HUD, and noticed that the lags appear to precede the VRAM slowly
ramping up to full, and then I get this huge lag, and then VRAM usage is a lot
lower (eg. from 1GB to ~600MB).

I found this possibly related news item from a couple of months back:
https://www.gamingonlinux.com/articles/a-reason-for-poor-performance-on-amd-plus-mesa-has-been-found-and-a-patch-is-in-progress.7873

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2718 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98693] Mad Max: Long lags when VRAM full
  2016-11-12  0:46 [Bug 98693] Mad Max: Long lags when VRAM full bugzilla-daemon
@ 2016-11-16  8:46 ` bugzilla-daemon
  2016-11-17  3:52 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-11-16  8:46 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 412 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=98693

--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
Please attach a screenshot taken withing a minute after a freeze with
GALLIUM_HUD=.dfps,requested-VRAM+VRAM-usage,requested-GTT+GTT-usage,.dnum-bytes-moved,.dbuffer-wait-time,.dnum-compilations+num-shaders-created
.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1162 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98693] Mad Max: Long lags when VRAM full
  2016-11-12  0:46 [Bug 98693] Mad Max: Long lags when VRAM full bugzilla-daemon
  2016-11-16  8:46 ` bugzilla-daemon
@ 2016-11-17  3:52 ` bugzilla-daemon
  2016-11-17  5:50 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-11-17  3:52 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 476 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=98693

--- Comment #2 from Jani Kärkkäinen <jani.karkkainen@gmail.com> ---
Created attachment 128034
  --> https://bugs.freedesktop.org/attachment.cgi?id=128034&action=edit
GALLIUM_HUD enabled with requested settings

GALLIUM_HUD enabled with requested statistics with VRAM and GTT etc. Shows two
laggy parts, a small lag and then a big lag.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1414 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98693] Mad Max: Long lags when VRAM full
  2016-11-12  0:46 [Bug 98693] Mad Max: Long lags when VRAM full bugzilla-daemon
  2016-11-16  8:46 ` bugzilla-daemon
  2016-11-17  3:52 ` bugzilla-daemon
@ 2016-11-17  5:50 ` bugzilla-daemon
  2016-11-17 10:24 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-11-17  5:50 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 426 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=98693

--- Comment #3 from Michel Dänzer <michel@daenzer.net> ---
Assuming your card has 1GB of VRAM, the fundamental problem is that the game
wants to use more VRAM than is available. Maybe you can try reducing the game's
graphics settings such that the 'requested VRAM' number drops below 1GB.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1176 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98693] Mad Max: Long lags when VRAM full
  2016-11-12  0:46 [Bug 98693] Mad Max: Long lags when VRAM full bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-11-17  5:50 ` bugzilla-daemon
@ 2016-11-17 10:24 ` bugzilla-daemon
  2016-11-17 13:37 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-11-17 10:24 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1357 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=98693

--- Comment #4 from Jani Kärkkäinen <jani.karkkainen@gmail.com> ---
(In reply to Michel Dänzer from comment #3)
> Assuming your card has 1GB of VRAM, the fundamental problem is that the game
> wants to use more VRAM than is available. Maybe you can try reducing the
> game's graphics settings such that the 'requested VRAM' number drops below
> 1GB.

Indeed. The game's settings are at the minimum, and the resolution is @ 720p. I
hoped the lowest setting would alleviate the lags, but unfortunately it didn't.
However, just by reading the links from the article I linked in my original
message, I thought that it should be possible to play with less VRAM than what
is needed, as per:

"The game I'm testing needs 3.4 GB of VRAM.

Setups:
Tonga - 2 GB: It's nearly unplayable, because freezes occur too often.
Fiji - 4 GB: There is one freeze at the beginning (which is annoying
too), after that it's smooth.

So even 4 GB is not enough."

Also the descriptions of the problem seem to match mine. A problem in memory
handling?

Thanks for the suggestion though, anything that could remove or at least reduce
the lags would make the game from mostly playable to very playable (for me at
least).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2210 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98693] Mad Max: Long lags when VRAM full
  2016-11-12  0:46 [Bug 98693] Mad Max: Long lags when VRAM full bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-11-17 10:24 ` bugzilla-daemon
@ 2016-11-17 13:37 ` bugzilla-daemon
  2017-03-12 13:24 ` bugzilla-daemon
  2019-07-04  2:36 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-11-17 13:37 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 724 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=98693

--- Comment #5 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to Jani Kärkkäinen from comment #4)
> "The game I'm testing needs 3.4 GB of VRAM.
> 
> Setups:
> Tonga - 2 GB: It's nearly unplayable, because freezes occur too often.
> Fiji - 4 GB: There is one freeze at the beginning (which is annoying
> too), after that it's smooth.
> 
> So even 4 GB is not enough."
> 
> Also the descriptions of the problem seem to match mine. A problem in memory
> handling?

The freeze at the beginning is most likely shader compilation.  Mesa does not
have a shader cache yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1585 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98693] Mad Max: Long lags when VRAM full
  2016-11-12  0:46 [Bug 98693] Mad Max: Long lags when VRAM full bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-11-17 13:37 ` bugzilla-daemon
@ 2017-03-12 13:24 ` bugzilla-daemon
  2019-07-04  2:36 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2017-03-12 13:24 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 507 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=98693

Vedran Miletić <vedran@miletic.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |77449


Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=77449
[Bug 77449] Tracker bug for all bugs related to Steam titles
-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1546 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98693] Mad Max: Long lags when VRAM full
  2016-11-12  0:46 [Bug 98693] Mad Max: Long lags when VRAM full bugzilla-daemon
                   ` (5 preceding siblings ...)
  2017-03-12 13:24 ` bugzilla-daemon
@ 2019-07-04  2:36 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2019-07-04  2:36 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 739 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=98693

Timothy Arceri <t_arceri@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|NEW                         |RESOLVED

--- Comment #6 from Timothy Arceri <t_arceri@yahoo.com.au> ---
The games requirements list a card with a minimum 2GB but recommend 4GB.

As for lagging at the start with a 4GB card, r600 now has shader cache support
(at the TGSIU level at least) so this should not longer be a big issue.
Closing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2201 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2019-07-04  2:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-12  0:46 [Bug 98693] Mad Max: Long lags when VRAM full bugzilla-daemon
2016-11-16  8:46 ` bugzilla-daemon
2016-11-17  3:52 ` bugzilla-daemon
2016-11-17  5:50 ` bugzilla-daemon
2016-11-17 10:24 ` bugzilla-daemon
2016-11-17 13:37 ` bugzilla-daemon
2017-03-12 13:24 ` bugzilla-daemon
2019-07-04  2:36 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).