an-anime-team / an-anime-game-launcher

An Anime Game launcher for Linux with telemetry disabling
https://discord.gg/ck37X6UWBp
GNU General Public License v3.0
1.54k stars 63 forks source link

Game has random color artifacts #277

Open Dolidodzik opened 1 year ago

Dolidodzik commented 1 year ago

image

Just installed from lutris on my system: Nobara 38, default DE RX 6600 ryzen 3600 Kernel 6.5.5-202.fsync.fc38.x86

Vulkan info output:


[lesiu@nobara-pc ~]$ vulkaninfo --summary
MESA: error: Use of VkSurfacePresentModeCompatibilityEXT without a VkSurfacePresentModeEXT set. This is an application bug.
MESA: error: Use of VkSurfacePresentModeCompatibilityEXT without a VkSurfacePresentModeEXT set. This is an application bug.
MESA: error: Use of VkSurfacePresentModeCompatibilityEXT without a VkSurfacePresentModeEXT set. This is an application bug.
MESA: error: Use of VkSurfacePresentModeCompatibilityEXT without a VkSurfacePresentModeEXT set. This is an application bug.
==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.261

Instance Extensions: count = 23
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 4
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1

Instance Layers: count = 12
---------------------------
VK_LAYER_FROG_gamescope_wsi       Gamescope WSI (XWayland Bypass) Layer (x86_64) 1.3.221  version 1
VK_LAYER_MANGOAPP_overlay         Mangoapp Layer                                 1.3.0    version 1
VK_LAYER_MANGOAPP_overlay         Mangoapp Layer                                 1.3.0    version 1
VK_LAYER_MANGOHUD_overlay_x86     Vulkan Hud Overlay                             1.3.0    version 1
VK_LAYER_MANGOHUD_overlay_x86_64  Vulkan Hud Overlay                             1.3.0    version 1
VK_LAYER_MESA_device_select       Linux device selection layer                   1.3.211  version 1
VK_LAYER_MESA_overlay             Mesa Overlay layer                             1.3.211  version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer                   1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer                   1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32   Steam Overlay Layer                            1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64   Steam Overlay Layer                            1.3.207  version 1
VK_LAYER_VKBASALT_post_processing a post processing layer                        1.3.223  version 1

Devices:
========
GPU0:
    apiVersion         = 1.3.261
    driverVersion      = 23.2.99
    vendorID           = 0x1002
    deviceID           = 0x73ff
    deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
    deviceName         = AMD Radeon RX 6600 (RADV NAVI23)
    driverID           = DRIVER_ID_MESA_RADV
    driverName         = radv
    driverInfo         = Mesa 23.3.0-devel
    conformanceVersion = 1.3.0.0
    deviceUUID         = 00000000-2800-0000-0000-000000000000
    driverUUID         = 414d442d-4d45-5341-2d44-525600000000
GPU1:
    apiVersion         = 1.3.261
    driverVersion      = 0.0.1
    vendorID           = 0x10005
    deviceID           = 0x0000
    deviceType         = PHYSICAL_DEVICE_TYPE_CPU
    deviceName         = llvmpipe (LLVM 16.0.6, 256 bits)
    driverID           = DRIVER_ID_MESA_LLVMPIPE
    driverName         = llvmpipe
    driverInfo         = Mesa 23.3.0-devel (LLVM 16.0.6)
    conformanceVersion = 1.3.1.1
    deviceUUID         = 6d657361-3233-2e33-2e30-2d6465766500
    driverUUID         = 6c6c766d-7069-7065-5555-494400000000

Game works fine, everything works as excepted besides graphical artifacts.

Da532 commented 1 year ago

It's not a great fix, but I have had success in the launcher settings > components, rolling back the Wine-GE-Proton version to 8-15 or the latest Soda.

basncy commented 1 year ago

Downgrade the DXVK version to which lower than 2.3

CosmicEventHorizon commented 1 year ago

Same issue here. I tried the latest Soda, Wine-GE-Proton 8-15/8-16, Vanilla DXVK 2.3/2.2 and Gplasync 2.3-1 and 2.2-4 but none of these fixes the colors artefacts :/

vulkaninfo.txt

EDIT: Installed DXVK manually and now it works

Dolidodzik commented 12 months ago

@Da532 - Thanks for the tip, tried it, but unfortunately the issue still persists @Blood-Pirouette @basncy - Thanks! I am going to try that - but can you provide some further information about downgrading DXVK / installing it manually? Is it something I do system wide or on launcher level or on lutris level? Sorry, I've never dealt with issues like these.

baine-reynolds commented 12 months ago

I had to go a bit earlier on DXVK but it did work. DXVK-2.1 Wine-GE-Proton 8.15

CosmicEventHorizon commented 12 months ago

@Dolidodzik This is what I did to install it manually:

Inside the genshin impact folder, there is a dxvk folder containing downloaded dxvks. cd to one of the downloaded dxvk in terminal (cd dxvk-gplasync-v2.2-4) then do this:

export WINEPREFIX=/path/to/wineprefix
cp x64/*.dll $WINEPREFIX/drive_c/windows/system32
cp x32/*.dll $WINEPREFIX/drive_c/windows/syswow64
winecfg

Note: The path to winprefix is where drive_c is which is the "prefix" folder In winecfg go to the library tab and add DLL overrides for d3d11, d3d10core, dxgi, and d3d9.

heather7283 commented 11 months ago

Same here, poor game performance (constant freezes and very low framerate) and color artifacts in some areas image This issue appeared after the latest game update (4.1 2nd half), installing different wine and dxvk versions didn't help OS: Arch linux Launcher was installed from AUR (an-anime-game-launcher-bin)

EDIT: I'm stupid, I forgot to actually switch to a different dxvk version. Installing dxvk-2.1 and wine-ge-proton 8-15 fixed the issue