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

SW: Republic Commando crashes on game start when squad shadows are enabled #41

Closed
WinterSnowfall opened this issue Oct 25, 2022 · 13 comments · Fixed by #163
Closed

SW: Republic Commando crashes on game start when squad shadows are enabled #41

WinterSnowfall opened this issue Oct 25, 2022 · 13 comments · Fixed by #163
Labels
bug Something isn't working needs repro This bug hasn't been reproduced yet.
Milestone

Comments

@WinterSnowfall
Copy link

WinterSnowfall commented Oct 25, 2022

SWRepublicCommando

The game plays the intro videos, but crashes right after clicking on Continue (it should proceed to the profile selection screen).

Unfortunately apitrace fails once again, in all possible combinations. I get a frame in the capture on game startup and it then crashes.

There's nothing of interest in the logs either, but I hope maybe @Blisto91 can capture a trace on windows. If not, I'll at least get a d3d9 trace with d3d8to9 again.

Software information

SW: Republic Commando (UE2 title)

System information

  • GPU: Nvidia GTX 1080
  • Driver: 515.76
  • Wine version: 7.19 Staging
  • DXVK version: 1ee2743

Apitrace file(s)

None, it crashes...

Log files

@WinterSnowfall
Copy link
Author

Here's a d3d9 trace I captured with DXVK. WineD3D is proving quite obstinate in 7.19 (windows resizing/virtual desktop memes I think), but I'm hoping this is somewhat fine.

@Blisto91
Copy link

I forgot to note it here also.
Wasn't able to get a d3d8 trace on windows. Game crashes

@Blisto91
Copy link

Blisto91 commented Nov 5, 2022

With latest master this now get further and you can play around in the main menu.
Now it will instead crash upon loading a new game if you have turned on the graphics setting SQUAD SHADOWS

@AlpyneDreams
Copy link
Owner

See also: doitsujin#1430

Does bump mapping work? Only squad shadows causes a crash?

@Blisto91
Copy link

Blisto91 commented Nov 6, 2022

Yes bump mapping (just via ingame setting) have not caused me any issues. squad shadows crash for me upon loading a game.
This on my R9 380

@Blisto91
Copy link

Blisto91 commented Nov 6, 2022

Game regressed with 25b4860 which makes it crash a bit after the game window appears.

SWRepublicCommando_d3d9.log
d3d8 log is empty

@Blisto91
Copy link

Blisto91 commented Nov 7, 2022

I am now able to get to main menu again.

@WinterSnowfall Also figured why i was able to all along while he crashes. I had shader pre cache disabled in steam so there was no background video at the menu. If i enable it i also crash before i can select profile.

@AlpyneDreams AlpyneDreams changed the title SW: Republic Commando crashes after into videos SW: Republic Commando crashes after main menu Nov 10, 2022
@AlpyneDreams AlpyneDreams added game bug Something isn't working labels Nov 10, 2022
@AlpyneDreams
Copy link
Owner

I am now able to get to main menu again.

@WinterSnowfall Also figured why i was able to all along while he crashes. I had shader pre cache disabled in steam so there was no background video at the menu. If i enable it i also crash before i can select profile.

Not sure how shader pre-cache would affect things, will have to look into it. Does turning off SQUAD SHADOWS still allow you to get past the main menu or has that regressed?

@Blisto91
Copy link

Blisto91 commented Nov 10, 2022

Yes without pre cache it works as before where i can play as long as squad shadows are off

@WinterSnowfall
Copy link
Author

WinterSnowfall commented Nov 11, 2022

As of 6c1b0ed, I'm also able to play the game with squad shadows off, however one extra weird thing is that the usual menu background animations/videos aren't being shown, only a static background.

Here's the main menu with d3d8to9 + dxvk:
MainMenuD3D8to9

And here's the menu with d8vk (same settings):
MainMenuD8VK

@WinterSnowfall WinterSnowfall changed the title SW: Republic Commando crashes after main menu SW: Republic Commando crashes on game start when squad shadows are enabled Jan 8, 2023
@WinterSnowfall
Copy link
Author

Not sure what fixed the background videos, but they are now playing as expected. The only remaining issue is with "Squad Shadows" - the game will crash on loading/starting a new game with the option enabled, but will work just fine otherwise.

@WinterSnowfall
Copy link
Author

I haven't found a way to make d3d8 apitrace work, but I've captured two d3d9 traces using d3d8to9 and dxvk up to the point of the crash (should be just a few frames into starting a new game):
a) One with Squad Shadows enabled
b) One with Squad Shadows disabled

@AlpyneDreams AlpyneDreams added needs repro This bug hasn't been reproduced yet. and removed game labels Feb 23, 2023
@AlpyneDreams AlpyneDreams added this to the v1.1 milestone May 10, 2023
@mrdeathjr28
Copy link

Yeah confirm mainmenu are fixed in my case (cinematics works too)

swrcfx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs repro This bug hasn't been reproduced yet.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants