Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernelbase: HACK: Force swiftshader + in-process-gpu for Rockstar Soc… #140

Open
wants to merge 83 commits into
base: experimental_7.0
Choose a base branch
from

Commits on Feb 14, 2022

  1. amd_ags_x64: Implement agsDriverExtensionsDX11_CreateDevice().

    CW-Bug-Id: #19944
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    04fd8e9 View commit details
    Browse the repository at this point in the history
  2. amd_ags_x64: Add stub for agsDriverExtensionsDX11_SetDepthBounds().

    CW-Bug-Id: #19944
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    50a9b4f View commit details
    Browse the repository at this point in the history
  3. amd_ags_x64: Implement agsDriverExtensionsDX11_DestroyDevice().

    CW-Bug-Id: #19944
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    7a99665 View commit details
    Browse the repository at this point in the history
  4. wine.inf: Use built-in atiadlxx for STAR WARS Squadrons.

    CW-Bug-Id: #19944
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    56d7e0b View commit details
    Browse the repository at this point in the history
  5. esync: Type-check HANDLE in esync_set_event.

    Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
    Guy1524 authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    69afcb1 View commit details
    Browse the repository at this point in the history
  6. ntdll: Use .seh handler instead of __TRY in RtlUserThreadStart() on x64.

    CW-Bug-Id: #19913
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    a87274a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1771325 View commit details
    Browse the repository at this point in the history
  8. winhttp/tests: Avoid "misleading indentation" warnings.

    Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
    Signed-off-by: Hans Leidekker <hans@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 19c758d)
    DarkShadow44 authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    5934e8b View commit details
    Browse the repository at this point in the history
  9. winhttp: Fix memory leak on error path in WinHttpCrackUrl (Coverity).

    And use a single variable for the encoded or decoded URL so that free
    only has to be called once.
    
    Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
    Signed-off-by: Hans Leidekker <hans@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 2b63fdd)
    alexhenrie authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    97ac1bf View commit details
    Browse the repository at this point in the history
  10. hnetcfg: Use CRT allocation functions.

    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit f20f988)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    7cbc5bf View commit details
    Browse the repository at this point in the history
  11. hnetcfg/tests: Add tests for static port mapping collection.

    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 162dc17)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    3f16573 View commit details
    Browse the repository at this point in the history
  12. hnetcfg: Return stub interface from upnpnat_get_StaticPortMappingColl…

    …ection() if UPNP IGD is found.
    
    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit cbf2ca5)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    a4caa6b View commit details
    Browse the repository at this point in the history
  13. hnetcfg: Get gateway description location in init_gateway_connection().

    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 583605b)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    de1d451 View commit details
    Browse the repository at this point in the history
  14. hnetcfg: Open connection to gateway in init_gateway_connection().

    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit c091620)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    f6b2602 View commit details
    Browse the repository at this point in the history
  15. hnetcfg: Get control URL for WANIPConnection service in init_gateway_…

    …connection().
    
    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 42d12db)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    1a49f69 View commit details
    Browse the repository at this point in the history
  16. hnetcfg: Fix realloc handling in fw_app_put_ProcessImageFileName().

    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 42b2a69)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    47a84b5 View commit details
    Browse the repository at this point in the history
  17. hnetcfg: Get port mapping list in init_gateway_connection().

    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit e98a102)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    7d56255 View commit details
    Browse the repository at this point in the history
  18. hnetcfg: Implement static_ports_get_Item().

    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 15fac20)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    fdc6c53 View commit details
    Browse the repository at this point in the history
  19. hnetcfg: Implement static_ports_get_Count().

    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 7ed9fb0)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    fafdc40 View commit details
    Browse the repository at this point in the history
  20. hnetcfg: Implement static_ports__NewEnum().

    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit de05efd)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    a81ab80 View commit details
    Browse the repository at this point in the history
  21. hnetcfg: Implement static_ports_Remove().

    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 559b1d2)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    7f59920 View commit details
    Browse the repository at this point in the history
  22. hnetcfg: Implement static_ports_Add().

    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 8f8fe74)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    f152937 View commit details
    Browse the repository at this point in the history
  23. hnetcfg: Don't use _GetValue() if text element is missing in get_xml_…

    …elements().
    
    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit d907c89)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    b51ecfc View commit details
    Browse the repository at this point in the history
  24. hnetcfg: Handle NULL strings in update_mapping_list().

    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 31f0509)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    170addb View commit details
    Browse the repository at this point in the history
  25. hnetcfg/tests: Don't leak IEnumVARIANT reference in test_static_port_…

    …mapping_collection().
    
    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 69acffb)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    8a9d383 View commit details
    Browse the repository at this point in the history
  26. hnetcfg/tests: Don't test removing the same mapping twice.

    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 19c2ffe)
    
    CW-Bug-Id: #20062
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    ef84561 View commit details
    Browse the repository at this point in the history
  27. winmm: Don't process audio data during waveOutWrite while playing.

    Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 362e39a)
    
    Fixes occasional crash in Teardown.
    
    CW-Bug-Id: #20061
    aeikum authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    f4ddb18 View commit details
    Browse the repository at this point in the history
  28. fshack: Blit the contents of current framebuffer to the fshack's fram…

    …ebuffer in fs_hack_setup_context().
    
    CW-Bug-Id: #20102
    
    Some games might not clear the framebuffer on each frame and rely on the data
    in framebuffer to persist through glFlush(), glFinish() etc.
    That is currently not the case if the fshack is getting turned on after
    some drawing was performed already.
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    778452d View commit details
    Browse the repository at this point in the history
  29. fshack: HACK: Use specific names for textures for SWJKJA.

    CW-Bug-Id: #20102
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    a8d3240 View commit details
    Browse the repository at this point in the history
  30. battleye: Add launcher process instead of redirecting CreateProcess c…

    …all.
    
    Fixes Arma 3 Launcher CW-Bug-Id: #18934
    Guy1524 authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    c1d58f4 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    36b0e9d View commit details
    Browse the repository at this point in the history
  32. winegstreamer: Return MFMediaBuffer-backed memory directly to media_s…

    …ource client
    aeikum authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    a71e8ba View commit details
    Browse the repository at this point in the history
  33. winegstreamer: Return MFMediaBuffer-backed memory directly to color c…

    …onverter client
    aeikum authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    f8c2c88 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    4e4a7ee View commit details
    Browse the repository at this point in the history
  35. winegstreamer: Return MFMediaBuffer-backed memory directly to audio c…

    …onverter client
    aeikum authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    704b643 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    fbea0b3 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    29f3d24 View commit details
    Browse the repository at this point in the history
  38. HACK: mf: Always allow enumerating source types in topology

    This lets us connect directly to a source format without a color
    converter.
    aeikum authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    b11d236 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    dc6d87a View commit details
    Browse the repository at this point in the history
  40. mshtml: Implement layerX/layerY properties for mouse event.

    CW-Bug-Id: #20114
    
    Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
    Signed-off-by: Jacek Caban <jacek@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit eb679a9)
    nsivov authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    699e4c9 View commit details
    Browse the repository at this point in the history
  41. winegstreamer: Reset internal format on BEGIN_STREAMING message.

    In order to regenerate a MF_E_TRANSFORM_STREAM_CHANGE status on next
    successful ProcessOutput. CoD: Black Ops 3 depends on this, or crashes
    if MF_E_TRANSFORM_STREAM_CHANGE isn't returned when the campaign intro
    video begins to play.
    
    Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45988
    Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47084
    Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49715
    Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52183
    CW-Bug-Id: #16839
    CW-Bug-Id: #18678
    CW-Bug-Id: #19362
    rbernon authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    f273bea View commit details
    Browse the repository at this point in the history
  42. server: Seal shared memory mappings against future writes.

    So that even if we leak console handles, we will, at least, stop messing
    with these once and for all. This only prevents write(2) and mmap(2), as
    we've already mmaped the writable pages we don't need it anymore.
    
    This fixes Dead Cells hanging on launch, as it writes its DXVK logs to
    one of the thread input shared memory handles, causing GetFocus to loop
    forever as the sequence number got overwritten.
    
    CW-Bug-Id: #20128
    rbernon authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    6bc8c9b View commit details
    Browse the repository at this point in the history
  43. mfreadwrite: Introduce an internal source reader refcount.

    To decide when to shutdown the media source. Otherwise the references
    hold by the callbacks from BeginGetEvent and others are keeping the
    source reader alive and the IMFMediaSource_Shutdown is never called.
    
    CW-Bug-Id: #20069
    rbernon authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    a5ad4a5 View commit details
    Browse the repository at this point in the history
  44. ntdll: Guard against syscall stack overrun.

    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    6c21f02 View commit details
    Browse the repository at this point in the history
  45. fixup! ntdll: Implement CPU topology override.

    CW-Bug-Id: #20108
    
    Also mind overridden topology for converting host affinity and allow
    setting the affinity on thread creation.
    Paul Gofman authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    aec9c01 View commit details
    Browse the repository at this point in the history
  46. mf: Handle MESourceSeeked and MEStreamSeeked state change events.

    If a session is paused then started again, or if a start position is
    provided we wait forever for the source to send a MESourceStarted event,
    when it sends a MESourceSeeked instead.
    
    CW-Bug-Id: #19957
    rbernon authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    c7d9891 View commit details
    Browse the repository at this point in the history
  47. evr/presenter: Initial implementation of GetCurrentImage().

    Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 22fda59)
    CW-Bug-Id: #18995
    nsivov authored and ivyl committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    b28ab9a View commit details
    Browse the repository at this point in the history
  48. HACK: winex11.drv/opengl: Do not trigger a libX11 bug.

    Sometimes The Last Campfire passes invalid parameters to
    wglCreateContextAttribsARB, which on the Deck can trigger a libX11
    bug and crash Wine. When we see the invalid value we return
    an error directly, without calling glXCreateContextAttribsARB.
    
    This hack can be removed once
    https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/152 is fixed.
    
    CW-Bug-Id: #20026
    giomasce committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    4682d66 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    465de7e View commit details
    Browse the repository at this point in the history
  50. amend! mfreadwrite/reader: Use separate refcount for events callbacks.

    mfreadwrite/reader: Use separate refcount for events callbacks.
    
    This resolves circular dependency, with source and streams holding
    references to the callbacks, subscribed to their event queues.
    
    CW-Bug-Id: #20069
    Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit be85638)
    rbernon committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    a5216de View commit details
    Browse the repository at this point in the history
  51. mfreadwrite/reader: Stop media source when shutdown is not allowed.

    Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit a5770a0)
    nsivov authored and rbernon committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    7a3fb11 View commit details
    Browse the repository at this point in the history
  52. winebus.sys: Flag the Deck touchsceen, mouse and keyboard as Steam co…

    …ntrollers.
    
    So that we ignore them from the hidraw backend. SDL is already ignoring
    them as they aren't gamepads or joysticks, but we don't know until we
    request their report descriptors, which we cannot easily do yet.
    rbernon committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    58eccf4 View commit details
    Browse the repository at this point in the history
  53. fsync: Type-check HANDLE in esync_set_event.

    Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
    Guy1524 committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    f072cf6 View commit details
    Browse the repository at this point in the history
  54. fixup! esync, fsync: Yield execution before alertable wait for AC Ody…

    …ssey.
    
    CW-Bug-Id: #18881
    Paul Gofman authored and gofman committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    6f2c985 View commit details
    Browse the repository at this point in the history
  55. make_requests

    Paul Gofman authored and gofman committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    17bdb16 View commit details
    Browse the repository at this point in the history
  56. wined3d: Use StretchBlt() in swapchain_blit_gdi().

    CW-Bug-Id: #20141
    
    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit 2435f11)
    Paul Gofman authored and gofman committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    9c934b8 View commit details
    Browse the repository at this point in the history
  57. wined3d: Clear GL backbuffer in wined3d_context_gl_init().

    CW-Bug-Id: #20141
    
    Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
    Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>
    (cherry picked from commit b36e4cf)
    Paul Gofman authored and gofman committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    af5da6c View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. Configuration menu
    Copy the full SHA
    62f1813 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0de1a4c View commit details
    Browse the repository at this point in the history
  3. fsync: Add WINE_FSYNC_SIMULATE_SCHED_QUANTUM config option.

    And auto enable it for Uplay laucher.
    
    CW-Bug-Id: #20155
    Paul Gofman authored and gofman committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    d6a2371 View commit details
    Browse the repository at this point in the history
  4. fixup! fsync: Add WINE_FSYNC_SIMULATE_SCHED_QUANTUM config option.

    Paul Gofman authored and gofman committed Feb 15, 2022
    Configuration menu
    Copy the full SHA
    b3fb8a5 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. Revert "winevulkan: Allow call of unexposed function vkCmdWriteBuffer…

    …MarkerAMD."
    
    This reverts commit a68c514.
    
    Fixed-by: fc8dcb5 ("winevulkan: Return NULL for unavailable device functions.")
    Link: ValveSoftware#135
    ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    deb036d View commit details
    Browse the repository at this point in the history
  2. Revert "mshtml: Always report available data before stop_binding."

    This reverts commit a08d7da.
    
    This should not be needed after 7c037c8
    CW-Bug-Id: 18691
    rbernon committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    ed28962 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3350eca View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1f3291a View commit details
    Browse the repository at this point in the history
  5. msvcrt: Add an SSE2 memset_aligned_32 implementation.

    This writes memory forward in memset instead of going backward, which
    may break the Linux kernel transparent huge pages allocation
    assumptions.
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    243f46b View commit details
    Browse the repository at this point in the history
  6. wineboot: Compute and write the TSC frequency to registry ~Mhz.

    In HKEY_LOCAL_MACHINE\\HARDWARE\\DESCRIPTION\\System\\CentralProcessor
    
    Squashed with patches from:
    
    * Arkadiusz Hiler <ahiler@codeweavers.com>
    
    Check if the kernel trusts TSC before using it for Qpc.
    
    Even if the bits are claiming that TSC meets our requirements the
    hardware implementation may still be broken.
    
    The Linux kernel does a lot of quality testing before deciding to use as
    the clock source. If it (or the user, through an override) does not trust
    the TSC we should not trust it either.
    
    * Joshua Ashton <joshua@froggi.es>
    
    Some games such as Horizon Zero Dawn use this registry value to
    correlate values from rtdsc to real time.
    
    Testing across a few devices, is seems like Windows always returns the
    TSC frequency in this entry, not the current/maximum frequency of the
    processor.
    
    Returning the nominal/maximum cpu frequency here causes the game to run
    in slow motion as it may not match the tsc frequency of the processor.
    
    Ideally we'd not have to measure this and the kernel would return
    tsc_khz to userspace, but this is a good enough stop-gap until
    https://lkml.org/lkml/2020/12/31/72 or something similar is merged.
    
    CW-Bug-Id: #18918
    CW-Bug-Id: #18958
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    dc0e276 View commit details
    Browse the repository at this point in the history
  7. tools: Add gdbinit helper with LoadSymbolFiles command.

    To help gdb reload symbol files from /proc/<pid>/maps, making it
    possible to load debug info for ELF and PE modules for Wine processes.
    
    When sourced (from ~/.gdbinit for instance), this adds a new
    "load-symbol-files" command (with an "lsf" alias), which automatically
    calls add-symbol-file on every mapped file that can be read as ELF or
    PE, with the correct section offset.
    
    The command has to be run manually, for instance after executing for
    a while, to load new modules that may have been loaded, as there's no
    way for gdb to be notified of such changes automatically.
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    73b6bfa View commit details
    Browse the repository at this point in the history
  8. ntdll: Use clock_gettime64 if supported.

    zfigura authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    3caf5bf View commit details
    Browse the repository at this point in the history
  9. winegstreamer: Use unlimited buffering for DirectShow as well.

    Normally this isn't necessary, because DirectShow sends all samples as soon as
    they are available.
    
    However, decodebin won't expose pads until it has a sample (or theoradec won't
    send a caps event until it has a sample?), and some transcoded videos somehow
    don't have a sample within the first 2 MB, i.e. the default limit. Two examples
    are Bloodstained: Ritual of the Night (CW bug 18550), which is a Media
    Foundation game, and Melty Blood: Type Lumina (CW bug 20149), which is a
    DirectShow game. To account for the latter we need to raise buffering limits.
    
    [Note: a similar commit was in 6.3 with the note that it helped performance in
    Worms Revolution and Blazblue Centralfiction. Is this still true?]
    
    CW-Bug-Id: #20149
    CW-Bug-Id: #18550
    Zebediah Figura authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    012b378 View commit details
    Browse the repository at this point in the history
  10. user32: Prevent a recursive loop with the activation messages.

    When activating a window and sending activation messages to the window
    procedure, Windows avoids a recursive loop by not sending more of these
    messages or hooks while it's still activating the window.
    
    CW-Bug-Id: #19612
    Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46274
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    20b1841 View commit details
    Browse the repository at this point in the history
  11. user32: Use PostMessageW in set_foreground_window.

    Instead of SendNotifyMessageW for WM_WINE_SETACTIVEWINDOW.
    
    CW-Bug-Id: #19612
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    39d4cab View commit details
    Browse the repository at this point in the history
  12. user32: Do not deactivate if thread is foreground.

    Instead of only checking that the window is foreground.
    
    CW-Bug-Id: #19612
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    082c975 View commit details
    Browse the repository at this point in the history
  13. user32: Send WM_NCACTIVATE on SetForegroundWindow call.

    When window is already active but has lost foreground, as shown by
    concurrent SetForegroundWindow tests.
    
    CW-Bug-Id: #19612
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    c42b365 View commit details
    Browse the repository at this point in the history
  14. user32: Send WM_*FOCUS messages even if already focused.

    CW-Bug-Id: #19612
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    513022b View commit details
    Browse the repository at this point in the history
  15. server: Drop pending internal messages in set_active_window.

    When changing the active window in the foreground thread.
    
    CW-Bug-Id: #19612
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    b3213cb View commit details
    Browse the repository at this point in the history
  16. Revert "winegstreamer: Avoid input buffer copy in audio converter"

    This reverts commit fbea0b3.
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    443b7ac View commit details
    Browse the repository at this point in the history
  17. Revert "winegstreamer: Return MFMediaBuffer-backed memory directly to…

    … audio converter client"
    
    This reverts commit 704b643.
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    a9559c1 View commit details
    Browse the repository at this point in the history
  18. Revert "winegstreamer: Avoid input buffer copy in colorconvert"

    This reverts commit 4e4a7ee.
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    098076a View commit details
    Browse the repository at this point in the history
  19. Revert "winegstreamer: Return MFMediaBuffer-backed memory directly to…

    … color converter client"
    
    This reverts commit f8c2c88.
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    0db2a8c View commit details
    Browse the repository at this point in the history
  20. Revert "winegstreamer: Return MFMediaBuffer-backed memory directly to…

    … media_source client"
    
    This reverts commit a71e8ba.
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    b1e9a55 View commit details
    Browse the repository at this point in the history
  21. Revert "winegstreamer: Add custom allocator for MFMediaBuffer-backed …

    …memory"
    
    This reverts commit 36b0e9d.
    rbernon authored and ivyl committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    9417252 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2022

  1. kernelbase: HACK: Force swiftshader + in-process-gpu for Rockstar Soc…

    …ial Club
    
    'Fixes' it being one frame behind in all of its rendering.
    
    Using WineD3D etc, doesn't help here either, but this works for now.
    misyltoad committed Feb 23, 2022
    Configuration menu
    Copy the full SHA
    eaad88a View commit details
    Browse the repository at this point in the history