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

Star Wars - Jedi Knight II: Jedi Outcast (6030) #1732

Open
2 tasks done
legluondunet opened this issue Oct 13, 2018 · 11 comments
Open
2 tasks done

Star Wars - Jedi Knight II: Jedi Outcast (6030) #1732

legluondunet opened this issue Oct 13, 2018 · 11 comments
Labels
cw Game compatibility - Unofficial Games not expected to work without issues

Comments

@legluondunet
Copy link

legluondunet commented Oct 13, 2018

Compatibility Report

  • Name of the game with compatibility issues: Star Wars - Jedi Knight II: Jedi Outcast
  • Steam AppID of the game: 6030

System Information

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

steam-6030.log

Symptoms

The single player game crashes at start, even with the necessary option for Nvidia users:
__GL_ExtensionStringVersion=17700 %command%

Reproduction

If you have a Nvidia GPU, put this option in the Steam launch option:
__GL_ExtensionStringVersion=17700 %command%
launch the single player game: it crashes.

Strange but...multiplayer game launches ok

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Oct 13, 2018
@dreamer
Copy link

dreamer commented Oct 13, 2018

@legluondunet do you experience the same "grey screen filter" issue, that I do?
For example, this is how menu is supposed to look: 1, this is how it looks to me: 2 (everything is darker - in menu and in game).

It can be removed by adding commandline parameter +r_ignorehwgamma 1 (after single run game will save it in config and it will be applied on subsequent runs as well).

[edit] BTW, I tested using MESA_EXTENSION_MAX_YEAR=2003 %command% on 3.16-1 Beta and experienced no crash (I loaded existing save, played for few minutes). my system; can't re-test on system with NVIDIA graphics at the moment.

@ghost
Copy link

ghost commented Oct 13, 2018

You can also fix the "grey screen filter" by changing to windowed mode

But the game starts fine for me right to in-game using 3.16-1 (use this tool for all games is checked and "__GL_ExtensionStringVersion=17700 %command%" used. This is all)

I do see you have:

Backtrace:
=>0 0x7c6d0b9a dump_DIEFFECT+0x3a() in dinput (0x01e7e6d8)
  1 0x7c6da7bd **Joystick**WImpl_CreateEffect+0x4c() in dinput (0x01e7e718)
  2 0x7c6dc1dc JoystickAImpl_CreateEffect+0x4b() in dinput (0x01e7e778)
  3 0x0024a8a4 in ifc22 (+0xa8a3) (0x80000000)
0x7c6d0b9a dump_DIEFFECT+0x3a in dinput: movl	0x0(%edi),%edx

which is odd. You have a controller plugged in? I don't know why that would show up if you didn't. Try unplugging it.

@legluondunet
Copy link
Author

legluondunet commented Oct 14, 2018

@byte1024 effectively, with my x360 connected: the game crashes at start (only single player, multiplayer is not affected by this issue).
If I replace my x360 by my Steam controller, it doesn't crash, but the Steam controller is not usable in this game with its default configuration.

@dreamer thank you, your tip for gamma works very well.

@legluondunet
Copy link
Author

legluondunet commented Oct 14, 2018

I think I didn't have x360 crash with Proton 3.7-7

@ghost
Copy link

ghost commented Oct 14, 2018

I think I didn't have x360 crash with Proton 3.7-7

It looks like its a [ ]regression [x]bug in Wine [ ]especially if it doesn't do it with 3.7 right now as well.

Could file a bug with Wine maybe https://bugs.winehq.org/ or just leave it filed here with Proton since I think Valve puts in patches to Wine as well. I don't know where it would make the most difference with getting fixed.

@dreamer
Copy link

dreamer commented Oct 14, 2018

I can reproduce the issue after connecting my DS4 controller. It happens both in 3.16-1 Beta and in 3.7-8, only in singleplayer. Log excerpt is from 3.7:

Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x78dcc82a).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:78dcc82a ESP:01e7e6a0 EBP:01e7e6d8 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000003 EBX:78df1ff4 ECX:ffffffff EDX:f7f542a2
 ESI:78df9d08 EDI:00000000
Stack dump:
0x01e7e6a0:  00000000 00000000 7bce0ff4 f7f8b678
0x01e7e6b0:  7bce0ff4 78de0d8c 00000000 00000003
0x01e7e6c0:  0000001e 0230d930 78dcc7fb 78df1ff4
0x01e7e6d0:  00186854 00000000 01e7e718 78dd644d
0x01e7e6e0:  00000000 020ac104 00000000 7bc97b7c
0x01e7e6f0:  4351efde 020ac188 020ac104 00000000
Backtrace:
=>0 0x78dcc82a dump_DIEFFECT+0x3a() in dinput (0x01e7e6d8)
  1 0x78dd644d JoystickWImpl_CreateEffect+0x4c() in dinput (0x01e7e718)
  2 0x78dd7e6c JoystickAImpl_CreateEffect+0x4b() in dinput (0x01e7e778)
  3 0x0023a8a4 in ifc22 (+0xa8a3) (0x80000000)
0x78dcc82a dump_DIEFFECT+0x3a in dinput: movl   0x0(%edi),%edx

@legluondunet
Copy link
Author

The gamepad bug is corrected in Proton 3.16-4, thank you Valve Team!

@legluondunet
Copy link
Author

legluondunet commented Nov 1, 2018

Now, if Valve integrates the needed environment launch option (MESA_EXTENSION_MAX_YEAR=2003 %command% for AMD users and __GL_ExtensionStringVersion=17700 %command% for Nvidia users) the game could be whitelisted.

@aeikum
Copy link
Collaborator

aeikum commented Nov 1, 2018

@legluondunet Glad to hear the fix worked, thank you for reporting!

@aeikum aeikum removed this from the Next Release milestone Dec 12, 2018
@aeikum
Copy link
Collaborator

aeikum commented Feb 18, 2019

Hello. With Proton 3.16-7, you can now use the PROTON_OLD_GL_STRING runtime option instead of the Mesa- or Nvidia-specific environment variables.

@dreamer
Copy link

dreamer commented Mar 19, 2019

Tested with 3.16-8 Beta with PROTON_OLD_GL_STRING=1, no other tweaks/variables and clean installation using two systems: 1, 2 - game itself works fine.

I experienced following problems though:

  • "grey screen" (can be fixed with PROTON_OLD_GL_STRING=1 %command% +r_ignorehwgamma 1)
  • Broken sound during "Lucasarts" intro. Real game intro works ok (I didn't test other movies). It happens only in singleplayer - same movie in multiplayer version works ok. I don't consider it a serious issue.
  • Multiplayer version does not download server list - behaviour seems to be exactly the same as in Jedi Academy. I consider it either network or server issue (most likely server, because ROTCW downloads servers list just fine).

Overall when ignorehwgamma fix is implemented, game works better through Proton than using Windows 10 (because fullscreen keeps adequate aspect ratio instead of artificially stretching it to 16:9).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cw Game compatibility - Unofficial Games not expected to work without issues
Projects
None yet
Development

No branches or pull requests

4 participants