• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 … 139 140 141 142 143 … 1204 Next »

Using upscaled textures causes GPU error
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Using upscaled textures causes GPU error
03-01-2020, 04:24 AM
#1
v1993 Offline
Bugger
**
Posts: 45
Threads: 11
Joined: Dec 2019
Photo 
I'm currently working on HD texture pack for TLoZ: FSA. It was going fairly well until Eastern Temple (Level 2-3).

This game generates loads and loads of a tiny bit different recolors of spritesheets for different usages, but now ones for grounds are important. After I add upscaled versions of ground titles used in this level, game eventually hits GPU error (invalid instruction ff) and either instantly or soon hangs (it even resulted in shader cache corruption at one point). Letting shadow link use his hammer always results in such an error, but it might very well happen before that. It seems to have happened once even in (in-game) menu before starting level. Disabling dual core does nothing.

What could cause such a problem? Is fact that adding those textures results in going over 4GB (to 5000+ MB) for custom texture memory relevant? Of course, I could try bisecting textures to find which one(s) is/are causing troubles, but there are lots of them and I have little idea what to do after that.
Find
Reply
03-01-2020, 04:28 AM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 9,028
Threads: 7
Joined: Oct 2014
Does this happen regardless of whether the dual core setting is enabled? Usually when custom textures case issues, it's because they increase the GPU load, which in the case of using dual core can make the game misbehave if you're unlucky.
Find
Reply
03-01-2020, 04:32 AM
#3
v1993 Offline
Bugger
**
Posts: 45
Threads: 11
Joined: Dec 2019
(03-01-2020, 04:24 AM)v1993 Wrote: Disabling dual core does nothing.

Yes, it does not help.
Find
Reply
03-01-2020, 04:41 AM
#4
v1993 Offline
Bugger
**
Posts: 45
Threads: 11
Joined: Dec 2019
(03-01-2020, 04:28 AM)JosJuice Wrote: Does this happen regardless of whether the dual core setting is enabled? Usually when custom textures case issues, it's because they increase the GPU load, which in the case of using dual core can make the game misbehave if you're unlucky.

Yes, disabling dual core does nothing. (Sorry for messing up with reply first time, I'm still new to this forum)
Find
Reply
03-01-2020, 11:04 AM
#5
KatIsntGood Offline
Kat
***
Posts: 81
Threads: 8
Joined: Aug 2018
I'm having the same issue. Any texture pack over like 5GB breaks dolphin if I prefetch them. My SSD is fast enough that I don't need to prefetch, but I'd prefer not to use that
Find
Reply
03-01-2020, 11:51 AM
#6
ExtremeDude2 Offline
Gotta post fast
*******
Posts: 9,347
Threads: 273
Joined: Dec 2010
(03-01-2020, 11:04 AM)KatIsntGood Wrote: I'm having the same issue. Any texture pack over like 5GB breaks dolphin if I prefetch them. My SSD is fast enough that I don't need to prefetch, but I'd prefer not to use that

You likely don't have enough RAM 5GB is alot for only 8GB of RAM
Check out my videos (dead)
[Image: sig-22354.png]
Website Find
Reply
03-01-2020, 08:14 PM (This post was last modified: 03-02-2020, 12:26 AM by v1993. Edit Reason: Add bug link )
#7
v1993 Offline
Bugger
**
Posts: 45
Threads: 11
Joined: Dec 2019
(03-01-2020, 11:51 AM)ExtremeDude2 Wrote: You likely don't have enough RAM 5GB is alot for only 8GB of RAM

Forgot to mention that I'm using prefetch (not using it leads to horrible lags all the time). I have 16GB RAM (+8GB ZRAM) and running Dolphin leaves some memory free, so it shouldn't be an issue.

Looks like this is an actual issue. If I remove some other textures and keep new ones, reducing size, crash doesn't happen.

My stupid guess is that somewhere in Dolphin pointer offset gets stored as 32-bit unsigned, leading to problems with accessing memory beyond some size.

UPD: created bug for this: https://bugs.dolphin-emu.org/issues/11994
Find
Reply
03-01-2020, 11:59 PM
#8
v1993 Offline
Bugger
**
Posts: 45
Threads: 11
Joined: Dec 2019
(03-01-2020, 04:28 AM)JosJuice Wrote: Does this happen regardless of whether the dual core setting is enabled? Usually when custom textures case issues, it's because they increase the GPU load, which in the case of using dual core can make the game misbehave if you're unlucky.

Testing more reveals that this problem happens not because of individual textures but because of big total size combined with "Prefetch Custom Textures" option. If I either remove some textures or disable that option, crashes no longer happen. However, lack of prefetching results in horrible lags even if I store custom textures on ramdisk.
Find
Reply
03-02-2020, 04:15 AM
#9
Miksel12 Offline
Member
***
Posts: 143
Threads: 7
Joined: Jan 2019
Are you using .png or .dds textures?
Find
Reply
03-02-2020, 04:17 AM
#10
v1993 Offline
Bugger
**
Posts: 45
Threads: 11
Joined: Dec 2019
(03-02-2020, 04:15 AM)Miksel12 Wrote: Are you using .png or .dds textures?

.png
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma