ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
22.83k stars 1k forks source link

Grand Theft Auto V (271590) #37

Open CodingKoopa opened 5 years ago

CodingKoopa commented 5 years ago

I got the Rockstar Social Club launcher to work from Steam Play after running the Winetricks corefonts verb, but the game always crashes for me on startup, regardless of whether I have esync or DXVK disabled. I have tried running the game in the built in safe mode as well. Curiously enough, there have been reports of the game working with Proton for other people.

Whenever the game crashes, the launcher catches it, and prompts to try again. This stack trace is printed to the console as well.

Info:

Guy1524 commented 5 years ago

This game does work on wine staging w/o proton, so it may be a wine staging patch proton needs.

Yrds commented 5 years ago

Do you installed all the prerequisites to run proton, like vulkan driver? Link here

CodingKoopa commented 5 years ago

My graphics driver version is the recommended version there, yes.

dennisblokland commented 5 years ago

its something with proton. wine + dxvk manually works great.

Dark-Schnitzel commented 5 years ago

Elementary OS 0.4.1 (Based Ubuntu 16.04) Mesa 18.0.5 RX 580 Proton 3.7

Tried to Install Corefonts to the default Wineprefix via Winetricks, this seems to work, all Fonts in the Launcher are visible.

Login with Socialclub works, but launcher loads for a infinte time until i manually kill it. Same Thing for Launching GTA Online

kisak-valve commented 5 years ago

GTAV launcher doesn't end/game does not start

Issue transferred from https://github.com/ValveSoftware/Proton/issues/375. @rkunschke posted on 2018-08-24T10:09:57:

If i use the online mode the launcher says i am logged in but the launcher does not close. After some time time everything crashes. In offline mode the launcher does not crash but it does not end too. The GTAV .exe launches but it does nothing. No errors just nothing.


@arzardk commented on 2018-08-24T10:19:03

You need to attach game log file and your system specs via github gist to this issue. You can obtain log file if you running Proton with user settings, which you can find in your /home directory. Path to this folder is something like this /home/arzardk/.steam/steam/steamapps/common/Proton 3.7. In this folder you find file called user_settings.example.py or something similar. Just rename it to user_settings.py and run your game again. You can find log file in your /home directory after that. For system specs just copy-paste your system information from Steam to github gist and paste link here.


@rkunschke commented on 2018-08-24T10:30:05

Okay thnk you: https://gist.github.com/rkunschke/7dd1b363bd572d8cdb50b53090e16181 Computer Information: Manufacturer: Unknown Model: Unknown Form Factor: Desktop No Touch Input Detected

Processor Information: CPU Vendor: GenuineIntel CPU Brand: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz CPU Family: 0x6 CPU Model: 0x3c CPU Stepping: 0x3 CPU Type: 0x0 Speed: 3700 Mhz 8 logical processors 4 physical processors HyperThreading: Supported 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: Linux 4.x (64 bit) Kernel Name: Linux Kernel Version: 4.18.4-zen1-1-zen X Server Vendor: The X.Org Foundation X Server Release: 12001000 X Window Manager: KWin Steam Runtime Version: steam-runtime-beta-release_2018-06-14

Video Card: Driver: NVIDIA Corporation GeForce GTX 980 Ti/PCIe/SSE2 Driver Version: 4.6.0 NVIDIA 396.54 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 59 Hz VendorID: 0x10de DeviceID: 0x17c8 Revision Not Detected Number of Monitors: 2 Number of Logical Video Cards: 1 Primary Display Resolution: 3840 x 2160 Desktop Resolution: 6270 x 2160 Primary Display Size: 20.51" x 11.54" (23.50" diag) 52.1cm x 29.3cm (59.7cm diag) Primary Bus: PCI Express 16x Primary VRAM: 6144 MB Supported MSAA Modes: 2x 4x 8x 16x

Sound card: Audio device: 20K2

Memory: RAM: 11954 Mb

Miscellaneous: UI Language: English LANG: C Total Hard Disk Space Available: 225582 Mb Largest Free Hard Disk Block: 14577 Mb VR Headset: None detected

Recent Failure Reports:


@vanyasem commented on 2018-08-24T10:38:39

Install corefonts using winetricks to workaround that issue


@vanyasem commented on 2018-08-24T10:39:07

Seems like a duplicate of https://github.com/ValveSoftware/Proton/issues/37


@rkunschke commented on 2018-08-24T10:41:49

Yes it is as you say so. Will installing something with winetricks change it for proton? I don't even have installed wine

AlexeyProkhin commented 5 years ago

I have the same issue with my Nvidia 1070 card. I discovered from logs the crash happens because of missing nvapi64.dll. Disabling the library via winecfg did not help, so I had to resort to changing device id as described in https://github.com/doitsujin/dxvk/wiki/Configuration. The game launches now and works with a decent frame rate.

This is exactly how I managed to make the game work: 1) Created gta_dxvk.conf file:

