Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache Texture to HDD Crash #1290

Closed
shinra358 opened this issue Dec 5, 2016 · 17 comments
Closed

Cache Texture to HDD Crash #1290

shinra358 opened this issue Dec 5, 2016 · 17 comments

Comments

@shinra358
Copy link

P570WM
I7-4960x
980M
32gb 1600hz ram

https://www.youtube.com/watch?v=YUJbZbHRRGQ&t=34s

When a texture pack is loaded initially, and cache textures to HDD is on, and you end the emulation, the textures will start to cache to the hdd, but when it gets near the end, the emulator will crash @8:45.

@2:21: Reloading the emu and game and then quitting emulation will make the cache textures to disk words show, but they wont be moving. But if you click around the emulator, pieces of the emu will reveal itself from underneath the black screen. During this time, there will be no close or minimize buttons on the emu.

@gonetz
Copy link
Owner

gonetz commented Dec 6, 2016

When a texture pack is loaded initially ... the emulator will crash

Do you have that problem with any texture pack? I just tried to load few packs I have, no issues with load and saving to disk.

@shinra358
Copy link
Author

shinra358 commented Dec 6, 2016 via email

@gonetz
Copy link
Owner

gonetz commented Dec 6, 2016

the zelda pack?! I know at least 3 Zelda packs. Which one is "the pack"?

@shinra358
Copy link
Author

shinra358 commented Dec 6, 2016 via email

@gonetz
Copy link
Owner

gonetz commented Dec 7, 2016

Could you upload your pack somewhere? I tested community pack few months ago, and met no problems.

@shinra358
Copy link
Author

shinra358 commented Dec 7, 2016

When your pack loads and games starts, did you press f12? If not do that.
Uploading pack now.

Forgot I had a majora's mask pack by bluedart and it does the same thing. I really don't think it's a texture pack prob but we'll see.

https://mega.nz/#!ywU2EL7Y!M3WExfSIfddFy4KEDJoY8-gw_tvj-SjfHgV_856affM

@gonetz
Copy link
Owner

gonetz commented Dec 7, 2016

I can't load that 700mb from Mega: it says limit is exceeded.

@gonetz
Copy link
Owner

gonetz commented Dec 7, 2016

I found in my archives 730mb file THE LEGEND OF ZELDA V7.7z I guess it is some version of community pack. It failed to load with error: failed to allocate memory. The pack needs more than 1GB of memory. As I remember, 32bit windows application can't get more than 2GB from OS. The packs just don't feet the memory. If you really need to use it, you need 64 bit version of emulator and plugin. 64 bit version of GLideN64 is currently available only for Linux.

@shinra358
Copy link
Author

shinra358 commented Dec 7, 2016 via email

@gonetz
Copy link
Owner

gonetz commented Dec 7, 2016

I was lucky to load the pack once, and it plugin really crashed at the end of saving process.
It hardly will be fixed soon.
BTW, there are other packs for Zelda, they work without issues.

@shinra358
Copy link
Author

shinra358 commented Dec 7, 2016 via email

@LuismaSP89
Copy link

I have the same pack as you "Original v7.7 of the community" and works ok, it doesn´t crash. (Using too the 4gb patch, of course)

Tested too with the pack you provide ---> Works ok.

The only problem is that GlideN64 can´t load textures with transparency and fails in certain textures (Images attached)

gliden64_the_legend_of_zelda_000
gliden64_the_legend_of_zelda_001
gliden64_the_legend_of_zelda_003
gliden64_the_legend_of_zelda_004
gliden64_the_legend_of_zelda_005

Btw, can you provide your glideN64 settings to see where´s the problem?

@LuismaSP89
Copy link

LuismaSP89 commented Dec 15, 2016

Oops, sorry, i see now your video attached.

Try this:

vram usage limit: 999
enhanced texture cache size: 999

Else... can be the reshade?

Edit: Try disabling "Copy auxiliary color buffers to n64 memory" i think that is the problem.

@ghost
Copy link

ghost commented Apr 29, 2017

I'm having the same issue but with another game with other settings and different parts.
(Specs:
GA-Z97X-Gaming 7
Geforce GTX 960
Intel Core i5-4690K
16 GB DDR3 RAM)

I basically am trying to load Star Fox 64 with a custom texture pack combination of razius's Star Fox 64 HD Texture Pack and Lylat Reloaded

Here's a download if needed:
http://www.mediafire.com/file/g54bnz72bb66jlb/STARFOX64.zip

Also, here's some screenshots of my configurations:
http://imgur.com/a/Ng5mc

Can somebody help me?

@ghost
Copy link

ghost commented Apr 29, 2017

On further inspection, these settings cause all other games not to work.

I changed the Enhanced Texture Size down to 511MB, the other games loaded but the error persists in StarFox 64. Then, while the size was lowered, I turned off Copy auxiliary control buffers to N64 memory and the other games still worked but the bug for StarFox lasted longer before giving up with the error.

I then reset it all back to normal and set the Enhanced Texture Cache Size to 0 and disabled the texture cache and all the games crashed... I am now starting to think that this problem is in the Enhanced Texture Size/the Texture Cache.

I then tried disabling Anti-aliasing and Anisotropic filtering but it crashed on both with the same result.

So I turned them back on and tried disabling "Read color buffer in 4kb chunks". They all crashed.

I set it back once again and in a last ditch effort. I disabled the frame buffer... all the games didn't work.

I tried everything I could think of, and now I am lead to believe that this problem is in the Enhanced Texture Size/the Texture Cache. This may need a patch. (No rhyme intended)

Edit: I tried my first attempt in order to play a game later on and now the other games started to crash with the same error.

Another Edit: A reset of the emulator somehow fixed this problem for the other games.

@gonetz
Copy link
Owner

gonetz commented Nov 7, 2017

Please check texture packs load/save with latest master build:
#1574

@LuismaSP89
Copy link

@gonetz Solved, and it seems (at least it appears to me) that the textures loading time is decreased : )

@gonetz gonetz closed this as completed Sep 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants