https://bugs.winehq.org/show_bug.cgi?id=41594
Bug ID: 41594 Summary: SciTE text editor shows random desktop parts instead of white background Product: Wine Version: 1.9.21 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: dwrite Assignee: wine-bugs@winehq.org Reporter: wylda@volny.cz Distribution: ---
If dwrite is disabled in winecfg, SciTE works as expected. When used in fresh Wine prefix, SciTE shows random noise and console is flooded by this pattern:
fixme:d3d:wined3d_buffer_create Ignoring access flags (pool). fixme:d3d11:d3d11_immediate_context_OMSetBlendState Per-rendertarget blend not implemented. fixme:d3d11:d3d11_immediate_context_OMSetBlendState Color mask > 3 not implemented. fixme:d3d11:d3d10_device_RSSetViewports Multiple viewports not implemented. fixme:d3d11:d3d10_device_RSSetScissorRects Multiple scissor rects not implemented. fixme:d2d:d2d_d3d_render_target_Flush iface 0x7df2e0, tag1 (nil), tag2 (nil) stub!
https://bugs.winehq.org/show_bug.cgi?id=41594
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian Keywords| |download URL| |http://www.scintilla.org/ws | |cite365.zip
--- Comment #1 from Wylda wylda@volny.cz --- Filling some fields + tested under wine-1.9.21-54-g686cfe3.
https://bugs.winehq.org/show_bug.cgi?id=41594
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|dwrite |d2d
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- It's likely it checks for dwrite as an indicator of supported d2d. Editor looks fine on my system with Intel GPU by the way.
https://bugs.winehq.org/show_bug.cgi?id=41594
--- Comment #3 from Wylda wylda@volny.cz ---
Editor looks fine on my system with Intel GPU by the way.
Interesting: * wine-2.0-rc1 * version set to Win10 * alldlls=builtin * nvidia GTX970 v375.20
...and i see mess in SciTE window (part of pictures of previous installers run by wine etc).
If i disable d2d1 OR dwrite then it works normally.
https://bugs.winehq.org/show_bug.cgi?id=41594
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|SciTE text editor shows |SciTE 3.6.5 text editor |random desktop parts |shows random desktop parts |instead of white background |instead of white background URL|http://www.scintilla.org/ws |https://web.archive.org/web |cite365.zip |/20201227215534/https://mas | |ter.dl.sourceforge.net/proj | |ect/scintilla/SciTE/3.6.5/w | |scite365.zip?viasf=1 CC| |focht@gmx.net
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
I did some testing with old Wine versions that are mentioned here.
Stable download link via Internet Archive:
https://web.archive.org/web/20201227215534/https://master.dl.sourceforge.net...
Wine 1.9.21:
SciTe 3.6.5 crashes with both GPUs/drivers:
Intel HD Graphics 4600 (HSW GT2)(OpenGL version string: 3.0 Mesa 20.2.3)
--- snip --- $ wine ./SciTE.exe ... fixme:dwrite:dwritefactory_CreateMonitorRenderingParams (0x1): monitor setting ignored fixme:win:EnumDisplayDevicesW ((null),0,0x32e018,0x00000000), stub! fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x20. fixme:dxgi:dxgi_check_feature_level_support Ignoring adapter type. fixme:winediag:dxgi_check_feature_level_support None of the requested D3D feature levels is supported on this GPU with the current shader backend. wine: Unhandled page fault on read access to 0x00000000 at address 0x100386eb (thread 0009), starting debugger... --- snip ---
NVIDIA using NV PRIME/Optimus (OpenGL version string: 4.6.0 NVIDIA 455.45.01)
--- snip --- fixme:dwrite:dwritefactory_CreateMonitorRenderingParams (0x1): monitor setting ignored fixme:win:EnumDisplayDevicesW ((null),0,0x32e018,0x00000000), stub! fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x20. fixme:dxgi:dxgi_check_feature_level_support Ignoring adapter type. fixme:dxgi:dxgi_device_init Ignoring adapter type. fixme:d3d11:device_parent_create_swapchain_texture device_parent 0x1e9f24, container_parent 0x21f9a8, wined3d_desc 0x32e008, wined3d_texture 0x6f14a0 partial stub! fixme:d3d11:device_parent_create_swapchain_texture Implement DXGI<->wined3d usage conversion. fixme:dxgi:dxgi_factory_CreateSwapChain iface 0x1ea0c8, device 0x1e9efc, desc 0x32e4a4, swapchain 0x15c66c partial stub! fixme:dxgi:dxgi_factory_CreateSwapChain Ignoring SwapEffect 0. fixme:d3d11:device_parent_create_swapchain_texture device_parent 0x1e9f24, container_parent 0x15c680, wined3d_desc 0x32e2b8, wined3d_texture 0x720878 partial stub! fixme:d3d11:device_parent_create_swapchain_texture Implement DXGI<->wined3d usage conversion. fixme:d3d11:device_parent_create_swapchain_texture device_parent 0x1e9f24, container_parent 0x15c680, wined3d_desc 0x32e2b8, wined3d_texture 0x6f0758 partial stub! fixme:d3d11:device_parent_create_swapchain_texture Implement DXGI<->wined3d usage conversion. fixme:d3d11:skip_dword_unknown Skipping 4 unknown DWORDs: ... fixme:d2d:d2d_d3d_render_target_CreateCompatibleRenderTarget iface 0x722800, size 0x32e48c, pixel_size (nil), format 0x32e494, options 0, render_target 0x32e4a4 stub! wine: Unhandled page fault on read access to 0x00000000 at address 0x1002a17e (thread 0009), starting debugger... --- snip ---
It seems there are few commits past Wine 1.9.21 that mitigate the crash. Wylda used wine-1.9.21-54-g686cfe3 according to comment #1.
https://source.winehq.org/git/wine.git/shortlog/refs/tags/wine-1.9.22?pg=1
Wine 2.0-rc (comment #3).
The "garbage" in client area (repaint) can only be (briefly) seen when actively resizing the window. After releasing the mouse, the client area is repainted with white background - no garbage.
Even with Wine 6.0-rc4 one can still briefly see a garbage pattern in client area while resizing the window (drag with mouse). When releasing the mouse, the client area remains white.
Since I've tested with the same Wine 2.0-rc1 and but much newer version of NVIDIA driver v455.45.x I suspect it might have been a graphics driver bug if the garbage is always shown.
@ Wylda care to retest with recent Wine? Please post the specs when doing that, such as Wine version, distro name and version, NVIDIA driver/GL version.
$ sha1sum wscite365.zip 2e4ed7c1b9c4b976ef9ca2dc93319fa862cff9d1 wscite365.zip
$ du -sh wscite365.zip 1.3M wscite365.zip
$ wine --version wine-6.0-rc4
Regards