dxgi.customDeviceId = E366
dxgi.customVendorId = 1002

2) Went to the game properties and set launch options:

DXVK_CONFIG_FILE=/path/to/gta_dxvk.conf %command%

By the way, wine-staging has a stub implementation for nvapi and nvapi64. So I guess this is why a lot of people reporting gtav working with wine and dxvk without an issue.

rkunschke commented 5 years ago

Thanks too this fix the game launches now :) But it did not end loading ("loading story") It did not hang or crash it just doesn not stop loading. I waited about 15 Minuits. i will try it again and look in the Steamlog and post it. EDIT: Lots of DLL Stuff here. Im not very into wine so i do not realy know what to do :/ https://gist.github.com/rkunschke/92482d2d515ea7c1eaafaa13c6d374fa

mimattr commented 5 years ago

@CodingKoopa Not tested Proton but can confirm both GTA V and GTA Online function as expected using DX11 on Ubuntu 16.04 LTS (x64) with Wine Staging 3.14 and DXVK 0.70:

Steam System Information

Additionally used:

Hope that helps.

bjo81 commented 5 years ago

On Arch GTA V also fails with Proton, but runs with Wine Staging 3.14 and DXVK 0.70 without any additions.

CPU: AMD FX 6300 GPU: AMD RX 460

CodingKoopa commented 5 years ago

I can confirm that:

tl;dr: @AlexeyProkhin's workaround worked for me. Cheers.

insunaa commented 5 years ago

@AlexeyProkhin's workaround for proton works here as well

I do get some stutters at regular intervals, that I do not get using wine+dxvk on their own.

jkhsjdhjs commented 5 years ago

Had to use @AlexeyProkhin's workaround and install corefonts using WINEPREFIX=/path/to/steam-library/steamapps/compatdata/271590/pfx winetricks corefonts to make the game window appear.

Then the game hung up at "Initializing Social Club..." (after the rockstar logo appeared) and showed Social Club Error (Error: 17) after a while. Afterwards I tried to launch it using Proton 3.7-4 Beta and couldn't get past the Rockstar Logo, the game crashes after 5 seconds. I then switched back to Proton 3.7-3, game still crashing. I validated my game files and as this didn't help I redownloaded and reinstalled GTA, again with the workaround and by installing corefonts using winetricks. But I can't get past the Rockstar Logo anymore.

Anyone with the same problem and maybe with a solution?

The steam log that was created by renaming user_settings.sample.py to user_settings.py in <steam library>/steamapps/common/Proton 3.7 can be found here: https://gist.github.com/jkhsjdhjs/209e2e2436453184a036f63c014baed6

EDIT: Sadly installing dxvk 0.70 didn't change anything. EDIT2: I'm on Arch Linux 4.18.4 with an i5-7600K and a GTX660 with nvidia 396.54.

steve-todorov commented 5 years ago

Guys, I was able to successfully start gta on my ubuntu. What I did was:

There are some issues with the game i.e. sometimes the mouse can escape the game container or the game won't actually "exit" when you quit so you have to kill it, but for the better part it's working quite well, considering this is an early beta. I didn't expect it to even start.

c1349887 commented 5 years ago

Hello. And I have such problem.Corefonts has established through Winetricks, NVIDIA 396.54 drivers default

rrivecatt commented 5 years ago

I had an issue where the game wouldn't launch past the Social Club launcher, and the fix provided by @AlexeyProkhin seemed to get it to at least launch, for what I'm assuming is an issue with the Rockstar Social club, the splash screen progresses to the part of where it's supposed to show, but instantly crashes. Part where it's supposed to show, as in it sometimes crashes at the rockstar logo, or hangs before the loading begins. After it crashes, it hangs on: image I'm running Arch, and had success getting it to run on wine + dxvk (albeit small bugs with the visuals, but still got it running). I've also tried the extra step from @steve-todorov to no luck. Anybody else experiencing this?

insunaa commented 5 years ago

@c1349887 You don't have corefonts installed. Either install the corefonts winetricks package or find another way to get microsoft compatible fonts on your system.

@Lemai-zz Can you provide system information? Which graphics driver do you use?

steve-todorov commented 5 years ago

@Lemai-zz try:

export WINEPREFIX=/path/to/library/steamapps/compatdata/271590/pfx
winetricks --gui

Then select default prefix, install a font and finally corefonts. If that doesn't do the trick - I don't know... :/

insunaa commented 5 years ago

People... Provide information if you want help. Just knowing that you run Steam and GTA V isn't enough to troubleshoot...

ghost commented 5 years ago

@d3rrial @c1349887 said he has corefonts installed.

So do I and it's still not going past that social club window. (Using Archlinux, Mesa, Amd GPU)

insunaa commented 5 years ago

@Unmoving Then his corefonts installation didn't take. This has all the signs of missing MS fonts. Can't help for AMD issues, unfortunately, I'm on nvidia and I didn't experience the same problem you have with nvidia yet.

legluondunet commented 5 years ago

Use winetricks --force corefonts to be sure coreonts is intalled in your prefix.

rrivecatt commented 5 years ago

@d3rrial Hey, apologies for not being as thorough as I can be. The packages I have installed are nvidia-396.54-1 along with mesa-18.1.7-1 (if it really matters). I do have corefonts installed, and again running Arch lol. image Along with a GTX 770. If there's anything I'm missing, I'm totally willing to provide. @steve-todorov Unfortunately, that gave no luck for some reason. I'm going to keep troubleshooting myself because this is just weird.

BloodyIron commented 5 years ago

Trying to run GTA V through STEAM with Proton, both main and beta.

Get logged into rockstar online, then it tries to load the game, then rockstar social comes back and tells me the game failed to launch, want to try it in safe mode?

Try safe mode, same thing.

Kind of annoying since I already had it running in a Lutris setup with DXVK 0.70 + WINE 3.13-staging (and earlier versions previously).

vanyasem commented 5 years ago

Have you applied the DXVK workaround mentioned above? @BloodyIron

wUFr commented 5 years ago

Got GTA V working on Elementary OS 5 (beta)

installed packages: llvm clang and i am pretty sure i had corefonts installed from before driver: Nvidia 396 (it actually ran on 390 too, but had some framerate issues)

specified custom DXVK config in GTA V startup params as @AlexeyProkhin suggested:

image

image

even downscaling works, so i can run on 4K screen with sharp UI etc, while rest is rendered at 1080p

In game i had to use Nvidia PCSS shadows tho, otherwise shadows would be all weirdly rendered, which tanked FPS on my 970 into 30-40s, but it runs stable, played for few hours without crash, until someone sent me message on steam, which minimized the game and that made it crash :D

BloodyIron commented 5 years ago

@vanyasem have just been doing "vanilla" (gui beta opt in) testing methods, no modifications. Been leaving that to Lutris previously.

headlesscyborg commented 5 years ago

I have the same problem like @BloodyIron @rrivecatt and @jkhsjdhjs

Rockstar Social Club starts, game window appears (the one with police lights) then crashes after a few seconds. I have applied the gta_dxvk.conf workaround and installed corefonts.

Arch Linux, Gnome Shell 3.28, Nvidia 1050 Ti with 396.54 drivers, 24GB RAM, i5 7300HQ, Proton 3.7.3. I haven't tested it with vanilla Wine/DXVK. By the way GTA SA and Witcher 3 both run great (mentioning this to let you know my drivers etc. should be ok).

EDIT: wrong driver number, it's actually 396.54 EDIT 2: It's the same on Proton 3.7.4-beta. The only difference is that it starts windowed on 3.7.3 and fullscreen on 3.7.4-beta. EDIT 3: Adding terminal output:

eventfd: Too many open files wine: Unhandled exception 0x20474343 in thread a0 at address 0x7b44abbc (thread 00a0), starting debugger... eventfd: Too many open files AL lib: (EE) ReleaseThreadCtx: Context 0x7d469a10 current for thread being destroyed, possible leak! Game removed: AppID 271590 "", ProcID 4173 No cached sticky mapping in ActivateActionSet.JS method call WebChat.GetOverlayChatBrowserInfo with 1 arguments JS method call ClientNotifications.DisplayClientNotification with 3 arguments JS method call WebChat.GetOverlayChatBrowserInfo with 1 arguments pid 4004 != 4003, skipping destruction (fork without exec?)

vanyasem commented 5 years ago

Either configure esync properly as in the readme or disable it. It's not an issue with the game, it's an issue with your configuration @headlesscyborg

jkhsjdhjs commented 5 years ago

Adding PROTON_NO_ESYNC=1 to the launch options fixed it for me.

rrivecatt commented 5 years ago

@jkhsjdhjs well this got my game past crashing at the start, but now I'm stuck on initializing social club lol

anyone else have this issue?

lol i'm an idiot, apologies

jkhsjdhjs commented 5 years ago

@rrivecatt Yes, I had it too, see https://github.com/ValveSoftware/Proton/issues/37#issuecomment-416002074 Try restarting your PC or reinstalling the game, that should fix it. Maybe killing all wine processes is also enough.

BloodyIron commented 5 years ago

I'm trying to test and report the unmodified out of box experience. Should I download and try again, or wait for changes to Proton to roll out?

iafx commented 5 years ago

Hello guys, I fixed the problem with the loading social club screen forcing corefonts install with this https://askubuntu.com/questions/829247/cannot-install-the-package-ttf-mscorefonts-installer

kisak-valve commented 5 years ago

Grand Theft Auto V on Gentoo Linux

Issue transferred from https://github.com/ValveSoftware/Proton/issues/826. @KostWarCZE posted on 2018-08-28T13:59:16:

DISCLAIMER I coudn't find any other thread on ValveSoftware/Proton that reports this issue with Grand Theft Auto V

ISSUE Grand Theft Auto is able to run, but mouse movement is restricted on +- 280° it seems that mouse cursor is restricted by sides of accesable DE. It seems that mouse cursor is moving in background and is stopped by left and right side of a monitor. Game also freeze every few seconds-minutes on load while driving a car or moving to a location where character wasn't before. freezes on few seconds. Also Game was able to crash Xorg once i hit a bridge in full sped in Veiron.

INFO emerge --info - https://paste.pound-python.org/show/1jergtB0ZSBI88eH1PGI/ vulkaninfo - https://paste.pound-python.org/show/DvgUS21HaW0894bFtRnx/ Gentoo Linux kernel 4.17.14 with vulkan USE flag emerged. Proton - 3.7-4 Beta system info - https://pastebin.com/jF0WcUuM let me know what else i can provide not familiar with Proton diagnostics.

STEPS TO REPRODUCE 1) Install (emerge) steam 2) log-in 3) install Grand Theft Auto V. 4) Run the game 5) game starts 6) wait for load. 7) move to a location where you wasn't before -> should result in freeze on few seconds. 8) Try to turn around with mouse -> should be restricted on +- 280° Suspect same issue on other distros.

Let me know if i can help :+1:

jkhsjdhjs commented 5 years ago

@KostWarCZE Same issue here, my cursor moves on my seconds screen then, turning limited to +- 280°. I fixed it once by hitting Alt + Enter until I'm in fullscreen again. Also I normally have 60-70FPS, but after a while it drops to 20-30FPS and I didn't find a way to get them back to 60-70 again. I also just experienced my first rendering issues with GTA:

justeff commented 5 years ago

Cool, thought I'm the only one having this problem. Used Lutris to get GTA5 working, had the same problem with the mouse ans the freezes (better: input lags). Used wine13-staging. With esync game crashed after some seconds when showing the intro. The input problems are not related to dxvk, they still exist when you run the game without it

insunaa commented 5 years ago

