http://bugs.winehq.org/show_bug.cgi?id=25495
Summary: Homeworld 2: Shadows and High-Quality Hyperspace Effect are disabled Product: Wine Version: 1.3.7 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: megatog615@gmail.com
Even with the Shadows and High-Quality Hyperspace Effect enabled through the options menu in Homeworld 2, either effect is not seen in the actual gameplay.
From some research via Google, it appears both effects use the stencil
capabilities of the graphics driver. I'm assuming the game is failing to detect the correct capabilities of the graphics card.
http://bugs.winehq.org/show_bug.cgi?id=25495
--- Comment #1 from Evan Goers megatog615@gmail.com 2010-12-12 01:40:12 CST --- Created an attachment (id=32458) --> (http://bugs.winehq.org/attachment.cgi?id=32458) glxinfo output for ATI Radeon HD 5770 with Catalyst 10.10 drivers
http://bugs.winehq.org/show_bug.cgi?id=25495
Evan Goers megatog615@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |megatog615@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=25495
Marcos arkanus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arkanus@gmail.com
--- Comment #2 from Marcos arkanus@gmail.com 2010-12-17 22:49:05 CST --- I confirm this bug.
It happens with a nvidia geforce 7300go and a nvidia geforce 330m the game simply ignores the setting
http://bugs.winehq.org/show_bug.cgi?id=25495
--- Comment #3 from Evan Goers megatog615@gmail.com 2010-12-17 23:21:31 CST --- I think the game is not receiving the correct capabilities for the graphics card and drivers, so it might be a problem for all cards in existence. To add yet another card to the unsupported list, my old NVIDIA Geforce 8800GTS(640MB) didn't enable the effects either.
I attempted to modify the driverConfig.lua file inside Bin/ to force all the special effects to be enabled, but it still does not work. Apparently they used this LUA script to prevent graphics features from being enabled on hardware and driver versions that had only minimal or broken support for these features.
I've tried all I could think of with this script, but I wonder if it can indeed be hacked to enable the features as a workaround?
http://bugs.winehq.org/show_bug.cgi?id=25495
Athrun samurai_no_densetsu@yahoo.es changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |samurai_no_densetsu@yahoo.e | |s
--- Comment #4 from Athrun samurai_no_densetsu@yahoo.es 2010-12-20 19:27:11 CST --- Not really.
Pixel buffer was killed in commit: 8a107bc63a4c6f55026a4174afda440c90e64f0e and last supporting version was wine 1.1.40, but HW2 pbuffer effects worked only long time ago, somewhere between wine-1.1.15 and wine-1.1.20.
From relics forums:
-nopbuffer - disables pixel buffer support. "If you disable pbuffer support you will not get any render to texture effects (shadows and the high quality hyperspace effect-you'll be able to see into your ship like HW1).
If you need more info check these links.
http://forums.relicnews.com/showthread.php?16267-Homeworld-2-Command-Line-Sw...
http://www.winehq.org/pipermail/wine-cvs/2010-March/065010.html
http://bugs.winehq.org/show_bug.cgi?id=25495
--- Comment #5 from Evan Goers megatog615@gmail.com 2010-12-20 21:04:00 CST --- Could pbuffers be emulated with fbos?
http://bugs.winehq.org/show_bug.cgi?id=25495
--- Comment #6 from Athrun samurai_no_densetsu@yahoo.es 2011-03-28 13:31:38 CDT --- I dont think so.
http://bugs.winehq.org/show_bug.cgi?id=25495
--- Comment #7 from butraxz@gmail.com 2013-09-15 07:38:26 CDT --- This ticket has not been updated for over 900 days. Development recommends to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed. If you are no longer able to put effort to this ticket, you can abandon it.
Is this still an issue with 1.7.2 or higher ?
http://bugs.winehq.org/show_bug.cgi?id=25495
--- Comment #8 from Evan Goers megatog615@gmail.com 2013-09-15 18:37:03 CDT --- I could test it again, but I think it's been concluded here that the effects won't work at all because pbuffer support has been removed.
Usually I don't touch bug status unless told to do so. I would like to see if it works again before doing anything though. I have since switched to NVIDIA so I'm wondering now if that would have any effect.
https://bugs.winehq.org/show_bug.cgi?id=25495
gooberslot@cox.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gooberslot@cox.net
--- Comment #9 from gooberslot@cox.net --- Still an issue on 1.7.26 with my old X1950 Pro.
https://bugs.winehq.org/show_bug.cgi?id=25495
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Status|UNCONFIRMED |NEW CC| |wylda@volny.cz Ever confirmed|0 |1
--- Comment #10 from Wylda wylda@volny.cz --- Confirmed by several users. Then it's a regression:
HW2 pbuffer effects worked only long time ago, somewhere between wine-1.1.15 and wine-1.1.20.
https://bugs.winehq.org/show_bug.cgi?id=25495
--- Comment #11 from Ken Sharp imwellcushtymelike@gmail.com --- Please try again in Wine 1.7.48. If the problem persists then you need to run a regression test.
http://wiki.winehq.org/RegressionTesting
https://bugs.winehq.org/show_bug.cgi?id=25495
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=25495
Linards linards.liepins@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |linards.liepins@gmail.com
--- Comment #12 from Linards linards.liepins@gmail.com --- Issue not present in Homeworld Remastered Edition v2.1 when running Homeworld2Classic.
wine-3.11-staging / Fedora 28 x64
https://bugs.winehq.org/show_bug.cgi?id=25495
--- Comment #13 from Linards linards.liepins@gmail.com --- Issue not present in Homeworld Remastered Edition v2.1 when running Homeworld2Classic.
wine-4.13-staging
https://bugs.winehq.org/show_bug.cgi?id=25495
--- Comment #14 from Saulius K. saulius2@gmail.com --- Linards, can you test it using non-staging Wine?
https://bugs.winehq.org/show_bug.cgi?id=25495
--- Comment #15 from Linards linards.liepins@gmail.com --- (In reply to Saulius K. from comment #14)
Linards, can you test it using non-staging Wine?
Ummnnn...
I will try; no promises.
https://bugs.winehq.org/show_bug.cgi?id=25495
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #16 from Zebediah Figura z.figura12@gmail.com --- It probably also matters whether the original or remastered version is being tested.
https://bugs.winehq.org/show_bug.cgi?id=25495
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com
--- Comment #17 from Alex Henrie alexhenrie24@gmail.com --- There is a Homeworld 2 Demo available at https://www.moddb.com/games/homeworld-2/downloads/homeworld-2-demo-for-windo...
Can you describe what the difference between the high-quality and low-quality hyperspace effect is supposed to look like?
https://bugs.winehq.org/show_bug.cgi?id=25495
--- Comment #18 from Alex Henrie alexhenrie24@gmail.com --- I found that to be able to start, Homeworld 2 on Wine requires either the -nopbuffer flag or the Staging patch from Bug 11436.
However, I can't tell if that Staging patch fixes the high-quality effects too because I don't know what to look for to tell whether or not they are working.
https://bugs.winehq.org/show_bug.cgi?id=25495
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Hardware|x86-64 |x86 URL| |https://www.moddb.com/games | |/homeworld-2/downloads/home | |world-2-demo-for-windows
--- Comment #19 from Alex Henrie alexhenrie24@gmail.com --- Aha, I think I've got it! With the Staging patch applied and the high-quality hyperspace effect enabled, a white halo appears around the ship when warping from hyperspace back to ordinary space. The halo effect is not used when the ship warps in at the beginning of the game: You have to (in a "Player vs CPU" game) build a "Research Module" and a "Hyperspace Module", then press J to warp. (I confirmed on a Windows computer that the effect is not used for the initial warp.) The halo does not appear if the high-quality hyperspace effect is disabled or if it is enabled but Homeworld2.exe was started with -nopbuffer.
Since Wine Staging appears to support the high-quality hyperspace effect perfectly, I'm inclined to say that this bug report is a duplicate of Bug 11436.
$ sha256sum homeworld2_demo.exe 2cb0617610ba3030ff8cecdfc4b180ade82b23de366550635f51640c6a356c33
https://bugs.winehq.org/show_bug.cgi?id=25495
--- Comment #20 from Alex Henrie alexhenrie24@gmail.com --- Created attachment 73824 --> https://bugs.winehq.org/attachment.cgi?id=73824 High-quality hyperspace
https://bugs.winehq.org/show_bug.cgi?id=25495
--- Comment #21 from Alex Henrie alexhenrie24@gmail.com --- Created attachment 73825 --> https://bugs.winehq.org/attachment.cgi?id=73825 Low-quality hyperspace
https://bugs.winehq.org/show_bug.cgi?id=25495
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winex11.drv Status|NEW |STAGED Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/winex11-wglShare | |Lists Keywords|regression |
--- Comment #22 from Alex Henrie alexhenrie24@gmail.com --- I'm removing the regression keyword from this bug because I was unable to find any old version of Wine where high-quality hyperspace worked. I think Athrun must have been mistaken when they said in Comment #4 that it worked at some point between Wine 1.1.15 and Wine 1.1.20. If you can prove me wrong, please do.
I'm also adding a link to the Wine Staging patch that fixes the problem, because the bug that it was originally for (Bug 11436) has now been fixed in a different way.
Because this bug with Homeworld 2 is fundamentally due to a limitation of GLX compared to WGL, it may not be possible to fix correctly unless Wine reimplements OpenGL on top of Vulkan. Then again, maybe things will be better on Wayland, which uses EGL instead of GLX.
https://bugs.winehq.org/show_bug.cgi?id=25495
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |NEW Staged patchset|https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/winex11-wglShare | |Lists | Keywords| |patch
--- Comment #23 from Zeb Figura z.figura12@gmail.com --- (In reply to Alex Henrie from comment #22)
I'm removing the regression keyword from this bug because I was unable to find any old version of Wine where high-quality hyperspace worked. I think Athrun must have been mistaken when they said in Comment #4 that it worked at some point between Wine 1.1.15 and Wine 1.1.20. If you can prove me wrong, please do.
I'm also adding a link to the Wine Staging patch that fixes the problem, because the bug that it was originally for (Bug 11436) has now been fixed in a different way.
Because this bug with Homeworld 2 is fundamentally due to a limitation of GLX compared to WGL, it may not be possible to fix correctly unless Wine reimplements OpenGL on top of Vulkan. Then again, maybe things will be better on Wayland, which uses EGL instead of GLX.
I'm removing the STAGED status since the patch isn't staged anymore (and, given that it's a hack, I don't think we want it in wine-staging).
Probably the best solution is to try to get a new GLX extension, at least in the free drivers...
https://bugs.winehq.org/show_bug.cgi?id=25495
--- Comment #24 from Henri Verbeet hverbeet@gmail.com --- (In reply to Alex Henrie from comment #22)
Then again, maybe things will be better on Wayland, which uses EGL instead of GLX.
If EGL helps, note that that's available on X11 too.