ikemen-engine / Ikemen-GO

An open-source fighting game engine that supports MUGEN resources.
https://ikemen-engine.github.io
Other
700 stars 124 forks source link

Black screen on 3D stage for some PC computer. #1959

Open OldGamers opened 3 weeks ago

OldGamers commented 3 weeks ago

Describe the bug

Me and My friend were testing the 3d stages on the Ikemen go 8-19-2024 on my end of the Gaming PC its show the 3d Stages with the characters.

ikemen003

but when My friend try to use the ikemen go 99.0 he getting a black screen. he already updated is graphic driver from AMD Radeon HD 7700 serise and he updated the NET. to 4.8.1 and he has the latest Microsoft visual c++ 2015-2022. and he getting this black screen ikemen003

does anyone know a perfect solution to get to work ?

To Reproduce

the stage 3d wont show at all

Expected behavior

3D stage wont show on Ikemen go 99.0 8-19-2024

Screenshots / Video

wont show the 3d stage ikemen003

Engine Version (or source code date)

v0.99.0

Operating system

Windows

Extra context or search terms

wont show the 3d stage at all

SuperFromND commented 3 weeks ago

0.99? 3D stages are only currently supported in nightly builds, unless I'm misinterpreting this issue.

K4thos commented 3 weeks ago

Re-opening as the problem may be affecting setups that meet the minimum requirements to display 3D stages. A reply from @Eiton:

The problem is likely to be related to the implementation of morph target animation where it used too many vertex attributes. https://github.com/Eiton/Ikemen-GO/tree/3d-stage I've changed the implementation in the lighting branch, try this branch if you know how to compile

jenngra505 commented 2 weeks ago

As someone who is facing the black screen error with 3D stages I decided to test Eiton's branch out and got this error message when trying to boot. Edit: I had an outdated GO dependency, will update later. image

K4thos commented 2 weeks ago

@Eiton up

jenngra505 commented 2 weeks ago

Updated my GO package and got this error upon compiling. Maybe I updated it too much as it asked for 1.20 and I installed 1.23? image

Eiton commented 2 weeks ago

As someone who is facing the black screen error with 3D stages I decided to test Eiton's branch out and got this error message when trying to boot. Edit: I had an outdated GO dependency, will update later. image

This is shader compilation error and it has nothing to do with go version Maybe Nvidia driver is too lenient that it compiles on my end. Try remove "highp" in src/shaders/shadow.vert.glsl and src/shaders/model.vert.glsl

jenngra505 commented 5 days ago

Apologies for the late response but removing highp did not fix the issue. This makes me assume the Sampler2D code is incompatible with AMD drivers. Which makes sense when you consider Windows has bad OpenGL AMD drivers.

Eiton commented 5 days ago

Is it the same error message? Too bad that I don't have a machine that can reproduce the problem.

thoj900 commented 4 days ago

lighting branch also has issue for me with an AMD card, if you compile with AMD card, it errors out on AMD and nvidia gpu. BUT, if I compile on my nvidia computer first, the compiled exe works fine on my nvidia computer, but still fails on AMD.

compile with amd, launch exe on amd image

compile with amd, launch exe on nvidia image