protonscr

DXVK 1.10, D3D9, no log file created, but DXVK seems to work (HUD is enabled)

dxvkclosed
doitsujin/dxvk#2602 · opened 2022-04-11 by malonn23 · updated 2026-02-12 · 13 comments · github
1 matching comments, n / p to jump
Mmalonn23 2022-04-11 github

I just updated my prefix (created from scratch, not overwritten) to Wine 7.6 Staging and DXVK is not generating a log file. I'm running it through Lutris on a D3D9 game. The HUD works, however, which I have to assume means DXVK is working? But, is it 100%? Wine is a custom build (wine-tkg-git). Anyone have any ideas?

I'd post the log file, but I don't have one :smiley:

EDIT:
Here's the Wine log:

Start monitoring process.
gamemodeauto: 
002c:fixme:winediag:LdrInitializeThunk Wine TkG (staging) 7.6 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please don't report bugs about it on winehq.org and use https://github.com/Frogging-Family/wine-tkg-git/issues instead.
0110:fixme:ver:GetCurrentPackageId (00FCF2FC 00000000): stub
010c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0070:fixme:imm:ImeSetActiveContext (0x59910, 0): stub
0070:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000059910): stub
010c:fixme:imm:ImeSetActiveContext (0x1067638, 1): stub
010c:fixme:imm:ImmReleaseContext (00040056, 01067638): stub
Initial process has exited (return code: 0)
010c:fixme:rawinput:RegisterRawInputDevices Unhandled flags 0x230 for device 0.
010c:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
wine: Unhandled page fault on read access to EA191C30 at address EA191C30 (thread 010c), starting debugger...
018c:fixme:imm:ImeSetActiveContext (0x495f0, 1): stub
018c:fixme:imm:ImmReleaseContext (0000000000020074, 00000000000495F0): stub
wine client error:174: write: Bad file descriptor
wine client error:170: write: Bad file descriptor
Monitored process exited.
Exit with return code 0

EDIT2:
Odd! I just launched the game for the 6 or 7 time and it created a log. I'm clueless.

BBlisto91 2022-04-19 github

If the hud shows then dxvk should be working fine.

If nothing else in the environment is specified then dxvk itself default sets the log level to info. Which should create a basic log file.
In proton it is set to none per default unless you have PROTON_LOG enabled
Lutris, if i understand the code correctly, defaults to not show debug information which also disables dxvk logging.
(I have never really used lutris so don't know when the above code comes in to play, but it is for the wine runner)

Maybe you messed with debug information in lutris or ran your game from outside lutris the time it showed up?

Hope this helps.

Mmalonn23 2022-04-19 github

Good thoughts; appreciate the input, but I don't think so. I have changed nothing in Lutris from when the log was created (older versions of Wine) to now, when it's hit or miss (mostly miss) that a log gets created. Also, I always launch via Lutris.

But, you said DXVK should be working fine, so that takes care of my concern. I just thought not generating a log implies DXVK is not working right. I mean the docs say to verify DXVK is working by looking for the log. They also say to look for the HUD. So... whatever.

BBlisto91 2022-04-19 github

What was the content of the log?
Just the regular info lines?

The readme refers to how dxvk works with default environment. Like just standard wine.
If lutris sets up any variables away from default, as it looks like in the code above, then that doesn't fully apply anymore.
I would think it should never make a log when run through lutris unless debug information is on. But i haven't dived deeply into dxvk or lutris code.

Maybe a dev can provide more info.

Mmalonn23 2022-04-19 github

I actually didn't open up the log the one time it created one. I haven't changed Lutris settings from when it did create a log, but Lutris did update since then. So, maybe code changes. I'll turn logging on and see if anything changes. I doubt it though. DXVK should operate mostly independent of Lutris. Lutris just launches it.

It's all good as long as DXVK works. The HUD works, so it's probably fine. I hope. I'm in trouble if I need to troubleshoot though.

BBlisto91 2022-04-19 github

I have tried launching a old dx9 game i installed in my wine prefix through lutris around 10 times and it did not create a log file. As i would expect.
I then in lutris went to the games configurations and under Runner options set Output debugging info to enabled and launched again. It now made a log. Also as i would expect. Is this not what you are observing? :thinking:

BBlisto91 2022-05-30 github

Was this issue solved? 👀

KK0bin maintainer 2022-05-30 github

What's the problem here in the first place?

BBlisto91 2022-05-30 github

They wanted to make sure dxvk was functioning properly even tho it didn't generate logs, since the readme says you can check if app is using dxvk by bringing up the hud or looking for the logs.
The hud is working so i said it should be working correctly yes.

The rest of the issue was just a back and forth of why dxvk didn't make logs to begin with but on their 6th or 7th attempt did make one.
The lutris wine runner by default disables logging unless debugging info is enabled so i would say it is expected behavior for there to be no logs.
Why it at one point made one i don't know but i dont think theres anything wrong with dxvk from my dive into the code here and in lutris. Also did some testing.

Mmalonn23 2022-05-30 github

Well, I've been away from the particular D3D9 game I posted about, but launched it today after seeing these posts (sorry for not responding earlier), and it created a log. It's been over a month and I don't remember if debugging was enabled or disabled in Lutris last time I tried. I tend to keep it enabled, but I don't remember. Maybe I was troubleshooting something and it was disabled (wouldn't think so because you want logging for troubleshooting). So, I don't know.

BBlisto91 2022-05-30 github

Roger.
If you run in to trouble again or have any questions don't be afraid to make a new issue 🙂

Mmalonn23 2022-05-30 github

Will do. Thanks for your help, @Blisto91

BBlisto91 2022-05-30 github

@K0bin Can be closed.

Mmalonn23 2022-05-30 github

Oops, my bad. Brain fart.

Launch options