Bug:
When RTX is enabled, the screen turns black except for particles:
[media]Same place but with RTX OFF:
[media]How to Reproduce:
Create a world with a third-party RTX Resources pack or import a world from the Marketplace such as Neon District or maps approved by Mojang and NVIDIA.
RTX will be working but every block of the game will be reflective because the resources supplied by the resources pack are not read by the RTX renderer. This happens because it is the first time you launch the game (first launch after an update / a fresh installation).
Disable RTX and re-enable RTX, Now the world will turn black except for all the particles.
Now the world will turn black except for all the particles.
What I tried to solve it:
I tried to re-install the game.
I checked if my NVIDIA driver was up to date (Watch Dogs Legion Optimised Driver)
[media]
My configuration:
RTX 2060 (6GB VRAM)
Ryzen 5 2600 (6Cores / 12 Threads)
2x8 GB of RAM DDR4 3000MHz CL 15
System: Windows 10 Professional Version 2004 (19041.572)
[media]Related issues
is duplicated by
Attachments
Comments


Exactly same problem here !

Same exact problem

I have done a bit of testing and I think the cause of this problem is EVGA Percision X1 if any of ya'll have it just uninstall it and use msi afterburner or smthn.
Edit: I was wrong.
I had task manager open while I was trying to actually play the game and the second it hits 100% CPU this happens so the cause might be overstressing the CPU
The game might be doing this to avoid crashes

Through a bit of research we were able to find the exact cause of this; The Rendering Engine switches to DX11 after minimizing and reopening the game, which breaks DXR. There is a bug report describing this exact issue here: MCPE-118775.

Affects release 1.16.210

Affects beta 1.16.220.52

Same...

What I did
Go into world
Enable raytracing
Minimize Minecraft
Open windows settings
Enable game bar
Re-open Minecraft
After doing this, the lighting was gone. Everything was black except the luminescent text on signs. Disabling raytracing had everything back to normal.
I am using the Kelly's RTX resource pack for raytracing. It is not on the world resource packs, it is on my resource packs.
Upscaling is disabled, but now even with RTX on I can't turn upscaling on.
After leaving with RTX off, disabling Xbox game bar and Kelly’s RTX and going back in, I left, and when I went back in I re enabled Kelly’s RTX and then everything was normal again and I could turn on RTX and upscaling

In my case minimizing program causes this in 100% chance.

Exact same problem as the footage shown. Only happens when alt tabbing the game AND only if game loses focus and get minimized, maximizing the game will crash ray tracing and black all around as shown. (using ";" to turn ray tracing off of course fixed the problem but not really a solution)
Needs to restart game to get it working again!
Also need to fix another issue when game minimized on multiplayer lobby everyone will get kicked out except the host due to the game not being focused. extremely annoying as every time I need to alt tab I need to make the game window mode and be careful not to minimize or everyone get kicked.
*Quick note*: even though minimizing the game would kick people out, a while back ray tracing would of not crashed. Not sure if a new update caused it or something else like new GPU driver.

I confirm this issue.

This issue has been fixed in beta 1.16.230.50.

In my case of everything going black, when I turned rtx on and off too many times at once, it broke.


I was able to find a temporary fix for this (although it would likely have some side effects with applications requiring dx11). For me this issue only started to occur after I installed MSI afterburner which also installed Riva Turner for displaying FPS, temps, etc. The Riva Turner installation also installed dx11 as a pre-req. I went into my system32 and SysWOW64 folders and moved the d3dx11_42.dll and d3dx11_43.dll files to a temporary folder. After removing those files I've had no issues with running RTX texture packs and alt+tabing. I'm running version 1.16.221.

Can confirm Kane's temporary fix. Moving the DX11 DLL files he mentioned into a temporary file allowed the game to render RTX properly and not be a blackscreen.
This issue occurred for me after I updated my GPU drivers to 466.27
System specs:
RTX 2070 Super
Ryzen 5 3600
16 GB 3200MHz CL16

Issue seems to be persisting in the v1.17.0 update.

