Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Crysis (1) (17300)

Open Leopard1907 opened this issue 7 years ago • 52 comments

It literally crawls even on intro videos like Nvidia advert , Crytek logo etc.

System info:

Linux Mint 18.3 Cinnamon Gtx 1050 396.51 driver Steam Beta Client

Leopard1907 avatar Aug 22 '18 22:08 Leopard1907

Crysis 1 currently only works with Esync disabled, I ran into the same problem when testing DXVK's Dx10 support with it.

doitsujin avatar Aug 22 '18 22:08 doitsujin

How can i do that and will it work on DXVK's DX10 or Wine's DX10?

Thanks for your efforts btw :)

Leopard1907 avatar Aug 22 '18 22:08 Leopard1907

@Leopard1907 to disable esync set the launch option for the game to. PROTON_NO_ESYNC=1 %command%

gusthe avatar Aug 22 '18 23:08 gusthe

@gusthe

Thanks that worked. But performance is not good.

@kisak-valve It works with gusthe's workaround so it is up to you to decide close this issue or not.

Leopard1907 avatar Aug 23 '18 08:08 Leopard1907

Runs very good in 1900*1200 high settings after using mentioned launch option

landjalan avatar Aug 23 '18 18:08 landjalan

i always get an license error any suggestions on this?

master-caster avatar Aug 24 '18 20:08 master-caster

Yes, I am unable to start it due to a licensing server being unavailable. Any workarounds?

michaelclarkcuadrado avatar Aug 25 '18 01:08 michaelclarkcuadrado

when trying to launch steam version got license error (same as above), but when trying fixed win64 version from origin which only works for me on windows 8.1 x64 it says "CD/DVD-ROM not found"

BLaDZer avatar Aug 25 '18 10:08 BLaDZer

The license error appears to be intermittent and is probably on EA's end. Every 1 in 5 executions, the game runs past the license check, but then crashes after drawing a black fullscreen window. Logs don't show anything out of the ordinary, however, people have gotten DXVK + wine to run the GOG version of crysis successfully. I even tried with the new proton beta, same result.

michaelclarkcuadrado avatar Aug 26 '18 22:08 michaelclarkcuadrado

License problem here too. Damn DRM.

Raulvo avatar Sep 04 '18 18:09 Raulvo

license error only appeared once. after restarting os, game ran 3 weeks perfectly. today i received an crysis update approx. 350mb big, since then the game does not start anymore(proton 3.7.6) i tried running steam beta and proton beta, problem persists....

landjalan avatar Sep 15 '18 10:09 landjalan

license error only appeared once. after restarting os, game ran 3 weeks perfectly. today i received an crysis update approx. 350mb big, since then the game does not start anymore(proton 3.7.6) i tried running steam beta and proton beta, problem persists....

i use crysis steam store version and i guess your issues(license) are connected to have a different version.

crysis wars, also doesnt start atm

landjalan avatar Sep 15 '18 10:09 landjalan

manually starting Crysis.exe says i do not have an internet connection and exits :+1:

~/.local/share/Steam/steamapps/common/Proton 3.7/dist/bin $ ./wine ~/.local/share/Steam/steamapps/common/Crysis/Bin32/Crysis.exe

landjalan avatar Sep 15 '18 20:09 landjalan

In my testing today... The Steam version of Crysis 1 runs really well with wine-staging 3.16 and DXVK 0.72 plus d3dcompiler_43 as native. Using the Nvidia beta driver 396.54.06 and a Geforce 970M (3Gb) card. So:

winetricks dxvk72 d3dcompiler_43

Crysis is pretty playable in DX10 mode, at Very High settings, with this setup (testing with 2560x1440p).

I've literally been waiting years for this game to run well under Wine! So thanks to Valve, @doitsujin and all the guys at Codeweavers!

I haven't tested out Nvidia's env variables yet:

__GL_SHADER_DISK_CACHE_PATH=...
__GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1

Basically, because I wanted a before and after comparison.

Hopefully Proton will get updated to the DX10 enabled DXVK builds - soonish? Crysis doesn't start with the current Proton release: 3.7-6.

bobwya avatar Sep 19 '18 23:09 bobwya

@bobwya

These variables don't have to do anything benefit wise if you're playing via Proton though. Because Steam caches them on their respective dirs and afaik unlimited.

Although , i agree that is a good feature if you're playing on plain Wine+DXVK. Especially for OverWatch like shader crazy games.

Leopard1907 avatar Sep 20 '18 00:09 Leopard1907

Just did a fresh install, got the license server issue the first time I tried to start it, after that the game launches to a black screen for like 1 second before crashing. I had the exact same result with crysis warhead.

Oddly enough, when I tried to launch with a cracked exe file, the game would launch but hang instead of crash. I got the same exact behavior with crysis warhead, however when I tried launching 64 bit crysis the game launched if I disabled esync, and I could hear the audio, but there was no video lol.

To run 64 bit crysis warhead, I replaced the bin32 diretory with the bin64 directory and renamed crysis64.exe to just crysis.exe for anyone who wants to try that. I heard that you can also execute the original crysis with the same binaries but I didn't try it.

Rabcor avatar Oct 12 '18 20:10 Rabcor

I got it working out of the box on proton on DX9 only (DX10/DXVK workaround below), performance is rather shoddy, getting 20-30fps @4k on 980-Ti. But it works, and if you have decent hardware at the right resolution, works well.

These are the launch options I needed. PROTON_NO_ESYNC=1 %command% -dx9

Alternative launch options that also worked: PROTON_NO_D3D11=1 PROTON_NO_ESYNC=1 %command%

It works for both crysis and crysis warhead.

(Update) to get around the license issue, there are two ways, the first one is to download a cracked exe file and run the game from that via steam once, you should then be able to replace it with the original exe without issue. The second solution; for anyone who has crysis warhead, is to replace the bin32 folder in the original crysis, with the bin64 folder from crysis warhead (possibly necessary: rename crysis64.exe to crysis.exe to launch from that), like with the crack solution, this only needs to be done once to work around the license issue, after which you can replace it with the original binaries again.

As a workaround to run it with DXVK, using protontricks (alternatively can probably use winetricks)

protontricks 17300 -q d3dcompiler_43

(Substitute 17300 with 17330 for crysis warhead)

Winetricks alternative: WINEPREFIX=/path/to/steamapps/compatdata/17300/pfx winetricks d3dcompiler_43

It will still require PROTON_NO_ESYNC=1.

For me, using DXVK gave me a 100% performance boost (from 20-30fps at high 4k to 50-60fps at high 4k)

Tested on proton 3.16-1 beta

Rabcor avatar Oct 13 '18 15:10 Rabcor

On DXVK, I can get 50-60fps at 4K/UHD with very high settings, if I set shaders to High. Setting Shaders to medium brings FPS up above 100 with an average of 120.

There is however an issue with flickering shaders(?) on trees, extreme example: https://steamuserimages-a.akamaihd.net/ugc/958596576359460133/82D1A51E0ED8556D94FB0DD097DC93A20346B8D8/ (it's usually not that bad, and only affects leaves normally, but here we can see it affecting a whle tree)

The amount of flickering foliage can be reduced drastically by reducing object quality to high or lower, don't set it to very high or you will get flickering everywhere. I heard that there's a fix for this in the next nvidia driver update.

Rabcor avatar Oct 13 '18 16:10 Rabcor

I've got it working with DX9 and 64bit after some Googling to find the files. But I can't get it working with DX10, it just hangs with a black screen.

@Rabcor Did you have to do anything else other than protontricks 17300 -q d3dcompiler_43 with the PROTON_NO_ESYNC=1 %command% launch option? I'm not familiar with protontricks or winetricks but it looks like it installed everything to the correct directories.

nerdyman avatar Oct 21 '18 11:10 nerdyman

@nerdyman I ran it with DX10 and dxvk on the 32bit version. 64bit was not needed. Actually finished the whole game on 32bit running 4k/highest settings. (gtx 1080).

I added d3dcompiler_43 as you and the NO_ESYNC as workarounds.

tingvarsson avatar Oct 21 '18 13:10 tingvarsson

@nerdyman I don't recall having done anything more than this no, are you sure you are using a GPU and driver that supports vulkan? Have you been able to run any other game with dxvk?

Rabcor avatar Oct 22 '18 01:10 Rabcor

How can I run the benchmarks? I want to impress people with my Linux pixel pushing power.

