protonscr

[D3D9] Borderlands 2 Grass Shading Artifact With Anisotropic Filtering

dxvkclosed bugd3d9windows
doitsujin/dxvk#5441 · opened 2026-01-10 by KuraiShidosha · updated 2026-03-12 · 6 comments · github
KKuraiShidosha 2026-01-10 github

Grass throughout the game world has rendering artifacts when using anisotropic filtering, and viewing them from random arbitrary angles. The grass even in the main hub world of the game shows it. Screenshots here:

Normal grass
Bugged grass

This issue resolves if either I disable anisotropic filtering or I remove DXVK.

Software information

Borderlands 2 DX9 max settings.

System information

  • GPU: RTX 5090
  • Driver: 591.74
  • Wine version:
  • DXVK version: 10.0.17763.1

Apitrace file(s)

I can't capture it on API trace because I need to be able to see the glitch to know it's being captured, and to do that I need DXVK active.

To reproduce the issue, one need only install DXVK, load a save file with Sanctuary fast travel available, and walk to the location in the screenshots then move the mouse around as it is angle dependent.

Log files

Please attach Proton or Wine logs as a text file:
Borderlands2_d3d9.log

Ddoitsujin maintainer 2026-01-10 github

Based on the logs I guess this is anisotropic filtering forced via dxvk.conf, in whcih case, yeah it's expected that it can break stuff.

KKuraiShidosha 2026-01-10 github

I thought it might be from that as well so I did a test before submitting this issue where I used no conf file, just default settings, and the second I toggle anisotropic filtering in the game's video settings menu I can see the issue appear in the background. It's the same behavior regardless of being forced or set by the game.

BBlisto91 2026-02-01 github

Apitrace that reproduces on at least Nvidia https://drive.proton.me/urls/RG4A0RSX1W#UHvzbUK2xRth
Seems to be a master regression since 2.7.1. Haven't done a proper bisect yet.

WWinterSnowfall 2026-02-02 github

... I don't see the universe where that change can break anything. Does the issue manifest across GPU vendors?

BBlisto91 2026-02-02 github

Reproduced on both Nvidia prop and radv yes

Nothing extracted yet.