This issue occurs for me almost instantly when I enter a world.
Edit: setting "gfx_vsync" from 1 to 0 causes this issue to appear less frequently

I've had the exact same problem, it seems like my computer is a lot different from others so I wonder about how to fix it.
Here's what I did:
1. Un-Overclock and reduce GPU voltage
2. Restart computer (first time)
3. Try turning on and off random settings in NVIDIA Control Panel.
4. Turn on Free-Sync and turned it off after realizing it doesn't help.
5. Restart computer
6. Redone step 1 but this time closed Minecraft and reboot it for multiple times.
7. Installed patch for NVIDIA settings.
8. Restart computer and open up Minecraft.
After doing all that, it never worked. I'm concerned if my PC, Display Card and Monitor is compatible as I am not using an RTX graphic card.
Here is my PC Specs (that I know)
Intel Core i5-10400 Processor (6 Cores/12 Threads)
NVIDIA GTX 1660 Super 6GB VRAM (I think..)
Double 8GB RAM DDR4
Samsung LC24RG50 Odyssey Gaming Monitor (144Hz)
I tried my best to get this work but all solutions seems like it doesn't work or even exist in my PC.

I followed @kane's steps but simplified:
Navigate to C:\Windows\SysWOW64
Right click on d3dx11_42.dll and d3dx11_43.dll
Send to zip folder
once they are backed up delete them in the SysWOW64 folder.
RTX works again.

Tried to follow the steps outlined by @kane and @Eric. Still did not work for me. Interestingly enough, after the bug happened I tried to download a new rtx world from the marketplace (as I had tried that before and it mysteriously temporarily fixed the issue). I got the message that my computer does not meet the system requirements and that I'd need a GeForce RTX 2060 (Or better) and Intel Core i5 or equivalent CPU. (Guess this is being tracked in MCPE-140674) The actual cards I have are the following:
AMD Ryzen 7 3700x CPU
Radeon RX6600 XT GPU
My graphics drivers are up to date. Minecraft version is 1.18.2
Edit: I've found "Updating" the resource packs folder by moving in/out files seems to temporarily fix the issue. The bug still occurs but much less frequently for me.

if your in dx12 rendering, doesn't matter if your using ray tracing or not, but if your in windowed mode (idk about full screen i don't play in it) if you switch screens, i.e to discord e.c.t.. or minimize the game, there is a slight chance your screen will black out and switch you to dx11 it happens randomly
here is error report from windows 10.
Description
A problem with your hardware caused Windows to stop working correctly.
Problem signature
Problem Event Name: LiveKernelEvent
Code: 117
Parameter 1: ffffa6885bd81460
Parameter 2: fffff8058bbdcd60
Parameter 3: 0
Parameter 4: 570
OS version: 10_0_19044
Service Pack: 0_0
Product: 768_1
OS Version: 10.0.19044.2.0.0.768.101
Locale ID: 2057
Extra information about the problem
Bucket ID: LKD_0x117_Tdr:3_TdrBug:575504_IMAGE_nvlddmkm.sys_Turing
Server information: 7e0bdb8d-599a-4479-9d12-127098ab25a5

I can confirm the LiveKernelEvent problem affects myself as well, and after a long discussion with Nvidia support I discovered that by turning Vsync off for Minecraft in the Nvidia control panel the crash would no longer occur. As weedelbhoy1 has stated, it is a random occurrence, usually happening after leaving a ray tracing world and waiting in the menu for a while.

Id like to add MadLad that i have Vsync turned off from the options.txt and i use msi afterburner overlay and rivertuner to limit the fps from unlimited to 240fps. Issue persists.

When the game causes this display crash, the specific errror caused is as follows:
Display driver nvlddmkm stopped responding and has successfully recovered.
Occasionally the driver does not successfully recover.

Through looking around in some of the public GeForce forums I've found that giving the nvlddmkm file in the windows folder full permissions under admins and users seemed to have stopped the issue from occurring again. According to the thread, the display driver crash was a product of windows detecting a GPU freeze and attempting to reset display output in order to regain responsiveness.

I find restarting the computer helps.

Still affects version 1.21.44.