http://bugs.winehq.org/show_bug.cgi?id=60354 --- Comment #1 from Béla Gyebrószki <gyebro69@gmail.com> --- Created attachment 82141 --> http://bugs.winehq.org/attachment.cgi?id=82141 Mapping logs, strace summaries The archive in the attachment contains the following debug logs: - Unpatched and patched OpenGL mapping logs - Unpatched and patched strace summaries - Symbolized unpatched mmap stack trace. Mapping logs: Both the unpatched and patched runs initialize a Vulkan device and create 37 buffer_storage objects. The filtered OpenGL logs contain: | Message | Unpatched | Patched | | ------------------------------- | --------: | ------: | | created buffer_storage | 37 | 37 | | returning vk mapping | 11,963 | 37 | | reusing vk mapping | 0 | 94,433 | | Doing a copy of a mapped buffer | 0 | 0 | | returning copy buffer | 0 | 0 | The runs have different durations and tracing affects performance, so these counts should not be interpreted as an FPS comparison. In the unpatched log, the same address, 0xa690000, is returned 11,927 times. In the patched log, the frequently used mapping is created once and then reused 94,433 times. System-call tracing: Two nominally 10-second strace samples were taken after the tutorial loaded, with WINEDEBUG=-all: | System call | Unpatched | Patched | | ----------- | --------: | ------: | | mmap | 9,767 | 6 | | ioctl | 23,703 | 10,048 | | mprotect | 5 | 18 | A separate short strace with stack traces shows repeated operations on the same 64 MiB address range: mmap(0xa690000, 67108864, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, ...) = 0xa690000 mmap(0xa690000, 67108864, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_FIXED, ... /dev/nvidiactl ..., 0) = 0xa690000 The symbolized Wine-side call chains are: wow64_ext_glUnmapBuffer -> wow64_glUnmapBuffer -> wow64_unmap_buffer -> unmap_vk_buffer -> NVIDIA driver -> mmap(PROT_NONE) and: wow64_ext_glMapBufferRange -> wow64_glMapBufferRange -> wow64_map_buffer -> NVIDIA driver -> mmap(PROT_READ|PROT_WRITE) The NVIDIA library in both stacks is libnvidia-glcore.so.615.71.09. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.