WineHQ
Bug Tracking Database – Bug 37579

 Bugzilla

 

Last modified: 2017-01-17 09:14:52 UTC  

Multiple VST plugins fail to draw user interface using Direct2D

Bug 37579 - Multiple VST plugins fail to draw user interface using Direct2D
Multiple VST plugins fail to draw user interface using Direct2D
Status: CLOSED DUPLICATE of bug 36499
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: d2d
1.7.29
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2014-11-17 21:25 UTC by Xj
Modified: 2017-01-17 09:14 UTC (History)
5 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
Molot GUI crash (16.64 KB, image/png)
2014-11-18 21:47 UTC, Xj
Details
vst gui bug - wine 1.7.35 (842.58 KB, image/png)
2015-01-24 05:58 UTC, Attila Schler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xj 2014-11-17 21:25:34 UTC
VST Molot when open GUI/editor cause segfault in 1.7.29.
After 1.7.30 this engine of VST works GUI just don't appear.

This is probably related with bug 36860 ( Molot VST stop working in Wine 1.7.20 ).
I believe that root cause is somehow similar.
Comment 1 Xj 2014-11-17 21:27:04 UTC
I mean:
After 1.7.30 engine of VST works fine, but GUI/editor just don't appear.
Comment 2 Xj 2014-11-17 22:17:13 UTC
This shows in console when I'm trying open editor
fixme:dwrite:dwritetextlayout_GetMetrics (0x1b93a0)->(0x32efe4): stub
Comment 3 Sebastian Lackner 2014-11-18 02:35:44 UTC
When you get a segfault you most likely also get a backtrace - please attach it to this bug report.

Moreover, please try to do a regression test for both commits. Would be useful to know which commit was responsible for breaking it, and which one partially restored it. Take a look here for more details:

http://wiki.winehq.org/RegressionTesting
Comment 4 Xj 2014-11-18 02:59:27 UTC
I belive that Henri Verbeet, who fix previous problem can fix this even without regresion tests.
Comment 5 Austin English 2014-11-18 03:28:52 UTC
(In reply to Xj from comment #4)
> I belive that Henri Verbeet, who fix previous problem can fix this even
> without regresion tests.

It's very selfish to assume someone else can fix the issue without doing any work to help narrow it down for them.
Comment 6 Henri Verbeet 2014-11-18 06:39:38 UTC
Actually, it's not all that clear to me what this bug is about. The original crash in bug 36860 was fixed by commit c903192243e4438ab08e5426e24604b93c231493, after which the next bug was bug 36939. That one was fixed by commit 383854defae38574d69a56b5e361ba11c387ee63, after which as far as I can tell the plugin loads correctly, but doesn't draw correctly.

As mentioned in https://bugs.winehq.org/show_bug.cgi?id=36860#c4, that's pretty much expected since Direct2D is still far from done. The workaround of disabling d2d1 in winecfg should still work.

If this is purely about the drawing not working, that's fine, but not really a regression. We'd probably also want a d2d Bugzilla component.
Comment 7 Austin English 2014-11-18 15:07:17 UTC
(In reply to Henri Verbeet from comment #6)
> If this is purely about the drawing not working, that's fine, but not really
> a regression. We'd probably also want a d2d Bugzilla component.

Done.
Comment 8 Xj 2014-11-18 21:45:53 UTC
Hello Henri. Yes the problem is drawing, actualy it doesn't draw GUI at all. And yes, the d2d workaround help, but you still want similar reports about this component, right ? I attach screenshot.

BTW. I see that there is more fixme messages ( sort|uniq version )
fixme:d2d:d2d_factory_CreateHwndRenderTarget iface 0x120190, desc 0x32f29c, hwnd_rt_desc 0x32f278, render_target 0x32f2bc stub!
fixme:d2d:d2d_factory_init Ignoring factory type and options.
fixme:d2d:d2d_stroke_style_init Ignoring stroke style properties.
fixme:dwrite:dwritetextlayout_GetMetrics (0x1baf70)->(0x32efe4): stub
fixme:dwrite:dwritetextlayout_GetMetrics (0x1fdac0)->(0x32efe4): stub
fixme:dwrite:get_name_record_codepage unknown platform 0
fixme:dwrite:get_name_record_locale unknown platform 0
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}

BTW 2. Austin please stop judge peoples, cause you know nothing about this case, and you know nothing about me. It's very infantile. At least, I was the person who made previous regresion test. I'm quite sure that this time Henri know where is a problem, but if not I can try find wrong commit.
Comment 9 Xj 2014-11-18 21:47:01 UTC
Created attachment 50011 [details]
Molot GUI crash
Comment 10 Attila Schler 2015-01-24 05:58:59 UTC
Created attachment 50564 [details]
vst gui bug - wine 1.7.35
Comment 11 Attila Schler 2015-01-24 06:01:36 UTC
I can confirm this bug in Wine 1.7.35. 
Other plugins affected too, for example Toneboosters Barricade v3.0.9 x86.
(http://www.toneboosters.com/download/)

I attached a screenshot.
Comment 12 Anastasius Focht 2015-01-24 06:14:27 UTC
Hello folks,

refining the summary, unfortunately being quite generic.
This should be avoided, making it a feature = meta bug.

Regards
Comment 13 Xj 2016-09-07 11:01:07 UTC
Problem is still unsolved but new kind of debug appear - hopes this can help somehow:

fixme:d2d:d2d_factory_CreateHwndRenderTarget iface 0x148338, desc 0x44e10c, hwnd_rt_desc 0x44e0e8, render_target 0x44e12c stub!
fixme:d2d:d2d_stroke_style_init Ignoring stroke style properties.
fixme:d2d:d2d_factory_CreateHwndRenderTarget iface 0x148338, desc 0x44e10c, hwnd_rt_desc 0x44e0e8, render_target 0x44e12c stub!
fixme:d2d:d2d_stroke_style_init Ignoring stroke style properties.
Comment 14 winetest 2016-09-16 06:35:46 UTC
(In reply to Xj from comment #13)
> Problem is still unsolved but new kind of debug appear - hopes this can help
> somehow:
> 
> fixme:d2d:d2d_factory_CreateHwndRenderTarget iface 0x148338, desc 0x44e10c,
> hwnd_rt_desc 0x44e0e8, render_target 0x44e12c stub!
> fixme:d2d:d2d_stroke_style_init Ignoring stroke style properties.
> fixme:d2d:d2d_factory_CreateHwndRenderTarget iface 0x148338, desc 0x44e10c,
> hwnd_rt_desc 0x44e0e8, render_target 0x44e12c stub!
> fixme:d2d:d2d_stroke_style_init Ignoring stroke style properties.

This looks to me bug 36499. I think it's quite safe to mark dupe.
Comment 15 Nikolay Sivov 2016-10-15 02:38:10 UTC
Could someone link a simple freely available host application that I can use to load these plugins into?
Comment 16 fjfrackiewicz 2016-10-15 02:44:26 UTC
(In reply to Nikolay Sivov from comment #15)
> Could someone link a simple freely available host application that I can use
> to load these plugins into?

Would LMMS work? 

https://lmms.io/download/
Comment 17 Nikolay Sivov 2016-10-15 03:06:19 UTC
Commented too soon, it's easy to test with Reaper 0.999. Molot VST GUI renders, main problem is that some elements are missing. Problem seems to be related to d2d bitmap creation failure because underlying wic bitmap is too large (88 x 9064 as an example).

I'm closing this one, please open another report for rendering problem I mentioned.

*** This bug has been marked as a duplicate of bug 36499 ***
Comment 18 Xj 2016-10-15 04:17:48 UTC
Original report was about that Molot doesn't work. First because of segfault and later because it can't draw GUI ( on default wine configuration ). Then there was a few bureaucratic changes like mark report as duplicate and finally it was mark as solved.

but .. nothing is solved - Molot will still doesnt' work for regular users without a hack (disable d2d1). No you say that it need another report for the same application, for the same problem ?

BTW. I used fsthost for host this plugin - download reaper just for test is overkill IMHO.
Comment 19 Nikolay Sivov 2016-10-15 06:19:37 UTC
Did you try with current wine, 1.9.21? I works for me and doesn't crash when I try it with Reaper. Some UI issues I mentioned deserve a separate report, like I already said.
Comment 20 Xj 2016-10-15 07:47:06 UTC
Not yet. I use wine-staging in Arch, but it's 1.9.20 currently. I'll give it a try ASAP, but I don't understand one thing. So if you know that there are issues with this application why it cannot be solved in this report ? Why we need to wait for another report ?
Comment 21 Nikolay Sivov 2016-10-15 10:38:20 UTC
We try to have one report per Wine issue, not one per application that doesn't work, so we can track Wine progress looking at what was fixed. Also as it often happens applications suffer from several Wine bugs at once, one revealed after another one gets fixed.

Regarding this particular plugin I'm now getting texture creation failure in wined3d:

---
 trace:d3d11:d3d10_device_CreateTexture2D iface 0x172776c, desc 0x32a244, data 0x32a238, texture 0x32a234.
12556 trace:d3d:wined3d_texture_create device 0x280f640, desc 0x32a138, layer_count 1, level_count 1, flags 0, data 0x32a238, parent 0x2851320, parent_ops 0x7d074cac, texture 0x2851338.
12557 warn:d3d:texture_init Dimensions (88x9064) exceed the maximum texture size.
12558 warn:d3d:wined3d_texture_create Failed to initialize texture, returning 0x8876086a.
12559 warn:d3d11:d3d_texture2d_init Failed to create wined3d texture, hr 0x8876086a.
12560 warn:d3d11:d3d_texture2d_create Failed to initialize texture, hr 0x80070057.
12561 err:d2d:d2d_bitmap_create Failed to create texture, hr 0x80070057.
---

This is a correct PNG resource size, used by application to draw gauge indicator arrow for example. Original report was for a general d2d inability to create/use particular render target type.
Comment 22 Bruno Jesus 2017-01-17 09:14:52 UTC
Closing duplicate bugs.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers