Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904660 - app-emulation/vkd3d-proton-2.8_p20230207 fails to find GPU
Summary: app-emulation/vkd3d-proton-2.8_p20230207 fails to find GPU
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-19 12:45 UTC by N. Andrew Walsh
Modified: 2023-05-12 11:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description N. Andrew Walsh 2023-04-19 12:45:44 UTC
The recent version of vkd3d-proton (2.8_p20230207) produces all kinds of errors under wine, resulting in games failing to start. Downgrading to 2.8 resolves the issue. Example of errors:

40118:fixme:imm:ImmReleaseContext (0000000000030072, 000000000001007C): stub
:info:vkd3d_pipeline_library_disk_cache_initial_setup: Merging pipeline libraries took err:   DXGI: CreateSwapChainForHwnd:
Unsupported device type
12.543 ms.
01f4:info:vkd3d_pipeline_library_disk_cache_initial_setup: Mapping read-only cache took 0.156 ms.
01f4:info:vkd3d_pipeline_library_disk_cache_initial_setup: Parsing stream archive took 0.006 ms.
01f4:info:vkd3d_pipeline_library_disk_cache_initial_setup: Cannot load existing on-disk cache due to driver version mismatch.
01f4:info:vkd3d_pipeline_library_disk_thread_main: Done performing async setup of stream archive.
0124:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented
0124:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented
0124:fixme:uiautomation:base_hwnd_provider_GetPatternProvider 0000000002B10050, 10002, 00000000029CECF0: stub
0124:fixme:oleacc:find_class_data unhandled window class: L"#32770"
0124:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
0124:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
0124:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000002B200D8, 00000000029CFAD0: stub!
0124:fixme:oleacc:find_class_data unhandled window class: L"Static"
0124:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
0124:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
0124:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000002B20458, 00000000029CF970: stub!
0124:fixme:oleacc:find_class_data unhandled window class: L"Button"
0124:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
0124:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
0124:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000002B201D8, 00000000029CF970: stub!
0124:fixme:oleacc:find_class_data unhandled window class: L"Button"
0124:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
0124:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
0124:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000002B20358, 00000000029CF970: stub!
0124:fixme:oleacc:find_class_data unhandled window class: L"Static"
0124:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
0124:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
0124:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000002B205D8, 00000000029CF970: stub!
0124:fixme:oleacc:find_class_data unhandled window class: L"Static"
0124:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
0124:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024

and

0200:0138:fixme:d3dcompiler:skip_u32_unknown Skipping 4 unknown u32s:
0138:fixme:d3dcompiler:skip_u32_unknown    0xfb119e85
0138:fixme:d3dcompiler:skip_u32_unknown    0x765e08c5
0138:fixme:d3dcompiler:skip_u32_unknown    0x5323d5af
0138:fixme:d3dcompiler:skip_u32_unknown    0xdddaff62

neither EVE Online nor Horizon Zero Dawn were able to start. 

Downgrading back to vkd3d-proton-2.8 resolved the issue, so I'm masking that for now.
Comment 1 Ionen Wolkens gentoo-dev 2023-04-19 13:10:03 UTC
What GPU and mesa (or nvidia) driver version for the record? 2.8 had upped the vulkan requirements, but possible it went up further in this snapshot.

Albeit unless it's very old mesa or <nvidia-510, I doubt it'd be a problem.

Seems to work for me, but I only tried basic dx12 stuff and that doesn't say much. Not that I'm going to worry about it too much given it's a snapshot, so will just mask until a proper release. 

Had only added it to match Proton-8.0-1's from:
https://github.com/ValveSoftware/Proton/commit/9ec1e2714e89ff19bc865a49ada6a948059ce9ce
Comment 2 Larry the Git Cow gentoo-dev 2023-04-19 13:16:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=015ca96b08cb0b195416b84f09815e3f448da697

commit 015ca96b08cb0b195416b84f09815e3f448da697
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-04-19 13:13:49 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-04-19 13:13:49 +0000

    profiles: mask =app-emulation/vkd3d-proton-2.8_p20230207
    
    Closes: https://bugs.gentoo.org/904660
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 3 N. Andrew Walsh 2023-04-19 13:56:43 UTC
GPU is a SAPPHIRE Pulse Radeon RX 5700 XT 8G GDDR6 (navi10 core). mesa version is 23.0.1 (I'm going to upgrade it back to 23.0.2-r1, since mesa wasn't the problem). I can't imagine that the navi10 cores are already obsolete, though; any other idea what might be the issue?
Comment 4 Ionen Wolkens gentoo-dev 2023-04-19 14:14:37 UTC
Nah that sounds fine, and no idea outright what else it could be but I'm not convinced Valve really carefully picked these snapshots as they just took the latest commit of Feb 7 for both dxvk and vkd3d-proton.

I'm going to assume it either has problems or doesn't work right with non-proton right now.
Comment 5 Larry the Git Cow gentoo-dev 2023-05-12 11:59:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4456bd60656bd8d6ef1686b6de7cf9ae69c3f15

commit e4456bd60656bd8d6ef1686b6de7cf9ae69c3f15
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-05-12 11:12:00 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-05-12 11:58:09 +0000

    app-emulation/vkd3d-proton: add 2.8_p20230510
    
    Trying a new snapshot, hopefully it works better than the last.
    Done because a newer one is needed for d3d11on12 when using >=dxvk-2.2.
    
    Note that this adds a new dx12core.dll and requires re-running the
    setup script on old prefixes that were relying on symlinks to install
    it (there is a postinst note about it as well).
    
    Power users of dx12 are welcome to suggest better snapshots until
    get an actual release (can experiment with -9999), mostly only doing
    basic tests here. Not to say 2.8 or original vkd3d may not be the only
    one that works with some games.
    
    Bug: https://bugs.gentoo.org/904660
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-emulation/vkd3d-proton/Manifest                |   4 +
 .../vkd3d-proton/vkd3d-proton-2.8_p20230510.ebuild | 189 +++++++++++++++++++++
 2 files changed, 193 insertions(+)