Whisky-App / Whisky

A modern Wine wrapper for macOS built with SwiftUI
https://getwhisky.app
GNU General Public License v3.0
12.81k stars 272 forks source link

[Bug]: Can't run a steam game after updating GPTK as prompted #849

Open flxfl opened 9 months ago

flxfl commented 9 months ago

Description

Previously had no issues with running Pinball FX. After being prompted by whisky to update to a newer version of GPTK and obviously updating, I haven't managed to run a game. Just a blank black screen and a crash afterwards.

M3 Max 16/40 with 48Gb RAM, Sonoma 14.3.1

Steps to reproduce

  1. Install Steam
  2. Install Pinball FX
  3. Have the latest Whisky and GPTK
  4. Run Pinball FX though steam

Expected behaviour

Usual game launch

Logs

Whisky Version: 2.2.3
Date: 2024-02-27T12:16:51Z
macOS Version: 14.3.1

Bottle Name: стим
Bottle URL: /Users/vamp/Library/Containers/com.isaacmarovitz.Whisky/Bottles/D477E52B-AF6A-416D-ABAC-0B2DC783B50E

Wine Version: 7.7.0
Windows Version: win10
Enhanced Sync: msync

Metal HUD: false
Metal Trace: false

Arguments: start /unix /Users/vamp/Library/Containers/com.isaacmarovitz.Whisky/Bottles/D477E52B-AF6A-416D-ABAC-0B2DC783B50E/drive_c/Program Files (x86)/Steam/steam.exe

Environment:
{
    "DXVK_ASYNC" = 1;
    WINEDEBUG = "fixme-all";
    WINEDLLOVERRIDES = "dxgi,d3d9,d3d10core,d3d11=b";
    WINEMSYNC = 1;
    WINEPREFIX = "/Users/vamp/Library/Containers/com.isaacmarovitz.Whisky/Bottles/D477E52B-AF6A-416D-ABAC-0B2DC783B50E";
}

msync: bootstrapped mach port on wine-303523-msync.
msync: up and running.
010c:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
0120: thread_get_state failed on Apple Silicon - faking zero debug registers
0128: thread_get_state failed on Apple Silicon - faking zero debug registers
wine: configuration in L"/Users/vamp/Library/Containers/com.isaacmarovitz.Whisky/Bottles/D477E52B-AF6A-416D-ABAC-0B2DC783B50E" has been updated.
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
0280: thread_get_state failed on Apple Silicon - faking zero debug registers
0138:err:ole:com_get_class_object no class object {294935ce-f637-4e7c-a41b-ab255460b862} could be created for context 0x17
0138: thread_get_state failed on Apple Silicon - faking zero debug registers
01a0:err:wininet:HTTP_ParseRfc1123Date unexpected time zone L"UTC"
01a0:err:wininet:HTTP_ParseRfc850Date unexpected month format L" Feb 2024 07:18:00 UTC"
01a0:err:wininet:HTTP_ParseDate unexpected date format L"Tue, 27 Feb 2024 07:18:00 UTC"
0138: thread_get_state failed on Apple Silicon - faking zero debug registers
029c:err:wininet:HTTP_ParseRfc1123Date unexpected time zone L"UTC"
029c:err:wininet:HTTP_ParseRfc1123Date unexpected time zone L"UTC"
035c:err:wininet:HTTP_ParseRfc850Date unexpected month format L" Feb 2024 07:18:00 UTC"
029c:err:wininet:HTTP_ParseDate unexpected date format L"Mon, 26 Feb 2024 15:46:00 UTC"
0530: thread_get_state failed on Apple Silicon - faking zero debug registers
0138: thread_get_state failed on Apple Silicon - faking zero debug registers
0644: thread_get_state failed on Apple Silicon - faking zero debug registers
0678: thread_get_state failed on Apple Silicon - faking zero debug registers
06cc:err:wininet:HTTP_ParseDate unexpected date format L"Tue, 27 Feb 2024 04:22:00 UTC"

What version of Whisky are you using?

2.2.3

What version of macOS are you using?

Sonoma (macOS 14)

Issue Language

nikita-fuchs commented 9 months ago

It looks like my issue is related to this, it started since updating GPTK: https://github.com/Whisky-App/Whisky/issues/851

nikita-fuchs commented 9 months ago

There is a workaround for now on how to get back to the old GPTK version: https://www.reddit.com/r/macgaming/comments/1b22xo4/latest_gptk_version_issues_downgrading/

stepan-civin commented 8 months ago

same issue

hypermagik commented 8 months ago

Looks like we can get previous "GPTK" (Libraries.zip) by combining the workflow run ID from here with the following URL: https://nightly.link/Whisky-App/WhiskyBuilder/actions/runs/<workflow_run_id>/Libraries.zip. The contents should go into ~/Library/Application Support/com.isaacmarovitz.Whisky.

nikita-fuchs commented 8 months ago

Looks like we can get previous "GPTK" (Libraries.zip) by combining the workflow run ID from here with the following URL: https://nightly.link/Whisky-App/WhiskyBuilder/actions/runs/<workflow_run_id>/Libraries.zip. The contents should go into ~/Library/Application Support/com.isaacmarovitz.Whisky.

could you share the file / the URL please @hypermagik ?

hypermagik commented 8 months ago

This one appears to be the previous version - GPTK 1.2.0+2: https://nightly.link/Whisky-App/WhiskyBuilder/actions/runs/8116009858/Libraries.zip

nikita-fuchs commented 8 months ago

For me, that latest 1.3.0 update solved my issue today.

k0nker commented 8 months ago

1.3.0 update did not fix it for me. The Whisky log just loops through thread_get_state failed on Apple Silicon - faking zero debug registers

I tried running it via terminal using the wine64 that Whisky gets, and this is the error that spams:

0260:fixme:winsock:setsockopt Ignoring SO_RANDOMIZE_PORT src\common\net.cpp (1706) : Assertion Failed: getsockname failed in BGetBoundAddr with error: 10022 0024: thread_get_state failed on Apple Silicon - faking zero debug registers 0024: thread_get_state failed on Apple Silicon - faking zero debug registers

I can run steam through wine-crossover installed via brew, but obviously it doesn't have any of the GPTK libraries so games wont run, but Steam itself does run without issue.