E: DX9 performance is abysmal, how do I get DX10 working? I've even run winetricks d3dcompiler_43 on the prefix already, nothing.

kode54 avatar Oct 30 '18 02:10 kode54

How can I run the benchmarks? I want to impress people with my Linux pixel pushing power.

E: DX9 performance is abysmal, how do I get DX10 working? I've even run winetricks d3dcompiler_43 on the prefix already, nothing.

Are you sure you correctly installed d3dcompiler_43? Did you properly disable ESync? I only got a black screen before I installed the d3dcompiler_43 so you should always double check if you installed it correctly. If it still is not working, you need to confirm that you can in fact launch any DXVK game at all, you might not have driver support for vulkan, or it might not be properly set up on your system yet..

I also updated the earlier post with explanations for how I worked around the license error issue.

@nerdyman besides fixing the license error issue. I didn't need to do anything, however there was a graphical issue that is solved with the transform feedback extension. For nvidia users, this is only supported by the vulkan beta driver (396.54.09 or newer) do not think you have this even if your version number is higher. If you are encountering this issue you simply need to wait for another driver update that supports this feature, or use the vulkan beta drivers.

It is possible that the game only currently works on nvidia's proprietary drivers, it's important you share your hardware information and what driver you're using when you are asking for help with things like this.

To be clear though, I could only get the original Crysis working on the 32-bit binaries, although I did get it to launch on the 64-bit ones from crysis warhead, I couldn't actually play it with them so I had to revert back to the original 32-bit binaries in order to play.

Rabcor avatar Oct 31 '18 20:10 Rabcor

How can I run the benchmarks? I want to impress people with my Linux pixel pushing power. E: DX9 performance is abysmal, how do I get DX10 working? I've even run winetricks d3dcompiler_43 on the prefix already, nothing.

Are you sure you correctly installed d3dcompiler_43? Did you properly disable ESync? I only got a black screen before I installed the d3dcompiler_43 so you should always double check if you installed it correctly. If it still is not working, you need to confirm that you can in fact launch any DXVK game at all, you might not have driver support for vulkan, or it might not be properly set up on your system yet..

I used winetricks with WINEPREFIX to specify the 17300/pfx full path, and installed d3dcompiler_43, and specify the ESync disable environment variable in the launch command.

I was able to run the benchmark by adding the -DEVMODE switch to the same launch command, and passing the map island and exec benchmark_gpu commands to the console. I got minimum 15.9 fps and average 45, on the RX 480 listed here.

https://gist.github.com/kode54/3ff952f39b407d6f806a6779838f5335

E: Got it working. It simply never occurred to me that I just may need to have installed mesa-vulkan-drivers:i386 on my system for a 32 bit game, heh.

kode54 avatar Nov 01 '18 03:11 kode54

Yup, that would be important.

Rabcor avatar Nov 01 '18 13:11 Rabcor

the game launches on my set up in DX10 modebut the screen is black. I can here the intro videos playing then the menu loading and the sounds of the menu but everything is pitch black. Passing -DX9 solves the issue but the performance is terrible.

Game update: AppID 17300 "", ProcID 17080, IP 0.0.0.0:0 ERROR: Could Not Get Primary Adapter Handle Installing breakpad exception handler for appid(gameoverlayui)/version(20181214221845) Installing breakpad exception handler for appid(gameoverlayui)/version(1.0) Installing breakpad exception handler for appid(gameoverlayui)/version(1.0) [1227/124238.171958:INFO:crash_reporting.cc(239)] Crash reporting enabled for process: renderer Installing breakpad exception handler for appid(gameoverlayui)/version(1.0) JS method call WebChat.GetOverlayChatBrowserInfo with 1 arguments JS method call Storage.SetString with 2 arguments JS method call SharedConnection.SendMsgAndAwaitResponse with 3 arguments Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath Game removed: AppID 17300 "", ProcID 17080 No cached sticky mapping in ActivateActionSet.JS method call WebChat.GetOverlayChatBrowserInfo with 1 arguments JS method call Storage.SetString with 2 arguments pid 17083 != 17082, skipping destruction (fork without exec?)

Computer Information: Manufacturer: Unknown Model: Unknown Form Factor: Desktop No Touch Input Detected

Processor Information: CPU Vendor: GenuineIntel CPU Brand: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz CPU Family: 0x6 CPU Model: 0x3a CPU Stepping: 0x9 CPU Type: 0x0 Speed: 3800 Mhz 4 logical processors 4 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported

Operating System Version: "Arch Linux" (64 bit) Kernel Name: Linux Kernel Version: 4.19.12-arch1-1-ARCH X Server Vendor: The X.Org Foundation X Server Release: 12003000 X Window Manager: Xfwm4 Steam Runtime Version: <Runtime disabled>

Video Card: Driver: NVIDIA Corporation GeForce GTX 970/PCIe/SSE2 Driver Version: 4.6.0 NVIDIA 415.25 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 59 Hz VendorID: 0x10de DeviceID: 0x13c2 Revision Not Detected Number of Monitors: 1 Number of Logical Video Cards: 1 Primary Display Resolution: 1920 x 1200 Desktop Resolution: 1920 x 1200 Primary Display Size: 20.39" x 12.76" (24.02" diag) 51.8cm x 32.4cm (61.0cm diag) Primary Bus: PCI Express 16x Primary VRAM: 4096 MB Supported MSAA Modes: 2x 4x 8x 16x

Sound card: Audio device: VIA VT2020

Memory: RAM: 7934 Mb

Miscellaneous: UI Language: English LANG: en_GB.utf8 Total Hard Disk Space Available: 104481 Mb Largest Free Hard Disk Block: 18209 Mb VR Headset: None detected

Recent Failure Reports:

Bednar87 avatar Dec 27 '18 11:12 Bednar87

@Bednar87 I guess that is because D3D9 is translated to the obsolete OpenGL... The project VK9 could be the solution for this problem... I hope Valve fund it like they did with DXVK, because there are A LOT of heavy DX9 games.

CSahajdacny avatar Dec 27 '18 12:12 CSahajdacny

Wow, alot of recent comments here! There are people working on a gamespy alternative called OpenSpy, and crysis multiplayer is working again! HERE IS THE MULTIPLAYER FIX There are 2-3 servers up

switchgard avatar Jan 06 '19 07:01 switchgard

Wow, alot of recent comments here! There are people working on a gamespy alternative called OpenSpy, and crysis multiplayer is working again! HERE IS THE MULTIPLAYER FIX There are 2-3 servers up

Does that really work? I wonder if this can get flatout 2 multiplayer working again too...

Rabcor avatar Jan 29 '19 14:01 Rabcor

I'm testing with the GOG version, only DX9 works so far.

Environment: OS: openSUSE Tumbleweed Kernel: 4.20.7-1-default Mesa: 18.3.2 GPU: AMD RX570

I run the DX9 mode like this:

PROTON_NO_ESYNC=1 PROTON_NO_D3D11=1 STEAM_COMPAT_DATA_PATH="~/.steam/steam/steamapps/compatdata/crysis/" \
~/.steam/steam/steamapps/common/Proton\ 3.16\ Beta/proton run \
~/.steam/steam/steamapps/common/Crysis/Bin64/Crysis.exe

For the DX10 mode I had to install d3dcompiler_43

WINEPREFIX="~/.steam/steam/steamapps/compatdata/crysis/pfx/" winetricks d3dcompiler_43

And the run like this:

PROTON_NO_ESYNC=1 STEAM_COMPAT_DATA_PATH="~/.steam/steam/steamapps/compatdata/crysis/" \
~/.steam/steam/steamapps/common/Proton\ 3.16\ Beta/proton run \
~/.steam/steam/steamapps/common/Crysis/Bin64/Crysis.exe

The DX10 version starts correctly, I'm able to navigate the menus, but it hangs when loading a game.

With Proton 3.16-4 I see:

...
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
ERROR: Could Not Get Primary Adapter Handle
warning: The VAD has been replaced by a hack pending a complete rewrite
warning: The VAD has been replaced by a hack pending a complete rewrite

And with Proton 3.16-7 I see:

...
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
ERROR: Could Not Get Primary Adapter Handle
wine: Call from 0x7b44af1c to unimplemented function d3dx10_43.dll.D3DX10LoadTextureFromTexture, aborting

itaranto avatar Mar 01 '19 23:03 itaranto