Include: MTrv0/VIctory-AMD-UM #4 (De-disco plastic) #18

Closed
opened 2026-12-01 03:32:34 +00:00 by Rojikku · 4 comments
Rojikku commented 2026-12-01 03:32:34 +00:00 (Migrated from github.com)
Contributor

Imported from Fayberr/Victory-United. Originally posted by Rojikku on 2026-12-01T03:32:34Z.


https://github.com/MTrv0/VIctory-AMD-UM/pull/4

Licence of that code

GPL-3.0

What it fixes, and what you measured

Hello! I run Proton in Linux. I have rebased my local to build on your fork. These patches are vital to my play experience, but I cannot be certain how they impact you. Claude thinks these probably also impact you.
Attaching patch file as I believe we reworked some of them to some extent to fit onto your version already.
Uncertain how close the patch file is to the PR, I just picked one it mentioned that still exists.

1033-pr-avatarmanz-354-killed-lanes-live-quad.patch

Claude's notes:
1033, killed pixels keep running with their 2x2 block (the starburst). - The bug is in how the shader translator handles discarded pixels, so it happens on any GPU and any OS. Our notes on it say "Not Wine-specific". - Fayberr has only part of this: it handles the s_wqm instruction but doesn't keep the discarded pixels running, as we just saw.

  • On Windows it would show as the same glitch: sparkling glass, a "disco ball", bright blocks on plastic and glass.
  • There's existing upstream work to point them to:
    • avatarmanz PR 354 (that repo is deleted; its commits ebf005a21 and 301867af8 survive on Serph91P/VIctory-7900XTX, branch shader-killed-lanes-live-quad).
    • Serph91P/VIctory-7900XTX PR 1 (a guard against a panic).
    • MTrv0/VIctory-AMD-UM PR 4, whose author writes "no longer seeing the lens flares and other bright shader glitches".

Rules

  • It contains no game files or data and no leaked, stolen or pirated material.
<!-- greyfinch-sync:Fayberr/Victory-United:issue:6711789085 --> Imported from [Fayberr/Victory-United](https://github.com/Fayberr/Victory-United/issues/18). Originally posted by [Rojikku](https://github.com/Rojikku) on 2026-12-01T03:32:34Z. --- ### Link to the pull request or commit https://github.com/MTrv0/VIctory-AMD-UM/pull/4 ### Licence of that code GPL-3.0 ### What it fixes, and what you measured Hello! I run Proton in Linux. I have rebased my local to build on your fork. These patches are vital to my play experience, but I cannot be certain how they impact you. Claude thinks these probably also impact you. Attaching patch file as I believe we reworked some of them to some extent to fit onto your version already. Uncertain how close the patch file is to the PR, I just picked one it mentioned that still exists. [1033-pr-avatarmanz-354-killed-lanes-live-quad.patch](https://github.com/user-attachments/files/35653554/1033-pr-avatarmanz-354-killed-lanes-live-quad.patch) Claude's notes: 1033, killed pixels keep running with their 2x2 block (the starburst). - The bug is in how the shader translator handles discarded pixels, so it happens on any GPU and any OS. Our notes on it say "Not Wine-specific". - Fayberr has only part of this: it handles the s_wqm instruction but doesn't keep the discarded pixels running, as we just saw. - On Windows it would show as the same glitch: sparkling glass, a "disco ball", bright blocks on plastic and glass. - There's existing upstream work to point them to: - avatarmanz PR 354 (that repo is deleted; its commits ebf005a21 and 301867af8 survive on Serph91P/VIctory-7900XTX, branch shader-killed-lanes-live-quad). - Serph91P/VIctory-7900XTX PR 1 (a guard against a panic). - MTrv0/VIctory-AMD-UM PR 4, whose author writes "no longer seeing the lens flares and other bright shader glitches". ### Rules - [x] It contains no game files or data and no leaked, stolen or pirated material.
Fayberr commented 2026-12-01 09:16:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Fayberr/Victory-United. Originally posted by Fayberr on 2026-12-01T09:16:49Z.


Thanks for reporting the flicker and sharing the patch. It’s on dev now, with a small change so the offline shader retry recalculates texture and buffer bindings. Linux shader tests and Windows compile checks passed. If you get a chance to try dev on Proton, I’d like to hear whether the glass and plastic flicker is gone in your scene.

Commit: github.com/Fayberr/Victory-United@edda206241

<!-- greyfinch-sync:Fayberr/Victory-United:comment:7306472752 --> Imported from [Fayberr/Victory-United](https://github.com/Fayberr/Victory-United/issues/18#issuecomment-7306472752). Originally posted by [Fayberr](https://github.com/Fayberr) on 2026-12-01T09:16:49Z. --- Thanks for reporting the flicker and sharing the patch. It’s on dev now, with a small change so the offline shader retry recalculates texture and buffer bindings. Linux shader tests and Windows compile checks passed. If you get a chance to try dev on Proton, I’d like to hear whether the glass and plastic flicker is gone in your scene. Commit: https://github.com/Fayberr/Victory-United/commit/edda206241eecfaaad46c91dbb036455c8d8353a
Rojikku commented 2026-12-01 10:16:45 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Fayberr/Victory-United. Originally posted by Rojikku on 2026-12-01T10:16:45Z.


Looks good in my brief test! (It's an always issue, so should be accurate. And I've run the patch for hours without issue too)

<!-- greyfinch-sync:Fayberr/Victory-United:comment:7307941831 --> Imported from [Fayberr/Victory-United](https://github.com/Fayberr/Victory-United/issues/18#issuecomment-7307941831). Originally posted by [Rojikku](https://github.com/Rojikku) on 2026-12-01T10:16:45Z. --- Looks good in my brief test! (It's an always issue, so should be accurate. And I've run the patch for hours without issue too)
Rojikku commented 2026-12-01 10:26:59 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Fayberr/Victory-United. Originally posted by Rojikku on 2026-12-01T10:26:59Z.


Side note:

I did need a couple patches for picture, otherwise I had a black screen. In case it's useful:

linux-port1-private-pages.patch
linux-move-raw-vkd3d-layout.patch

<!-- greyfinch-sync:Fayberr/Victory-United:comment:7308205676 --> Imported from [Fayberr/Victory-United](https://github.com/Fayberr/Victory-United/issues/18#issuecomment-7308205676). Originally posted by [Rojikku](https://github.com/Rojikku) on 2026-12-01T10:26:59Z. --- Side note: I did need a couple patches for picture, otherwise I had a black screen. In case it's useful: [linux-port1-private-pages.patch](https://github.com/user-attachments/files/35676293/linux-port1-private-pages.patch) [linux-move-raw-vkd3d-layout.patch](https://github.com/user-attachments/files/35676292/linux-move-raw-vkd3d-layout.patch)
Fayberr commented 2026-12-01 11:14:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Fayberr/Victory-United. Originally posted by Fayberr on 2026-12-01T11:14:54Z.


Good to hear the flicker is gone on dev, and thanks for the two Linux/Proton patches too. Both are on dev now (port 1 private pages gated on Wine, and the vkd3d-proton descriptor layout fallback in move_raw):

If you get a chance to test dev without local patches, let me know if it renders cleanly out of the box.

<!-- greyfinch-sync:Fayberr/Victory-United:comment:7309375788 --> Imported from [Fayberr/Victory-United](https://github.com/Fayberr/Victory-United/issues/18#issuecomment-7309375788). Originally posted by [Fayberr](https://github.com/Fayberr) on 2026-12-01T11:14:54Z. --- Good to hear the flicker is gone on `dev`, and thanks for the two Linux/Proton patches too. Both are on `dev` now (port 1 private pages gated on Wine, and the vkd3d-proton descriptor layout fallback in `move_raw`): - https://github.com/Fayberr/Victory-United/commit/31735c345 - https://github.com/Fayberr/Victory-United/commit/93adf6729 If you get a chance to test `dev` without local patches, let me know if it renders cleanly out of the box.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Fayberr/Victory-United#18
No description provided.