Git Product home page Git Product logo

Comments (5)

K0bin avatar K0bin commented on August 22, 2024 3

Image
I can reproduce it

from dxvk.

Blisto91 avatar Blisto91 commented on August 22, 2024

Just checking out the apitrace it looks fine on my RX 7900xtx with both radv and amdvlk

from dxvk.

K0bin avatar K0bin commented on August 22, 2024

Internal note:
It's blending a texture that gets uploaded via a simple Lock,Copy,Unlock onto the render target. The blending is a simple add and output alpha of the fragment shader is 1.0 across the board.
The only thing that might be interesting is that both the RT as well as the texture are reinterpreted as SRGB. It's a BC1 texture with a SRGB view blended (with a fixed alpha) onto a SRGB B8G8R8A8 texture with a SRGB view.

It seems indeed related to SRGB. If I disable the SRGB views and manually transform it to 2.2 Gamma after sampling and at the end of the shader, it looks fine.

@WinterSnowfall has also confirmed that it renders correctly on Intel.

So... Nvidia driver bug?

from dxvk.

yurakone avatar yurakone commented on August 22, 2024

I looked into the problem a little. I added alpha channel to the texture, cuz it was with no alpha DXT1 and created a new material then I tried different shader parameters
--Shader used: UnlitGeneric
--Shader parameters tested: $translucent 1 $additive 1
--Texture format: DXT5 Compressed texture
20240519015728_1
20240519015828_1
So... this looks like a problem with $additive 1 only, and maybe Nvidia drivers

from dxvk.

Blisto91 avatar Blisto91 commented on August 22, 2024

This indeed is looking like a Nvidia driver bug. We've confirmed that it looks fine on AMD with the radv and amdvlk driver. On Intel it looks good with the Linux driver and on Nvidia it also looks fine on the NVK Linux driver while Nvidias own have the issue.

from dxvk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.