-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Mass Effect (17460) #177
Comments
https://bugs.winehq.org/show_bug.cgi?id=40898 The game doesn't force anything by default then, I don't know what you are talking about. |
I confirm the workaround works for me. Since I also have the same issue on Mass Effect 2, I'll try to find the parameter for this one. |
Mouse behaves very strange as if stumbling on the walls. |
Can confirm both the issue and the fix. I had to edit the following file : The only strange thing is that video resolution was limited to 1366x768. Here is my Steam SysInfo. |
Could you try installing libopenal1 ? |
The |
does the game have higher resolution on windows? |
Not tested, I do not have a Windows install, but I just searched for the answer and realized I had merely stumbled on this issue, which existed on Windows. Thus the port is seamless AFAICT and could be whitelisted if the fix was included. |
Mass Effect crashes with a Pure Virtual Function error. Issue transferred from #472. I'm feeling quite silly; I should have spent more time on this, however I didn't think to report it until now. In the 100+ hours I've played Mass Effect in wine/CrossOver (it was the first game I beat in Linux, and I've beat it more times there after) I've never gotten an error related to pure virtual functions. In fact, it has run nearly perfectly, and I can't actually remember if it has ever crashed before in Linux (On Windows it sure did!). Both Mass Effect 1&2 run BETTER in Wine/CrossOver than on Windows 7. So within the first hour seeing a crash is a big deal to me. . .but I just reset whatever changed so I pushed it from my mind and moved on to something else. I was able to fix this with a |
Responding to ME2 comment, in my limited testing ME2 ran perfectly. A surprising number of games in fact are running perfectly without any intervention from me. At least in cursory tests. Initially I thought ME1 ran perfectly too. . . |
@DrWindu the dropdown in-game seems to show only up to 1366x768, but if I use the arrow keys and scroll down, I'm able to select higher resolutions, including 1920x1080... Guess the options are just not visible? |
ME2 problem might be this, and at worst it will be solved when wine switches to FAudio. |
Not sure if discussing ME2 is appropriate in this issue but for me it has no sound when:
If started directly the second time, everything is totally fine. |
after playing for about 10 hours , i'm now in the feros system. the game starts crashing about evry 5 - 10 minutes with the Pure Virtual Function error |
You can fix that by reverting. . .something. I'm not sure what I reverted. I just did a |
i switched to the beta build of proton and i just played through the feros mission and some stuff on the citadel, no errors whatsoever. since the switch i played about 3-4 hours. |
Yeah. When you change builds it updates the prefix and had a similar effect to when I reset it. |
This is pretty weird and I just learned that it's UB to call pure virtual functions from constructor/destructor. I mean, this error must happen in the program itself so how does updating Proton/Wine fix that? Wine is written in C, not C++, it just can't cause this error by itself. Would be great to see the stack trace when it happens. |
Set openal32 to builtin and remove
from BIOEngine.ini |
That already makes more sense. EDIT: could people getting the pure virtual function crash, attach log/dump to the issue I mentioned in the first comment? |
I have same problem. No sound in Steamos or Ubuntu. We should not have to edit the configuration files to get working sound in Steamos or any Linux machine. This game works fine on my windows 10 machine. If this can be fixed in steam launch options that would be acceptable |
The game works fine on my rig at home but on my laptop which has an AMD Kabini APU it crashes with the following log error
Both systems have an AMD GPU, the laptop has an AMD A4-5000 APU with an integrated Radeon HD8330 and the Desktop has an FX6300 with a Radeon HD 7770. The game works fine on the desktop rig but crashes on the APU with the above LLVM error. Both systems are running OpenSUSE Tumbleweed with the 4.18 kernel, the AMDGPU module and Mesa 18.1 |
LLVM error.. try to update mesa or clang? |
BIOEngine.ini is in the documents folder, alongside saves and all other settings. |
I don't have that folder. In EDIT: I found it finally. I have two locations for steam apps and in my case it was in:
which is on my other, hdd parition. So at least if I still come across crashes, I know where to look for the mentioned config but so far games was suprisingly stable, although more laggy then normal. I'm wondering if that is coincidence...? Hmmm... |
@SergiusTheBest I appreciate the tip, but while moving OpenAL32.dll does produce audio, I continue to get game crashing errors. |
@michaldybczak You can find the exact path from Steam: |
Mass Effect has very poor FPS in certain places with Proton. For example, the galaxy map thing in the very beginning (also during the starting Haven't found a workaround, but can say that running trough plain Wine (and Windows Steam) the slowdown is much less severe. It is still there, but the effect is perhaps 1/3 - 1/5 of the slowdown on while running trough Proton. Also, this slowdown is a common issue on Windows and even Consoles, judging from some Google Searches I've found. Some suggest the engine is just buggy and works fine if locked to a single CPU core, but that does not help in my case (tried with taskset and "-CPUCount:1 -CPUPriority:high " -parameters for the exe. This is on an i4790k, and Radeon RX Vega64, Proton 4.2-2 (also tried older versions). |
Nth friendly reminder that vanilla wined3d (which gets used for d3d9) has bad buffers mapping, and you only get up to par performance with pba or nine. |
@mirh : in case your comment was aimed at me, my point was you get subpar performance with Proton (while playable, 5-20FPS is quite immersion breaking, and reducing details and/or resolution doesn't help at all here - as if there's some kind of race condition in the engine triggered by some conditions). I think this is valuable information for other users, since it is a bit troublesome to install another steam instance (required for plain Wine). After all, it is a bit surprising wine (without proton) gives better performance. Also, perhaps Proton could be improved, or perhaps there is some other workaround I haven't found out. Forgot I'm using wine-staging, which could of course have some optimizations which are not in Protons wine. Otherwise, I'm having some difficulties understanding your comment. Nth? pba? Nine=d3d9? (please don't use acronyms which are not common, or maybe I'm just getting old...). |
After some testing, I noticed it is actually csmt which is hurting performance (like halving-1/4thing FPS in said parts). If you get subpar performance at certain parts, disable csmt - which seems to be enabled per default in Proton wine. That requires running winecfg (issue #24) or editing the registry by hand. |
How do I do that? Since my path is:
so I used the command:
and it asked me to install mono, I thought it wouldn't hurt, then it opened winecfg correctly and then what? There is no csmt on the library list (enabled or to add). Also, am I running the proper winecfg? On one of the tabs I see version 4.6 which is correct for the system wine but not for the proton which hasn't reached that version yet. |
I noticed I had messed up a bit after my last comment ... The wine is proton does not have that setting in winecfg (contrary to wine-staging). I was only able to change it trough winecfg since I was accidentally using external wine to run winecfg - my PATH was set incorrectly (actually, "protVer" was wrong - see the example script in the issue). So in case you want to disable it, edit user.reg, find [Software\Wine\Direct3D] and change csmt to "csmt"=dword:00000000 (or run regedit). Also see here Note, there is no need to do this unless you get abnormal FPS drops. I haven't seen anybody else reporting this (might happen only on certain graphics drivers like AMDGPU). |
I do get some slowdowns and lags. Performancewise Mass Effect is far from ideal. It works but has many situations where it's not optimal. If Witcher 3 can run smoothly in ultra settings, then Mass Effect should also be handled well. Although W3 uses Vulkan and Mass Effect still OpenGL which sucks. |
@WildPenquin, I found an easier solution. I just installed Protontricks and run in terminal:
That let me to choose Mass Effect from the list and opened winetricks for the needed Proton prefix. I opened registry editor and can't find HKEY_CURRENT_USER->Software->Wine->Direct3D. I tried to search for "csmt" but nothing was found. Or maybe I don't have this csmt after all if registry search (I clicked on the "My Computer" to search all the registry branches)? |
I didn't know about protontricks, thanks for the tip. @michaldybczak : Maybe the registry entry is not there per default. However it seems that the Proton Wine still reads it. IIRC, at some point, csmt got enabled per default in the main wine branch and the option was removed from winecfg (it is beyond me why they chose to do so, as csmt is known to sometimes hurt performance, as is demonstrated here; the option is still there in wine-stagings winecfg). The same (as main wine branch) is probably the case with proton. You might try to create the entry; in my user.reg:
However, I've also noticed that I get constant crashes in Proton while playing Mass Effect (Pure Virtualization function called and much more rarely some other crashes; quicksave is the savior but it's still annoying since they happen like every 5-30minutes). But with wine Steam, they are mostly absent (or completely absent? Only played a few hours, maybe I just got lucky...). |
Some additional memory tricks (in addition to those already mentioned) you may want to try to avoid going out of memory |
Compatibility Report
System Information
LOG: SymptomsGame runs great, but there is no sound. Workaround mentioned in this #177 (comment). |
I can also confirm that the game works great with Proton 5.0-2. Performance wise it is even a way better than it was before. Still, have to play longer to see if the old issue with crashes is still there or not. The issue with the sound is an old one and once the workaround is done, the sound works no matter on which Proton version you are. |
I'm not able to select anything at any menu with the mouse cursor. I've enabled the hardware mouse in the settings. In most of them I can just use the keyboard but in other menus is impossible to do this. Is there something else I need to do? EDIT: Can confirm this only happens in Wayland, not in X11. |
Research into and a proper fix for black blobs |
Mass Effect modding tools ME3Tweaks Mod Manager and ALOT texture installer (and yes, despite the name ME3Tweaks, it's a mod manager for the whole trilogy) both don't work in Proton. They're .NET applications but even attempting to install .NET with Proton still doesn't make them work. About the Black Blobs, it's supposedly a known issue for AMD users and someone claims to have fixed it with a mod: here. |
ME3Explorer works with |
ME3Tweaks iirc DOES work in normal wine, just get it if you're on Ubuntu by a simple sudo apt install wine. ALOT I haven't got working. Iirc me3tweaks applies mods perfectly but I haven't done it in a while. |
Thank you for a solution of "no sound" issue. I will leave this comment for the sake of googlability because yesterday when I had the same problem, the issue didn't come up in my search results (I figured to force the game to use the Wine built-in
|
I mean, it's quite literally the only issue left on the AppDB |
FTR, an upstream meta-bugreport on VSS getting exhausted https://bugs.winehq.org/show_bug.cgi?id=44375 |
FTR, for people experiencing out-of-memory crashes on plain WINE (not on Proton) with DXVK or Gallium Nine, just flip the LAA bit on the game binary, works for me. You can use e.g. radare2 from your distro repository for this. Regarding Proton, LAA is the default since 5.0-4, so no changes required. I personally after doing that haven't seen any crashes, not on DXVK, nor on Gallium Nine. I may also mention that on my hw I haven't found any difference in FPS between DXVK and Nine, however DXVK seems to load faster, so I stick to it (if I was to guess, might be that DXVK has shader cache but Nine doesn't. But I'm not sure, it's just a theory). |
Shader compilation is likely the cause of Gallium Nine longer loading time (because llvm and because we do compile the shaders passed by the app right away, not on use), however as there is a disk cache, the second time the app loads it should be much faster. I'm working on reducing significantly virtual memory exhaustion with Gallium Nine. Our ixit Mesa-3D repo features an old version of the patchset, the new one reduces it even more. I think the approach I take should give better performance than DVXK when the app is loading new high res textures (like everytime you get close to an object), at least for Mass Effect2 and the high res mod. We'll see. |
in mass efect in game there is no sound. there is an option in the sound menu to enable or disable hardware sound. this does not work cuz when you restart the game the game enables hardware sound by default.
in order too fix this you need to go to the BIOEngine.ini file, open it with a text editor and look for ISACTAudio.ISACTAudioDevice. add following in that section
DeviceName=Generic Software
UseEffectsProcessing=False
save and restart the game
The text was updated successfully, but these errors were encountered: