Whisky-App / Whisky

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

[Bug]: BeamNG is broken by whisky v2.3.0 #923

Closed hw2007 closed 1 month ago

hw2007 commented 7 months ago

Description

After updating to Whisky 2.3.0, and installing "WhiskyWine", BeamNG.drive no longer works. It brings up a wine error saying the app needed to close, and then brings up an error from beamng saying that an error occurred in the user interface. Wine Error

BeamNG Error

Also, is it possible to change the install location for whiskywine, so that I can use two versions of whisky at once (older one for beamng, newer one for everything else) until this gets fixed?

Steps to reproduce

  1. Install whisky 2.3.0 or higher
  2. Install BeamNG.drive to a new windows 10 bottle with DXVK on (beamng needs this to run)
  3. Try to run BeamNG

Expected behaviour

The game should start without issues like it does in previous versions of whisky.

Logs

Whisky Version: 2.3.1
Date: 2024-04-12T02:55:14Z
macOS Version: 14.4.1

Bottle Name: Beamng.drive
Bottle URL: /Users/braden/Library/Containers/com.isaacmarovitz.Whisky/Bottles/60104E4D-B1B2-4CCA-95F2-056B36178649

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

Metal HUD: false
Metal Trace: false

DXVK: true
DXVK Async: true
DXVK HUD: off

Arguments: start /unix /Users/braden/Library/Containers/com.isaacmarovitz.Whisky/Bottles/60104E4D-B1B2-4CCA-95F2-056B36178649/drive_c/Program Files (x86)/Steam/steamapps/common/BeamNG.drive/Bin64/BeamNG.drive.x64.exe

Environment:
{
    "DXVK_ASYNC" = 1;
    "GST_DEBUG" = 1;
    WINEDEBUG = "fixme-all";
    WINEDLLOVERRIDES = "dxgi,d3d9,d3d10core,d3d11=n,b";
    WINEESYNC = 1;
    WINEMSYNC = 1;
    WINEPREFIX = "/Users/braden/Library/Containers/com.isaacmarovitz.Whisky/Bottles/60104E4D-B1B2-4CCA-95F2-056B36178649";
}

msync: bootstrapped mach port on wine-3a2c266-msync.
msync: up and running.
0100:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
wine: configuration in L"/Users/braden/Library/Containers/com.isaacmarovitz.Whisky/Bottles/60104E4D-B1B2-4CCA-95F2-056B36178649" has been updated.
info:    VK_KHR_surface
info:    Memory Heap[0]: 
info:    VK_KHR_win32_surface
info:      Size: 16384 MiB
info:    Buffer size:  1800x1019

What version of Whisky are you using?

2.3.1

What version of macOS are you using?

Sonoma (macOS 14)

Issue Language

killsecurly commented 7 months ago

A TS_PROCESS_CRASHED Segmentation Fault is usually when an antivirus of some sort is blocking the item required to run, such as in this case, MainGEUI. Or, the app does not have the system permissions to access the folder with MainGUEI in it. Try disabling antiviruses and allow all users to View & Edit in Finder.

Another thing to try might be verifying game files integrity on Steam. (If you are using it)

hw2007 commented 7 months ago

A TS_PROCESS_CRASHED Segmentation Fault is usually when an antivirus of some sort is blocking the item required to run, such as in this case, MainGEUI. Or, the app does not have the system permissions to access the folder with MainGUEI in it. Try disabling antiviruses and allow all users to View & Edit in Finder.

Another thing to try might be verifying game files integrity on Steam. (If you are using it)

I have already verified game files, also tried reinstalling the game completely. As for antivirus stuff, I do not have any antivirus software installed to my mac (besides whatever apple includes). I decided to try setting the entire bottle to view & edit for everyone, but that didn't do anything.

thepolarbear0818 commented 7 months ago

I have the exact same issues. Same errors, same issues. Is there a way to roll back to a previous version so that I can play BeamNG again?

hw2007 commented 7 months ago

I have the exact same issues. Same errors, same issues. Is there a way to roll back to a previous version so that I can play BeamNG again?

Yes, you can!

  1. Download any version before update 2.3.0 from the releases page
  2. Open the whisky version you just downloaded
  3. In the menu bar, hit Whisky >> Setup...
  4. Hit "Uninstall" on GPTK
  5. Hit "Next", and it will start installing the old version of GPTK which doesn't have this bug.

