RPCS3 / rpcs3

PS3 emulator/debugger
https://rpcs3.net/
GNU General Public License v2.0
15.29k stars 1.9k forks source link

Tales of graces F (BLUS30903), Tales of Xillia 1/2: Auto framelimit and Vblank problem. #3020

Closed Illynir closed 2 years ago

Illynir commented 7 years ago

Hello,

Auto framelimit doesn't works correctly. Normally it's 30 FPS in the overworld and 60 FPS in combat. The game is always at 60 FPS on auto, limit at 30 FPS divide the speed by two on the combat, too slow.

Vblank 30 + Framelimit 60 allows to get the real behavior of the game as it is on a real PS3.

asbel123 commented 7 years ago

i got that same issues can u try tales of vesperia ur did with opengl strict rendering mode see if fix the background.

Illynir commented 7 years ago

Yes, it fix the background, however there are still many graphics error (black character, etc..).

I think than "Strict rendering mode" fix background but it misplaces many light effect and shader as bloom, cell shading and some textures, hence the graphics error.

Visible Black line on Tales of graces F are certainly the black lines around characters for cell shading misplaced for example.

GeniusMage commented 7 years ago

EDIT Obsolete comment, new commit reversed those changes With kd's latest PR, the cel-shading seems to be gone, instead of being out of place. There's also that same transparency issue as in Tales of Vesperia bandicam 2017-07-18 10-56-24-692

There's also a blur issue now bandicam 2017-07-17 17-56-58-726

Illynir commented 7 years ago

Yes, same here.

kd-11 commented 7 years ago

Regression is fixed

Illynir commented 7 years ago

It's fixed, yes. Old issue are come back however. ^^

Zangetsu38 commented 7 years ago

Crash instant in Vulkan, same issue eternal sonata and other, works in amd not in nvidia. and in ogl yes fixed, same bugged before with strange wireframe

asbel123 commented 7 years ago

get the save from gamefaqs now u dont need to do new game start over arts usage and use bruteforce savemanger do decryrtp.

i am up to water cryns no issues the game there lots of slow down battle i am using opengl.

have one annyoing issues save manger keep frezzing alot i have to wait 10 minutes to load up.

asbel123 commented 7 years ago

dlc package works too

Illynir commented 7 years ago

Vulkan crash was resolved with the merge of "Vulkan fix". Still graphics bugs only now, the game is fullspeed on vulkan. Auto framelimit doesn't works correctly Normally it's 30 FPS in game and 60 FPS in combat. The game is always at 60 FPS on auto, limit at 30 FPS divide the speed by two on the combat, too slow.

Changing of title of issue.

Llkur0 commented 7 years ago

Skit is also blurred. http://www.emunewz.net/forum/showthread.php?tid=187713&pid=280497

Katanab commented 6 years ago

So any news in the game ? it freezes in auto, but everything else works ok

In 30 fps lock battles are slow as hell but freezes after longer time ( 10 to 15 minutes)

F {SPU[0x2000002] Thread (SpursTLGraphicsCellSpursKernel2)} class std::runtime_error thrown: Halt (in file Emu\Cell\SPUThread.cpp:1796)

this is the error i get when it freezes

Illynir commented 6 years ago

