VulkanCapsViewer icon indicating copy to clipboard operation
VulkanCapsViewer copied to clipboard

No surface information available

Open Alexelnet opened this issue 1 year ago • 8 comments

vulkan-caps-viewer

I compiled the software, I don't use an app image.

I also tried it on X and on Wayland but, still gives the same error.

I checked the logs but, nothing seems interesting in there:

2024-01-24 05:51:35.002: Warning: libpng warning: iCCP: known incorrect sRGB profile
2024-01-24 05:51:35.002: Warning: libpng warning: iCCP: known incorrect sRGB profile
2024-01-24 05:51:35.002: Warning: libpng warning: iCCP: known incorrect sRGB profile
2024-01-24 05:51:35.003: Warning: libpng warning: iCCP: known incorrect sRGB profile
2024-01-24 05:51:35.003: Warning: libpng warning: iCCP: known incorrect sRGB profile
2024-01-24 05:51:35.003: Warning: libpng warning: iCCP: known incorrect sRGB profile
2024-01-24 05:51:35.003: Warning: libpng warning: iCCP: known incorrect sRGB profile
2024-01-24 05:51:35.004: Warning: libpng warning: iCCP: known incorrect sRGB profile
2024-01-24 05:51:35.080: Info: Reading extensions
2024-01-24 05:51:35.080: Info: Device "AMD Radeon RX 7900 XTX (RADV NAVI31)"
2024-01-24 05:51:35.080: Info: Reading Vulkan 1.1 core properties
2024-01-24 05:51:35.080: Info: Reading Vulkan 1.2 core properties
2024-01-24 05:51:35.080: Info: Reading Vulkan 1.3 core properties
2024-01-24 05:51:35.080: Info: Reading layers
2024-01-24 05:51:35.080: Info: Reading queue families
2024-01-24 05:51:35.080: Info: Reading physical feattures
2024-01-24 05:51:35.080: Info: Reading Vulkan 1.1 core features
2024-01-24 05:51:35.080: Info: Reading Vulkan 1.2 core features
2024-01-24 05:51:35.080: Info: Reading Vulkan 1.3 core features
2024-01-24 05:51:35.080: Info: Reading limits
2024-01-24 05:51:35.080: Info: Reading memory properties
2024-01-24 05:51:35.080: Info: Reading surface info
2024-01-24 05:51:35.080: Info: Reading profiles
2024-01-24 05:51:35.080: Info: Reading profile VP_KHR_roadmap_2022
2024-01-24 05:51:35.080: Info: Reading profile VP_LUNARG_desktop_baseline_2022
2024-01-24 05:51:35.080: Info: Reading profile VP_LUNARG_desktop_baseline_2023
2024-01-24 05:51:35.081: Info: Reading profile VP_LUNARG_desktop_portability_2022
2024-01-24 05:51:35.087: Info: Reading formats
2024-01-24 05:51:35.470: Info: Application start
2024-01-24 05:51:35.475: Debug: Unknown property align
2024-01-24 05:51:35.477: Debug: Unknown property align

Here are the prints to the stdout just in case:

Checking device support for profile VP_KHR_roadmap_2022 (deviceName=AMD Radeon RX 7900 XTX (RADV NAVI31), driverName=radv, driverInfo=Mesa 23.3.1). You may find the details of the capabilities of this device on https://vulkan.gpuinfo.org/
Checking device support for profile VP_LUNARG_desktop_baseline_2022 (deviceName=AMD Radeon RX 7900 XTX (RADV NAVI31), driverName=radv, driverInfo=Mesa 23.3.1). You may find the details of the capabilities of this device on https://vulkan.gpuinfo.org/
Checking device support for profile VP_LUNARG_desktop_baseline_2023 (deviceName=AMD Radeon RX 7900 XTX (RADV NAVI31), driverName=radv, driverInfo=Mesa 23.3.1). You may find the details of the capabilities of this device on https://vulkan.gpuinfo.org/
Unsupported properties condition: VkPhysicalDeviceVulkan12Properties::framebufferIntegerColorSampleCounts contains (VK_SAMPLE_COUNT_1_BIT | VK_SAMPLE_COUNT_4_BIT)
Checking device support for profile VP_LUNARG_desktop_portability_2022 (deviceName=AMD Radeon RX 7900 XTX (RADV NAVI31), driverName=radv, driverInfo=Mesa 23.3.1). You may find the details of the capabilities of this device on https://vulkan.gpuinfo.org/
Unsupported extension: VK_KHR_portability_subset
Unsupported feature condition: VkPhysicalDevicePortabilitySubsetFeaturesKHR::constantAlphaColorBlendFactors == VK_TRUE
Unsupported feature condition: VkPhysicalDevicePortabilitySubsetFeaturesKHR::events == VK_TRUE
Unsupported feature condition: VkPhysicalDevicePortabilitySubsetFeaturesKHR::imageViewFormatReinterpretation == VK_TRUE
Unsupported feature condition: VkPhysicalDevicePortabilitySubsetFeaturesKHR::imageViewFormatSwizzle == VK_TRUE
Unsupported feature condition: VkPhysicalDevicePortabilitySubsetFeaturesKHR::multisampleArrayImage == VK_TRUE
Unsupported feature condition: VkPhysicalDevicePortabilitySubsetFeaturesKHR::mutableComparisonSamplers == VK_TRUE
Unsupported feature condition: VkPhysicalDevicePortabilitySubsetFeaturesKHR::separateStencilMaskRef == VK_TRUE
Unsupported feature condition: VkPhysicalDevicePortabilitySubsetFeaturesKHR::vertexAttributeAccessBeyondStride == VK_TRUE

Alexelnet avatar Jan 24 '24 05:01 Alexelnet

After digging a little bit in the source code I've noticed the presence of some definitions for wayland and x11 support. so I added those corresponding defines to qmake.

qmake5 -config release DEFINES+=X11

This should be specified in the read me.

Alexelnet avatar Jan 24 '24 06:01 Alexelnet

I opened a pr #197 to provide additional building information.

Alexelnet avatar Jan 24 '24 06:01 Alexelnet

I don't build on Linux very often, so mostly out of curiosity: Doesn't CMake do that already? The CmakeLists.txt already has switch for X11/Wayland.

SaschaWillems avatar Jan 24 '24 11:01 SaschaWillems

As far as I've seen, when building with cmake it's the same thing. The windowing system must be provided with -DX11=ON or -DWAYLAND=ON. Also there's are some issues there which I'm planning to fix as well. I was thinking about making this entire window system support transparent and dynamic. It would work automatically for both x11 and wayland without having the need to build it twice.

Alexelnet avatar Jan 24 '24 15:01 Alexelnet

https://github.com/SaschaWillems/VulkanCapsViewer/pull/161 <- was already fixed here but reverted

loonycyborg avatar Jan 28 '24 20:01 loonycyborg

Is this still open? If something needs to be done about builds Wayland someone needs to do a PR.

SaschaWillems avatar Feb 18 '24 18:02 SaschaWillems

I think I can be closed. I'm going to do a pr as soon as I find some free time in order to address some related inconvenience. It would address the issue of having to ship 2 different Linux versions (one for X11 and one for Wayland) which is related to this opened issue but it's more like an improvement rather than a fix for something.

Alexelnet avatar Feb 20 '24 09:02 Alexelnet

That would be very much appreciated :)

SaschaWillems avatar Feb 20 '24 15:02 SaschaWillems