https://bugs.winehq.org/show_bug.cgi?id=54200
Bug ID: 54200 Summary: 227:11: E5005: Function "sqrt" is not defined. Product: vkd3d Version: 1.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: hlsl Assignee: wine-bugs@winehq.org Reporter: nostritius@googlemail.com Distribution: ---
Created attachment 73732 --> https://bugs.winehq.org/attachment.cgi?id=73732 Mass Effect 1 Log with dxvk
I have tried to run the first Mass Effect Game from Steam with dxvk. As it can be seen in the attached log, it fails with the message "227:11: E5005: Function "sqrt" is not defined.". From what i can see, the hlsl part of vkd3d defines some intrinsic functions (abs, clamp, min, max, ...), where the sqrt function is searched for, maybe it is just a missing feature? The game works well when disabling dxvk and running it in opengl mode.
https://bugs.winehq.org/show_bug.cgi?id=54200
nostritius@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Fedora
https://bugs.winehq.org/show_bug.cgi?id=54200
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW CC| |z.figura12@gmail.com Severity|major |normal
--- Comment #1 from Zeb Figura z.figura12@gmail.com --- Yes, we're missing plenty of intrinsics.
https://bugs.winehq.org/show_bug.cgi?id=54200
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|227:11: E5005: Function |Mass Effect crashes on |"sqrt" is not defined. |missing 'sqrt' handling
https://bugs.winehq.org/show_bug.cgi?id=54200
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Specifically 'sqrt' is now implemented for pre-sm4 versions, https://source.winehq.org/git/vkd3d.git/commit/3c23e1713c5199855cdeaf678875e....
https://bugs.winehq.org/show_bug.cgi?id=54200
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Mass Effect crashes on |Multiple games crash on |missing 'sqrt' handling |missing 'sqrt' handling | |(Mass Effect, Mini Ninjas | |demo)
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- I only managed to test the SM1 version with Mini Ninjas, but that one works.
https://bugs.winehq.org/show_bug.cgi?id=54200
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |3c23e1713c5199855cdeaf67887 | |5eab81a151861
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- I'm going to mark this one fixed.
https://bugs.winehq.org/show_bug.cgi?id=54200
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed win 1.7.