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

4D5307DC - Crackdown #148

Open
agrecalypse opened this issue Aug 28, 2015 · 39 comments
Open

4D5307DC - Crackdown #148

agrecalypse opened this issue Aug 28, 2015 · 39 comments
Labels
kernel-unimplemented-feature Title uses features not yet implemented in Xenia's Xbox 360 kernel reimplementation. no-disc-install Title can't be installed from the disc. state-gameplay Title has functional gameplay. tech-engine-renderware Title uses RenderWare engine.

Comments

@agrecalypse
Copy link
Contributor

agrecalypse commented Aug 28, 2015

Marketplace

Tested on https://github.com/xenia-project /xenia/commit/45816d801bf24781b1a9e773fa234cf75f68cbf0

Issues:

  • Run from command prompt or GUI with no Output.log (both Debug & Release):
    Crashes at initial Microsoft Game Studios intro.
  • Run from command prompt WITH Output.log (both Debug & Release):
    Gets through all intros and hangs at character splash screen.
    Every few tries, Realtime Worlds video will flicker or appear as all white, but audio is still there.
    • Fullscreen:
      Usually crashes at Havok splash screen.
    • Windowed mode:
      Continues past Havok splash screen.
      Hangs on character splash screen.

Logs:

Logs

Videos:

Labels:

state-title

@agrecalypse
Copy link
Contributor Author

With the latest build (xenia-project/xenia@ab04175), either game proceeds past Character splash to Press Start menu before crashing or it crashes at the Havok splash screen.

@Razzile Razzile added the state-title Title has a functional title screen (ie, "Press Start") before any menus. label Aug 29, 2015
@agrecalypse
Copy link
Contributor Author

@benvanik Since the latest commit (xenia-project/xenia@7711568) including the change outlined in issue 406, game crashes immediately after the Microsoft Games Studio screen like it was doing when I would not specify an output log path (see No Output Crash video from OP).

I see that a xenia.log is now created in the starting directory. Any way to specify an alternate name/destination?

@benvanik
Copy link
Contributor

--log_file=path
On Sun, Aug 30, 2015 at 09:57 Austin Greca [email protected] wrote:

@benvanik https://github.com/benvanik Since the latest commit (
xenia-project/xenia@7711568
xenia-project/xenia@7711568)
including the change outlined in issue 406
xenia-project/xenia#406, game crashes immediately
after the Microsoft Games Studio screen like it was doing when I would not
specify an output log path (see No Output Crash video from OP).

I see that a xenia.log is now created in the starting directory. Any way
to specify an alternate name/destination?


Reply to this email directly or view it on GitHub
#148 (comment)
.

@agrecalypse
Copy link
Contributor Author

Ah yes, sorry, see that now. Thank you.

Any thoughts on why the stdout logging method would allow the games to progress further? Got past the MGS screen in xenia-project/xenia@8dd59d0 but as soon as the logging style was changed in xenia-project/xenia@b7203c2 the crashing returned. Wish I knew how it was related.. Without knowing what I'm talking about, could it have anything to do with the additional amount of time it used to take for the game to load when using stdout? Perhaps it's allowing more time for objects to be loaded into memory.

@Nezarn
Copy link

Nezarn commented Aug 30, 2015

I noticed that behavior in lightning returns too, when i didn't enable logging 99% of the time game got stuck on square enix logo.

@benvanik
Copy link
Contributor

Could be a threading issue - the old logging was slowing it down just
enough to let things not deadlock
On Sun, Aug 30, 2015 at 11:44 Nezarn [email protected] wrote:

I noticed that behavior in lightning returns too, when i didn't enable
logging 99% of the time game got stuck on square enix logo.


Reply to this email directly or view it on GitHub
#148 (comment)
.

@agrecalypse
Copy link
Contributor Author

No longer launches at all since xenia-project/xenia@b80a028. Exits immediately with error below.

image

Entire Log

@benvanik
Copy link
Contributor

Right, suppose I should make that a warning instead of an error.

On Sun, Aug 30, 2015 at 5:48 PM Austin Greca [email protected]
wrote:

No longer launches at all since xenia-project/xenia@b80a028
xenia-project/xenia@b80a028.
Exits immediately with errors below.

[image: image]
https://cloud.githubusercontent.com/assets/13973537/9570399/7566889e-4f58-11e5-9c5a-362f6c314a02.png

d> 00000024 MmFreePhysicalAddress(0, BF6F6000)
X> 00000024 undefined extern call to 82B67694 ObDeleteSymbolicLink
G> 00000008 Dispatching GPU interrupt at 826BB720 w/ mode 0 on cpu 2

Entire Log
https://gist.github.com/agrecalypse/138671575467dc6050fb/raw/1698e12ea812d91d16f629d2b98f838b39c4363a/Crackdown-b80a028-debug.log


Reply to this email directly or view it on GitHub
#148 (comment)
.

@benvanik
Copy link
Contributor

Pushed. --ignore_undefined_externs=false can be used to get the errors
when externs are not found.

On Sun, Aug 30, 2015 at 8:48 PM Ben Vanik [email protected] wrote:

Right, suppose I should make that a warning instead of an error.

On Sun, Aug 30, 2015 at 5:48 PM Austin Greca [email protected]
wrote:

No longer launches at all since xenia-project/xenia@b80a028
xenia-project/xenia@b80a028.
Exits immediately with errors below.

[image: image]
https://cloud.githubusercontent.com/assets/13973537/9570399/7566889e-4f58-11e5-9c5a-362f6c314a02.png

d> 00000024 MmFreePhysicalAddress(0, BF6F6000)
X> 00000024 undefined extern call to 82B67694 ObDeleteSymbolicLink
G> 00000008 Dispatching GPU interrupt at 826BB720 w/ mode 0 on cpu 2

Entire Log
https://gist.github.com/agrecalypse/138671575467dc6050fb/raw/1698e12ea812d91d16f629d2b98f838b39c4363a/Crackdown-b80a028-debug.log


Reply to this email directly or view it on GitHub
#148 (comment)
.

@agrecalypse
Copy link
Contributor Author

Awesome :)

In that case:

  • --ignore_undefined_externs=true
    • State-Load State-Crash
  • --ignore_undefined_externs=false
    • State-Crash

Since the extern call errors will eventually be warnings, I'm assuming the latter is more accurate. In either case, State-Title should be removed for now.

@Razzile Razzile added state-load Title has functional loading screen before any menu screens. and removed state-title Title has a functional title screen (ie, "Press Start") before any menus. labels Aug 31, 2015
@benvanik
Copy link
Contributor

A crash is very different than an assert - we shouldn't conflate the two.
Crashes are bad memory accesses and such. Asserts are unimplemented
functionality.
On Mon, Aug 31, 2015 at 06:44 Austin Greca [email protected] wrote:

Awesome :)

In that case:

  • --ignore_undefined_externs=true
    • State-Load State-Crash
  • --ignore_undefined_externs=false
    • State-Crash

Since the extern call errors will eventually be warnings, I'm assuming the
latter is more accurate. In either case, State-Title should be removed
for now.


Reply to this email directly or view it on GitHub
#148 (comment)
.

@ghost
Copy link

ghost commented May 2, 2016

Hangs on intro videos with xenia-project/xenia@720f8b0

xenia.zip
xenia detached_720f8b0_may 1 2016 - crackdown 2_05_2016 8_38_35 pm

@pnill
Copy link

pnill commented May 14, 2018

Using xenia-project/xenia@2511bd5 it gets past the intro videos and seems to wait around at "Signing into gamer profile..." and eventually crashes/closes.

image
Might consider investigating this further.

@D1SMBD1D
Copy link

D1SMBD1D commented May 20, 2018

Now it just stays on that screen without crashing on anything. There're these two repeating lines in the log file:

!> 00000004 undefined extern call to 82B67464 KeSaveFloatingPointState
!> 00000004 undefined extern call to 82B67474 KeRestoreFloatingPointState

Looks like we got an unimplemented feature here

@ZolaKluke
Copy link

ZolaKluke commented Jan 14, 2019

Running the game on xenia-project/xenia@b8d1bb74 and modifying the code to disable game profiles as the game requires these to get into the main menu and the game actually works. It can be very strange and buggy, but you can get into gameplay and possibly finish it. I haven't been bothered to get that far yet since the game runs very slow.

Video: https://www.youtube.com/watch?v=ukSJOfUcgCg

Labels:

state-gameplay, kernel-unimplemented-feature, gpu-slow, gpu-shader-errors

@Margen67 Margen67 added tech-engine-renderware Title uses RenderWare engine. kernel-unimplemented-feature Title uses features not yet implemented in Xenia's Xbox 360 kernel reimplementation. labels Aug 19, 2019
@xenia-project xenia-project deleted a comment from Ognisty321 Mar 24, 2020
@Margen67
Copy link
Member

@xenia-project xenia-project deleted a comment from agrecalypse Mar 24, 2020
@ZolaKluke
Copy link

Tested on xenia-project/xenia@112c66d

Issues:

Plays through the intro and makes it to the title screen, but get's stuck trying to sign-in the user profile and can't make it to the main menu

Log:

xenia.zip

Screenshot(s):

image
image
image
image

Labels:

state-title

@Margen67 Margen67 added state-title Title has a functional title screen (ie, "Press Start") before any menus. and removed state-load Title has functional loading screen before any menu screens. labels Apr 11, 2020
@Gliniak
Copy link
Member

Gliniak commented Jul 31, 2020

Tested on xenia-project/xenia@9418f3f

Issues:

None?

Log:

xenia.zip

Screenshot(s):

image
image
image

Labels:

state-gameplay

@Gliniak Gliniak added state-gameplay Title has functional gameplay. and removed state-title Title has a functional title screen (ie, "Press Start") before any menus. labels Jul 31, 2020
@Kyogre
Copy link

Kyogre commented Jun 13, 2021

Tried to play on xenia-canary 0daf5137 and xenia-master f15e3d07.
Very low 13-19 FPS even on i9-9900K+2080super. FPS is at 30 only if you stand still or moving camera very slowly. Shader cache won't help at all.

@th0mcat
Copy link

th0mcat commented Jan 26, 2022

Attempting to play on a Ryzen 3600, RTX 3080, 32GB RAM, master@dbbf40120. Game loads, main menu works, I am able to select an agent and difficulty but have been stuck at loading screen with no music for over 5 minutes. Not sure if the game is just preloading shaders or what.

canary_experimental@271befc16 is mostly the same, except I am not warned about my profile and the loading screen has music in the background.

@Asterchades
Copy link

I'm able to get it running under Canary 7b6cbc2f1 (Feb 8, 22). Performance is still very poor in some situations with some transparent graphical effects visible through "solid" geometry. However the sound does take longer to cut out as compared to Canary a0aa8157b (Dec 13, 21) - I'm now able to get into an agency vehicle and make it out of the tunnel for about 10 seconds before it cuts, as opposed to the more typical cut just before entering the vehicle.

I've had no luck getting the mainline build to reach the menu, however. After it attempts to load the saved game (which I have) I'm immediately informed that the guest has crashed. Resetting the configuration does nothing. I can reproduce this 100% of the time with Master 74c109273 (Feb 14, 22), Master 6986d6c7e (Aug 28, 21), and a couple of versions in between.

Log file from 74c109273 following crash, default config:
xenia.log

Ryzen R9 3900x, RTX 3070, 32GB RAM.

@th0mcat
Copy link

th0mcat commented May 27, 2022

Canary@5a71b5523, Ryzen 3600, RTX 3080, 32GB RAM, same endless loading screen with music. xenia.log was 444MB after just 3-5 minutes of this.

master@a4840e199 crashes completely, here's xenia.log

@Machina74
Copy link

Canary@5a71b5523, Ryzen 3600, RTX 3080, 32GB RAM, same endless loading screen with music. xenia.log was 444MB after just 3-5 minutes of this.

master@a4840e199 crashes completely, here's xenia.log

I have the exact same experience with Ryzen 5900, RTX 3080 & 64GB RAM

@ziobroaatwit
Copy link

master@55a91afcc Same experience as well with Ryzen 5700X, Radeon 6700XT, and 32GB of RAM. Log attached. As far as I discerned from the discord server this is a regression that started earlier in the year as older builds of Xenia run the game just fine.
xenia.log

canary_experimental@d0175ddf2 isn't any better, my log for this one is almost 700+ MB so I can't upload it.

@ColScoob
Copy link

ColScoob commented Jul 31, 2022

Master Build. Ryzen 3600, RTX 2080S, 32GB RAM, Having consistent crashes on trying to load or create a save game, just like happened in older versions of Xenia

On canary build (Jul 30 2022) on the same machine, hangs on the initial loading screen to get in the game.

@DownsJones

This comment was marked as off-topic.

@ziobroaatwit

This comment was marked as off-topic.

