Skip to content

Intel Arc: keep VRAM mirrors by default (device lost while loading a … - #207

Open
DennisR-git wants to merge 1 commit into
pixl27:mainfrom
DennisR-git:intel-arc-keep-mirrors
Open

DennisR-git wants to merge 1 commit into
pixl27:mainfrom
DennisR-git:intel-arc-keep-mirrors

Conversation

@DennisR-git

Copy link
Copy Markdown

Intel Arc: keep VRAM mirrors by default (device lost while loading a save)

On an Intel Arc B580 (Windows 11, driver 32.0.101.9175, v0.7.9.4), loading a save into Kokiri Forest lost the device
(THE GRAPHICS CARD STOPPED (device lost)) in about 5 of 6 tries.

The cause is the VRAM mirrors being given back in mirrors_give_back():

Setting Loads without device lost
default ~1 of 6
RX_VK_MIRROR=0 4 of 4 (but 16–24 fps)
RX_VK_MIRROR_KEEP=1 3 of 3 (50–60 fps)
this patch every load since, dozens over two days

RX_VK_EVENT_WAITS=0, RX_VK_KEEP_FREED=1, RX_VK_NO_INHERIT=1 and RX_VK_WB_LAZY=0 did not help.

Change: mirrors are kept by default on Intel, the same way retired imports already are (retired_imports_give_back,
issue 17). Other vendors are unchanged. RX_VK_MIRROR_KEEP=0/1 still overrides the default, and the log says once which is in
effect. The mirror budget still applies. VRAM after loading Kokiri: 7.9 of 11.3 GB.

The forest graphics on Arc (haze, missing floor, flicker) are a separate problem, and I will open an issue for them.

🤖 Generated with Claude Code

…save)

On an Intel Arc B580 (driver 101.9175) loading a save into Kokiri Forest
lost the device in about 5 of 6 tries with the mirrors given back; with
RX_VK_MIRROR_KEEP=1 none did, and with this default no load has lost the
device since. Mirrors are now kept on Intel, as retired imports already are
(retired_imports_give_back, issue 17). RX_VK_MIRROR_KEEP=0/1 still overrides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant