Open Foxy41 opened 3 weeks ago
This may be fixed in the next release of dxvk-nvapi if the game uses that. They recently added some functionality that games can use to get VRAM amount. Will try to test here later.
IIRC we had a report about this game before. I don't remember what the issue was, but it's probably not using DXGI to query the available amount of VRAM because (some) game developers really hate writing simple and reliable code for some reason.
Game might also just not support ≥4GB of VRAM, in which case DXVK_CONFIG="dxgi.maxDeviceMemory=4095"
might help.
Game might also just not support ≥4GB of VRAM, in which case
DXVK_CONFIG="dxgi.maxDeviceMemory=4095"
might help.
Since I dualboot, I also tried running the game natively in Windows and It works fine with 8GB of VRAM (I could enable real time lighting without issues).
Just so it is noted in the issue. I have only been able to reproduce this issue myself when using older Wine builds like Proton 8 or Wine-GE. When using Proton 9, Experimental, Proton-GE 9-16 etc it works fine. The game doesn't use nvapi and i haven't found that the problem is something to do with dxvk as using a newer dxvk version in Proton 8 doesn't prevent the issue from showing.
Tested with a RTX 4080 (system also have a AMD iGPU)
Ah nice :+1:
Seems to be a wayland issue. On wayland the real-time lighting setting is disabled, but I tried in X11 and the setting works correctly. (I am using KDE Plasma, version 6.2.2)
I guess you are running this under Xwayland and not the experimental native Wayland driver? Then open a bug report for Wine, component "winex11.drv":
https://bugs.winehq.org/buglist.cgi?component=winex11.drv&product=Wine&resolution=---
I guess you are running this under Xwayland and not the experimental native Wayland driver?
Yes, I am running the game using ProtonGE9-16 under Xwayland
Then open a bug report for Wine, component "winex11.drv":
https://bugs.winehq.org/buglist.cgi?component=winex11.drv&product=Wine&resolution=---
Okay, I will later create a bug report on the component you gave, saying that in Starcraft Remastered VRAM is not reported correctly under Xwayland
Linking the new Wine issue: https://bugs.winehq.org/show_bug.cgi?id=57351
I have been playing Starcraft Remastered, the game is running perfectly but I can't enable the real time lighting option, which requires a minimum of 2gb of vram, even though my GPU is supported.
Software information
Lutris, playing Starcraft remastered through the battle.net in lutris.
System information
Screenshots
The conditions are having hardware with more than 2gbs of VRAM, and not having the cartooned skin set enabled (Which I haven't enabled) dxvk hud shows the gpu correctly