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

4D5309C9 - Forza Horizon #509

Open
TotalCaesar659 opened this issue Jul 9, 2016 · 51 comments
Open

4D5309C9 - Forza Horizon #509

TotalCaesar659 opened this issue Jul 9, 2016 · 51 comments
Labels
apu-xma-regression Audio has regressed since switch to FFmpeg (after e5948bb) cpu-jit-problems Title experiences emulation problems because of inaccuracies with the x64 JIT backend. cpu-unimplemented-instruction Title uses a PowerPC instruction that has not yet been implemented in the x64 JIT backend. kernel-unimplemented-feature Title uses features not yet implemented in Xenia's Xbox 360 kernel reimplementation. requires_mount_cache Title requires mount_cache=true. state-gameplay Title has functional gameplay. tech-kinect-optional Title can use the Kinect.

Comments

@TotalCaesar659
Copy link

TotalCaesar659 commented Jul 9, 2016

Marketplace

Tested on xenia-project/xenia@3d1d4de

Issues:

The message about bad or unimplemented file IO calls.

Log:

Log file

Screenshot(s):

0000

Labels:

state-nothing

@Razzile Razzile added the state-nothing Title is entirely nonfunctional. label Jul 9, 2016
@Sleepy93
Copy link

Update:

bad or unimplemented file IO calls error after start.

!> 00000054 ResolvePath(\Device) failed - no root found

Unimplemented:

  • XamPartyGetUserList
  • XamPartySendGameInvites
  • XamPartySetCustomData
  • XamPartyGetBandwidth
  • XamShowPartyUI
  • XamShowCommunitySessionsUI
  • XamInputGetUserVibrationLevel
  • XInputdFFGetDeviceInfo
  • XInputdFFSetEffect
  • XInputdFFUpdateEffect
  • XInputdFFEffectOperation
  • XInputdFFDeviceControl
  • XInputdFFSetDeviceGain
  • XInputdFFCancelIo
  • XInputdFFSetRumble

Undefined:

!> 00000054 XMsgStartIORequest: app 00000000 undefined

Tested:

On (xenia-project/xenia@eecc9d0)

Log:

horizon.txt

Labels:

  • state-nothing
  • kernel-unimplemented-features
  • xam-input-problems

@Razzile Razzile added the kernel-unimplemented-feature Title uses features not yet implemented in Xenia's Xbox 360 kernel reimplementation. label Aug 19, 2017
@bdeimos
Copy link

bdeimos commented Jul 8, 2018

Tested on xenia-project/xenia@ba7dc6b

Issues:

Same issue.

Log:

xenia.zip

@mostm
Copy link

mostm commented Jan 17, 2019

Tested on xenia-project/xenia@8e5a11a

Log:

xenia.zip

Screenshot(s):

xenia_RPeEQBNX6y

@Margen67 Margen67 added the tech-kinect-optional Title can use the Kinect. label Jul 9, 2019
@vladmihai
Copy link

vladmihai commented Sep 2, 2019

Forza Horizon goes ingame but there is some problems, ground texture are missing, no colllsion between cars and crashes after the first race: https://www.youtube.com/watch?v=2zHhZn54qLc
PR1461

@HyproZe
Copy link

HyproZe commented Sep 2, 2019

Tested on xenia-project/xenia@1050fcb

Issues:

Goes in-game, intro played correctly, sound same

Sound when the menu is loaded and ask for Single or Online is a bit broken.

No collision in game between cars and some textures don't load properly.

Screenshot(s):

image
image
image
image
image
image
image
image

Video: https://youtu.be/5PiAAl6BheM

Logs:

Too big (1go for 10min)

Labels:

state-gameplay

@xenia-project xenia-project deleted a comment from vladmihai Sep 2, 2019
@xenia-project xenia-project deleted a comment Sep 2, 2019
@Margen67 Margen67 added cpu-jit-problems Title experiences emulation problems because of inaccuracies with the x64 JIT backend. cpu-unimplemented-instruction Title uses a PowerPC instruction that has not yet been implemented in the x64 JIT backend. state-gameplay Title has functional gameplay. and removed state-nothing Title is entirely nonfunctional. labels Sep 16, 2019
@CookiePLMonster
Copy link

CookiePLMonster commented Mar 5, 2020

Tested on xenia-project/xenia@5558c8a

Issues:

Goes in-game on master, collisions now work and random crashes are gone. Terrain rendering still broken, but that doesn't seem to affect playability.

Screenshot(s):

xenia_yRxGl245F0
xenia_BOdn3JH4rB
xenia_JLUJWp693a
xenia_1xhoScVDwi
xenia_DJ4dTaL8yS

Log:

xenia.zip

Labels:

state-gameplay

@xenia-project xenia-project deleted a comment from HyproZe Mar 5, 2020
@xenia-project xenia-project deleted a comment from javi1111111111 May 11, 2020
@Margen67
Copy link
Member

@ghost
Copy link

ghost commented Nov 2, 2020

This youtuber "Shinyodd" played this on Xenia and it somehow made a 6 GB log file.. Does anyone know about this already?

@JuanjoSevilla1
Copy link

JuanjoSevilla1 commented May 5, 2021

Well today and I have detected a problem when playing xenia emulator b099d74 and it is that when I play forza horizon when doing the prologue it closes and closes so I would like to not have neither create nor hang nor close alone and that improved performance and there was no lag and that it could be driven without lag and that the ai did not fail as much and the cars did not crash into each other and that the graphics were the same as the xbox 360 and the lighting of the texture and colors are not transparent or have strange colors please it's time for the xenia emulator to go well and not fail so much I ask you please
It is necessary for me because I do not have xbox 360 and my pc is powerful enough that the xenia emulator works without problems

@mostm
Copy link

mostm commented Aug 2, 2021

Tested on... a lot of commits!
Listed below: (Normal behavior qualifies here as before regression)
xenia-project/xenia@c9073e1 (master @ 2 Aug 2021) - Car interior broken, crashes during first race
xenia-project/xenia@795894b (2 Jul 2021) - Same behavior as master
xenia-project/xenia@21c28a0 (8 May 2021) - Car interior renders normally, random crashes are still present
xenia-project/xenia@b5fc1ef (1 May 2021) - Same as previous entry
xenia-project/xenia@b6e5719 ... xenia-project/xenia@47e36e6 - Random crashes are introduced
xenia-project/xenia@e5948bb - Normal Behavior
xenia-project/xenia@5568931 (28 Apr 2021) - Better perfomance-wise than previous entry, normal behavior otherwise
xenia-project/xenia@4ce4336 (7 Apr 2021) - Normal Behavior
xenia-project/xenia@99024ae (4 Mar 2021) - Normal Behavior
xenia-project/xenia@e7cd2ff (29 Dec 2020) - Normal Behavior
xenia-project/xenia@dffdf92 (23 Aug 2020) - Normal Behavior
xenia-project/xenia@5558c8a (4 Mar 2020) - Normal Behavior

Issues:

Somewhere between commits of 1 May 2021, regression was introduced: Random(ish) crashes. All during first race.
I tested commits picking them by date, to try to find a source:
xenia-project/xenia@b6e5719 ... xenia-project/xenia@47e36e6
Somewhere between or in those commits, this regression was introduced, and still happens on xenia-project/xenia@c9073e1 (master at this time).
After that, a new regression was introduced: Car interior doesn't render fully. Sometime between xenia-project/xenia@21c28a0 and xenia-project/xenia@795894b (will probably checkout later).

Log:

All of my builds along with log files and pdb are available on Google Drive: https://drive.google.com/drive/folders/17BCstfpmFzc1Ut2jm82HUpk9wkX8wYsv?usp=sharing

xenia-project/xenia@c9073e1: xenia_c9073e101f38afe7b1444bae97eb8b78dcb151f9.zip

Screenshot(s):

Labels:

regression state-gameplay

@Gliniak Gliniak added the apu-xma-regression Audio has regressed since switch to FFmpeg (after e5948bb) label Aug 2, 2021
@Sam36192
Copy link

Xenia-canary (canary_experimental@7b6cbc2f1 on Feb  8 2022) _  4D5309C9 v12 0  Forza Horizon Direct3D 12 - RTV_DSV 2_11_2022 9_18_53 PM
I keep receiving this message whenever I try to do the Horizon Heats race?

@xenia-project xenia-project deleted a comment from dagas3 Mar 3, 2022
@xenia-project xenia-project deleted a comment from dagas3 Mar 3, 2022
@xenia-project xenia-project deleted a comment Mar 3, 2022
@xenia-project xenia-project deleted a comment Mar 3, 2022
@xenia-project xenia-project deleted a comment from Juanjosevilla2 Mar 10, 2022
@Mentalek
Copy link

Mentalek commented Oct 1, 2022

inside_car_view
invisible_car_1

Has anyone had such a problem? After running the game for approx. 10-15 minutes car becomes "half-invisible" with little 2 car on left and right

@321Gofast
Copy link

My game keeps giving me an error after about 5-15 minutes of gameplay, afterwards it seems to keep running fine, but all sound stops working and just sounds like it would if it crashed. I set mount_cache to true, I don't know why this is an issue

@slavvampyr
Copy link

slavvampyr commented Dec 23, 2022

Same as 321GoFast, it's giving me some error saying that a device attached isn't functioning properly and the sound bugs, then I can still race but the game doesn't respond to controller commands. Is there an issue with using controllers or what?

Capture

@xenia-project xenia-project deleted a comment from slavvampyr Dec 23, 2022
@jumbokoooookie
Copy link

Same as 321GoFast, it's giving me some error saying that a device attached isn't functioning properly and the sound bugs, then I can still race but the game doesn't respond to controller commands. Is there an issue with using controllers or what?

Capture

this exact issue is still present on 20/02/23

@Radukas

This comment was marked as off-topic.

@ghost
Copy link

ghost commented Apr 9, 2023

Missing geometry fixed on canary a few months ago was fixed by using the xenos half float format instead of the ieee one for vpkd3d/vunpkd3d.

@caretha85
Copy link

Specs:

Windows 10 Pro
Ryzen 5 4600g
Vega 7 1900mhz
16 Gb memoria 2667mhz
Forza

@i-am-jawaad
Copy link

i-am-jawaad commented May 9, 2023

does not load textures
Screenshot (2)

Screenshot (1)

the game then crashes right After

@T3SL4A

This comment was marked as off-topic.

@xenia-project xenia-project deleted a comment from i-am-jawaad May 11, 2023
@xenia-project xenia-project deleted a comment from i-am-jawaad May 11, 2023
@teamwork420
Copy link

i can play the game fine. vulkan or direct x 12 .. with vsync off get 120ish fps
and the only thing i notice is the mirrors are not there lol . playing forza horizon and horizon 2 and fast and furious on pc still looks like shit compared to 5 but eh

@IDKTomasss

This comment was marked as off-topic.

@ItzTuber
Copy link

ItzTuber commented Jul 19, 2023

Xenia-canary (canary_experimental@1319ff6ea on May  1 2023) _  4D5309C9 v12 0  Forza Horizon Direct3D 12 - RTV_DSV 19 07 2023 12_59_06

the Games says that the profile is modiefied so it wont work

@RiverDev0
Copy link

Xenia-canary (canary_experimental@e54262b71 on Jul 23 2023) _  4D5309C9 v10 0  Forza Horizon Direct3D 12 - RTV_DSV 25_07_2023 1_15_46 PM

Xenia-canary (canary_experimental@e54262b71 on Jul 23 2023) _  4D5309C9 v10 0  Forza Horizon Direct3D 12 - RTV_DSV 25_07_2023 1_15_46 PM (1)
Xenia-canary (canary_experimental@e54262b71 on Jul 23 2023) _  4D5309C9 v10 0  Forza Horizon Direct3D 12 - RTV_DSV 25_07_2023 1_15_44 PM

You can play the game but cant do the races

@Blackbird88
Copy link

Unfortunately if the game requires readback then there's nothing you can do to fix it any other way.

@RokkuDayo
Copy link

RokkuDayo commented Sep 8, 2023

image
The reason why there's a rectangle-shaped hole under the car in the motion blur is because there literally is a cuboid in there.
The purpose of this mesh is unknown to me but if I had to guess it's probably used to calculate physics since it's aligned with the ground below or it's what aligns the fake projected shadow to the ground. Either way, the motion vector pass is incorrectly picking it up as part of the car's geometry and masking it as if it were being rendered.

@RokkuDayo
Copy link

RokkuDayo commented Sep 16, 2023

Looking deeper with PIX into what I mentioned in my previous comment, I've noticed some discrepancies in the DX12 states for these invisible meshes.
The taller one, which starts at the same height as the shorter one, has different parameters for the DepthStencil, especially the StencilWriteMask and the StencilPassOp. It is also interesting to note that after looking at all the draw calls in the capture, only the ones belonging to this shorter mesh (they appear in the player's car and NPCs, so there's usually more than one in the scene) had these specific WriteMask and PassOp values.
Since one of them appears on the motion vector pass and the other doesn't, I believe this has something to do with the incorrect rendering of motion blur and this mesh.
I'm still convinced these belong to the game's physics system and/or the projected shadow and are somehow being picked up by DirectX 12 despite not being meant to be rendered into the motion blur pass. This mesh also exists in Forza Motorsport 2 albeit with different states when analyzed with PIX.
Untitled-1

@ninjinskie
Copy link

just finished a full playthrough on the september 21st build and the game is totally playable from beginning to end with only a few minor graphical issues. this does require enabling the 'disable motion blur' patch and turning mount_cache to true - i also left vsync on and locked the game to 60FPS as any higher appeared to mess with the graphics further.

the problems i did encounter are:

some cars don't display mirrors correctly, and the interior view is sometimes missing (as was posted above)
image

selecting cars always causes graphical corruptions on the menu itself
image

applying any vinyls to a car causes major graphical corruptions
image

@legend800
Copy link

gpu_allow_invalid_fetch_constants = true fixes mirrors

@ClaudeLib
Copy link

The game stutters heavily during gameplay with vsync disabled in both Stable and Canary, with HUD flickering. Cutscenes and, weirdly, Rewind are not affected. That wasn't a thing, like, half a year ago when I last played with Xenia.

@caretha85
Copy link

The guest has crashed.

Xenia has now paused itself.

==== CRASH DUMP ====
Thread ID (Host: 0x00002278 / Guest: 0x00000008)
Thread Handle: 0xF8000034
PC: 0x82C7E59C

@tornadox
Copy link

The guest has crashed.

Xenia has now paused itself.

==== CRASH DUMP ==== Thread ID (Host: 0x00002278 / Guest: 0x00000008) Thread Handle: 0xF8000034 PC: 0x82C7E59C

You just have to use Xenia Canary with the mount_cache = true in the xenia-canary.config.toml

@Samambaia-Roxa
Copy link

Disclaimer: When it comes to computers, programming and coding; I am the smoothiest braindead guy you can find.

I wanted to play the game but had issues with textures and crashing, I eventually got to fix it so I'm gonna leave it here in case it's the same fix for someone else.

My specs are:
-Ryzen 5700g
-16gb RAM
-No Graphic Card, I use the Integrated Graphics of the CPU

I looked here and then did the "mount_cache" and the "gpu_allow_invalid_fetch_constants" fixes, as well the "Motion Blur Patch", it didn't do much so I decided to "monkey press buttons" myself and see if I would be able to get somewhere.

I was getting the "Graphic Device Lost" error, so I decided to see how the game performed in the AMD Adrenaline. Making a game profile for Xenia and running it along the performance monitor. The CPU was fine, the problem was the GPU running at +80% and eventually spiking up to 100% and dying. So my first thought was "Well, the game is being too much for my low end pc, so let's make it unglier".

I wanted to lower the Draw Distance, but couldn't find how, so I turned "native_2x_msaa" to false, and it helped a little; next I set the "vsync" to false and "framerate_limit" to 30; then I changed the settings of Xenia in the AMD Adrenaline to daectivate anything that might be competing with Xenia, then running Xenia throught AMD Adrenaline.

Granted it work a bit, I could play for longer periods of time before crashing, but still crashing. Inspecting the AMD Adrenaline, I noticed that the Radeon Integrated Graphics is called a APU instead of a GPU, I checked the "xenia-canary.config" for the APU section and noticed that there was this "use_dedicated_xma_thread" that would use a separate (entire?) thread of the Radeon Graphics to process the audio.

Turning it to false, I was able to finally play the game without crashing and even set the framerate_limit to 60, but later setting to 50 because I don't feel confortable running the Radeon Graphics at 99%.

@henk717
Copy link

henk717 commented Jun 27, 2024

Same as 321GoFast, it's giving me some error saying that a device attached isn't functioning properly and the sound bugs, then I can still race but the game doesn't respond to controller commands. Is there an issue with using controllers or what?

Capture

Having the exact same issue on a recent canary build, but was able to fix it.
You want use_new_decoder = true for this game, that newer decoder doesn't have the audio crash issue.

@jpriver56
Copy link

My first hour of gameplay went great. Then the following error appeared.

image

Appeared during a race and I finished it without any problem, then it lead to an infinite loading screen before clicking OK in the error window.

As said before, I set use_new_decoder = true but didn't fix the issue.

image

I'm using Xenia Canary. This is the build I'm using: canary_experimental@2c087406d on Sep 4 2024.

@tranquilcarbon
Copy link

I'm using build 50FCE8BDB (Considered to be the most stable build for the Forza 360 games), I changed the following settings from default:

vsync = false
vsync_interval = 16 (Was already set to 16)
mount_cache = true (Fixed the crash when loading the first event)

I have a noticeable audio desync, the game stutters fairly often and the HUD flickers, but in theory, the game is functional.

I've also tried the latest canary build (71de564), The audio delay seems to be either fixed or massively reduced.

@Margen67
Copy link
Member

Xenia Canary issue: xenia-canary#30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apu-xma-regression Audio has regressed since switch to FFmpeg (after e5948bb) cpu-jit-problems Title experiences emulation problems because of inaccuracies with the x64 JIT backend. cpu-unimplemented-instruction Title uses a PowerPC instruction that has not yet been implemented in the x64 JIT backend. kernel-unimplemented-feature Title uses features not yet implemented in Xenia's Xbox 360 kernel reimplementation. requires_mount_cache Title requires mount_cache=true. state-gameplay Title has functional gameplay. tech-kinect-optional Title can use the Kinect.
Projects
None yet
Development

No branches or pull requests