http://bugs.winehq.org/show_bug.cgi?id=34199
Bug #: 34199 Summary: Star Wars KOTOR II: environments and characters are invisible Product: Wine Version: 1.6-rc5 Platform: Other OS/Version: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: winemac.drv AssignedTo: wine-bugs@winehq.org ReportedBy: ipickert55@gmail.com Classification: Unclassified
Created attachment 45502 --> http://bugs.winehq.org/attachment.cgi?id=45502 A wine log of starting steam and playing the game
The environments and characters are either invisible or very wierd (see the bad portrait screenshot), and this issue was not present under X11, therefore it is an issue with the mac driver.
http://bugs.winehq.org/show_bug.cgi?id=34199
--- Comment #1 from Ian ipickert55@gmail.com 2013-08-04 10:01:32 CDT --- Good Menu https://docs.google.com/file/d/0ByfjmDpjTdMHNUw3ZWQ2TWpyNm8/edit?usp=sharing
Bad Menu https://docs.google.com/file/d/0ByfjmDpjTdMHNlAxdHRvREZiV00/edit?usp=sharing
Good Portrait https://docs.google.com/file/d/0ByfjmDpjTdMHVElNMXR0Zk1LWm8/edit?usp=sharing
Bad Portrait https://docs.google.com/file/d/0ByfjmDpjTdMHTFJ0M3NaZWYta0U/edit?usp=sharing
Good Character Creation https://docs.google.com/file/d/0ByfjmDpjTdMHemYzdDd6eUJWYVU/edit?usp=sharing
Bad Character Creation https://docs.google.com/file/d/0ByfjmDpjTdMHbUh2cG00S2VsME0/edit?usp=sharing
Good Gameplay https://docs.google.com/file/d/0ByfjmDpjTdMHdGNVdnp0aWdIaHc/edit?usp=sharing
Bad Gameplay https://docs.google.com/file/d/0ByfjmDpjTdMHNjZMT0tHdlZsUFU/edit?usp=sharing
http://bugs.winehq.org/show_bug.cgi?id=34199
Ken Thomases ken@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ken@codeweavers.com
--- Comment #2 from Ken Thomases ken@codeweavers.com 2013-08-12 13:50:38 CDT --- Could you please collect two logs, one with the Mac driver and one with the X11 driver, with the +wgl,+d3d,+tid logging channels? Thanks.
To switch to the X11 driver, set the registry key:
[HKEY_CURRENT_USER\Software\Wine\Drivers] "Graphics"="x11"
http://bugs.winehq.org/show_bug.cgi?id=34199
Naz kukhar.n@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kukhar.n@gmail.com
--- Comment #3 from Naz kukhar.n@gmail.com 2013-09-09 07:48:32 CDT --- Cannot reproduce. This works for me with Wine 1.7.1 on Ubuntu 13.04 without any changes in winecfg.
http://bugs.winehq.org/show_bug.cgi?id=34199
--- Comment #4 from Austin English austinenglish@gmail.com 2013-09-09 12:49:46 CDT --- (In reply to comment #3)
Cannot reproduce. This works for me with Wine 1.7.1 on Ubuntu 13.04 without any changes in winecfg.
It's a Mac specific issue.
http://bugs.winehq.org/show_bug.cgi?id=34199
--- Comment #5 from Ian ipickert55@gmail.com 2013-09-13 01:24:38 CDT --- As I said, this is an issue with the mac driver.
"Could you please collect two logs, one with the Mac driver and one with the X11 driver, with the +wgl,+d3d,+tid logging channels? Thanks."
Do I need to enter anything to get those logs, or will it show up in console automatically?
http://bugs.winehq.org/show_bug.cgi?id=34199
--- Comment #6 from Ken Thomases ken@codeweavers.com 2013-09-13 01:32:32 CDT --- (In reply to comment #5)
"Could you please collect two logs, one with the Mac driver and one with the X11 driver, with the +wgl,+d3d,+tid logging channels? Thanks."
Do I need to enter anything to get those logs, or will it show up in console automatically?
See FAQs 10.1 and 10.2 at http://wiki.winehq.org/FAQ#get_log, except set WINEDEBUG=+wgl,+d3d,+tid. Thanks.
http://bugs.winehq.org/show_bug.cgi?id=34199
Ian ipickert55@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.6-rc5 |1.7.2
--- Comment #7 from Ian ipickert55@gmail.com 2013-09-15 23:19:36 CDT --- Still present in 1.7.2
http://bugs.winehq.org/show_bug.cgi?id=34199
Ian ipickert55@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #45502|0 |1 is obsolete| |
--- Comment #8 from Ian ipickert55@gmail.com 2013-09-15 23:20:49 CDT --- Created attachment 45976 --> http://bugs.winehq.org/attachment.cgi?id=45976 KOTOR II Mac Driver Log
http://bugs.winehq.org/show_bug.cgi?id=34199
--- Comment #9 from Ian ipickert55@gmail.com 2013-09-15 23:21:13 CDT --- Created attachment 45977 --> http://bugs.winehq.org/attachment.cgi?id=45977 KOTOR II X11 Log
http://bugs.winehq.org/show_bug.cgi?id=34199
Ian ipickert55@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.2 |1.6-rc3
http://bugs.winehq.org/show_bug.cgi?id=34199
--- Comment #10 from Ken Thomases ken@codeweavers.com 2013-09-16 18:33:12 CDT --- Created attachment 45980 --> http://bugs.winehq.org/attachment.cgi?id=45980 Use either 0 samples or max
I think the problem has to do with the game's attempt to use anti-aliasing.
Please try changing the game's graphics settings to disable anti-aliasing (also known as FSAA or multi-sampling). That might make it behave better with the Mac driver or it might make it behave worse with the X11 driver.
After that, re-enable anti-aliasing and please try this patch and see if it helps.
The logs you provided (thanks!) seem to indicate that the game is requesting a pixel format with 4 samples per pixel. Both the X11 and Mac drivers provide a pixel format, but the X11 driver provides one that exceeds the request with 8 samples per pixel (the maximum supported by your card). The Mac driver provides one that uses exactly 4, as requested. The game seems to check what it got and takes a different path through its code depending on whether the value matches its request.
The patch makes the Mac driver behave like the X11 driver in this respect.
(In truth, it's not Wine's X11 driver which chooses to use the maximum sample count supported by your card. It's the GLX implementation that comes with XQuartz.)
https://bugs.winehq.org/show_bug.cgi?id=34199
--- Comment #11 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=34199
Leonard winzum93@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winzum93@gmail.com
--- Comment #12 from Leonard winzum93@gmail.com --- (In reply to Ken Thomases from comment #10) I applied this patch to wine 1.7.43 source and even though it worked and the antialiasing is only able to use 8 samples or 0, environments and characters are still black.
https://bugs.winehq.org/show_bug.cgi?id=34199
--- Comment #13 from Ken Thomases ken@codeweavers.com --- (In reply to Leonard from comment #12)
(In reply to Ken Thomases from comment #10) I applied this patch to wine 1.7.43 source and even though it worked and the antialiasing is only able to use 8 samples or 0, environments and characters are still black.
Thanks. Could you collect logs as per comment 2, one with the X11 driver and one with the Mac driver with the patch applied?
https://bugs.winehq.org/show_bug.cgi?id=34199
--- Comment #14 from Leonard winzum93@gmail.com --- Created attachment 51541 --> https://bugs.winehq.org/attachment.cgi?id=51541 Kotor II Mac Driver log
https://bugs.winehq.org/show_bug.cgi?id=34199
--- Comment #15 from Leonard winzum93@gmail.com --- Created attachment 51542 --> https://bugs.winehq.org/attachment.cgi?id=51542 Kotor II X11 log
https://bugs.winehq.org/show_bug.cgi?id=34199
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #16 from winetest@luukku.com --- (In reply to Leonard from comment #12)
(In reply to Ken Thomases from comment #10) I applied this patch to wine 1.7.43 source and even though it worked and the antialiasing is only able to use 8 samples or 0, environments and characters are still black.
I don't know if there has been any improvemnts to this meanwhile but can you test newer wine? It would be a shame to abandon work in progress bugs.
https://bugs.winehq.org/show_bug.cgi?id=34199
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #17 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.0-rc2?
https://bugs.winehq.org/show_bug.cgi?id=34199
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=34199
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned?