no keyboard with update to 17.8-dev1
stefson opened this issue · 6 comments
hey everone,
I lost my keyboard input in gothic1 when I updated the renderer to v17.8-dev1
I'm using wine-6.02, tested with wine-6.23 as well, with both the same result. Mouse is working though, and reverting back to v17.7-dev20 fixes the issue.
with which kind of meaningfull output can I provide you with? Only suspicious thing I'm able to see is this in cmd:
0138:err:msvcrt:demangle_datatype Unknown type @
find the whole log from cmd here: cmd-log.zip
and there is also an access violation error right when I end the game. This might be an out of memory error, haven't set the large aware adress flag yet for gothic1. find the log here: access-violation.zip
Sadly I'm not able to run through all the commits that were backported, as there is no nightly build of them available and I don't have mscv compiler avilable.
So this is a problem with fullscreen, where somehow keyboard is not fully caught into the fullscreen mode. Its possible to workaround it by going through the active tabs via alt+tab, and selecting once again the gothic2 application to convince keyboard of the fullscreen. I need to dig further into this to find the culprit.
with intermediate version dev17.7-dev21 I get:
0114:fixme:ddraw:DirectDrawEnumerateExA flags 0x00000006 not handled
0114:err:virtual:virtual_setup_exception stack overflow 324 bytes in thread 0114 addr 0x19930522 stack 0xa70ebc (0xa70000-0xa71000-0x1270000)
0118:fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4070407, 0000: semi-stub!
ok, so all versions from dev-17.7-dev21 up to dev-17.7-dev29 don't start with those errors mentioned.
first version that works is dev-17.7-dev30, and thats the one crashing while ending.
but dev30 has working keyboard.
diff is very small: SaiyansKing/GD3D11@v17.7-dev29...v17.7-dev30
ok, so this was introduced by v17.7-dev-33:
so, the access violation got fixed in SaiyansKing@ae762dc
info: Presenter: Actual swap chain properties:
info: Format: VK_FORMAT_B8G8R8A8_UNORM
info: Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR
info: Buffer size: 1680x1050
info: Image count: 3
info: Exclusive FS: 1
0114:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
0118:err:ole:CoUninitialize Mismatched CoUninitialize
^[[B^[[A^[[Buser@tuxbox ~/.gothic1/drive_c/Program Files/PiranhaBytes/Gothic/system $
it seems as if the gothic1 window is never in the focus of the window manager, as ^[[B^[[A^[[B
in the log indicate me scrolling through the menu with the mouse wheel. will try to build nightlies from this regression window SaiyansKing/GD3D11@v17.7-dev32...v17.7-dev33 to find the commit that introduced the behavior.
On my countless adventures with this bug I noticed, that the advanced menu behind F11 has a live of its own. Its setting file is hidden inside of GD3D11/ ; just in case someone wonders.