protonscr

Trainz Railroad Simulator 2004: No video or no keyboard input

dxvkopen d3d9
doitsujin/dxvk#2429 · opened 2022-01-10 by divadsn · updated 2022-07-11 · 8 comments · github
Ddivadsn 2022-01-10 github

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

  • GPU: AMD Radeon RX 5500 XT
  • Driver: amdgpu (Kernel 5.15.12)
  • Wine version: 7.0-rc2
  • DXVK version: 1.9.2

Apitrace file(s)

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

Log files

Ddoitsujin maintainer 2022-01-10 github

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

Ddivadsn 2022-01-10 github

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

Ddoitsujin maintainer 2022-01-10 github

can we have an apitrace please?

Ddivadsn 2022-01-10 github

Yes of course, will send within 30 minutes

Ddivadsn 2022-01-10 github

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

Ddivadsn 2022-01-13 github

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.

Ddivadsn 2022-02-18 github

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

BBlisto91 2022-07-11 github

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

Nothing extracted yet.