https://bugs.winehq.org/show_bug.cgi?id=55965
Bug ID: 55965 Summary: Divide by zero error with Trackmania 2020 when loading tracks [D3DMetal] Product: Wine Version: unspecified Hardware: arm OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: omgloldave@gmail.com
Created attachment 75555 --> https://bugs.winehq.org/attachment.cgi?id=75555 backtrace log of game crashing when loading into a game.
Hi all, bit at a loss on where exactly to report this. I'm trying here first and if it's not a problem with wine itself, please tell me where to poke exactly.
So Trackmania 2020 has a rather weird error when it comes to using Apples new GPTK layer. The game works amazingly... in the editor. You can load tracks and drive them (with pretty remarkable quality).
However, when you load a track or join a server, the game crashes with a divide by zero error. Additionally, in the editor, some graphical elements are weird (i.e, some trees are not rendering, weird blown out textures etc) and you can't render the track (aka "calculate shadows").
Luckily TM2020 is free to play to recreate this. Just open the game and try to load any track. You can also recreate the editor weirdness by using the scenery blocks.
I have used Whisky, Crossover (where this error log comes from), PortingKit and vanilla wine and each yields the same results with various versions (all released within the last 4-5 months). There's a bug report on Whisky on this issue that's flagged specifically as an issue with wine (also I posted a comment with no response: https://github.com/Whisky-App/Whisky/issues/235). I currently use Parallels to play (which works fine, of course using a different method of emulation), but with the new GPTK update the performance increase is apparently massive, so it would be nice to see this fixed.
I'm not going to make this harder by guessing, as I am not super technical with Wine. However looking at the backtrace and just glancing at the error-log I think the problem is down to Wine's interaction with GPTK/D3DMetal, or with GPTK/D3D/Apple itself.
Weirdly, I don't *think* this is a WINE bug necessarily, TM2020 is my favourite game, so more than anything I kinda want to know *where* exactly to report this error in detail if not here. Plus I want someone far more well versed than me to explain how to report this bug.
Is this an Apple issue or a WINE issue or a skill issue?
Thanks for your help and all your hard work!
https://bugs.winehq.org/show_bug.cgi?id=55965
esd omgloldave@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |d3d
https://bugs.winehq.org/show_bug.cgi?id=55965
--- Comment #1 from esd omgloldave@gmail.com --- Sorry forgot to add:
Macbook Pro 14" - M1 Max - 64GB Ram MacOS Sonoma 14.0
Download here: https://www.ubisoft.com/en-gb/game/trackmania/trackmania or via Steam
https://bugs.winehq.org/show_bug.cgi?id=55965
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #2 from Vijay Kamuju infyquest@gmail.com --- Please try wine 8.21 as 8.0.1 is quite old or better test with wine 9.0 which will be available in 2 months time
https://bugs.winehq.org/show_bug.cgi?id=55965
--- Comment #3 from esd omgloldave@gmail.com --- Created attachment 75567 --> https://bugs.winehq.org/attachment.cgi?id=75567 With newer version
Hi thanks for commenting. I've gone ahead and generated a new log from the latest version of Crossover, which I still think may be a forked version of 8.0.1.
Nonetheless if it's a matter of maybe waiting a bit of time until Wine 9, then perhaps I'll wait. That said I do wanna make sure it's a Wine issue and not an Apple one
https://bugs.winehq.org/show_bug.cgi?id=55965
esd omgloldave@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |8.0.1 CC| |omgloldave@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=55965
--- Comment #4 from joaopa jeremielapuree@yahoo.fr --- Crossover is not supported in this tracker. If you have problems with this software, please report to Crossover.
In this tacker, you have to use vanilla-wine (or staged) only. So please retest with vanilla wine 8.21
https://bugs.winehq.org/show_bug.cgi?id=55965
--- Comment #5 from esd omgloldave@gmail.com --- (In reply to joaopa from comment #4)
Crossover is not supported in this tracker. If you have problems with this software, please report to Crossover.
In this tacker, you have to use vanilla-wine (or staged) only. So please retest with vanilla wine 8.21
Hi, please forgive me when I say I am quite new to the process and I am genuinely trying my best to report this.
I cannot seem to build GPTK into the latest version of Wine (well just before the latest as 9 just came out) to attempt to replicate. Admittedly, after trying, I feel this is beyond my expertise. I spoke to a developer who has experience with this and they have advised that this is immensely difficult to do with someone who is brand new to WINE tinkering.
What would be the steps for me to take to get this looked at and reported properly? I have read guides and the rules and I am trying to produce an accurate error log.
https://bugs.winehq.org/show_bug.cgi?id=55965
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #6 from joaopa jeremielapuree@yahoo.fr --- One minute of googling leads me to https://github.com/Gcenx/macOS_Wine_builds/releases
Before using it, please READ CAREFULLY the description of the release That means: use the release without any tweak: -no esync enabled -no flicker enabled -no dxvk enabled -no d3dmetal enabled and so on
https://bugs.winehq.org/show_bug.cgi?id=55965
--- Comment #7 from esd omgloldave@gmail.com --- (In reply to joaopa from comment #6)
One minute of googling leads me to https://github.com/Gcenx/macOS_Wine_builds/releases
Before using it, please READ CAREFULLY the description of the release That means: use the release without any tweak: -no esync enabled -no flicker enabled -no dxvk enabled -no d3dmetal enabled and so on
I had some previous issues with getting this to work. I will attempt again however and report back.
https://bugs.winehq.org/show_bug.cgi?id=55965
--- Comment #8 from esd omgloldave@gmail.com --- (In reply to joaopa from comment #6)
One minute of googling leads me to https://github.com/Gcenx/macOS_Wine_builds/releases
Before using it, please READ CAREFULLY the description of the release That means: use the release without any tweak: -no esync enabled -no flicker enabled -no dxvk enabled -no d3dmetal enabled and so on
Alright and now the application doesn't even run. Frankly I give up as this is frustrating me to no end. If anyone else wants to try: Download UbisoftConnect (https://www.ubisoft.com/en-gb/), then download Trackmania (it's free), then try and open a track.
That said, looking at the github of the link you sent it does specifically say
"Do not report issues to Winehq after applying D3DMetal"
Which I understand. However I am certain the issue *is* with D3DMetal itself. As mentioned in the original post I am looking to where exactly to report the error if not here???
https://bugs.winehq.org/show_bug.cgi?id=55965
--- Comment #9 from joaopa jeremielapuree@yahoo.fr --- If you use crossover, report to Crossover not wine bugzilla. This bug tracker is for vanilla wine or staged wine only.
https://bugs.winehq.org/show_bug.cgi?id=55965
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |NOTOURBUG CC| |z.figura12@gmail.com
--- Comment #10 from Zeb Figura z.figura12@gmail.com --- Problems with d3dmetal should be reported to Apple. I don't really expect them to do anything about it, but there's nothing we can do either.