@Margen67 Margen67 added the no-disc-install Title can't be installed from the disc. label Sep 1, 2022
@Margen67
Copy link
Member

Margen67 commented Sep 1, 2022

Installing this game from the disc (supposedly) requires having the latest title update.

@Yeedman
Copy link

Yeedman commented Mar 20, 2023

playing this on canary_experimental@8678becda, you have to enable mount_cache to avoid the infinite loading screen

game itself has some audio issues, with some effects being mute and eventually the game going completely mute within like 5 minutes of playing
also on the video side, bloom is seemingly broken and very blown out, you can fix this by enabling d3d12_readback_resolve, but this comes with a performance penalty

@SteviePreston
Copy link

playing this on canary_experimental@8678becda, you have to enable mount_cache to avoid the infinite loading screen

game itself has some audio issues, with some effects being mute and eventually the game going completely mute within like 5 minutes of playing also on the video side, bloom is seemingly broken and very blown out, you can fix this by enabling d3d12_readback_resolve, but this comes with a performance penalty

Hello, How do you enable mount_cache and d3d12_readback_resolve? T.I.A!

@Yeedman
Copy link

Yeedman commented Mar 21, 2023

playing this on canary_experimental@8678becda, you have to enable mount_cache to avoid the infinite loading screen
game itself has some audio issues, with some effects being mute and eventually the game going completely mute within like 5 minutes of playing also on the video side, bloom is seemingly broken and very blown out, you can fix this by enabling d3d12_readback_resolve, but this comes with a performance penalty

Hello, How do you enable mount_cache and d3d12_readback_resolve? T.I.A!

find them and set them to true in xenia config file (xenia-canary.config.toml for xenia's canary builds) with your favourite text editor

@PythonPundit
Copy link

it seems that xaudio2 triples the amount of time it takes for the audio to go out

@ViewerDnB
Copy link

The game runs at solid 30fps on a Ryzen 5 5600x and RX6600
the only problem that i faced its the audio
no music and the audio can just randomly disappear
image

@moviemacs
Copy link

The game runs at solid 30fps on a Ryzen 5 5600x and RX6600 the only problem that i faced its the audio no music and the audio can just randomly disappear image

Did you find any solution for this? It's still an issue

@SharkleBunwich
Copy link

SharkleBunwich commented Apr 11, 2024

The game runs at solid 30fps on a Ryzen 5 5600x and RX6600 the only problem that i faced its the audio no music and the audio can just randomly disappear image

Did you find any solution for this? It's still an issue

Yes, download the latest version of Xenia Canary and then enable use_new_decoder=true in the config.toml file. This still won't fix the music in cars, as that's tied to the XMP player and that still needs active development.

You'll also need this patch to fix light from lamp posts all over the world showing through walls. Just enable the patch titled "Global Lights Rendering."

As a footnote, you also will need d3d12_readback_resolve = true so the lighting in the world into completely blown out. However, this is very taxing and only possible on higher end machines. On lower end machines, you'll have to just deal with the brightness. You can also enable controller_hotkeys = true and use the shortcut of A (or X on PS controllers) + Back Button to enable it temporarily to fix it and then repeat it to disable it. You'll need to do that every time the lighting gets blown out.

@RemilZarza
Copy link

image
I tried multiple times but It always crashes here. What can I do?

@AlleeCatBlues
Copy link

I tried multiple times but It always crashes here. What can I do?

It was doing that for me, too, until I switched to the latest Canary build. I'm using the settings outlined in this thread, and it works pretty well, except for some slowdown and the audio cutting out randomly until I restart. I set use_new_decoder=true and it still cuts out. Sometimes it lasts a couple minutes before cutting out, sometimes it lasts a half hour. Not sure why.

@Margen67
Copy link
Member

Xenia Canary issue: xenia-canary#102

@CorpusBava
Copy link

There's no fix for the flickering black screen top-half while driving at 2X-3X Draw Resolution Screen (2160p), right? Otherwise, it looks great in 4K and runs full 30 FPS at that resolution on my RTX 3070/i9 rig. You guys did a great job with this emu and it's come so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel-unimplemented-feature Title uses features not yet implemented in Xenia's Xbox 360 kernel reimplementation. no-disc-install Title can't be installed from the disc. state-gameplay Title has functional gameplay. tech-engine-renderware Title uses RenderWare engine.
Projects
None yet
Development

No branches or pull requests