No, no news alas. :(

Always the same problem.

GeniusMage commented 6 years ago

Ugh, forgot to update here. Blur in skits is gone and black screen with existing shader cache is fixed (since Dec 1st).

CafeStrix commented 6 years ago

Hello! New to RPCS3 here,

Playing BLUS30903 too also experiencing constant freezing/crashing. Exact/identical symptoms @Katanab posted. Strict rendering is required for both OpenGL/Vulcan otherwise major graphical issues such as invisible characters or black screen. Didn't see any skits blurring in any mode just lines/transparency on characters. I've been playing with some of the options but still haven't found a way to prevent/reduce freezing/crashing every 5~20 minutes. I got over 30 minutes to an hour w/o freezing but this is mostly due to less motion/movement or while navigating the title/inventory/equipment/stats menu. I believe standing still afk for hours will not freeze the game.

Auto/60FPS - Runs fast and smooth however it feels like game is on speed hack mode (definitely not normal gameplay) Also, this mode causes some voice/audio to overlap several times over during select cutscenes. Freezes seem to come faster with this mode too.

30FPS - Stable cutscenes with very slight lag/stuttering while running around field. However, battle frames are unacceptably super slow. This mode also renders most if not all SKITS completely out of sync.

i7-8700K GTX 1080Ti 16GB DDR4

Also I was wondering if someone can help me here because I'm not sure what I did but my in game brightness is really dark right now. (There's not even a brightness setting in the game's menu):

2018-01-26 2 Here are my settings: 2018-01-26 3 2018-01-26 4

In any case, at the current state/build it may be possible to play this game til end but freeze/crash is inevitable so make a point to use every save point upon sight to advance.

GeniusMage commented 6 years ago

@CafeStrix There's no brightness problem here, the sky is cloudy, so it's supposed to be darker. The framerate issue can be bypassed by using an external program to limit it to 30 when out of battle/skits, although most programs only work on OGL/DX.

CafeStrix commented 6 years ago

@GeniusMage Thank you! I thought I messed up something. However it sounds a bit complicated to configure a 3rd party program to set custom frame limiters for the battle/skits @.@ I don't think I have the experience/skills to do that :/

GeniusMage commented 6 years ago

@CafeStrix Bandicam has a framelimiter which you can enable/disable with a key. AMD's driver has one too, though I don't remember if you can tie it to a key. Maybe Nvidia has one too ? There's also one in MSI Afterburner.

Illynir commented 6 years ago

For the freezes on the other hand I tried everything and they will arrive randomly whatever happens. Sometimes after 5 minutes, sometimes after two hours. I've noticed that it tends to do less this way if you disable everything related to SPU like the SPU loop detection, and so on.

CafeStrix commented 6 years ago

@CafeStrix Oh I see, I thought it was automatic configuration. Nvidia Control Panel doesn't seem to have the option but I have Afterburner. However a manual toggle like that for every battle/skits sounds like a chore lol. That said, I guess the other way around is to toggle 30FPS exclusively during cutscenes. I could probably try to bind the toggle key on one of the unused DS4 buttons if any.

@Illynir Thank you, I've turned off the SPU option and I believe there is a reduction in freezing. I find it hilarious though that instead of paying attention to the gameplay/story I get nervous of freezing after a couple minutes of progress with no save point in sight (-_-)

Also is anyone able to run this on 1920x1080? It doesn't seem to load :/

Illynir commented 6 years ago

Game is in 720p on PS3 then 1080p didn't works. Upscaling doesn't works also with the strict rendering.

Personally i use one button on touchpad of my DS4 for the framelimiter of Bandicam. Put framelimit on 60 in RPCS3 and FPS limit on 30 in Bandicam and it's good.

And then it has the advantage of being able to explore faster at 60 FPS. :P

CafeStrix commented 6 years ago

@Illynir Oh lol and here I am playing this on a 4k monitor hoping to at least upscale it to 1080 lol.

Thanks, never used Bandicam before but I'll try binding the FPS toggle/key like that ^_^ It is indeed advantageous to be able to explore faster but I can't help but lol at sped up animations of npcs & mobs running around on the field. I just noticed some skits also go slightly out of sync even with Auto/60FPS but much much better than 30.

I just loved this game so much when I played it on the PS3 back then but I really wanted the JAP version with english subs + exclusive DLC costumes. While still not 100% playable, I'm very thankful to RPCS3 and the team of experts that are working on this. I wish only I was skilled/knowledgeable enough to be able to contribute in the development and make more games compatible.

wakka1 commented 6 years ago

Auto fps still doesn't work... very few graphical glitches and those jagged edges can be quite annoying.

dio-gh commented 4 years ago

Bumping this thread for upkeeping reasons. The original post needs adjustments to actually reflect the issue in the title. The problem still persists.

Illynir commented 4 years ago

The title and content have been modified to reflect the current state of the game.

fshy00 commented 4 years ago

Has there been any progress on identifying the actual cause of why Auto isn't able to track when its supposed to change? I'd be interested in knowing why this issue seems unique (as far as I know) to Graces.

Illynir commented 4 years ago

The problem is not unique to Tales of Graces F but also to Tales of Xillia 1 and 2. They have the same engine in common. It doesn't do it on Tales of Vesperia because it was a different version of the engine used.

The problem can be fixed by setting the Vblank option to 30 Hz in the advanced tab.

I guess the game engine is using something unusual to handle its framelimit that RPCS3 doesn't handle for now.

The framelimit of RPCS3 is not complete anyway and would deserve a rewrite.

DJScias commented 4 years ago

I wonder if #7723 did anything to change/improve the issue at hand.

vsub commented 4 years ago

Sadly no If you set the fps limit to Auto,you will be locked to the vblank number everywhere

According to info in that pull,this seems to be normal but in ToG case: Auto + 30 = forces the game to run at 30fps everywhere Auto + 60 = makes the game run at 60fps everywhere which makes those parts of the game that actually run at 30fps to run at double speed 60\59\off + 30 vblank makes the game run at proper speed in and outside of battle

The only other problem is the fmvs but vbank doesn't seem to be the case for that(the audio randomly disappear for half a second)

elad335 commented 4 years ago

both settings are dynamically adjustable.

tonygiang commented 4 years ago

This issue is now among the Top 10 oldest issues remaining open (if you discount Longterm issues which are functionally roadmaps) of the rpcs3 project.

LittleWhole commented 4 years ago

I can confirm this issue still happens.

I decided to play Graces f after finishing Berseria and Zestiria, and when I first got RPCS3 and got the game I wasn't even aware that this issue was even happening. I thought the game was just extremely fast.

No limit = incredible speed hack mode, skits are extremely out of sync (audio plays normal speed, characters go superspeed);

60fps = skits normal, battles normal, cutscenes still have overlapping audio;

30fps = everything is normal speed, battles are incredibly slow.

I hope we can find a fix PR soon. Some of the more heavy cutscenes are completely ruined by overlapping audio :(

tonygiang commented 4 years ago

The problem is not unique to Tales of Graces F but also to Tales of Xillia 1 and 2. They have the same engine in common. It doesn't do it on Tales of Vesperia because it was a different version of the engine used.

The problem can be fixed by setting the Vblank option to 30 Hz in the advanced tab.

I guess the game engine is using something unusual to handle its framelimit that RPCS3 doesn't handle for now.

The framelimit of RPCS3 is not complete anyway and would deserve a rewrite.

Okay, so I did not have Tales of Xillia 1 or 2 when this comment was written. But I bought Xillia 1 recently and just tested Xillia with build 0.0.10-10378. The result is... well, complicated.

So Xillia on the real hardware plays at 60fps when it's only displaying menu, and 30fps when outside of menu. Using the global configuration, it still has the same issue as Graces f. Everything runs at 60fps and gameplay moves twice as fast.

But with vblank=30Hz, Xillia correctly runs at variable framerate as the real hardware. I switched to Graces f to try out how it goes over there and disappointly, the framerate still stay locked at either 60fps or 30fps on both global and custom config, respectively. So from now, this auto framerate issue is kinda specific to Graces f(?) with a huge caveat that Xillia requires vblank=30Hz to run at variable framerate correctly, and I have not tested any other game on this engine (Xillia 2, Zestiria, Berseria) because I don't have them.

Has it always been this way with Xillia 1? I can't tell.

vsub commented 4 years ago

Did you tried settings the fps limit to anything other than auto(read my post above because this affect all tales 3 games) 60\59\off + 30 vblank makes the game run at proper speed in and outside of battle

tonygiang commented 4 years ago

Did you tried settings the fps limit to anything other than auto(read my post above because this affect all tales 3 games) 60\59\off + 30 vblank makes the game run at proper speed in and outside of battle

I just tried this, still on build 0.0.10-10378. The result is: Framelimit at 60 or Off + vblank=30Hz produces no different result than Framelimit at Auto + vblank=30Hz. Xillia 1 runs correctly, Graces runs at half speed. No data for anything released after Xillia 1.

vsub commented 4 years ago

Works fine here(60fps limit and 30Hz) 30 outside battles - proper speed 60 in battles - proper speed 60 in menu - proper speed 60 in skits - proper speed(the audio and mouths movements are correct) 30 in cut scenes - proper speed 60 in fmvs - proper speed

tonygiang commented 4 years ago

Okay, so this time my data might be a bit more correct. I tried out build 0.0.10-10383 to see if anything changed and... both games crash (Graces at SPU compilation and Xillia 1 at runtime, randomly). Recompiling everything didn't help either. Didn't bother to find out why everything broke in just a few commits, so I went back to build 0.0.10-10378, recompiled everything and this time got results similar to vsub for both games.

The difference before going to 0.0.10-10383 and back is that Framelimit at Auto + vblank=30Hz no longer let Xillia 1 runs at variable framerate, it's consistently 30fps with that setting. Dunno why. Auto framelimit is still an issue at the end of the day nonetheless.

Graces f seems to look somewhat jerky outside of battle compared to how it looks on my TV. Is it really running at 30fps outside of battle on the real hardware?

vsub commented 4 years ago

I used 0.0.10-10383 for the test above and I played the game for around half an hour No problems here

ccoffield93 commented 4 years ago

RPCS3 Version: 0.0.11-10664-c1a80b81 Alpha. Settings below. image

image

I am getting 30FPS in the field as expected, but battles don't jump up to 60 as they should, meaning they run at half speed.

CryptoCashCashoo commented 2 years ago

bumping, idem config as the last comment and battles remains at 30 fps

CryptoCashCashoo commented 2 years ago

bumping, idem config as the last comment and battles remains at 30 fps

False error. I set VBlank to 30 but the limitFPS to "Auto". After changing it to 60 the game plays correctly. version 0.0.18.12949-ac300c73 alpha

kd-11 commented 2 years ago

Does this game still need the vblank set to 30?

Illynir commented 2 years ago

Yes.