mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[GH-ISSUE #232] VK 1.3 is required #30
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @EmuAl on GitHub (Jul 2, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/232
I have a AMD RX 6900XT GPU and the games i try crash with the following error:
[Debug] vk_instance.cpp:operator():80: Assertion Failed!
Vulkan 1.3 is required, but only 1.2 is supported by device
any idea if this is fixable please
thanks
@raphaelthegreat commented on GitHub (Jul 2, 2024):
You need to update your drivers
@EmuAl commented on GitHub (Jul 2, 2024):
thanks but i am on latest amd gpu driver 24.6.1 ?
@raphaelthegreat commented on GitHub (Jul 2, 2024):
Then your GPU should definitely support 1.3
@EmuAl commented on GitHub (Jul 2, 2024):
is this enough to use the emulator ?
@raphaelthegreat commented on GitHub (Jul 2, 2024):
Looks fine to me
@EmuAl commented on GitHub (Jul 2, 2024):
so must be a bug then ?
@raphaelthegreat commented on GitHub (Jul 2, 2024):
Hm probably. Try installing latest Vulkan SDK
@EmuAl commented on GitHub (Jul 2, 2024):
will do, thanks
@EmuAl commented on GitHub (Jul 2, 2024):
[Debug] vk_instance.cpp:operator():80: Assertion Failed!
Vulkan 1.3 is required, but only 1.2 is supported by device!
same error after installation of VulkanSDK-1.3.283.0
hopefully it can fixed, will keep trying new versions as and when released
@l33tm4st3r commented on GitHub (Jul 4, 2024):
Hi all.
Just remove "OpenCL™, OpenGL®, and Vulkan® Compatibility Pack" package from windows installed apps.
Have a nice day.
@EmuAl commented on GitHub (Jul 4, 2024):
Sorry but this isn't installed on my pc
@RainKikyou commented on GitHub (Jul 5, 2024):
I have the same with problem




My PC
Processor: Intel 13th Generation Core i7-13700H 14-core
Motherboard:ASUS FX507VV
Memory:48GB DDR5 5200MHz (24GB + 24GB)
Graphics:Intel(R) Iris(R)Xe Graphics (128MB/ASUS) NVIDIA GeForce RTX 4060 Laptop GPU (8GB/ASUS)
Monitor: PG27UQR[ASUS AUS274B] (27.2 inches) NE156FHM-NX6[BOE BOEOB70] (15.3 inches)
Disk:KIOXIA TransMemory USB Device (62GB) NVMe WD Blue SN580 2TB (2000GB) NVMe WD PC SN740 SDDPNQD-512G-1002 (512GB)
Sound card:Realtek High Definition AudioUSB Audio Device NVIDIA High Definition Audio
Network card:Realtek PCle GbE Family ControllerIntel(R) Wi-Fi 6 AX201 160MHz Realtek 8811CU Wireless LAN 802.11ac USB NIC
Finally,I solved this problem(This solution may only be suitable for laptops)


This solution may only be suitable for laptops. You need to change the 1 of gpuId to 0. 0 is the independent graphics card and 1 is the integrated graphics card.
@dsyo2008 commented on GitHub (Jul 6, 2024):
Same problem
@Danik2343 commented on GitHub (Jul 7, 2024):
Same problem, solved with gpuid 0
@EmuAl commented on GitHub (Jul 8, 2024):
Can you explain this please, thanks 🙏
@EmuAl commented on GitHub (Jul 10, 2024):
so i figured it out myself, in the user folder, open the config.toml and under the [GPU] heading, set gpuId = 0
the games don't crash with this error now
@V6ser commented on GitHub (Jul 10, 2024):
Did you edit config.toml before or does it still happen if you try a clean build? If it still does, then it's likely better not to close this issue.
@EmuAl commented on GitHub (Jul 10, 2024):
yes it still happens on current version on fresh extraction
@SamuelFontes commented on GitHub (Aug 8, 2024):
There was a change that should have solved this issue, but the TargetVulkanApiVersion is being set as VK_API_VERSION_1_2
github.com/shadps4-emu/shadPS4@ab56665d4b/src/video_core/renderer_vulkan/vk_platform.h (L20)github.com/shadps4-emu/shadPS4@ab56665d4b/src/video_core/renderer_vulkan/vk_instance.cpp (L72-L78)So in these cases it's selecting the wrong gpu, is there any reason why this is not set as VK_API_VERSION_1_3 since it's required?
@SamuelFontes commented on GitHub (Aug 9, 2024):
@EmuAl could you try this run to see if the issue was solved?
https://github.com/shadps4-emu/shadPS4/actions/runs/10323398795
@EmuAl commented on GitHub (Aug 10, 2024):
it doesn't crash with the same error but does just sit on black screen
the gpuid=-1 is in the config.toml but it still needs gpuId = 0 to run games
@SamuelFontes commented on GitHub (Aug 11, 2024):
I've create a pull request that should solve this issue, giving the possiblity of choosing the GPU from the graphical interface. https://github.com/shadps4-emu/shadPS4/pull/399
If the GPU doesn't support the target vulkan API version this is how it will be shown.
@SamuelFontes commented on GitHub (Aug 14, 2024):
The change got merged, please validate if the issue was solved.
@EmuAl commented on GitHub (Aug 14, 2024):
so with a clean extract, the auto select option doesn't pick my gpu as i still get the black screen when trying to run a game,
if i pick my gpu in the drop down then the games work
@SamuelFontes commented on GitHub (Aug 15, 2024):
So choosing the right GPU solves the problem, now it's easier to know what GPU is the correct one instead of trying to blindly change the gpuId in the config files.
But just out of curisity, can you attach a screenshot with all the options on the dropdown?
I'm wondering why the auto selection is choosing the wrong GPU.
@EmuAl commented on GitHub (Aug 15, 2024):
@V6ser commented on GitHub (Aug 18, 2024):
This look like driver issues on your end tbh
@EmuAl commented on GitHub (Aug 18, 2024):
in what way ?
the driver is fully updated, there's not much else i can do to it
@V6ser commented on GitHub (Aug 20, 2024):
There are 2 GPUs shown in your shadps4's list. One of them has Basic Display Adapter driver from Microsoft. And your discrete GPU is not recognized through its Vulkan version. From those two, I'm just guessing, but looks like driver issues.
@Hermiten commented on GitHub (Sep 4, 2024):
I think this can be close, you can noy choose the right gpu.
@EmuAl commented on GitHub (Sep 4, 2024):
Yep can be as it’s possible to do from settings but on first extract it still happens, but as people have said above it could be driver related. Will close now.