Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Vulkan popup error #259

Open
1 task done
sonic-linux opened this issue Sep 18, 2024 · 7 comments
Open
1 task done

Vulkan popup error #259

sonic-linux opened this issue Sep 18, 2024 · 7 comments

Comments

@sonic-linux
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Affected Build(s)

r5115f64

Description of Issue

I keep encountering this popup whenever I launch Citra; my system doesn't support Vulkan, and I'm using OpenGL, so I wouldn't expect this error to appear at all and my gpu does not support vulkan in anyway
Screenshot (9)

Expected Behavior

no error popup when launching the app

Reproduction Steps

simply launching the app

Log File

citra_log.txt

System Configuration

CPU: Intel Core i7-5500U
GPU/Driver: NVIDIA GeForce 820M
RAM: 8GB
OS: Windows 11 24H2

@sonic-linux
Copy link
Author

I found this line in the log file.

[ 1.980314] Frontend citra_qt\util\graphics_device_info.cpp:GetVulkanPhysicalDevices:45: Error occured while querying for physical devices: Vulkan 1.1 is required, but only 1.0 is supported by instance!

shouldn't Citra only display the error when the game is launched and the Vulkan API is selected and not when the app is simply opened.

@PabloMK7
Copy link
Owner

@raphaelthegreat can you take a look?

@raphaelthegreat
Copy link
Collaborator

raphaelthegreat commented Sep 20, 2024

This is because vulkan checking is done at startup. Can see for a fix

@raphaelthegreat
Copy link
Collaborator

raphaelthegreat commented Sep 20, 2024

I found this line in the log file.

[ 1.980314] Frontend citra_qt\util\graphics_device_info.cpp:GetVulkanPhysicalDevices:45: Error occured while querying for physical devices: Vulkan 1.1 is required, but only 1.0 is supported by instance!

shouldn't Citra only display the error when the game is launched and the Vulkan API is selected and not when the app is simply opened.

Vulkan is needed for displaying the list of available gpus. At the moment it's done during start because opening config window would be too slow if it had to create a dummy vulkan instance each time. This can be reworked however to only query when vulkan is selected by user and cache result, or if already selected and switch to opengl if unsupported

@PabloMK7
Copy link
Owner

PabloMK7 commented Sep 20, 2024

I found this line in the log file.
[ 1.980314] Frontend citra_qt\util\graphics_device_info.cpp:GetVulkanPhysicalDevices:45: Error occured while querying for physical devices: Vulkan 1.1 is required, but only 1.0 is supported by instance!
shouldn't Citra only display the error when the game is launched and the Vulkan API is selected and not when the app is simply opened.

Vulkan is needed for displaying the list of available gpus. At the moment it's done during start because opening config window would be too slow if it had to create a dummy vulkan instance each time. This can be reworked however to only query when vulkan is selected by user and cache result, or if already selected and switch to opengl if unsupported

The point is that there is no need to display a dialog box. Instead a label can be shown in the config window mentioning that vulkan is not available.

@cmetzger93
Copy link

This issue is affecting me too. Since Citra has been abandoned is a fix even possible? Sorry new here and just created an account to comment.

@PabloMK7
Copy link
Owner

This repository is not abandoned

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants