[Bug 57954] New: Watch_Dogs black splash screen 10.3 rawinput:add_device Failed to open device
https://bugs.winehq.org/show_bug.cgi?id=57954 Bug ID: 57954 Summary: Watch_Dogs black splash screen 10.3 rawinput:add_device Failed to open device Product: Wine Version: 10.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: zlice(a)crtdrift.us Distribution: --- Created attachment 78201 --> https://bugs.winehq.org/attachment.cgi?id=78201 wd-winedbg 10.2 seems to work fine, 10.3 gives an error about rawinput and the splash screen that should have the main character and game title is a black box and hangs using wow64 build, other 32bit games seem to work fine. running with WINEDBEUG ends in multiple varying lines of `0158:warn:rawinput:add_device Failed to open device file L"\\??\\HID#some-device-name#{hex-hash-id}", status 0xc0000034.` -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57954 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Watch_Dogs black splash |Watch_Dogs black splash |screen 10.3 |screen |rawinput:add_device Failed | |to open device | Keywords| |regression --- Comment #1 from Zeb Figura <z.figura12(a)gmail.com> --- Adjusting title; the warning is probably unrelated. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57954 --- Comment #2 from zlice <zlice(a)crtdrift.us> --- short test, looks like it's still a problem in 10.4 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57954 --- Comment #3 from zlice <zlice(a)crtdrift.us> --- same with 10.5 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=57954 --- Comment #4 from zlice <zlice(a)crtdrift.us> --- did a bisect, first bad commit is supposedly dec96acdc75dc5b64c75b9edbed147aae140ffed ``` --- a/dlls/winex11.drv/event.c +++ b/dlls/winex11.drv/event.c @@ -309,7 +309,7 @@ static Bool filter_event( Display *display, XEvent *event, char *arg ) case ConfigureNotify: case PropertyNotify: case ClientMessage: - return (mask & QS_POSTMESSAGE) != 0; + return (mask & (QS_POSTMESSAGE | QS_SENDMESSAGE)) != 0; ``` taking out the QS_SENDMESSAGE works again -- 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.
http://bugs.winehq.org/show_bug.cgi?id=57954 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |dec96acdc75dc5b64c75b9edbed | |147aae140ffed CC| |cpabst(a)codeweavers.com -- 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.
http://bugs.winehq.org/show_bug.cgi?id=57954 --- Comment #5 from zlice <zlice(a)crtdrift.us> --- still present in 10.7 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=57954 zlice <zlice(a)crtdrift.us> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winex11.drv --- Comment #6 from zlice <zlice(a)crtdrift.us> --- the issue seems to be in the FocusIn event in the switch() above ClientMessage. returning there without the QS_SENDMESSAGE works. confused to why though -- 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.
http://bugs.winehq.org/show_bug.cgi?id=57954 --- Comment #7 from zlice <zlice(a)crtdrift.us> --- so, we have a race condition. adding a WARN() debug (in multiple places, but specifically...) to `dlls/winex11.drv/event.c : call_event_handler` will allow for the splash screen to focus (or w/e is going on with that) and then the main game window starts. although it is too chugged down with WINEDEBUG to be responsive... what i was trying to see was why thread_data->current_event was being set then unset back to what it was. not sure if that's important or related. or even what the deal is with the focus event(s) for post vs send message to be a show-stopper. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=57954 --- Comment #8 from zlice <zlice(a)crtdrift.us> --- Created attachment 78604 --> http://bugs.winehq.org/attachment.cgi?id=78604 suggested_focus_patch i think i found out how/where to check for the race condition. it seems like the 'active' vs 'focus' window is not in sync on some window managers and runs different/faster for whatever reason. but this can easily be checked for in `dlls/win32u/input.c : set_active_window()` at the front since 'active' should be 'focus' ??? i don't really know the distinction in windows api. that said, i don't know why the original change was made for QS_SENDMESSAGE in the first place. so maybe limiting focus back to only QS_POSTMESSAGE is fine -- 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.
http://bugs.winehq.org/show_bug.cgi?id=57954 Rafał Mużyło <galtgendo(a)o2.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |galtgendo(a)o2.pl -- 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.
http://bugs.winehq.org/show_bug.cgi?id=57954 --- Comment #9 from zlice <zlice(a)crtdrift.us> --- worse in 10.13 - patch does not fix not launching in jwm or fluxbox. ShellExecuteEx failed: File not found. see this error though im unsure what its related to -- 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.
http://bugs.winehq.org/show_bug.cgi?id=57954 Stian Low <wineryyyyy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wineryyyyy(a)gmail.com --- Comment #10 from Stian Low <wineryyyyy(a)gmail.com> --- Seems related: https://bugs.winehq.org/show_bug.cgi?id=58552 Both cause by: https://gitlab.winehq.org/wine/wine/-/merge_requests/6569 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=57954 --- Comment #11 from zlice <zlice(a)crtdrift.us> --- STILL does not work in wine 10.16 on jwm or fluxbox. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=57954 --- Comment #12 from zlice <zlice(a)crtdrift.us> --- it seems to get past the splash screen in 10.20 ? at least in fluxbox. other games (spec ops the line / mass effect) also pass their splash screens from https://bugs.winehq.org/show_bug.cgi?id=58790 which wasn't working will test openbox/jwm later though i am not sure they will both work. (https://bugs.winehq.org/show_bug.cgi?id=58443 or https://bugs.winehq.org/show_bug.cgi?id=58442 still prevents alt-tab refocusing) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=57954 --- Comment #13 from zlice <zlice(a)crtdrift.us> --- Created attachment 79889 --> http://bugs.winehq.org/attachment.cgi?id=79889 jwm-dbg-wd1-1020 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=57954 --- Comment #14 from zlice <zlice(a)crtdrift.us> --- Created attachment 79890 --> http://bugs.winehq.org/attachment.cgi?id=79890 openbox-dbg-wd1-1020 -- 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.
participants (1)
-
WineHQ Bugzilla