Whisky icon indicating copy to clipboard operation
Whisky copied to clipboard

[Bug]: Counter Strike 2 Driver Out of Date & Thread Starvation

Open olliedevine opened this issue 1 year ago • 8 comments

Description

Game gets good framerates but will frequently hitch, the message displayed in the top-right corner during these hitches states "Driver out of date" and the console is flooded with messages regarding thread starvation. While the console states that this may be a symptom of general performance issues, the activity monitor in macOS never reports over ~50% utilisation of CPU, often lower. Running on M2.

Screenshot 2024-05-18 at 14 21 38 Screenshot 2024-05-18 at 14 21 48 Screenshot 2024-05-18 at 14 22 22

Unsure if it's a bug or my misunderstanding but it feels like there is some performance available to Whisky which it is not using.

Steps to reproduce

Play Counter Strike 2 through Steam with Whisky on M2.

Expected behaviour

Whisky will utilise the maximum CPU available to it in order to avoid performance issues.

Logs

Whisky Version: 2.3.2
Date: 2024-05-18T13:23:01Z
macOS Version: 14.2.1

Bottle Name: Games
Bottle URL: /Volumes/External NVMe/Whisky/66BA4012-31B7-4B53-A862-70AF7EBE374E

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

Metal HUD: false
Metal Trace: true

Arguments: -k

Environment:
{
    "GST_DEBUG" = 1;
    WINEDEBUG = "fixme-all";
    WINEPREFIX = "/Volumes/External NVMe/Whisky/66BA4012-31B7-4B53-A862-70AF7EBE374E";
}

What version of Whisky are you using?

2.3.2

What version of macOS are you using?

Sonoma (macOS 14)

Issue Language

  • [X] Yes my issue is written in English

olliedevine avatar May 18 '24 13:05 olliedevine

I can confirm the described issue have the same one on M2 Pro running CS2 via Whisky. Anything that fixes / improves performance of CS2 greatly appreciated!

martimcfly avatar May 21 '24 19:05 martimcfly

Same issue here on an M1 Pro.

glimpsed avatar May 25 '24 18:05 glimpsed

Same issue here on M1 Pro.

Note: this error "Driver Out of Date" starts to appear more frequently the longer you play the game.

At the beginning it can freeze the window for a second once a minute or 2. But after 100 minutes the game becomes unplayable because of lags (little freeze duration (100-200ms), but very often).

Destaby avatar Jun 20 '24 14:06 Destaby

"Driver out of date" doesn't mean anything here, it's just whatever fake number gets reported by DXVK. It appears when there is an FPS drop or hitch but it doesn't apply for running in wine.

@olliedevine you don't have the actual CS2 wine64-preloader process visible in that screenshot. Your GPU% is probably at or near 100% in game, since CS2 is much heavier on the GPU than CSGO was. If the GPU is the bottleneck, using more CPU will not improve performance. The warning messages in console are standard for any type of low performance scenario.

AliceMousie avatar Jul 20 '24 15:07 AliceMousie

I have the same console outputs on my M2 Pro. The game runs at 120 FPS but has horrible stutters due to these errors.

andrewcon avatar Sep 05 '24 22:09 andrewcon

I have a similar issue running Winesking on M1 Pro. Using the lowest graphical settings it outputs 45-90 FPS at 1280x800 in competitive mode. And it degrades over time, probably because of throttling.

MaksymPavlenko avatar Nov 14 '24 13:11 MaksymPavlenko

I found a partial solution to this problem but it doesnt solve it is just to restart ur mac and reboot steam again. It works everytime but you have to do it ever 3-4 games. (Using m3 pro)

botsbesud avatar Jan 03 '25 09:01 botsbesud

m1 pro I have same problem. i get 120 fps but i have fps drop

hasan-furkan avatar Jan 25 '25 07:01 hasan-furkan