Game: grid pattern on distant (low-res) textures on AMD Windows, fixed by RX_VK_BC_SMALL_LAYERS=1 #2222

Closed
opened 2026-11-22 06:49:44 +00:00 by Gloryfields · 3 comments

Longshot version

v3.0.0-176-gd76d202f (main, source 22ef204e)

Channel

Built from source

What kind of problem

Graphics (missing, black or wrong-coloured things, lighting, flicker)

What happened

A regular grid pattern is visible on textures in the distance: ground, paths and hillsides beyond the near draw range (Hyrule Field, the path toward Castle Town, Kokiri Forest's surroundings). Textures close to the camera look correct; the grid shows only on the lower-resolution versions used further away and disappears as you walk up to it.

It is not shadows: changing Shadow resolution makes no visible difference.

Workaround: RX_VK_BC_SMALL_LAYERS=1 in longshot_env.txt removes the grid completely (checked in game at the same spots). So it looks like the small ASTC->BC scratch path for levels of 1024 or less (#1843), possibly the same kind of pitch problem #2015 fixed for the 2048 x 2048 scratch ("Hyrule Field's grid lines on AMD Windows"), but in the small 8-layer scratch. The log says "7379 MB of VRAM allowed: all large ASTC textures kept as BC3". RX_VK_ASTC_RGBA8 was not needed.

The rc.7 build (544229a, before #1843) did not show the grid on the same PC.

Related: #1771 (square shadow artifacts behind grass and leaves) may be this same bug if that reporter is on AMD.

Note: the build has one small local change to swapchain creation only (an exclusive-fullscreen option); nothing in the texture path is changed.

Where in the game

Hyrule Field and the paths toward Castle Town / Kokiri Forest, looking at ground and hills in the distance

How often

Every time

Graphics card and driver version

AMD Radeon RX 6600 (Navi 23), Adrenalin 26.11.2 (32.0.21045.29003)

CPU, RAM and operating system

AMD FX-8350, 32 GB, Windows 10 Pro 22H2 (19045)

Changes from the defaults

Quality preset Auto (this PC), V-Sync On, fullscreen, no frame generation, Grass distance Game's. No overlays, ReShade or injectors.

longshot_env.txt:

RX_VK_WORKERS=5
RX_VK_LOAD_WORKERS=3
RX_VK_PRECOMPILE_STALL_S=0
RX_VK_TASK_MESH_FALLBACK=1
HOS_SHORT_SLEEP_TIMER=1
RX_VK_FRAME_TRACE=1
RX_VK_RECORDER=thread
RX_VK_BC_SMALL_LAYERS=1   (the workaround; the grid shows without it)

(plus the local exclusive-fullscreen switch)

longshot_log.txt

Relevant lines (full log on request):

longshot v3.0.0-176-gd76d202f-dirty (source 22ef204e)
vk: device 0: AMD Radeon RX 6600, Vulkan 1.4, driver 0x800161, type 2, id 1002:73ff
vk: driver: AMD proprietary driver 26.11.2 (AMD proprietary shader compiler)
vk: ASTC is decoded on the GPU (Eden's decoder, Switch 2 tiling)
vk: big ASTC textures are kept as BC3 (re-encoded on the GPU; ASTC as RGBA8 or RX_VK_ASTC_RGBA8=1: as RGBA8)
vk: texture pipelines made before the game in 1 ms (ASTC decoder yes, BC encoder yes, GPU unswizzle yes)
vk: 7379 MB of VRAM allowed: all large ASTC textures kept as BC3

Screenshots or video

No response

Before you send it

  • The problem is still there on the newest release or nightly.
  • I searched the open issues for it.
  • I'm not attaching game files, keys, the game's executable, its .bin caches or saves.
### Longshot version v3.0.0-176-gd76d202f (main, source 22ef204e) ### Channel Built from source ### What kind of problem Graphics (missing, black or wrong-coloured things, lighting, flicker) ### What happened A regular grid pattern is visible on textures in the distance: ground, paths and hillsides beyond the near draw range (Hyrule Field, the path toward Castle Town, Kokiri Forest's surroundings). Textures close to the camera look correct; the grid shows only on the lower-resolution versions used further away and disappears as you walk up to it. It is not shadows: changing Shadow resolution makes no visible difference. **Workaround:** `RX_VK_BC_SMALL_LAYERS=1` in longshot_env.txt removes the grid completely (checked in game at the same spots). So it looks like the small ASTC->BC scratch path for levels of 1024 or less (#1843), possibly the same kind of pitch problem #2015 fixed for the 2048 x 2048 scratch ("Hyrule Field's grid lines on AMD Windows"), but in the small 8-layer scratch. The log says "7379 MB of VRAM allowed: all large ASTC textures kept as BC3". `RX_VK_ASTC_RGBA8` was not needed. The rc.7 build (544229a, before #1843) did not show the grid on the same PC. Related: #1771 (square shadow artifacts behind grass and leaves) may be this same bug if that reporter is on AMD. Note: the build has one small local change to swapchain creation only (an exclusive-fullscreen option); nothing in the texture path is changed. ### Where in the game Hyrule Field and the paths toward Castle Town / Kokiri Forest, looking at ground and hills in the distance ### How often Every time ### Graphics card and driver version AMD Radeon RX 6600 (Navi 23), Adrenalin 26.11.2 (32.0.21045.29003) ### CPU, RAM and operating system AMD FX-8350, 32 GB, Windows 10 Pro 22H2 (19045) ### Changes from the defaults Quality preset Auto (this PC), V-Sync On, fullscreen, no frame generation, Grass distance Game's. No overlays, ReShade or injectors. longshot_env.txt: ``` RX_VK_WORKERS=5 RX_VK_LOAD_WORKERS=3 RX_VK_PRECOMPILE_STALL_S=0 RX_VK_TASK_MESH_FALLBACK=1 HOS_SHORT_SLEEP_TIMER=1 RX_VK_FRAME_TRACE=1 RX_VK_RECORDER=thread RX_VK_BC_SMALL_LAYERS=1 (the workaround; the grid shows without it) ``` (plus the local exclusive-fullscreen switch) ### longshot_log.txt Relevant lines (full log on request): ``` longshot v3.0.0-176-gd76d202f-dirty (source 22ef204e) vk: device 0: AMD Radeon RX 6600, Vulkan 1.4, driver 0x800161, type 2, id 1002:73ff vk: driver: AMD proprietary driver 26.11.2 (AMD proprietary shader compiler) vk: ASTC is decoded on the GPU (Eden's decoder, Switch 2 tiling) vk: big ASTC textures are kept as BC3 (re-encoded on the GPU; ASTC as RGBA8 or RX_VK_ASTC_RGBA8=1: as RGBA8) vk: texture pipelines made before the game in 1 ms (ASTC decoder yes, BC encoder yes, GPU unswizzle yes) vk: 7379 MB of VRAM allowed: all large ASTC textures kept as BC3 ``` ### Screenshots or video _No response_ ### Before you send it - [x] The problem is still there on the newest release or nightly. - [x] I searched the open issues for it. - [x] I'm not attaching game files, keys, the game's executable, its .bin caches or saves.
Member

This looks like the same problem as #2006 (Game: dark grid lines over Hyrule Field's ground on AMD's Windows driver since #1843 (RX 6700 XT; gone with RX_VK_BC_SMALL_LAYERS=1)), so I'm closing this one to keep the discussion in one place.

Both report the same distant-ground grid artifact on AMD's Windows Vulkan driver, removed by RX_VK_BC_SMALL_LAYERS=1 and caused by multi-layer ASTC-to-BC re-encoding of small mip levels.

If it's different, say how and a maintainer will reopen it.

This looks like the same problem as #2006 (Game: dark grid lines over Hyrule Field's ground on AMD's Windows driver since #1843 (RX 6700 XT; gone with RX_VK_BC_SMALL_LAYERS=1)), so I'm closing this one to keep the discussion in one place. Both report the same distant-ground grid artifact on AMD's Windows Vulkan driver, removed by RX_VK_BC_SMALL_LAYERS=1 and caused by multi-layer ASTC-to-BC re-encoding of small mip levels. If it's different, say how and a maintainer will reopen it.
BeanBot 2026-11-22 06:49:57 +00:00
Contributor

The close says this is a duplicate of #2006. This report is on v3.0.0-176-gd76d202f (main, source 22ef204e), a build that contains ed602b94 (#2015, the commit that closed #2006), and the grid is still there on the default path; only RX_VK_BC_SMALL_LAYERS=1 removes it.

Please reopen; the evidence is on this issue.

The close says this is a duplicate of #2006. This report is on `v3.0.0-176-gd76d202f` (main, source 22ef204e), a build that contains `ed602b94` (#2015, the commit that closed #2006), and the grid is still there on the default path; only `RX_VK_BC_SMALL_LAYERS=1` removes it. Please reopen; the evidence is on this issue.
Contributor

Same group: this is now fixed only by the open PR #2228 (stacked on the also-open #2227), not by a merged commit. Please reopen against #2107.

Same group: this is now fixed only by the open PR #2228 (stacked on the also-open #2227), not by a merged commit. Please reopen against **#2107**.
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot#2222
No description provided.