Note: You will not be able to use newer versions of whisky unless you install the new WhiskyWine, which will make beamng stop working again.

deepdarkenergy commented 6 months ago

same issue here, wish it could be fixed soon

TechGuy541 commented 6 months ago

Same problem, hope it will be fixed soon

Another2846 commented 6 months ago

Another week I hope it will get fixed

8Bitz0 commented 6 months ago

Have any other programs using CEF been having issues? Steam seems to have no problem despite its heavy reliance on CEF.

hw2007 commented 5 months ago

Have any other programs using CEF been having issues? Steam seems to have no problem despite its heavy reliance on CEF.

Could you please tell me what CEF means? None of the other programs I have had any issues, only BeamNG.

8Bitz0 commented 5 months ago

Have any other programs using CEF been having issues? Steam seems to have no problem despite its heavy reliance on CEF.

Could you please tell me what CEF means? None of the other programs I have had any issues, only BeamNG.

CEF is the Chromium Embedded Framework, which basically allows using Chromium web views within your graphical application. BeamNG.drive uses this for the user interface. Chromium has a history of breaking inside Wine. I was wondering if other applications using CEF or even Electron-based (which uses Chromium to create the interface for the entire application, like Discord) stopped working.

Have you tried running an older version of the game from the Steam betas menu for BeamNG?

jacobtohahn commented 5 months ago

This happens on my Mac with an M1 Max. I created a new bottle with a fresh install of Steam and BeamNG, using Whisky 2.3.2.

Screenshot 2024-05-21 at 9 43 17 PM
hw2007 commented 5 months ago

Have any other programs using CEF been having issues? Steam seems to have no problem despite its heavy reliance on CEF.

Could you please tell me what CEF means? None of the other programs I have had any issues, only BeamNG.

CEF is the Chromium Embedded Framework, which basically allows using Chromium web views within your graphical application. BeamNG.drive uses this for the user interface. Chromium has a history of breaking inside Wine. I was wondering if other applications using CEF or even Electron-based (which uses Chromium to create the interface for the entire application, like Discord) stopped working.

Have you tried running an older version of the game from the Steam betas menu for BeamNG?

Ah, okay. No I have not tried installing an older version.

the-man-machine commented 4 months ago

Yup, same issue. The blasted chromium infecting all the software 😐

arctorin commented 4 months ago

Is there an update to this issue? I am getting the same issue described here as well.

Ezekielman commented 4 months ago

Same here. I just bought the game, I'm sad that I can't play it.

hw2007 commented 4 months ago

Same here. I just bought the game, I'm sad that I can't play it.

You can still play it, you just need to install an older version of whisky!

See my instructions here >> https://github.com/Whisky-App/Whisky/issues/923#issuecomment-2054283802

Ezekielman commented 4 months ago

You can still play it, you just need to install an older version of whisky!

Right. But I have another issue: when I connect any non-xinput device to the game, it freezes, which makes it nearly unplayable for me since I don't have any xinput controllers or steering wheels.

cmartell-at-ocp commented 2 months ago

Can confirm this is an issue in other games as well. UE5.4 project stops working with 2.3.0 and newer. Downgraded to 2.2.4 and game is working again.

killsecurly commented 2 months ago

Can confirm this is an issue in other games as well. UE5.4 project stops working with 2.3.0 and newer. Downgraded to 2.2.4 and game is working again.

@cmartell-at-ocp

I feel like Whisky2 just has a problem in general.

IsaacMarovitz commented 1 month ago

Fixed in WhiskyWine 2.4.1

Ezekielman commented 1 month ago

Tested on Whisky 2.3.2 with the latest version of WhiskyWine. Tested on Windows 10, and 11, with and without DXVK, and with and without MSync. Still no workie. Screenshot 2024-09-18 at 19 42 26 Screenshot 2024-09-18 at 19 42 34

IsaacMarovitz commented 1 month ago

It took a few hours for the WhiskyWine update to propagate, make sure you're up to date and you completely restart everything on the new Wine version.

hw2007 commented 1 month ago

It took a few hours for the WhiskyWine update to propagate, make sure you're up to date and you completely restart everything on the new Wine version.

Yup, confirming that now that the update appeared it is resolved. Yippee!