http://bugs.winehq.org/show_bug.cgi?id=34239
Bug #: 34239 Summary: MicroStation V8i SELECTseries 2: rendering problems (Direct3D 9) Product: Wine Version: 1.7.0 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: julius.schwartzenberg@gmail.com Classification: Unclassified
Created attachment 45557 --> http://bugs.winehq.org/attachment.cgi?id=45557 MicroStation running on Windows showing the correct rendering
MicroStation V8i SELECTseries 2 has some rendering issues when it runs in Wine. It uses a Direct3D 9 based renderer.
I have attached screenshots of an example drawing of MicroStation running on MS Windows and multiple shots of MicroStation running in Wine. In Wine only part of the drawing is displayed properly at a given time. When moving the view around in MicroStation, some parts disappear and other appear properly. At the same the I get a huge amount of these messages: fixme:d3d_surface:IWineD3DSurfaceImpl_BltOverride Implement hardware blit between two different swapchains fixme:d3d_surface:wined3d_surface_blt Using fallback for cross-swapchain blit.
My GPU is an NVIDIA Corporation GF106GL [Quadro 2000]. I'm using Ubuntu 12.04 AMD64 with kernel version 3.8.0-25-generic and NVIDIA driver version 304.88. I tested with Wine 1.6.0 and current GIT, both have the same problem.
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #1 from Julius Schwartzenberg julius.schwartzenberg@gmail.com 2013-08-09 09:08:39 CDT --- Created attachment 45558 --> http://bugs.winehq.org/attachment.cgi?id=45558 MicroStation running on Wine showing the rendering issues
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #2 from Julius Schwartzenberg julius.schwartzenberg@gmail.com 2013-08-09 09:09:00 CDT --- Created attachment 45559 --> http://bugs.winehq.org/attachment.cgi?id=45559 MicroStation running on Wine after moving the view
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #3 from Julius Schwartzenberg julius.schwartzenberg@gmail.com 2013-08-09 09:10:05 CDT --- Created attachment 45560 --> http://bugs.winehq.org/attachment.cgi?id=45560 MicroStation running on Wine after moving the view once more
In the final two shots, I'm holding my mouse cursor above a 'hidden' object, which causes it to appear in pink.
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #4 from Ken Sharp kennybobs@o2.co.uk 2013-08-09 18:09:06 CDT --- Attach a log. http://wiki.winehq.org/Bugs
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #5 from Julius Schwartzenberg julius.schwartzenberg@gmail.com 2013-08-19 10:34:16 CDT --- Created attachment 45663 --> http://bugs.winehq.org/attachment.cgi?id=45663 Plain log of stderr when running Microstation
Thanks for the quick response! Unfortunately I didn't have much time recently, but I finally managed to create a log.
Please let me know if I could provide more information.
http://bugs.winehq.org/show_bug.cgi?id=34239
Julius Schwartzenberg julius.schwartzenberg@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #45663|text/plain |application/x-gzip mime type| |
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #6 from Fincer fincer89@hotmail.com --- Created attachment 47527 --> http://bugs.winehq.org/attachment.cgi?id=47527 Microstation running on Wine (AMD 7970) - log of d3dshader & d3dsurface
I can confirm the bug existence.
Here is my log recorded on my desktop PC.
The log consists of the part when the program opens and rendering/modeling window is appearing/visible. All log messages are related to that window.
------------------
Wine 1.7.12 with 32-bit PREFIX Debug options: +d3d_shader,+d3d_surface
GPU: AMD Radeon HD 7970 Drivers: fglrx All DirectX9 libraries installed with winetricks Default library settings (winecfg)
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #7 from Fincer fincer89@hotmail.com --- Created attachment 47528 --> http://bugs.winehq.org/attachment.cgi?id=47528 Microstation & invalid rendering on Wine (AMD7970) - screenshot
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #8 from Fincer fincer89@hotmail.com --- Created attachment 47529 --> http://bugs.winehq.org/attachment.cgi?id=47529 Microstation running on Wine (Nvidia Ion) - log of d3dshader & d3dsurface
I get a bit different log with my Asus 1205N laptop.
I executed Microstation with additional 'optirun' parameter (a part of the bumblebee project).
------------------
Wine 1.7.12 with 32-bit PREFIX Debug options: +d3d_shader,+d3d_surface
GPU: Nvidia Ion (with Optimus technology) Drivers: bumblebee All DirectX9 libraries installed with winetricks Default library settings (winecfg)
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #9 from Fincer fincer89@hotmail.com --- Created attachment 47530 --> http://bugs.winehq.org/attachment.cgi?id=47530 Microstation & invalid rendering on Wine (Nvidia Ion) - screenshot
http://bugs.winehq.org/show_bug.cgi?id=34239
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fincer89@hotmail.com
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #10 from Fincer fincer89@hotmail.com --- Created attachment 47531 --> http://bugs.winehq.org/attachment.cgi?id=47531 Microstation & correct rendering on Windows - screenshot
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #11 from Pekka Helenius fincer89@hotmail.com --- Created attachment 48315 --> http://bugs.winehq.org/attachment.cgi?id=48315 Microstation V8i rendering problems - WINEDEBUG=+d3dhader,-win,-nls (Wine 1.7.17)
Still serious rendering issues with the newest Wine 1.7.17 release.
In addition, this invalid rendering is extremely slow/laggy, too. For example, while re-rendering the DGN shape by rotating the view.
Error messages are related to the file glsl_shader.c, codelines 716 and 6162
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #12 from Pekka Helenius fincer89@hotmail.com --- Created attachment 48317 --> http://bugs.winehq.org/attachment.cgi?id=48317 Microstation V8i rendering problems - WINEDEBUG=+d3dhader,-win,-nls (Wine 1.7.17 with Intel HD 4600 graphics)
Some additional notes:
I dug this problem a little bit more. The earlier test I submitted while ago was made using fglrx drivers with AMD Radeon 7970 graphics card (Ubuntu 13.10, 32-bit prefix).
I decided to test the bug also with my laptop, equipped with Intel HD 4600 graphics card. This card could manage the d3d_shader line 6162 call allright (Nouveau + default Linux Mint 16 settings). d3d_shader part wasn't problematic after all. However, with this Intel card, d3d_surface throwed fixme messages all the way to the terminal output so I decided to debug it.
The issue is equal to the end user but there seems to be differences depending on your graphics card and drivers you use, however.
D3D_shader part with Intel HD 4600 as an attachment.
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #13 from Pekka Helenius fincer89@hotmail.com --- D3D_surface debugging ------------------------
d3d_surface part debugging output, performed with Intel HD 4600 Graphics + Nouveau drivers + default Linux Mint 16 OS.
Wine 1.7.17, 32-bit prefix.
Because log file is more than 1000kb, I uploaded it to Zippyshare. Link:
http://www34.zippyshare.com/d/3054676/51284/microstationv8i_d3d_surface_wine...
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #14 from Julius Schwartzenberg julius.schwartzenberg@gmail.com --- If you disable shaders through the registry (and use recent Nvidia drivers), the glitches should be gone actually.
See here http://wiki.winehq.org/UsefulRegistryKeys for the registry keys. You need to use one of the MaxShaderModel?? keys if I remember it correctly.
http://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #15 from Pekka Helenius fincer89@hotmail.com --- Thank you for the hint, Julius!
I disabled shaders via Wine registry on my both computers (laptop with Intel HD 4600 + Desktop PC with AMD Radeon 7970).
Your solution works on both platforms. The glitches are gone now.
https://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #16 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.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=34239
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julius.schwartzenberg@gmail | |.com, winetest@luukku.com
--- Comment #17 from winetest@luukku.com --- Since there is no known download could you retry this bug against newer wine? 1.8 or 1.9 series or wine-staging 1.9 series?
https://bugs.winehq.org/show_bug.cgi?id=34239
--- Comment #18 from Julius Schwartzenberg julius.schwartzenberg@gmail.com --- It seems there's no public download anymore from Bentley. I also do not have access to Microstation anymore. Maybe someone else could test this, I would expect shader support in Wine to have been improved significantly over the years.
https://bugs.winehq.org/show_bug.cgi?id=34239
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |ABANDONED Status|UNCONFIRMED |RESOLVED
--- Comment #19 from Bruno Jesus 00cpxxx@gmail.com --- Resolving abandoned as per the last 3 comments. It is still possible to find it in some sites (illegal distribution) but I don't think it is worth the trouble. If anyone is still able to reproduce feel free to reopen.
https://bugs.winehq.org/show_bug.cgi?id=34239
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Frédéric Delanoy frederic.delanoy@gmail.com --- Closing ABANDONED bugs.