#439 macos上的渲染问题

Closed
opened 10 months ago by lsz · 6 comments
lsz commented 10 months ago

在ventura 13.4.1上面启动原神,天空岛的柱子会被渲染成白色。 我使用的dxvk是使用wineskin的winetricks安装的dxvk,有尝试过https://github.com/Gcenx/DXVK-macOS/,但是结果都一样。

在ventura 13.4.1上面启动原神,天空岛的柱子会被渲染成白色。 我使用的dxvk是使用wineskin的winetricks安装的dxvk,有尝试过https://github.com/Gcenx/DXVK-macOS/,但是结果都一样。
Krock commented 10 months ago
Owner

@lsz

Note: it is uncertain how long you can join the game. According to #401 and #3 @ YAAGL Linux/macOS (Wine) users are blocked from joining the game after a few days. Your experience may vary.


Ideas on how to solve your issue:

  • enable the DXVK HUD
    1. Use the environment variable DXVK_HUD=version,devinfo,fps
    2. A HUD must appear in the top left corner
  • Follow the INSTALLATION.md instructions
    1. use the CPU for mesh skinning
    2. After following the instructions, start the game once
    3. The file $WINEPREFIX/drive_c/users/$USER/AppData/LocalLow/miHoYo/原神/output_log.txt must now contain Renderer: AMD Radeon Pro 5300M

Please let me know whether these instructions worked, otherwise provide more information for in-depth analysis.

@lsz Note: it is uncertain how long you can join the game. According to #401 and [#3 @ YAAGL](https://github.com/3Shain/yet-another-anime-game-launcher/issues/3) Linux/macOS (Wine) users are blocked from joining the game after a few days. Your experience may vary. --- Ideas on how to solve your issue: * [enable the DXVK HUD](src/master/TROUBLESHOOTING.md#game-is-on-an-lsd-trip) 1. Use the environment variable `DXVK_HUD=version,devinfo,fps` 2. A HUD must appear in the top left corner * Follow the [INSTALLATION.md](src/master/INSTALLATION.md#macos-instructions) instructions 1. [use the CPU for mesh skinning](src/master/compat/macos_cpu_skinning.sh) 2. After following the instructions, start the game once 3. The file `$WINEPREFIX/drive_c/users/$USER/AppData/LocalLow/miHoYo/原神/output_log.txt` must now contain `Renderer: AMD Radeon Pro 5300M` Please let me know whether these instructions worked, otherwise provide more information for in-depth analysis.
lsz commented 10 months ago
Poster

感谢你的回答 但是我使用crossover中的dxvk解决了白柱子问题,但是根据INSTALLATION.md 我执行了"macos_cpu_skinning.sh",但会没有天空岛的门并且游戏内部分npc及角色渲染异常

感谢你的回答 但是我使用crossover中的dxvk解决了白柱子问题,但是根据INSTALLATION.md 我执行了"macos_cpu_skinning.sh",但会没有天空岛的门并且游戏内部分npc及角色渲染异常
lsz commented 10 months ago
Poster

npc及角色渲染异常:

npc及角色渲染异常:
Krock commented 10 months ago
Owner

@lsz This does indeed look somewhat creepy. Unfortunately there is currently no other known workaround other what already is mentioned in #374. I tried to find some related issues on the yet-another-anime-game-launcher project but could not find any.

Another option is to use WineD3D which will result in different graphical issues due to shaders failing to compile. Also software rendering (llvmpipe) is an option (but will be very slow).

@3Shain Do you know by any chance of any new workaround for this graphical problem?

@lsz This does indeed look somewhat creepy. Unfortunately there is currently no other known workaround other what already is mentioned in #374. I tried to find some related issues on the yet-another-anime-game-launcher project but could not find any. Another option is to use WineD3D which will result in different graphical issues due to shaders failing to compile. Also software rendering (llvmpipe) is an option (but will be very slow). @3Shain Do you know by any chance of any new workaround for this graphical problem?
lsz commented 10 months ago
Poster

@Krock 这是游戏目录下的YuanShen_d3d11.log

warn:  D3D11CoreCreateDevice: Adapter is not a DXVK adapter
info:  Game: YuanShen.exe
info:  DXVK: v1.7-14-gef993b2f
info:  Found config file: dxvk.conf
info:  Effective configuration:
info:    dxgi.customDeviceDesc = AMD Radeon Pro 5300M
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
warn:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_1
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
info:  Device properties:
info:    Device name:     : Apple M1
info:    Driver version   : 0.2.1918
info:  Enabled device extensions:
info:    VK_EXT_host_query_reset
info:    VK_EXT_robustness2
info:    VK_EXT_shader_stencil_export
info:    VK_EXT_shader_viewport_index_layer
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_create_renderpass2
info:    VK_KHR_depth_stencil_resolve
info:    VK_KHR_driver_properties
info:    VK_KHR_image_format_list
info:    VK_KHR_sampler_mirror_clamp_to_edge
info:    VK_KHR_swapchain
info:  Device features:
info:    robustBufferAccess                     : 1
info:    fullDrawIndexUint32                    : 1
info:    imageCubeArray                         : 1
info:    independentBlend                       : 1
info:    geometryShader                         : 1
info:    tessellationShader                     : 1
info:    sampleRateShading                      : 1
info:    dualSrcBlend                           : 1
info:    logicOp                                : 0
info:    multiDrawIndirect                      : 1
info:    drawIndirectFirstInstance              : 1
info:    depthClamp                             : 1
info:    depthBiasClamp                         : 1
info:    fillModeNonSolid                       : 1
info:    depthBounds                            : 0
info:    multiViewport                          : 1
info:    samplerAnisotropy                      : 1
info:    textureCompressionBC                   : 1
info:    occlusionQueryPrecise                  : 1
info:    pipelineStatisticsQuery                : 0
info:    vertexPipelineStoresAndAtomics         : 0
info:    fragmentStoresAndAtomics               : 1
info:    shaderImageGatherExtended              : 1
info:    shaderStorageImageExtendedFormats      : 1
info:    shaderStorageImageReadWithoutFormat    : 1
info:    shaderStorageImageWriteWithoutFormat   : 1
info:    shaderClipDistance                     : 1
info:    shaderCullDistance                     : 1
info:    shaderFloat64                          : 0
info:    shaderInt64                            : 1
info:    variableMultisampleRate                : 0
info:  VK_EXT_conditional_rendering
info:    conditionalRendering                   : 0
info:  VK_EXT_custom_border_color
info:    customBorderColors                     : 0
info:    customBorderColorWithoutFormat         : 0
info:  VK_EXT_depth_clip_enable
info:    depthClipEnable                        : 0
info:  VK_EXT_host_query_reset
info:    hostQueryReset                         : 1
info:  VK_EXT_memory_priority
info:    memoryPriority                         : 0
info:  VK_EXT_robustness2
info:    robustBufferAccess2                    : 0
info:    robustImageAccess2                     : 1
info:    nullDescriptor                         : 0
info:  VK_EXT_shader_demote_to_helper_invocation
info:    shaderDemoteToHelperInvocation         : 0
info:  VK_EXT_transform_feedback
info:    transformFeedback                      : 0
info:    geometryStreams                        : 0
info:  VK_EXT_vertex_attribute_divisor
info:    vertexAttributeInstanceRateDivisor     : 1
info:    vertexAttributeInstanceRateZeroDivisor : 1
info:  Queue families:
info:    Graphics : 0
info:    Transfer : 0
warn:  DXVK: No state cache file found
info:  DXVK: Read 68 valid state cache entries
info:  DXVK: Using 5 compiler threads
warn:  DXGI: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_SRGB
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR
info:    Buffer size:  1280x720
info:    Image count:  2
info:    Exclusive FS: 1
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_SRGB
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR
info:    Buffer size:  1280x720
info:    Image count:  2
info:    Exclusive FS: 1
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired
info:  dxbc system value mask hack fired

希望对你有所帮助。

@Krock 这是游戏目录下的YuanShen_d3d11.log ``` warn: D3D11CoreCreateDevice: Adapter is not a DXVK adapter info: Game: YuanShen.exe info: DXVK: v1.7-14-gef993b2f info: Found config file: dxvk.conf info: Effective configuration: info: dxgi.customDeviceDesc = AMD Radeon Pro 5300M info: Built-in extension providers: info: Win32 WSI info: OpenVR warn: OpenVR: Failed to locate module info: Enabled instance extensions: info: VK_KHR_get_surface_capabilities2 info: VK_KHR_surface info: VK_KHR_win32_surface info: D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_1 info: D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0 info: D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0 info: Device properties: info: Device name: : Apple M1 info: Driver version : 0.2.1918 info: Enabled device extensions: info: VK_EXT_host_query_reset info: VK_EXT_robustness2 info: VK_EXT_shader_stencil_export info: VK_EXT_shader_viewport_index_layer info: VK_EXT_vertex_attribute_divisor info: VK_KHR_create_renderpass2 info: VK_KHR_depth_stencil_resolve info: VK_KHR_driver_properties info: VK_KHR_image_format_list info: VK_KHR_sampler_mirror_clamp_to_edge info: VK_KHR_swapchain info: Device features: info: robustBufferAccess : 1 info: fullDrawIndexUint32 : 1 info: imageCubeArray : 1 info: independentBlend : 1 info: geometryShader : 1 info: tessellationShader : 1 info: sampleRateShading : 1 info: dualSrcBlend : 1 info: logicOp : 0 info: multiDrawIndirect : 1 info: drawIndirectFirstInstance : 1 info: depthClamp : 1 info: depthBiasClamp : 1 info: fillModeNonSolid : 1 info: depthBounds : 0 info: multiViewport : 1 info: samplerAnisotropy : 1 info: textureCompressionBC : 1 info: occlusionQueryPrecise : 1 info: pipelineStatisticsQuery : 0 info: vertexPipelineStoresAndAtomics : 0 info: fragmentStoresAndAtomics : 1 info: shaderImageGatherExtended : 1 info: shaderStorageImageExtendedFormats : 1 info: shaderStorageImageReadWithoutFormat : 1 info: shaderStorageImageWriteWithoutFormat : 1 info: shaderClipDistance : 1 info: shaderCullDistance : 1 info: shaderFloat64 : 0 info: shaderInt64 : 1 info: variableMultisampleRate : 0 info: VK_EXT_conditional_rendering info: conditionalRendering : 0 info: VK_EXT_custom_border_color info: customBorderColors : 0 info: customBorderColorWithoutFormat : 0 info: VK_EXT_depth_clip_enable info: depthClipEnable : 0 info: VK_EXT_host_query_reset info: hostQueryReset : 1 info: VK_EXT_memory_priority info: memoryPriority : 0 info: VK_EXT_robustness2 info: robustBufferAccess2 : 0 info: robustImageAccess2 : 1 info: nullDescriptor : 0 info: VK_EXT_shader_demote_to_helper_invocation info: shaderDemoteToHelperInvocation : 0 info: VK_EXT_transform_feedback info: transformFeedback : 0 info: geometryStreams : 0 info: VK_EXT_vertex_attribute_divisor info: vertexAttributeInstanceRateDivisor : 1 info: vertexAttributeInstanceRateZeroDivisor : 1 info: Queue families: info: Graphics : 0 info: Transfer : 0 warn: DXVK: No state cache file found info: DXVK: Read 68 valid state cache entries info: DXVK: Using 5 compiler threads warn: DXGI: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT info: Presenter: Actual swap chain properties: info: Format: VK_FORMAT_B8G8R8A8_SRGB info: Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR info: Buffer size: 1280x720 info: Image count: 2 info: Exclusive FS: 1 info: Presenter: Actual swap chain properties: info: Format: VK_FORMAT_B8G8R8A8_SRGB info: Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR info: Buffer size: 1280x720 info: Image count: 2 info: Exclusive FS: 1 info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired info: dxbc system value mask hack fired ``` 希望对你有所帮助。
lsz commented 9 months ago
Poster

已使用game-porting-toolkit解决

已使用game-porting-toolkit解决
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.