nifskope icon indicating copy to clipboard operation
nifskope copied to clipboard

Render is black screen unless I am actively resizing it

Open hasphatantobolis opened this issue 1 year ago • 7 comments

Cannot see the nif. The render is just a black screen unless I am resizing it. Then while changing the size of the render, I can see the nif, and as soon as I stop changing the size the renderer turns black again. I have reinstalled nifskope, and the VC redistributables and nothing is fixing this issue. There is no setting that will fix it, and nothing that will make the black screen go away. Please advise

hasphatantobolis avatar Sep 23 '24 16:09 hasphatantobolis

Whatever is causing this also seems to be affecting Outfit Studio, but not Blender. I assume it is a VC error, but have reinstalled the all in one and made sure everything is up to date and still no resolution

hasphatantobolis avatar Sep 25 '24 15:09 hasphatantobolis

This seems most likely to be an OpenGL driver issue, although it is hard to tell without knowing more (what version of NifSkope, system specs, etc.). Try using different render settings, like lower or no anti-aliasing, or disable shaders. Note that some of these settings only take effect after restarting NifSkope.

fo76utils avatar Sep 30 '24 12:09 fo76utils

Oh, i just post an issue about that, i got the same pb, Same for outfit studio and the preview in body slide, but meshes are fine loaded on CK. Capture d'écran 2024-10-12 025814

glea94 avatar Oct 11 '24 18:10 glea94

This seems most likely to be an OpenGL driver issue, although it is hard to tell without knowing more (what version of NifSkope, system specs, etc.). Try using different render settings, like lower or no anti-aliasing, or disable shaders. Note that some of these settings only take effect after restarting NifSkope.

Pb is that it affect also outfit studio and body slide windows preview. There is no setting for rendering to any shader in.

glea94 avatar Oct 11 '24 18:10 glea94

Does this version also have the same issue?

fo76utils avatar Oct 11 '24 20:10 fo76utils

Any version but i found the solution on reddit, someone got the same issue. Im on AMD, idk if other on nvida got this issue, but have to DDU the gpu to uninstall all drivers gpu, restarting the pc then do a fresh gpu driver installation and everything come back to normal.👍🏻 So this is not really a nifskope issue but maybe openGL but nifskope was a victim of.

glea94 avatar Oct 12 '24 06:10 glea94

image So it work.

glea94 avatar Oct 12 '24 07:10 glea94

You don't have to reinstall anything. If Blender is working fine, then it means the OpenGL driver is good. I had this problem as well. The fix is easy. Go to your GPU panel and force the programs to use the dedicated GPU. Both BodySlide and NifSkope may default to your integrated GPU. Go to NVIDIA/AMD Control Panel → set both .exe files to use High-performance GPU. And that's it, the black screen issue is gone.

Blender also uses OpenGL, just like BodySlide and NifSkope—but it’s much more modern and robust. So the OpenGL driver itself is working, but these two tools might be struggling because: They rely on older versions or outdated extensions of OpenGL. They don’t handle integrated graphics or GPU switching very well. They might not play nice with newer drivers or Windows updates.

aoullaper-zahouwi avatar Jun 29 '25 16:06 aoullaper-zahouwi

I only use core profile OpenGL 4 (forward compatible context), there should not be any outdated extensions.

NifSkope also does not include any code to switch GPU, it uses whatever the default device is, and creating the OpenGL context is handled by Qt. So, the issue is either with the GPU driver or its settings (likely), or with Qt, although it may be possible to implement a workaround to it. Until then, I will add this problem and the suggested solution to the TROUBLESHOOTING.md file.

fo76utils avatar Jul 01 '25 14:07 fo76utils