3dreamengine/3DreamEngine

Shader issues on Intel UHD Graphics 620

leso-kn opened this issue · 2 comments

Hi,

I've recently discovered this project and first of all, amazing work!

Now, unfortunately on my main machine, which is an Intel NUC Kit 7i7, there seems to be a major shader issue.

To describe the problem in more detail: it seems like the color space is completely shifted or like the buffers are mixed up or something simliar. I have attached screenshots of the tavern, alpha blend and fps game examples.

I'm running

  • Ubuntu 20.10 64bit
  • love-11.3
  • Intel UHD Graphics 620
  • 16 GB of RAM
  • libegl-mesa0 version 20.2.6

Things I've tried so far

On the tavern demo, I was as well experiencing the black screen issue with smooth lighting turned on as described in #33, without that it looks like in the screenshot.

I have also tried most fixes mentioned in #33. What actually surpises me, is that @Luke100000 uses precisely this GPU to validate shaders. So something must be very fishy with my environment.

I wonder if this is a known issue, didn't find anything similar among the Github issues.
Also, please let me know if you need more specifications on my environment.

Screenshots
alpha blend 2021-02-23 21-30-44tavern 2021-02-23 21-32-00fps game 2021-02-23 21-32-53

Thanks for the detailed issue. That looks like modern art!

I was able to reconstruct the environment using a live version of ubuntu 20.04 on my UHD 620 system. While the result is slightly different it probably is the same error.

After some try and error I found the error, and I am a little bit ashamed. vec3 col; does NOT initialize with 0 on all systems...

Thanks again, I will double check for similar errors and then fix it on both master and beta branch.

Cool, yes, I can confirm it's working now, thanks!