https://bugs.winehq.org/show_bug.cgi?id=46038
Bug ID: 46038 Summary: djkaty.com Simple2D demos v1.13: MSDN-Direct2D-Demo is being rendered incorrectly Product: Wine Version: 3.18 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: d2d Assignee: wine-bugs@winehq.org Reporter: svyatpro@gmail.com Distribution: ---
MSDN-Direct2D-Demo.exe from "djkaty.com Simple2D" renders squares without background grid.
The problem is in d2d1.dll from Wine. I use full Direct3D10.1 stack from WineD3D on XP. When running with native d2d1.dll from Vista (7.0.6002.18107) this demo is being rendered correctly, see the attachment "NATIVE.PNG". Also you can check yourself with native d2d1.dll.
Samples download link: http://files.djkaty.com/software/Simple2D/
https://bugs.winehq.org/show_bug.cgi?id=46038
Svyatpro svyatpro@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS|Linux |Windows
https://bugs.winehq.org/show_bug.cgi?id=46038
--- Comment #1 from Svyatpro svyatpro@gmail.com --- Created attachment 62614 --> https://bugs.winehq.org/attachment.cgi?id=62614 behavior with native d2d1
https://bugs.winehq.org/show_bug.cgi?id=46038
--- Comment #2 from Svyatpro svyatpro@gmail.com --- Created attachment 62615 --> https://bugs.winehq.org/attachment.cgi?id=62615 behavior with Wine's d2d1
https://bugs.winehq.org/show_bug.cgi?id=46038
--- Comment #3 from Svyatpro svyatpro@gmail.com --- Created attachment 62616 --> https://bugs.winehq.org/attachment.cgi?id=62616 native d2d1.dll from Vista (7.0.6002.18107) for testing purposes
https://bugs.winehq.org/show_bug.cgi?id=46038
Svyatpro svyatpro@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #62614|0 |1 is obsolete| |
--- Comment #4 from Svyatpro svyatpro@gmail.com --- Created attachment 62617 --> https://bugs.winehq.org/attachment.cgi?id=62617 behavior with native d2d1
https://bugs.winehq.org/show_bug.cgi?id=46038
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Svyatpro from comment #3)
Created attachment 62616 [details] native d2d1.dll from Vista (7.0.6002.18107) for testing purposes
Don't attach copyrighted material please.
https://bugs.winehq.org/show_bug.cgi?id=46038
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- The content of attachment 62616 has been deleted for the following reason:
Copyright violation
https://bugs.winehq.org/show_bug.cgi?id=46038
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |focht@gmx.net Summary|djkaty.com Simple2D demos |djkaty.com Simple2D demos |v1.13: MSDN-Direct2D-Demo |v1.13: MSDN-Direct2D-Demo |is being rendered |renders squares without |incorrectly |background grid Keywords| |download URL| |https://web.archive.org/web | |/20201227155621/http://file | |s.djkaty.com/software/Simpl | |e2D/Simple2DSetup-1.13.exe Status|UNCONFIRMED |NEW
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
refining some fields.
Stable download link via Internet Archive:
https://web.archive.org/web/20201227155621/http://files.djkaty.com/software/...
--- snip --- $ WINEDEBUG=+seh,+loaddll,+d2d wine ./MSDN-Direct2D-Demo.exe >>log.txt 2>&1
$ egrep "(warn:|DrawLine)" log.txt ... 00d4:warn:d2d:d2d_path_geometry_triangulate Geometry has 0 vertices. 00d4:trace:d2d:d2d_device_context_DrawLine iface 0021F660, p0 {0.00000000e+00, 4.50000000e+02}, p1 {6.40000000e+02, 4.50000000e+02}, brush 00C4D5B8, stroke_width 5.00000000e-01, stroke_style 00000000. ... 00d4:warn:d2d:d2d_path_geometry_triangulate Geometry has 0 vertices. 00d4:trace:d2d:d2d_device_context_DrawLine iface 0021F660, p0 {0.00000000e+00, 4.60000000e+02}, p1 {6.40000000e+02, 4.60000000e+02}, brush 00C4D5B8, stroke_width 5.00000000e-01, stroke_style 00000000. ... 00d4:warn:d2d:d2d_path_geometry_triangulate Geometry has 0 vertices. 00d4:trace:d2d:d2d_device_context_DrawLine iface 0021F660, p0 {1.70000000e+02, 0.00000000e+00}, p1 {1.70000000e+02, 4.80000000e+02}, brush 00C4D5B8, stroke_width 5.00000000e-01, stroke_style 00000000. ... 00d4:warn:d2d:d2d_path_geometry_triangulate Geometry has 0 vertices. 00d4:trace:d2d:d2d_device_context_DrawLine iface 0021F660, p0 {1.80000000e+02, 0.00000000e+00}, p1 {1.80000000e+02, 4.80000000e+02}, brush 00C4D5B8, stroke_width 5.00000000e-01, stroke_style 00000000. --- snip ---
There is a regression between Wine 5.9 and 5.10, causing the example to crash now.
https://source.winehq.org/git/wine.git/commitdiff/2814e5ce0b9d9b1c058a893769... ("d3d11: Stop advertising the ID3D10Device interface on devices created by d3d11.") -> bug 49395
$ sha1sum Simple2DSetup-1.13.exe 269c002fb9ea11c2abd8958fc3cc4294af1b45d9 Simple2DSetup-1.13.exe
$ du -sh Simple2DSetup-1.13.exe 11M Simple2DSetup-1.13.exe
$ wine --version wine-6.0-rc4
Regards
https://bugs.winehq.org/show_bug.cgi?id=46038
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- Missing grid is about fractional stoke width, using 1.0 instead of 0.5 makes it visible.