melonDS-emu / melonDS

DS emulator, sorta
https://melonds.kuribo64.net
GNU General Public License v3.0
3.14k stars 514 forks source link

Pokemon Black Version 2 - Texture and GPU Usage Issues #989

Open mikhaelcool7 opened 3 years ago

mikhaelcool7 commented 3 years ago

Screenshot (1) Screenshot (2) Screenshot (3) Screenshot (4) Screenshot (5)

CPU: Intel i7-7700HQ (27.20.100.9168) GPU: GTX1060 (Notebook Series) (461.40 Game Ready) VRAM: 6GB RAM: 16GB

Description: The GPU usage goes from 11% to 100% every second or two. Using OpenGL results into missing textures, displayed incorrectly or flicker. Everything seems to work fine with the Software renderer. These issues do not happen with DeSmuMe X432R or above.

RSDuck commented 3 years ago

the flickering issue is probably https://github.com/Arisotura/melonDS/issues/845 which was already solved

mikhaelcool7 commented 3 years ago

the flickering issue is probably #845 which was already solved

May I please get the build without using MSYS2 ?

RSDuck commented 3 years ago

you can get builds from latest source https://github.com/Arisotura/melonDS/runs/1829836173 grafik

mikhaelcool7 commented 3 years ago

you can get builds from latest source https://github.com/Arisotura/melonDS/runs/1829836173 grafik

https://user-images.githubusercontent.com/5103276/107078942-68524980-67ef-11eb-988f-dfc7204816ad.mp4

Description: Unfortunately it has gotten worse on my end with a black flickering screen being an issue now.

Screenshot (6) Screenshot (7)

Description: Parts of the textures returned but not all. The book on the shelf is still missing its texture and the entrance in the video has Z-fighting issues. Flickering still occurs too.

https://user-images.githubusercontent.com/5103276/107080428-8caf2580-67f1-11eb-89fa-553e4db4b391.mp4

EDIT: GPU usage spiking issue still persists too.

Screenshot (8)

Description: Having Fast Memory enabled prevents any ROM from booting.

Brankale commented 3 years ago

I confirm that enabling "Fast Memory" result in a crash. The commit which introduced the error seems to be 1112162e994638f2c0085accc6bba77d52cc27f9 but honestly I don't why since it's just an update to the README.

I can't reproduce GPU usage spikes and flickering issues.

The missing texture on the book was present also in older versions and it's an OpenGL related issue.

RSDuck commented 3 years ago

Ok, since the issue with the book seems to be already around in 0.9 so it's not related to the few other regressions we had. The rest could be related to the weird multithreaded OpenGL usage we have.

I confirm that enabling "Fast Memory" result in a crash. The commit which introduced the error seems to be 1112162 but honestly I don't why since it's just an update to the README.

what kind of crash? There was no crash mentioned in this issue before.

Brankale commented 3 years ago

The crash is mentioned at the end of the last comment by @mikhaelcool7

If you enable “fast memory” in JIT, no game can be booted. The emulator freeze on start and then it crash.

As i said, the commit that introduced the bug is an update to the README, so it’s very strange.

RSDuck commented 3 years ago

The crash is mentioned at the end of the last comment by @mikhaelcool7

If you enable “fast memory” in JIT, no game can be booted. The emulator freeze on start and then it crash.

As i said, the commit that introduced the bug is an update to the README, so it’s very strange.

ah I didn't see that among all the images. Though I'm unable to reproduce the issue, neither with a build I made myself nor with the build from the CI.

Brankale commented 3 years ago

Deleting melonDS.ini the emulator no longer crashes but there are other side effects:

With this 2502c8d212a9adb1910fb0ccd4ad72acb0231b39 always works as intended