New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve support for AMD + Intel GPU setups #22
Comments
It seems even though the above settings will launch Battle.net successfully, the actual game still causes a crash to SDDM. Diablo 3 (DXVK) is working, but Starcraft Remastered and Starcraft 2 (DX9) crash. It looks like this is related to WINE. However, WINE is working normally outside of Lutris. |
I will have to close this because it's not really a Lutris bug. |
How do you figure? If system WINE is working normally, but "Lutris-WINE" causes a crash, would it not be a Lutris-specific problem? Do you know where I might find a crash log or something to confirm whether or not Lutris-WINE is causing the crash? |
Can you try switching Wine that is used by Lutris to |
Yes, it still crashes in the same way. I took a look at the system logs, and from what I can tell, Lutris is having a problem with the iGPU in my 4790k. I have a dedicated AMD card in my desktop. I don't know if it's normal for it to load up drivers for both the dedicated and integrated card, but it looks like the crash is being caused from this. Running system WINE outside Lutris or Proton from Steam doesn't cause this crash. Here is the relevant part in the log:
So it detects both GPUs:
But it seems to want to use the iGPU, I think:
It shouldn't be trying to load this driver, right? It should be using |
I have a 4790k as well but the iGPU doesn't get detected by Lutris, guess it's just turned off in the BIOS. Will try to re-enable it to see if I can reproduce this. |
Do you have "Use Discrete Graphics" enabled in Lutris and for the game? It should make the game use your AMD graphics instead. |
I don't get the Intel GPU even after enabling it in the BIOS. I think this is because I have an Nvidia card blocking any kind of mesa driver to load. I would have to unplug the RX580 from my console and put it on my desktop but I'd rather not do that... |
@tannisroot Yes, "Use Discrete Graphics" is enabled. It's weird that this started happening recently. The games in question (Starcraft Remastered and Starcraft 2) were working fine a few weeks ago. I don't recall any major changes to my system since then. Diablo 3 works fine, I think because it's using DXVK. Actually, the Battle.net client for Starcraft Remastered and Starcraft 2 also work fine with DXVK enabled, but it still crashes when the game is launched. I guess because at that point it uses WINE and tries to switch back to the iGPU? Anyway, I'll try disabling the iGPU and see if it changes anything. |
@strycore Disabling the iGPU from my BIOS fixes the issue. Now the Battle.net application successfully launches with default settings (no DXVK) for both games. I re-enabled the iGPU just to test, and, yes, it does bring back the crash. So it seems the "Use Discrete Graphics" option isn't working as intended in this case. Thanks to both for the suggestions. I guess I should also report this bug in Plasma since the crash isn't actually from Lutris. I think in this situation you would expect WINE to (gracefully) crash, but not Plasma, right? |
@meowmeowfuzzyface before reporting the crash to Plasma, be sure to have a way to reproduce the bug outside of lutris. May not be related to Plasma, we still don't know what is going on. |
@meowmeowfuzzyface make sure you can reproduce it with latest MESA because yours is quite old |
I just noticed that the mesa version is 18.2.8, not 18.2.2 as I previously thought. I guess it was part of a recent Ubuntu update and I didn't notice. Maybe that's when the bug was introduced. That makes me think, have I been playing these two games on integrated graphics without noticing? I'll try to reproduce it with an updated mesa and system WINE. Anyway, I guess the crash isn't Lutris' problem, just the fact that it's choosing the wrong GPU. |
hello, Thanks! |
@bluheim I could not find any way around the issue other than turning off the iGPU through the BIOS. Even if everything in BIOS, Ubuntu, and Lutris is set to prefer the dedicated card, it still selects the iGPU. You have to turn it off. |
thanks meowmeow! |
I can't disable integrated carrizo gpu on my laptop but i have used the solution from here
In my case; (llvm version or |
Would it be beneficial to have a dropdown with all the GPUs that can be used to set DXVK_FILTER_DEVICE_NAME? |
Battle.net application crashes my entire desktop if run without DXVK enabled. Happens with every version of WINE I've tried (3.16, 3.18, 3.21, 4.4) on Lutris 0.5.1.3. The Battle.net login window works without problems, but the next window causes a black screen and then kicks me out to SDDM.
Enabling DXVK fixes the issue and Battle.net works without problems.
I'm not entirely sure when or why this started happening, as it was working fine a few weeks ago and I haven't made any major system changes. Mesa version didn't change (18.2.2) and I'm on Ubuntu 18.10 using KDE.
The text was updated successfully, but these errors were encountered: