WineHQ
Category: Main Games Game Tools QuArK 6.6.0 Beta 6

QuArK

No Screenshot

Submit Screenshot
A powerful editor for games based on or similar to id Software's series of Quake games. Currently supports 37 distinct games, and a countless number of mods. Integrates a map editor, model editor, archive editors and texture management.

Application Details:

Version: 6.6.0 Beta 6
License: Open Source
URL: http://quark.sourceforge.net/
Votes: 0
Latest Rating: Silver
Latest Wine Version Tested: 4.12.1

Maintainers: About Maintainership

Link QuArK 6.6.0 Beta 6 Specifics fix Link QuArK 6.6.0 Beta 6 Circular Import Fix Free Download The Official QuArK website - Download

Test Results

Selected Test Results

What works

Opening map editor, opening model editor, basic manipulations, compiling the map, and launching the game with the map.

What does not

Both the OpenGL 3D and Direct3D viewports give 'invalid floating point operation' errors, but only if they were the selected renderers when starting QuArK.

Workarounds

To avoid the 'invalid floating point operation' errors in the OpenGL and Direct3D viewports, start QuArK with software rendering selected, and then switch to your preferred renderer.

What was not tested

Many special features.

Hardware tested

Graphics:

  • GPU: Other
  • Driver: open source

Additional Comments

A patch has been released to fix some Wine-issues: http://quark.sourceforge.net/download.php#patches

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)Jul 11 20194.12.1Yes Yes YesSilverDanielPharos 
ShowUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)Jul 06 20194.12Yes Yes YesSilverDanielPharos 
ShowUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)Jun 22 20194.11Yes Yes YesSilverDanielPharos 
CurrentUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)Jun 10 20194.10Yes Yes YesSilverDanielPharos 
ShowUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)May 24 20194.9Yes Yes YesSilverDanielPharos 

Known Bugs

Bug # Description Status Resolution Other apps affected
3548 .lnk file is created on the desktop together with the program icon... NEW View

Show all bugs

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

The
by DanielPharos on Saturday March 16th 2019, 8:04
Some more background on the "invalid floating point operation" errors: QuArK is written in Delphi, which by default enables floating point exceptions. This is not the norm, so a lot of code is never tested against this. This includes several OpenGL implementations, both on Windows and Linux. Affected OpenGL implementations can trigger a floating point exception during rendering, leading to the viewport reporting the "invalid floating point operation" error. This is not a Wine-specific issue: it has been known to occur on Windows and inside VMWare Workstation (Windows host + Windows guest).

Due to a copy-paste of assembly code from the Glide 2 programming guide, both the software and Glide (3Dfx) renderers in QuArK disable floating point exceptions when they are first initialized, and leave them off. This explains why using the software renderer before switching to the OpenGL/Direct3D renderer makes the error go away for that session.

The latest nightly builds of QuArK 6.6.0 Beta 7 contain a FP-exception workaround for the OpenGL renderer, enabled by default. Floating point exceptions are disabled when the call to OpenGL to render the viewport is made, and re-enabled when that call returns. But because this issue is restricted to OpenGL implementations (as this issue is not know to occur with Direct3D on Windows), the workaround is currently not implemented for the Direct3D renderer. In other words, if the used Direct3D implementation in Wine translates Direct3D-calls to OpenGL, this error can still happen. Note also that together with the implementation of this FP-exception workaround, the floating point exception disabling behavior of the software and Glide renderers has been corrected (i.e. removed), so that particular workaround no longer functions.

As can be seen from the test results, it appears that Wine started triggering this behavior between 3.0-rc4 and 3.0-rc5; my guess would be commit 5020fb7c478a080461df8655a3eac629648c4488. (This commit cannot cleanly be reverted on later versions of Wine, due to commit a83532d8dd5e99226dbccf0398083b052f033b9a, and probably more changed after that.) I haven't tested reverting this commit, as the commit is not the problem: the bug is in the OpenGL implementation, not QuArK or Wine. Also visible in the test results is that the error can sometimes disappear (my test results from Jan 22 2019 to Mar 08 2019 were good, but Mar 16 2019 is bugged again); this is probably due to the OpenGL implementation or drivers in the OS being updated or otherwise changed. Hopefully at some point the developers of these OpenGL implementations will correct their bugs, so that the floating point exception doesn't happen anymore in the first place.
RE: The
by DanielPharos on Saturday March 16th 2019, 8:05
(The title of this post should be:
The "invalid floating point operation" error explained
, but the website decided to eat it.)
Back