Comments (6)
There's no way I can see for just having a driver installed to cause a crash because of a RenderDoc bug. RenderDoc by default selects the closest matching physical device by hardware and driver, overriding it is not recommended but in either event the presence of other drivers won't cause a problem there either. Unless you can specifically find evidence of a RenderDoc bug I don't think it seems possible.
I see the mesa issue has been closed so I will close this one as well.
from renderdoc.
I don't think a non-struct payload is intended to work, especially since it is always a struct in HLSL/D3D12 where the feature originated as well as that there is VU requiring only one variable per entry point so a non-struct is a somewhat degenerate case. I'll see about getting clarification. That language you quoted is in the proposal document not VUs, and I expect it's intended just to say that payloads are not required.
It looks like your radv version is very old, 23.2.1, have you tried testing on an up to date driver?
from renderdoc.
Updated my radv version to 24.0.7 (device), but still the very same error: capture_struct_payload capture_uint_payload
kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring comp_1.1.0 timeout, signaled seq=30249, emitted seq=30250
kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process qrenderdoc pid 26623 thread ReplayManager pid 26660
Seems like the comp rings can differ, previously I've only seen comp_1.2.0
but now I'm seeing comp_1.1.0
and comp_1.0.1
, don't know if that's any significant though.
Anyhow, I also completed the table with more testing results on Windows. Notably encountered a RenderDoc crash on AMD with payload structs when selecting the mesh shader draw cmd iirc, see capture and dump in table.
from renderdoc.
The struct capture works fine for me on radv 24.0.7:
I'm running quite a different GPU to you so this might be something GPU-specific, but I don't see any validation warnings on the mesh output fetch and since it works for me I think you would need to report this to mesa. As far as I'm aware RenderDoc's mesh shader support is working OK for other people on mesa so this may be a device-specific bug. The mesa folks will be better placed to diagnose the problem and report back to me if it's a RenderDoc bug after all.
I get a similarly successful result on amdvlk, so it may be something in common between the two.
The windows AMD bug looks like a crash I have previously reported to them, though it may be different so it may be worth reporting to them yourself.
from renderdoc.
Mesa bug report: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11156
When debugging with RADV_DEBUG=hang
it interestingly states it's this pipeline, so most likely not even a RenderDoc bug [...]
from renderdoc.
For further investigation I got myself a clean system and managed to reproduce the bug there as well. However, some special conditions seem to be required for it to trigger. Could you please try to reproduce it again with these new repo instructions?
- Open the RADV capture and observe Renderdoc working as expected
- Install AMDVLK deb package on your system
- Delete
/etc/vulkan/implicit_layer.d/amd_icd64.json
to remove theVK_LAYER_AMD_switchable_graphics_64
implicit layer, which forces you to always use the amdvlk driver - verify that
vulkanCapsViewer
can see both drivers, RADV withAMD Radeon Graphics (RADV REMBRANDT)
and amdvlk withAMD Radeon Graphics
(what a stupid naming) - Open the same RADV capture again, but this time observe Renderdoc freezing, likely followed by a GPU reset or system freeze
My current conclusion is that an amdvlk device being available, even though it is unused, is enough to cause the Renderdoc to freeze. I wanted to run that issue by you, in case it's something to do with RenderDoc's device selection, before going back to asking the RADV team.
Here's a log of "Open Capture with Options" with the RADV device explicitly selected and API validation turned on:
RenderDoc_2024.05.16_16.07.32.log
from renderdoc.
Related Issues (20)
- Frame Replay Error on [smartisan os 105] with RenderDoc [1.33] HOT 5
- Please consider adding support for VK_KHR_dynamic_rendering_local_read HOT 1
- AccessViolationException when using ICompositorInterop::CreateGraphicsDevice on Windows HOT 2
- DXGI_ERROR_INVALID_CALL in IDXGISwapChain::ResizeBuffers HOT 2
- Allow launching renderdocui with a given working directory HOT 4
- Missing geometry only in Renderdoc 1.33 HOT 2
- Filter Resource Inspector to show only resources used in current frame HOT 2
- Load/Save Settings in the Launch Application Tab to open specific folder HOT 1
- Load/Save Settings in the Launch Application Tab to open specific folder HOT 2
- spirv-cross.exe error when editing shaders
- Fetch GS/VS output HOT 1
- Support for Vulkan Extension: VK_EXT_shader_object HOT 2
- A new method to get gs&ts output HOT 2
- [Vulkan] Image barriers cause some images to become incorrectly trashed HOT 3
- crash if "VK_KHR_get_physical_device_properties2" is not enabled when "Enable API Validation" HOT 1
- crash if "VK_KHR_get_physical_device_properties2" is not enabled when "Enable API Validation" HOT 6
- crash when examining capture HOT 1
- Crash on D3D12 Command Queue Creation while DLL is Loaded HOT 2
- D3D12 Pixel History reports depth test failures for stencil write HOT 1
- Inconsistent playback and capture HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from renderdoc.