Did you try changing the mouse input source in the game settings around? I initially had the same issue with DXVK (I don't remember which setting it was, I think it was DirectInput) but when I changed it to "Windows" and "RawInput" it worked (though RawInput was extremely jumpy)

jkhsjdhjs commented 5 years ago

Thanks @d3rrial, it was RawInput by default, changing it to Windows fixed it for me! Also my FPS don't seem to drop anymore, not even when tabbing out!

EDIT: Nevermind, they just dropped after tabbing out and back in... I really don't know what's causing it.

wUFr commented 5 years ago

I also had issues with mouse, when it was awfully jumpy no matter the input type,i had OBS running on other screen and set up to "capture screen", on "window capture" it looked fine... but i guess actual reason may be not getting proper focus on game window and thats why mouse would go outside the window and FPS would be weird at least.

what may have fix that was setting game to fullscreen, not sure if i spammed alt enter a lot, or changed it in game graphics settings tho

wUFr commented 5 years ago

@jkhsjdhjs also about rendering issues, on first run, i had to use Nvidia PCSS shadows, otherwise whole world would be covered by some weird bugged shadow. On second run i tried "smoother" and so far it works fine too... so i got my framerate back and running mostly at 60FPS :D

jkhsjdhjs commented 5 years ago

I tried changing the Soft Shadows Option to NVIDIA PCSS, which makes my FPS drop to 40. So I tried to change it to Sharp, but after a longer period (5-10 minutes) of having the game minimized the rendering issues are still appearing and my FPS are at only 20. So those two issues are related. I then minimized and maximized my game again and somehow managed to get rid of them, with my FPS back at 60. Thank you anyways @wUFr! tl;dr: the rendering issues are not related to the soft shadow setting but (probably) to minimizing the game for a longer period and also can be fixed somehow. also they occur exactly when my fps are at 20 only

moioyoyo commented 5 years ago

i dont know what do!I tried to verfy integrity of the game.To reinstall it.But i still get error code 9. ! captura de ecran_2018-08-29_23-58-54

kisak-valve commented 5 years ago

Grand Theft Auto V - blurry textures

Issue transferred from https://github.com/ValveSoftware/Proton/issues/968. @headlesscyborg posted on 2018-08-30T10:37:50:

Hi, I play GTA5 using Proton 3.7-3 and it runs great, howewer textures look bad. I'm not sure why, I have AF set to 16x and textures to high. 20180830120711_1 A few more screens including in-game settings: https://imgur.com/a/iOoQiym

See? The far you look the worse the textures are. It looks like broken anisotropic filtering even though it's set to 16x.

Computer info: OS: Arch Linux x64 + Gnome Shell 3.28 CPU: i5 7300HQ GPU: NVIDIA GeForce GTX 1050 Ti [396.54 driver] RAM: 24GB DDR4 2400MHz Steam system info: https://pastebin.com/dnWnu34p

I tried disabling AF in the game, forcing AF to 16x in Nvidia settings, setting shader to high but it's exactly the same.

I use default Proton 3.7-3 with only the workaround suggested by @AlexeyProkhin here https://github.com/ValveSoftware/Proton/issues/37#issuecomment-415833819

kisak-valve commented 5 years ago

Grand Theft Auto V - Input causes frame times to spike after a while

Issue transferred from https://github.com/ValveSoftware/Proton/issues/985. @Clifforus posted on 2018-08-30T13:11:20:

Game runs incredibly well for me except from this one issue. After playing for some time, usually about an hour, suddenly every keyboard input and movement of the mouse will cause the frame time to spike for that frame, resulting in a stuttering unplayable mess. If I don't touch the keyboard and mouse, then performance continues to be smooth. Only way to stop the stuttering is to restart the game.

Specs:

CPU: AMD Ryzen 5 1600 GPU: Sapphire 8GB RX 480 Nitro+ RAM: 16GB Corsair Vengeance LPX DDR4 3200MHz Motherboard: MSI Tomahawk B350

Boot drive: 250GB Samsung 850 EVO GTA V installed on: 3TB Toshiba 7200RPM SATA III HDD

OS: Lubuntu 18.04 Kernel: 4.18.5-041805-generic Mesa version: 18.3.0-devel (padoka PPA) Proton version: 3.7-4 Beta

Apologies if this isn't enough info, I'm not exactly an expert. Please let me know if there's any logs that might be of use or any other information I can post.

rrivecatt commented 5 years ago

@kisak-valve what's your frame scaling mode at in advanced settings? I had a similar problem, but once you set it off, it does the trick.

Clifforus commented 5 years ago

@rrivecatt I'm not sure if you're referring to my issue posted above or any of the others that have been merged with this one, but I'll answer anyway just in case.

Frame scaling mode is off. I'm running the game at 2560x1440. Display mode isn't making a difference either.

DarkZek commented 5 years ago

Mirrors seem to be very weird, very similar to the blocky lighting so they could be related? https://steamcommunity.com/sharedfiles/filedetails/?id=1498716341

john5788 commented 5 years ago

I applied the gta_dxvk.conf fix as mentioned above, but I get a crash after Rockstar Social Club: Unhandled exception: page fault on read access to 0x000001b6 in 64-bit code (0x00007f75f7b2dfe7).

Full log here: https://pastebin.com/zLrnKZZZ

System information: Wine build: wine-3.7 Platform: x86_64 Version: Windows 7 Host system: Linux Host version: 4.14.65-gentoo

justeff commented 5 years ago

@john5788 Try a newer wine version. Could play the game with native wine 3-14 (also with 3-13) and DXVK, but needed some fixes. Would recommend to use Lutris to handle this for you.