doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
12.76k stars 822 forks source link

Trainz Railroad Simulator 2004: No video or no keyboard input #2429

Open divadsn opened 2 years ago

divadsn commented 2 years ago

The game doesn't show anything when running full screen, but the keyboard/mouse input and sound work, however when I run the game with the virtual desktop on, the game works fine with mouse, but the keyboard input doesn't work.

Software information

Trainz Railroad Simulator 2004, obtained as abandonware from U7-Trainz.de

System information

Apitrace file(s)

https://drive.google.com/file/d/1ur2zobHt_bAgh6WFV3HIKKwQQVpzwe0J/view?usp=sharing

Log files

doitsujin commented 2 years ago

Does this work with wined3d? Keyboard input in particular is something we should not have any sort of control over.

divadsn commented 2 years ago

Yes it does work with wined3d fully, with fullscreen and on virtual desktop.

doitsujin commented 2 years ago

can we have an apitrace please?

divadsn commented 2 years ago

Yes of course, will send within 30 minutes

divadsn commented 2 years ago

Here we go, my upload is slow today: https://drive.google.com/file/d/1ur2zobHt_bAgh6WFV3HIKKwQQVpzwe0J/view?usp=sharing

Recorded this apitrace with fullscreen and no virtual desktop.

Edit: Here is one with virtual desktop enabled - https://drive.google.com/file/d/1ur2zobHt_bAgh6WFV3HIKKwQQVpzwe0J/view?usp=sharing

divadsn commented 2 years ago

The black fullscreen issue is also present on Windows, so that might be better to fix first.

So to sum up, without virtual desktop, the game launches with a black screen, but with sound and keyboard input working.

divadsn commented 2 years ago

Is there anything more required or missing to help fix this issue?

Blisto91 commented 2 years ago

Can confirm the issue. Latest dxvk and master = black screen. Needs virtual desktop before anything displays. Wined3d works fine without.

Log from master: trainz_d3d9.log