[GH-ISSUE #232] VK 1.3 is required #30

Closed
opened 2026-02-27 21:04:12 +03:00 by kerem · 31 comments
Owner

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

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] <Critical> 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
kerem closed this issue 2026-02-27 21:04:12 +03:00
Author
Owner

@raphaelthegreat commented on GitHub (Jul 2, 2024):

You need to update your drivers

<!-- gh-comment-id:2203999552 --> @raphaelthegreat commented on GitHub (Jul 2, 2024): You need to update your drivers
Author
Owner

@EmuAl commented on GitHub (Jul 2, 2024):

thanks but i am on latest amd gpu driver 24.6.1 ?

<!-- gh-comment-id:2204002293 --> @EmuAl commented on GitHub (Jul 2, 2024): thanks but i am on latest amd gpu driver 24.6.1 ?
Author
Owner

@raphaelthegreat commented on GitHub (Jul 2, 2024):

Then your GPU should definitely support 1.3

<!-- gh-comment-id:2204004173 --> @raphaelthegreat commented on GitHub (Jul 2, 2024): Then your GPU should definitely support 1.3
Author
Owner

@EmuAl commented on GitHub (Jul 2, 2024):

2024-07-02
is this enough to use the emulator ?

<!-- gh-comment-id:2204006354 --> @EmuAl commented on GitHub (Jul 2, 2024): ![2024-07-02](https://github.com/shadps4-emu/shadPS4/assets/47227078/8fecfef1-d039-4a04-913c-83d29c21813b) is this enough to use the emulator ?
Author
Owner

@raphaelthegreat commented on GitHub (Jul 2, 2024):

Looks fine to me

<!-- gh-comment-id:2204007360 --> @raphaelthegreat commented on GitHub (Jul 2, 2024): Looks fine to me
Author
Owner

@EmuAl commented on GitHub (Jul 2, 2024):

so must be a bug then ?

<!-- gh-comment-id:2204008942 --> @EmuAl commented on GitHub (Jul 2, 2024): so must be a bug then ?
Author
Owner

@raphaelthegreat commented on GitHub (Jul 2, 2024):

Hm probably. Try installing latest Vulkan SDK

<!-- gh-comment-id:2204009955 --> @raphaelthegreat commented on GitHub (Jul 2, 2024): Hm probably. Try installing latest Vulkan SDK
Author
Owner

@EmuAl commented on GitHub (Jul 2, 2024):

will do, thanks

<!-- gh-comment-id:2204010668 --> @EmuAl commented on GitHub (Jul 2, 2024): will do, thanks
Author
Owner

@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

<!-- gh-comment-id:2204041184 --> @EmuAl commented on GitHub (Jul 2, 2024): [Debug] <Critical> 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
Author
Owner

@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.

<!-- gh-comment-id:2209059662 --> @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.
Author
Owner

@EmuAl commented on GitHub (Jul 4, 2024):

Sorry but this isn't installed on my pc

<!-- gh-comment-id:2209502093 --> @EmuAl commented on GitHub (Jul 4, 2024): Sorry but this isn't installed on my pc
Author
Owner

@RainKikyou commented on GitHub (Jul 5, 2024):

I have the same with problem
QQ截图20240705235727
image
image
QQ图片20240706124712

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.
QQ截图20240706201040
QQ图片20240706201238

<!-- gh-comment-id:2211128295 --> @RainKikyou commented on GitHub (Jul 5, 2024): I have the same with problem ![QQ截图20240705235727](https://github.com/shadps4-emu/shadPS4/assets/20301499/88183a2b-50d7-4301-8da6-d8f7b54548ae) ![image](https://github.com/shadps4-emu/shadPS4/assets/20301499/31c2a6f5-8837-45d0-827b-cb76e8f370ba) ![image](https://github.com/shadps4-emu/shadPS4/assets/20301499/de4878e6-1afc-41d9-8471-7949774d722e) ![QQ图片20240706124712](https://github.com/shadps4-emu/shadPS4/assets/20301499/3c0b9cbd-e46c-4aea-8c28-66f0634e2b51) 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. ![QQ截图20240706201040](https://github.com/shadps4-emu/shadPS4/assets/20301499/71e478fd-446b-45c2-b343-7855b4ed3fe9) ![QQ图片20240706201238](https://github.com/shadps4-emu/shadPS4/assets/20301499/33965feb-af57-49a8-9e87-711e5eba2335)
Author
Owner

@dsyo2008 commented on GitHub (Jul 6, 2024):

Same problem

<!-- gh-comment-id:2211586417 --> @dsyo2008 commented on GitHub (Jul 6, 2024): Same problem
Author
Owner

@Danik2343 commented on GitHub (Jul 7, 2024):

Same problem, solved with gpuid 0

<!-- gh-comment-id:2212495657 --> @Danik2343 commented on GitHub (Jul 7, 2024): Same problem, solved with gpuid 0
Author
Owner

@EmuAl commented on GitHub (Jul 8, 2024):

Same problem, solved with gpuid 0

Can you explain this please, thanks 🙏

<!-- gh-comment-id:2213086155 --> @EmuAl commented on GitHub (Jul 8, 2024): > Same problem, solved with gpuid 0 Can you explain this please, thanks 🙏
Author
Owner

@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

<!-- gh-comment-id:2221227076 --> @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
Author
Owner

@V6ser 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

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.

<!-- gh-comment-id:2221385063 --> @V6ser 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 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.
Author
Owner

@EmuAl commented on GitHub (Jul 10, 2024):

yes it still happens on current version on fresh extraction

<!-- gh-comment-id:2221488955 --> @EmuAl commented on GitHub (Jul 10, 2024): yes it still happens on current version on fresh extraction
Author
Owner

@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?

<!-- gh-comment-id:2276674753 --> @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 https://github.com/shadps4-emu/shadPS4/blob/ab56665d4b75e13e99e824dc531b8642d0377632/src/video_core/renderer_vulkan/vk_platform.h#L20 https://github.com/shadps4-emu/shadPS4/blob/ab56665d4b75e13e99e824dc531b8642d0377632/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?
Author
Owner

@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

<!-- gh-comment-id:2278527301 --> @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
Author
Owner

@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

<!-- gh-comment-id:2280373109 --> @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
Author
Owner

@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

image
If the GPU doesn't support the target vulkan API version this is how it will be shown.
image

<!-- gh-comment-id:2282865910 --> @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 ![image](https://github.com/user-attachments/assets/0c04539c-afe1-43d4-8a36-b30d04631451) If the GPU doesn't support the target vulkan API version this is how it will be shown. ![image](https://github.com/user-attachments/assets/de562c11-bc60-4568-b4b3-b0c7a12ce6f6)
Author
Owner

@SamuelFontes commented on GitHub (Aug 14, 2024):

The change got merged, please validate if the issue was solved.

<!-- gh-comment-id:2289126492 --> @SamuelFontes commented on GitHub (Aug 14, 2024): The change got merged, please validate if the issue was solved.
Author
Owner

@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

<!-- gh-comment-id:2290020698 --> @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
Author
Owner

@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.

<!-- gh-comment-id:2291341772 --> @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.
Author
Owner

@EmuAl commented on GitHub (Aug 15, 2024):

2024-08-15 (2)

<!-- gh-comment-id:2291810877 --> @EmuAl commented on GitHub (Aug 15, 2024): ![2024-08-15 (2)](https://github.com/user-attachments/assets/f8d26843-a9bf-49ef-a77c-1e72893bcf13)
Author
Owner

@V6ser commented on GitHub (Aug 18, 2024):

2024-08-15 (2)

This look like driver issues on your end tbh

<!-- gh-comment-id:2295145098 --> @V6ser commented on GitHub (Aug 18, 2024): > ![2024-08-15 (2)](https://private-user-images.githubusercontent.com/47227078/358326136-f8d26843-a9bf-49ef-a77c-1e72893bcf13.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM5NjQ1OTEsIm5iZiI6MTcyMzk2NDI5MSwicGF0aCI6Ii80NzIyNzA3OC8zNTgzMjYxMzYtZjhkMjY4NDMtYTliZi00OWVmLWE3N2MtMWU3Mjg5M2JjZjEzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDA2NTgxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVlZjA3ZjMxZDVlYmZhYzZhMmFjZDU0MDc0ZDliNDRkNTdhOWIxOGNjNzAxNjliOWVmZTdiNzVjYmFlNDlkZjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.bOjDr3GPSMYKmkbPp3flZGRjYFapCmlinSxWU49VM-M) This look like driver issues on your end tbh
Author
Owner

@EmuAl commented on GitHub (Aug 18, 2024):

This look like driver issues on your end tbh

in what way ?

the driver is fully updated, there's not much else i can do to it

<!-- gh-comment-id:2295335104 --> @EmuAl commented on GitHub (Aug 18, 2024): > This look like driver issues on your end tbh in what way ? the driver is fully updated, there's not much else i can do to it
Author
Owner

@V6ser commented on GitHub (Aug 20, 2024):

This look like driver issues on your end tbh

in what way ?

the driver is fully updated, there's not much else i can do to it

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.

<!-- gh-comment-id:2299726747 --> @V6ser commented on GitHub (Aug 20, 2024): > > This look like driver issues on your end tbh > > in what way ? > > the driver is fully updated, there's not much else i can do to it 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.
Author
Owner

@Hermiten commented on GitHub (Sep 4, 2024):

I think this can be close, you can noy choose the right gpu.

<!-- gh-comment-id:2328162680 --> @Hermiten commented on GitHub (Sep 4, 2024): I think this can be close, you can noy choose the right gpu.
Author
Owner

@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.

<!-- gh-comment-id:2328714927 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#30
No description provided.