https://bugs.winehq.org/show_bug.cgi?id=52432
Bug ID: 52432 Summary: synaps audio legend plugin does not show button faces Product: Wine Version: 7.0-rc6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: d2d Assignee: wine-bugs@winehq.org Reporter: jwork123nl@yahoo.com Distribution: ---
Created attachment 71697 --> https://bugs.winehq.org/attachment.cgi?id=71697 Debug log showing the d2d errors
A program that I run under wine does not show parts of its gui / the are just black circles.
Details: I run a demo version of a synthesizer vst3 plugin that in reaper under linux (using reaper as a daw, but that does not matter). See https://www.synapse-audio.com/thelegend.html
The plugin simulates a synthesizer and shows many bitmaps of knobs
Most of the knobs are not drawn, I see just a black circle where the knob face should be drawn.
Wine throws many d2d errors complaining that a bitmap cannot be drawn. See attachment. It seeems there is a problem in the d2d part of wine.
https://bugs.winehq.org/show_bug.cgi?id=52432
john jwork123nl@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|synaps audio legend plugin |Synapse audio "Legend" does |does not show button faces |not draw most of the | |buttons in the gui
https://bugs.winehq.org/show_bug.cgi?id=52432
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Hi, thanks for the report.
Is there a way to test this with some demo version? Please attach full +d2d,+d3d log, using WINEDEBUG=+d2d,+d3d. There is a known issue that large enough texture will fail, when they should be divided in tiles instead. The log will probably show this.
https://bugs.winehq.org/show_bug.cgi?id=52432
--- Comment #2 from john jwork123nl@yahoo.com --- Created attachment 71698 --> https://bugs.winehq.org/attachment.cgi?id=71698 debug log but now with export WINEDEBUG='+d2d,+d3d'
I removed the first last part of the log since it was 126MB The error is at the end - search for "Failed"
https://bugs.winehq.org/show_bug.cgi?id=52432
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Thanks, yes, that seems to be what I suspected:
12:19:19 [Legend-05IYadkx] [Wine STDERR] 0124:trace:d3d:wined3d_texture_init texture 0xff97880, resource_type WINED3D_RTYPE_TEXTURE_2D, format WINED3DFMT_B8G8R8A8_UNORM, multisample_type 0, multisample_quality 0, usage 0, access WINED3D_RESOURCE_ACCESS_GPU, width 35, height 20125, depth 1, layer_count 1, level_count 1, flags 0, device 0xffabcd0, parent 0xff964e0, parent_ops 0x11a6fc18, sub_resources 0xff97ae8, texture_ops 0x7f73a3d1b120. 12:19:19 [Legend-05IYadkx] [Wine STDERR] 0140:trace:d3d:wined3d_cs_run Executing WINED3D_CS_OP_SET_TEXTURE_STATE at 0x11df3530. 12:19:19 [Legend-05IYadkx] [Wine STDERR] 0140:trace:d3d:wined3d_cs_run WINED3D_CS_OP_SET_TEXTURE_STATE at 0x11df3530 executed. 12:19:19 [Legend-05IYadkx] [Wine STDERR] 0124:warn:d3d:wined3d_texture_init Dimensions (35x20125) exceed the maximum texture size. 12:19:19 [Legend-05IYadkx] [Wine STDERR] 0140:trace:d3d:wined3d_cs_run Executing WINED3D_CS_OP_SET_TEXTURE_STATE at 0x11df3548. 12:19:19 [Legend-05IYadkx] [Wine STDERR] 0124:warn:d3d:adapter_gl_create_texture Failed to initialise texture, hr 0x8876086a. 12:19:19 [Legend-05IYadkx] [Wine STDERR] 0140:trace:d3d:wined3d_cs_run WINED3D_CS_OP_SET_TEXTURE_STATE at 0x11df3548 executed. 12:19:19 [Legend-05IYadkx] [Wine STDERR] 0124:err:d2d:d2d_bitmap_create Failed to create texture, hr 0x80070057.
https://bugs.winehq.org/show_bug.cgi?id=52432
--- Comment #4 from john jwork123nl@yahoo.com --- OK, good that it is a know problem. Any idea if/when this will be fixed?
To test this yourself Install reaper from here: https://www.reaper.fm/download.php You can use the Windows version and install it under wine - works perfectly Download the windows demo of the Legend from here and install with wine: https://www.synapse-audio.com/thelegend.html
run reaper and install virtual instrument on new track - choose the legend. Observe the missing elements of the gui.
https://bugs.winehq.org/show_bug.cgi?id=52432
--- Comment #5 from john jwork123nl@yahoo.com --- Created attachment 71699 --> https://bugs.winehq.org/attachment.cgi?id=71699 Screenshot showing the missing GUI elements
https://bugs.winehq.org/show_bug.cgi?id=52432
--- Comment #6 from john jwork123nl@yahoo.com --- I tried two more trial versions of Synapse's plugins. Perhaps this is useful for other Synapse plugin users who want to move to linux. At least 3 of the Synapse plugins show the same problem with wine 7.0 and 7.1. I tried the Legend, Monark and Dune 3. All work perfectly, apart from the fact that the GUIs have missing sliders/knob faces. This makes them more or less unusable. The knobs work but you cannot see their settings. I guess the plugins were all developed using the same toolkit.
https://bugs.winehq.org/show_bug.cgi?id=52432
--- Comment #7 from john jwork123nl@yahoo.com --- Created attachment 71840 --> https://bugs.winehq.org/attachment.cgi?id=71840 Example of a big image from which only a small part is actually drawn on the GUI
I looked into another application from Synapse audio a bit, it is called "Dune 3", which has the same problem with drawing knobs on the UI.
The way the application is themed is with different skins. A skin defines all the positions of a knob in a single picture (see attachment KnobBig.png) One png contains many images of a knob, stacked on top of each other, one image for each position the knob can be in. Only one of these images is actually drawn.
So perhaps the problem is that Synapse audio's applications accidentally trigger a check if a texture would be too big to draw, while they do not actually are going to draw that texture.