Huge performance losses with newer NVIDIA drivers
I just spent about 4h playing around with different driver versions to narrow down why this occurs. Basically Deus Ex Mankind Divided performs significantly and measurably better on the old 375 branch than it does on the new 38X branch. I haven't yet tried other games. I've done a lot of testing and also played around with environment variables (__GL_THREADED_OPTIMIZATIONS has no effect, so it's not that) as well as the Composition Pipeline, V-Sync and basically all driver versions that came after the last 375 one. Here are the results: https://imgur.com/a/1Klwv [list] [.] [b]34 FPS[/b] in-game and [b]43.3 FPS[/b] avg in benchmark on [b]387.34[/b] from yesterday [/.] [.] [b]47 FPS[/b] in-game and [b]50.6 FPS[/b] avg in benchmark on [b]375.82[/b] from July [/.] [/list] The oldest 38X driver I could get to run was the 384.47 Beta from June and it had virtually the same performance as the new 387.34. My in-game settings and the rest of my software configuration has remained exactly the same to rule out any other factors. My system for reference: [list] [.] Intel Core i5 2500 4.1 GHz [/.] [.] ASUS GTX 970 STRIX OC 1.28GHz [/.] [.] 4x2 GB DDR3 [/.] [.] Arch Linux 4.13.12-1 [/.] [.] GNOME 3.26.2-1 [/.] [.] xorg-server 1.19.5-1 [/.] [.] 1080p display [/.] [/list] So now I'm basically looking for input to troubleshoot, as well as other people's experience with these versions. If you have the time you can try out the old 375.82 driver (http://www.nvidia.com/download/driverResults.aspx/120911/en-us) and compare performance to see if this behavior is reproducible across multiple machines. Thank you.
I just spent about 4h playing around with different driver versions to narrow down why this occurs.

Basically Deus Ex Mankind Divided performs significantly and measurably better on the old 375 branch than it does on the new 38X branch. I haven't yet tried other games.

I've done a lot of testing and also played around with environment variables (__GL_THREADED_OPTIMIZATIONS has no effect, so it's not that) as well as the Composition Pipeline, V-Sync and basically all driver versions that came after the last 375 one.

Here are the results:


https://imgur.com/a/1Klwv


  • 34 FPS in-game and 43.3 FPS avg in benchmark on 387.34 from yesterday
  • 47 FPS in-game and 50.6 FPS avg in benchmark on 375.82 from July

The oldest 38X driver I could get to run was the 384.47 Beta from June and it had virtually the same performance as the new 387.34.

My in-game settings and the rest of my software configuration has remained exactly the same to rule out any other factors.

My system for reference:

  • Intel Core i5 2500 4.1 GHz
  • ASUS GTX 970 STRIX OC 1.28GHz
  • 4x2 GB DDR3
  • Arch Linux 4.13.12-1
  • GNOME 3.26.2-1
  • xorg-server 1.19.5-1
  • 1080p display

So now I'm basically looking for input to troubleshoot, as well as other people's experience with these versions.
If you have the time you can try out the old 375.82 driver (http://www.nvidia.com/download/driverResults.aspx/120911/en-us) and compare performance to see if this behavior is reproducible across multiple machines.

Thank you.

#1
Posted 11/27/2017 04:40 AM   
Some benchmarks from Phoronix with 375 and 384 driver: [url]https://www.phoronix.com/scan.php?page=article&item=deus-exmd-3driver&num=2[/url] [url]https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-Bigger-Pre-4.15-Comp[/url] Don't show regression for Deus Ex at 4k. Though I can remember that Gnome 3.26 has problems properly unredirecting full screen windows, maybe this has a larger impact on 384+ than 375? So something changed in the driver regarding compositing? Maybe try to run the benchmarks under openbox.
Some benchmarks from Phoronix with 375 and 384 driver:
https://www.phoronix.com/scan.php?page=article&item=deus-exmd-3driver&num=2
https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-Bigger-Pre-4.15-Comp
Don't show regression for Deus Ex at 4k.
Though I can remember that Gnome 3.26 has problems properly unredirecting full screen windows, maybe this has a larger impact on 384+ than 375? So something changed in the driver regarding compositing? Maybe try to run the benchmarks under openbox.

#2
Posted 11/27/2017 08:46 PM   
Alright I just did some more testing, here are the results: [list] [.][b]35 FPS[/b] in-game and [b]45 FPS avg[/b] in benchmark on [b]387.34[/b] in [b]GNOME[/b][/.] [.][b]42 FPS[/b] in-game and [b]46 FPS avg[/b] in benchmark on [b]387.34[/b] in [b]Openbox[/b][/.] [.][b]49 FPS[/b] in-game and [b]44 FPS avg[/b] in benchmark on [b]375.82[/b] in [b]GNOME[/b][/.] [.][b]49 FPS[/b] in-game and [b]45 FPS avg[/b] in benchmark on [b]375.82[/b] in [b]Openbox[/b][/.] [/list] Benchmark performance is definitely within the margin of error, but there still are losses on the new driver, even on Openbox. I also have tearing both in GNOME and in Openbox, so I don't think the compositor is interfering. Any other ideas? Thanks.
Alright I just did some more testing, here are the results:

  • 35 FPS in-game and 45 FPS avg in benchmark on 387.34 in GNOME
  • 42 FPS in-game and 46 FPS avg in benchmark on 387.34 in Openbox
  • 49 FPS in-game and 44 FPS avg in benchmark on 375.82 in GNOME
  • 49 FPS in-game and 45 FPS avg in benchmark on 375.82 in Openbox


Benchmark performance is definitely within the margin of error, but there still are losses on the new driver, even on Openbox.

I also have tearing both in GNOME and in Openbox, so I don't think the compositor is interfering.

Any other ideas?

Thanks.

#3
Posted 11/28/2017 03:44 AM   
How full is your video memory, as reported by nvidia-smi, while running the game? Can you confirm that it is full with 387.34, but not full with 375.82?
How full is your video memory, as reported by nvidia-smi, while running the game?
Can you confirm that it is full with 387.34, but not full with 375.82?

Arthur Huillet
NVIDIA Linux Graphics

#4
Posted 11/28/2017 04:36 PM   
Interesting, here's what I've found: [list] [.][b]2427 MB[/b] VRAM usage on [b]375.82[/b] [url]https://i.imgur.com/0kHyCp9.png[/url][/.] [.][b]3623 MB[/b] VRAM usage on [b]387.34[/b] [url]https://i.imgur.com/zuPKOLC.png[/url][/.] [/list] CPU usage is also much lower on the 387.34 driver. What's causing this?
Interesting, here's what I've found:



CPU usage is also much lower on the 387.34 driver. What's causing this?

#5
Posted 11/29/2017 12:47 AM   
This likely matches a similar performance drop observed on another Feral game, Total War: WARHAMMER. We've been tracking it internally as bug 1963500. There was a change, introduced in our r378 branch, to the logic of allocation of certain textures, but it apparently exposed a bug in our memory manager. Our next release branch, r390, will carry a workaround, and we're still working on finding and fixing the root cause.
Answer Accepted by Original Poster
This likely matches a similar performance drop observed on another Feral game, Total War: WARHAMMER.
We've been tracking it internally as bug 1963500. There was a change, introduced in our r378 branch, to the logic of allocation of certain textures, but it apparently exposed a bug in our memory manager.
Our next release branch, r390, will carry a workaround, and we're still working on finding and fixing the root cause.

Arthur Huillet
NVIDIA Linux Graphics

#6
Posted 11/29/2017 10:49 AM   
Really interesting, glad to hear it's not an issue on my end! Does it affect all cards or just the Maxwell architecture?
Really interesting, glad to hear it's not an issue on my end!

Does it affect all cards or just the Maxwell architecture?

#7
Posted 11/29/2017 11:10 AM   
We don't know the root cause yet, so it's hard to make a reliable comment. That said, I would expect it to impact all GPUs, at least when there isn't a very large amount of VRAM.
We don't know the root cause yet, so it's hard to make a reliable comment. That said, I would expect it to impact all GPUs, at least when there isn't a very large amount of VRAM.

Arthur Huillet
NVIDIA Linux Graphics

#8
Posted 11/29/2017 01:18 PM   
Can you tell us roughly when the 390 driver will be available?
Can you tell us roughly when the 390 driver will be available?

#9
Posted 11/29/2017 01:27 PM   
I believe we may release r390 beta before the end of the year.
I believe we may release r390 beta before the end of the year.

Arthur Huillet
NVIDIA Linux Graphics

#10
Posted 11/29/2017 01:29 PM   
Alright great! Until then, is there anything we can do from our side like an environment variable we can use to restore the old behavior?
Alright great! Until then, is there anything we can do from our side like an environment variable we can use to restore the old behavior?

#11
Posted 11/29/2017 01:31 PM   
[quote="ahuillet"]This likely matches a similar performance drop observed on another Feral game, Total War: WARHAMMER. We've been tracking it internally as bug 1963500. There was a change, introduced in our r378 branch, to the logic of allocation of certain textures, but it apparently exposed a bug in our memory manager. Our next release branch, r390, will carry a workaround, and we're still working on finding and fixing the root cause. [/quote] Hi, fyi, i notice exactly the same issue with my gtx970 and Feral Game company of hereos 2. Even medium settings for texture quality let the memory explode :( Cu, Christian
ahuillet said:This likely matches a similar performance drop observed on another Feral game, Total War: WARHAMMER.
We've been tracking it internally as bug 1963500. There was a change, introduced in our r378 branch, to the logic of allocation of certain textures, but it apparently exposed a bug in our memory manager.
Our next release branch, r390, will carry a workaround, and we're still working on finding and fixing the root cause.


Hi,

fyi, i notice exactly the same issue with my gtx970 and Feral Game company of hereos 2.
Even medium settings for texture quality let the memory explode :(

Cu,
Christian

#12
Posted 11/29/2017 07:11 PM   
There isn't, in currently released drivers, a way to disable the new logic that is causing the problem. Please downgrade to a driver version that isn't affected, until we've released a driver with a fix or the new logic disabled by default. Thanks
There isn't, in currently released drivers, a way to disable the new logic that is causing the problem.
Please downgrade to a driver version that isn't affected, until we've released a driver with a fix or the new logic disabled by default.
Thanks

Arthur Huillet
NVIDIA Linux Graphics

#13
Posted 11/30/2017 08:58 AM   
Might be interesting if the 970 is especially hit by this due to jumping the 3.5GB barrier.
Might be interesting if the 970 is especially hit by this due to jumping the 3.5GB barrier.

#14
Posted 11/30/2017 10:06 AM   
I've noticed increased VRAM usage in X-Plane 11 with the newest drivers as well. The usual settings used to consume around 6-8GB on a 1080Ti, but current 387.xx drivers fill all 11GB.
I've noticed increased VRAM usage in X-Plane 11 with the newest drivers as well. The usual settings used to consume around 6-8GB on a 1080Ti, but current 387.xx drivers fill all 11GB.

#15
Posted 11/30/2017 12:24 PM   
Scroll To Top

Add Reply