[Bug 43530] New: A lot of games (mostly old) crash with Nvidia drivers 384.59
https://bugs.winehq.org/show_bug.cgi?id=43530 Bug ID: 43530 Summary: A lot of games (mostly old) crash with Nvidia drivers 384.59 Product: Wine-staging Version: 2.14 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: qptainnemo(a)gmail.com CC: erich.e.hoover(a)wine-staging.com, michael(a)fds-team.de, sebastian(a)fds-team.de Distribution: --- Created attachment 58926 --> https://bugs.winehq.org/attachment.cgi?id=58926 crash report from wine Pretty much all old games stopped working, as in anything pre-directx 9. Examples include Anachronox, Arcanum, Kult: Heretic Kingdoms. Some non-old games also do, such as Test Drive Unlimited 2 and Driftmoon. I can't discern the pattern between the games that work and the games that don't but it seems to be affecting mostly pre-dx9 games. I'm running Arch Linux and using the currently latest proprietary Nvidia drivers 384.59 (arch package 384.59-4). All of the mentioned games launch in wine staging 2.13 and in vanilla Wine 2.14. An example of a crash report is in the attachment. Here's my steam game list if you want me to test something else http://steamcommunity.com/id/qptain_nemo/games/?tab=all -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 qptain Nemo <qptainnemo(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #1 from Sebastian Lackner <sebastian(a)fds-team.de> --- (In reply to qptain Nemo from comment #0)
All of the mentioned games launch in wine staging 2.13 and in vanilla Wine 2.14.
Could you please attach the terminal output? There were no Staging specific wined3d changes between 2.13 and 2.14 and we also test pre-dx9 games during our release testing, so it would really surprise me if we somehow missed such a major regression. I assume you already did try to reboot since upgrading your nVidia graphic drivers? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #2 from qptain Nemo <qptainnemo(a)gmail.com> --- The terminal output seems to offer the identical output to the crash report but I just discovered that this is entirely Arch-specific. I downloaded the build of 2.14 provided by Lutris and there was no issue. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #3 from qptain Nemo <qptainnemo(a)gmail.com> --- Created attachment 58927 --> https://bugs.winehq.org/attachment.cgi?id=58927 terminal output -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #4 from Fabian Maurer <dark.shadow4(a)web.de> --- Looks like a nvidia driver bug to me. It really shouldn't crash in libglx_nvidia.so.0. Does it work with mesa? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 Erik Hanson <erik(a)slackbuilds.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erik(a)slackbuilds.org -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 solusoperandi <solusoperandi(a)protonmail.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |solusoperandi(a)protonmail.ch -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 felixonmars(a)archlinux.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |felixonmars(a)archlinux.org --- Comment #5 from felixonmars(a)archlinux.org --- FYI: Nekopara Vol.3 crashes with nvidia drivers but works with mesa here. Very similar backtrace. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=43594 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #6 from Sebastian Lackner <sebastian(a)fds-team.de> --- (In reply to qptain Nemo from comment #2)
The terminal output seems to offer the identical output to the crash report but I just discovered that this is entirely Arch-specific. I downloaded the build of 2.14 provided by Lutris and there was no issue.
Have you been able to find out more details about this issue in the meantime? Is it maybe related to a compiler change or optimization? Does it work when building Wine with "-O0" for example? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 andy <andy86(a)fastwebnet.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andy86(a)fastwebnet.it --- Comment #7 from andy <andy86(a)fastwebnet.it> --- Same crash for me with most non steam games, also in directx9. Strange but steam games work well without bug. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 mrdeathjr28(a)yahoo.es changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrdeathjr28(a)yahoo.es --- Comment #8 from mrdeathjr28(a)yahoo.es --- In my case works anachronox, test drive unlimited 2 + mods with nvidia drivers 384.59 and 384.69 However i use xubuntu 16.04 x64 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #9 from andy <andy86(a)fastwebnet.it> ---
but I just discovered that this is entirely Arch-specific.
Hello. I note that file "libglx_nvidia.so.0" mentioned in the bug is not present in my filesystem, instead is present "libglx.so.0", both in lib and lib32. Maybe that Arch package for nvidia drivers rename libs unlike wine expect? I try to make symbolic link between two mentioned file, but unlucky. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #10 from Felix Yan <felixonmars(a)archlinux.org> --- I believe it has something to do with case sensitivity. The real file should be: /usr/lib/libGLX_nvidia.so.0 /usr/lib32/libGLX_nvidia.so.0 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #11 from Fabian Maurer <dark.shadow4(a)web.de> ---
I believe it has something to do with case sensitivity.
What makes you think so? Does it work when you make a symlink for those two files? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #12 from Felix Yan <felixonmars(a)archlinux.org> --- Created attachment 59052 --> https://bugs.winehq.org/attachment.cgi?id=59052 Build environment difference between wine-staging 2.13 and 2.14 I was replying to andy, and I think the case sensitivity doesn't have anything to do with the bug. I have attached the build environment difference between wine-staging 2.13 and 2.14. Since wine-staging 2.13 on the current system still works, the build environment is somewhat suspicious. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #13 from Sebastian Lackner <sebastian(a)fds-team.de> --- (In reply to Felix Yan from comment #12)
I have attached the build environment difference between wine-staging 2.13 and 2.14. Since wine-staging 2.13 on the current system still works, the build environment is somewhat suspicious.
Did you try to rebuild an old Wine version with the new build tools? That would probably be a good test to make sure its really a build environment issue. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #14 from Felix Yan <felixonmars(a)archlinux.org> --- (In reply to Sebastian Lackner from comment #13)
(In reply to Felix Yan from comment #12)
I have attached the build environment difference between wine-staging 2.13 and 2.14. Since wine-staging 2.13 on the current system still works, the build environment is somewhat suspicious.
Did you try to rebuild an old Wine version with the new build tools? That would probably be a good test to make sure its really a build environment issue.
Just tried to build wine-staging 2.13 with the latest build tools, and the same error appears. I have looked through the diff but didn't have an idea yet. Which ones would you suggest me to try downgrading first? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #15 from andy <andy86(a)fastwebnet.it> --- @Felix Sorry, you're in right, i've forget '-i' in 'locate' command. :Z I try to downgrade lib32-nvida-utils, but nothing change. Then problem seems not to be in that file (but in wine?). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aarda.uunlu(a)gmail.com --- Comment #16 from Sebastian Lackner <sebastian(a)fds-team.de> --- *** Bug 43623 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Product|Wine-staging |Wine Component|-unknown |-unknown -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael.kogan(a)gmx.net --- Comment #17 from Sebastian Lackner <sebastian(a)fds-team.de> --- *** Bug 43622 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |steveamigauk(a)yahoo.co.uk --- Comment #18 from Sebastian Lackner <sebastian(a)fds-team.de> --- *** Bug 43594 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #19 from Sebastian Lackner <sebastian(a)fds-team.de> --- (In reply to Sebastian Lackner from comment #13)
(In reply to Felix Yan from comment #12)
I have attached the build environment difference between wine-staging 2.13 and 2.14. Since wine-staging 2.13 on the current system still works, the build environment is somewhat suspicious.
Did you try to rebuild an old Wine version with the new build tools? That would probably be a good test to make sure its really a build environment issue.
My first few guesses would be: lib32-mesa lib32-glibc mesa Please note that you will have to a full rebuild of Wine after downgrading those packages. My theory is that the underlying issue is either in a header file or in a static lib. To confirm that theory: Is it possible to get a working build when building with Nvidia drivers installed? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #20 from Photon <michael.kogan(a)gmx.net> --- Is it sure that https://bugs.winehq.org/show_bug.cgi?id=43622 is a duplicate of this? In #43622 the problem appears in 2.15 only but 2.14 works with 384.59 drivers perfectly well! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|A lot of games (mostly old) |A lot of games (mostly old) |crash with Nvidia drivers |crash in Nvidia driver when |384.59 |Wine is compiled on current | |ArchLinux build environment --- Comment #21 from Sebastian Lackner <sebastian(a)fds-team.de> --- (In reply to Photon from comment #20)
Is it sure that https://bugs.winehq.org/show_bug.cgi?id=43622 is a duplicate of this? In #43622 the problem appears in 2.15 only but 2.14 works with 384.59 drivers perfectly well!
Yes, its really the same bug, the backtrace is exactly identical. The title of this bug is a bit misleading though, I have updated it based on the current information. The issue seems to occur only when Wine is compiled with a current ArchLinux build environment. So far it is not known yet which packages are exactly the issue, but using a build from a different source works around the issue (see comment 2). Also, I'm not yet aware of any reports for other distributions, so its maybe even an ArchLinux specific change (or other distros just haven't updated their packages yet). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #22 from Photon <michael.kogan(a)gmx.net> --- I see, thanks for the explanation! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #23 from Felix Yan <felixonmars(a)archlinux.org> --- (In reply to Sebastian Lackner from comment #19)
My first few guesses would be:
lib32-mesa lib32-glibc mesa
Thanks, I'll try with them first.
To confirm that theory: Is it possible to get a working build when building with Nvidia drivers installed?
No, building with nvidia drivers installed didn't fix the issue here. However, building in my current "dirty" environment (all packages are up to date, but many more installed packages than the clean build environment) does get a working build. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #24 from Felix Yan <felixonmars(a)archlinux.org> --- By comparing the config.log between the build environments, the problem turns out to be "-fno-plt" in CFLAGS and "-z,now" in LDFLAGS, which Arch added recently. Wine built with these two flags enabled will have this issue. I have pushed wine-staging 2.15-2 to the repos so you can try yourself. Other variants will follow soon. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #25 from andy <andy86(a)fastwebnet.it> --- Hello. 2.15-2 working for me. Thank-you Felix Yan. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #26 from steveamigauk(a)yahoo.co.uk --- Confirmed - 2.15-2 seems to be working fine. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #27 from Photon <michael.kogan(a)gmx.net> --- -2 works as well, thanks for the quick fix! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #28 from andy <andy86(a)fastwebnet.it> --- Bug is still present with 2.16-staging. Need downgrade. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #29 from steveamigauk(a)yahoo.co.uk --- 2.16-2 fixes it again -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #30 from andy <andy86(a)fastwebnet.it> --- Hello. Anyone have try 2.18-1 from repo? Is problem still present? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #31 from steveamigauk(a)yahoo.co.uk --- (In reply to andy from comment #30)
Hello. Anyone have try 2.18-1 from repo? Is problem still present?
2.18 seems fine. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #32 from andy <andy86(a)fastwebnet.it> --- Thank you. 2.18-1 works well for me, too. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #33 from Sebastian Lackner <sebastian(a)fds-team.de> --- (In reply to andy from comment #30)
Hello. Anyone have try 2.18-1 from repo? Is problem still present?
Technically the bug is still present, but Archlinux packages contain a workaround for it and disable the problematic build flags. (In reply to Felix Yan from comment #24)
By comparing the config.log between the build environments, the problem turns out to be "-fno-plt" in CFLAGS and "-z,now" in LDFLAGS, which Arch added recently. Wine built with these two flags enabled will have this issue.
Any news regarding this bug? Do you know if this is something which can be fixed in Wine, or is it a bug in the NVIDIA driver? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 Robert Walker <bob.mt.wya(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 noabody(a)yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |noabody(a)yahoo.com --- Comment #34 from noabody(a)yahoo.com --- Please check this bug report to see if the problem is related: https://bugs.winehq.org/show_bug.cgi?id=44395 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #35 from Felix Yan <felixonmars(a)archlinux.org> --- Someone from NVIDIA confirmed it's a bug in the driver. Hopefully this will be resolved in future releases. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 Arthur Huillet <arthur.huillet(a)free.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arthur.huillet(a)free.fr -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 tokktokk <fdsfgs(a)krutt.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs(a)krutt.org -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #36 from coreyoconnor(a)gmail.com --- On NixOS the solution was to compile wine with the LD flag "-z now". Per documentation this results in: "When generating an executable or shared library, mark it to tell the dynamic linker to resolve all symbols when the program is started, or when the shared library is linked to using dlopen, instead of deferring function call resolution to the point when the function is first called." * https://linux.die.net/man/1/ld * https://github.com/NixOS/nixpkgs/issues/31989 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #37 from Arthur Huillet <arthur.huillet(a)free.fr> --- Sorry I didn't update this bug earlier - I am the "someone from NVIDIA" fromhttps://bugs.winehq.org/show_bug.cgi?id=43530#c35 This was a NVIDIA driver bug which we fixed in our r415 branch - any driver 415.XX or more recent should carry the fix. Building Wine with full relro will now work properly. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTOURBUG Status|UNCONFIRMED |RESOLVED --- Comment #38 from Matteo Bruni <matteo.mystral(a)gmail.com> --- (In reply to Arthur Huillet from comment #37)
This was a NVIDIA driver bug which we fixed in our r415 branch - any driver 415.XX or more recent should carry the fix. Building Wine with full relro will now work properly.
Thanks for the update! Closing this bug as fixed upstream. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #39 from Matteo Bruni <matteo.mystral(a)gmail.com> --- Closing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=43530 --- Comment #40 from Matteo Bruni <matteo.mystral(a)gmail.com> --- *** Bug 44395 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org