Advertisement

DirectX 12 : Weird error on Compute shader execution...

Started by March 11, 2020 02:13 PM
5 comments, last by NikiTo 4 years, 10 months ago

I just implementaed a compute shader to render a 3d texture volume using directx 12 … and i am getting this weird error… cant seem to figure the error type and all… googling not help full….

this occur when i try to execute cumpute shader command list multiple times….

doing it just once throws no error…

sg:[Deleting report. Path: \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Update;ScanForUp_139b27ad635c272c621ec895dab6335ee07bb510_00000000_623e1eb5-33bc-44d8-b9f8-eca121e56e2f] [CReportStore::Prune]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(1321)\wer.dll!00007FFA763A104D: (caller: 00007FFA763A001E) LogHr(354) tid(3a30) 80004001 Not implemented
    Msg:[Report key is: '\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Update;ScanForUp_139b27ad635c272c621ec895dab6335ee07bb510_00000000_623e1eb5-33bc-44d8-b9f8-eca121e56e2f', subpath is 'NonCritical_Update;ScanForUp_139b27ad635c272c621ec895dab6335ee07bb510_00000000_623e1eb5-33bc-44d8-b9f8-eca121e56e2f'] [CReportStore::StoreKeyToStorePathSafe]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(1279)\wer.dll!00007FFA763A02C0: (caller: 00007FFA7637C633) ReturnHr(118) tid(3a30) 80070005 Access is denied.
    [CReportStore::DeleteReportFromStore]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(820)\wer.dll!00007FFA7637C657: (caller: 00007FFA763469FD) LogHr(355) tid(3a30) 80070005 Access is denied.
    [CReportStore::Prune]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(763)\wer.dll!00007FFA7637C4A3: (caller: 00007FFA763469FD) LogHr(356) tid(3a30) 80004001 Not implemented
    Msg:[Deleting report. Path: \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\Critical_10.0.18362.471_d91665c888c978903c21d21d9cb8ba873eb3dbf0_00000000_870ef54c-2d20-465c-827f-d085ff9b98f7] [CReportStore::Prune]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(1321)\wer.dll!00007FFA763A104D: (caller: 00007FFA763A001E) LogHr(357) tid(3a30) 80004001 Not implemented
    Msg:[Report key is: '\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\Critical_10.0.18362.471_d91665c888c978903c21d21d9cb8ba873eb3dbf0_00000000_870ef54c-2d20-465c-827f-d085ff9b98f7', subpath is 'Critical_10.0.18362.471_d91665c888c978903c21d21d9cb8ba873eb3dbf0_00000000_870ef54c-2d20-465c-827f-d085ff9b98f7'] [CReportStore::StoreKeyToStorePathSafe]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(1279)\wer.dll!00007FFA763A02C0: (caller: 00007FFA7637C633) ReturnHr(119) tid(3a30) 80070005 Access is denied.
    [CReportStore::DeleteReportFromStore]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(820)\wer.dll!00007FFA7637C657: (caller: 00007FFA763469FD) LogHr(358) tid(3a30) 80070005 Access is denied.
    [CReportStore::Prune]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(763)\wer.dll!00007FFA7637C4A3: (caller: 00007FFA763469FD) LogHr(359) tid(3a30) 80004001 Not implemented
    Msg:[Deleting report. Path: \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Update;ScanForUp_e48cdb6f177a63f27437338f4fbb5c711930d4_00000000_16cb67d3-408d-46f3-a28d-5f20bdcdb34f] [CReportStore::Prune]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(1321)\wer.dll!00007FFA763A104D: (caller: 00007FFA763A001E) LogHr(360) tid(3a30) 80004001 Not implemented
    Msg:[Report key is: '\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Update;ScanForUp_e48cdb6f177a63f27437338f4fbb5c711930d4_00000000_16cb67d3-408d-46f3-a28d-5f20bdcdb34f', subpath is 'NonCritical_Update;ScanForUp_e48cdb6f177a63f27437338f4fbb5c711930d4_00000000_16cb67d3-408d-46f3-a28d-5f20bdcdb34f'] [CReportStore::StoreKeyToStorePathSafe]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(1279)\wer.dll!00007FFA763A02C0: (caller: 00007FFA7637C633) ReturnHr(120) tid(3a30) 80070005 Access is denied.
    [CReportStore::DeleteReportFromStore]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(820)\wer.dll!00007FFA7637C657: (caller: 00007FFA763469FD) LogHr(361) tid(3a30) 80070005 Access is denied.
    [CReportStore::Prune]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(763)\wer.dll!00007FFA7637C4A3: (caller: 00007FFA763469FD) LogHr(362) tid(3a30) 80004001 Not implemented
    Msg:[Deleting report. Path: \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Update;ScanForUp_9493ea41fc24f5719522e854593fa7131a27ed5_00000000_b64b56bb-23a0-459c-a738-541b650aea87] [CReportStore::Prune]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(1321)\wer.dll!00007FFA763A104D: (caller: 00007FFA763A001E) LogHr(363) tid(3a30) 80004001 Not implemented
    Msg:[Report key is: '\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Update;ScanForUp_9493ea41fc24f5719522e854593fa7131a27ed5_00000000_b64b56bb-23a0-459c-a738-541b650aea87', subpath is 'NonCritical_Update;ScanForUp_9493ea41fc24f5719522e854593fa7131a27ed5_00000000_b64b56bb-23a0-459c-a738-541b650aea87'] [CReportStore::StoreKeyToStorePathSafe]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(1279)\wer.dll!00007FFA763A02C0: (caller: 00007FFA7637C633) ReturnHr(121) tid(3a30) 80070005 Access is denied.
    [CReportStore::DeleteReportFromStore]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(820)\wer.dll!00007FFA7637C657: (caller: 00007FFA763469FD) LogHr(364) tid(3a30) 80070005 Access is denied.
    [CReportStore::Prune]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(763)\wer.dll!00007FFA7637C4A3: (caller: 00007FFA763469FD) LogHr(365) tid(3a30) 80004001 Not implemented
    Msg:[Deleting report. Path: \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Update;ScanForUp_e48cdb6f177a63f27437338f4fbb5c711930d4_00000000_8c87836e-a59a-4683-a312-6076de8178c7] [CReportStore::Prune]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(1321)\wer.dll!00007FFA763A104D: (caller: 00007FFA763A001E) LogHr(366) tid(3a30) 80004001 Not implemented
    Msg:[Report key is: '\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Update;ScanForUp_e48cdb6f177a63f27437338f4fbb5c711930d4_00000000_8c87836e-a59a-4683-a312-6076de8178c7', subpath is 'NonCritical_Update;ScanForUp_e48cdb6f177a63f27437338f4fbb5c711930d4_00000000_8c87836e-a59a-4683-a312-6076de8178c7'] [CReportStore::StoreKeyToStorePathSafe]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(1279)\wer.dll!00007FFA763A02C0: (caller: 00007FFA7637C633) ReturnHr(122) tid(3a30) 80070005 Access is denied.
    [CReportStore::DeleteReportFromStore]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(820)\wer.dll!00007FFA7637C657: (caller: 00007FFA763469FD) LogHr(367) tid(3a30) 80070005 Access is denied.
    [CReportStore::Prune]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(763)\wer.dll!00007FFA7637C4A3: (caller: 00007FFA763469FD) LogHr(368) tid(3a30) 80004001 Not implemented
    Msg:[Deleting report. Path: \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Update;ScanForUp_9493ea41fc24f5719522e854593fa7131a27ed5_00000000_317f45f2-8af1-4e1f-bc9b-01c3baeb5212] [CReportStore::Prune]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(1321)\wer.dll!00007FFA763A104D: (caller: 00007FFA763A001E) LogHr(369) tid(3a30) 80004001 Not implemented
    Msg:[Report key is: '\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\NonCritical_Update;ScanForUp_9493ea41fc24f5719522e854593fa7131a27ed5_00000000_317f45f2-8af1-4e1f-bc9b-01c3baeb5212', subpath is 'NonCritical_Update;ScanForUp_9493ea41fc24f5719522e854593fa7131a27ed5_00000000_317f45f2-8af1-4e1f-bc9b-01c3baeb5212'] [CReportStore::StoreKeyToStorePathSafe]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(1279)\wer.dll!00007FFA763A02C0: (caller: 00007FFA7637C633) ReturnHr(123) tid(3a30) 80070005 Access is denied.
    [CReportStore::DeleteReportFromStore]
onecore\windows\feedback\core\werdll\lib\reportstore.cpp(820)\wer.dll!00007FFA7637C657: (caller: 00007FFA763469FD) LogHr(370) tid(3a30) 80070005 Access is denied.

Are you executing on the integrated GPU?

Advertisement

NikiTo said:

Are you executing on the integrated GPU?

yes sir… intel graphics 630

I googled about your error, and did find nothing useful.

Textures3D are easily getting too big. Make sure you are not writing out of the resource. On integrated GPUs, writing out of the resource by the GPU is like a regular app memory overflow. Because the integrated GPU uses the System RAM.

I can suggest you to search your code for going out of bounds. For writing out of the resource. You could have some counter that accumulates between dispatches and causes out of bounds write. Or maybe the addressing is bad, and the cloud(or fog or whatever) in your Texture3D grows in the first dispatch, and in the second it reads it, adds up to it and goes out of bounds.

You could start the testings by outcommenting in your shader the lines that write to the 3Texture3D, and running it again the way it gives you errors.

If you dispatch() 500 times with a loop inside the same command list, the System complains too. In order to check for that, call the shader once, then twice, then three times, not directly 100 times in a loop.

Hope this helps!

the issue is there a += statement in the shader , if i comment that compute shader runs fine, however there is no expected output. so it must be some thing to do with += statement in the shader.

is the race condition of compute threads will affect the local variable inside the function, which however declared before a loop.???

NikiTo said:
You could have some counter that accumulates between dispatches and causes out of bounds write.

It is really hard to tell. It could be anything.
You could post your shader here, but reading even my own code gives me headaches. You can post it here, and hopefully somebody will read it and debug it for you. But you should try it yourself again and again.

When i am really stuck, i debug things by hand. This is the sad life of a coder.

This topic is closed to new replies.

Advertisement