ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.33k stars 1.06k forks source link

No logs at all from Proton #5369

Open webaake opened 2 years ago

webaake commented 2 years ago

Proton 6.3-8 does not give any logs at all. I've tried with extra commands in steam; PROTON_LOG=1 %command% and just PROTON_LOG=1 From terminal; PROTON_LOG=1 steam And from a copied user_settings_sample.py in user_settings.py where I added; "PROTON_LOG": "1", "PROTON_LOG_DIR": "/home/myuser/STEAMLOGS",

I have an old log from way before with correct steam appid. But now, nothing. PS. The new user_settings.py is the same as the sample, except for my addons. PPS. An I've of course created the dir STEAMLOGS beforehand with my user.

ipr commented 2 years ago

Can you give an example of a game? When you add anything to game launching options you need the %command% so the actual name of game to launch will be there.

It sounds like you are trying to add this to parameters for launching steam not game launching parameters. And then you are trying to launch steam instead of a game with Proton.

webaake commented 2 years ago

This is from launch options in steam for "my_game": PROTON_LOG=1 %command% or just PROTON_LOG=1 I do not remember which onet I used the last time I had a Proton log when starting "my_game". However, I now see that starting with PROTON_LOG=1 steam directly from a terminal might not work for the game. But, I do not remember putting PROTON_LOG=1 "my_game" in the launch options within Steam for my game. And that's not logical either. I mean I'm already within the launch settings for that particular game (in Steam).

As far as I can see, it has nothing to do with game itself.

Furthermore; this is the exact instructions from protondb.com/help for game settings in Steam;

PROTON_LOG=1 %command%

And it does not work.

ipr commented 2 years ago

This is what it should look like:

Screenshot from 2021-12-05 10-53-17

After that, press "play" and you should have "steam-.log" in $HOME

webaake commented 2 years ago

Yes, exactly.

And, as I also said, I've used the method of editing user_settings.py as described in the Readme.md file here at Github. No go there either.

kisak-valve commented 2 years ago

Hello @webaake, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

qurious-pixel commented 2 years ago

@webaake Have you tried to set the command from the launch parameter as PROTON_LOG=1 PROTON_LOG_DIR=/home/myuser/STEAMLOGS %command% ?

I tested this by creating a custom folder STEAMLOGS in /home/myuser then launching a Steam Proton game.

webaake commented 2 years ago

Steam sysinfo as ordered :) : https://gist.github.com/webaake/008f15b18caa24a7369c31c7f4ca6c44

kisak-valve commented 2 years ago

Thanks. Besides the fact that Proton might try to render games with the Intel Haswell chipset instead of your NVIDIA card, which shouldn't affect logging, I'm not seeing a hint as to why logs are not being generated.

Just to check, besides the missing logs, games running as expected?

webaake commented 2 years ago

Thanks for your time! I only play World of Warships and it is working as expected. Thanks to Proton! But some weeks ago Wows and Steam just started to crash. That's why I wanted proton logs in the first place. But lately I've figured out that it is Steam that crashes and takes Wows down with it. I've seen that Steam crashes all by itself, as I said earlier. That's been reported to those guys here at Github. But a log by Proton would still be good to have. Thanks again for the work! PS. Wows seems to go by my Nvidia card. It's the only GPU connected to a screen.

lutoma commented 2 years ago

I believe I'm running into the same issue. I've also tried all options above, setting PROTON_LOG=1 %command% as launch option, setting the environment variable during steam launch etc., there seems to be no way to get it to spit out a log on my machine

Interestingly enough I'm also on a Haswell/NVIDIA setup, maybe there's a correlation there.

sysinfo: https://gist.github.com/lutoma/44cf72936b3af6acd261fd1205131aeb

Sveske-Juice commented 2 years ago

Hi, is there an update to this? I am running in to the same problem of not being able to play any titles nor get steam to output any logs. I have tried over 5 games that I can confirm have worked on the same machine before.

I am running steam on a laptop with an AMD iGPU and NVIDIA dGPU.

sysinfo: https://gist.github.com/Sveske-Juice/83b56c46d1dccab2539423a58050c25d

kisak-valve commented 2 years ago

Hello @Sveske-Juice, AMDVLK has a history of breaking other Vulkan driver implementations. Can you test if removing or disabling it has an effect? If that doesn't have an effect, then please completely close Steam, run steam-runtime from a terminal and see if there's any hints in the terminal spew when you tell Steam to start a game with Proton.

Sveske-Juice commented 2 years ago

Just found this issue: https://bbs.archlinux.org/viewtopic.php?id=221483

where one said that i could try to reset the steam runtime environment: $ steam-runtime --reset

this fixed it!. After it was done when opening steam, it will update the environment and then it worked. However i can still not get any logs when setting these launch options: PROTON_LOG=1 %command%

pmarreck commented 2 years ago

If you're using the Flatpak Steam, it will be limited on where on the disk it can write to, and you might have to use Flatpak tooling to get it to work. FYI

webaake commented 1 year ago

Still no Proton logs!

I do use the line PROTON_LOG=1 %command% in Launch options for the game World of Warships and there's no Proton log file created anywhere. This is with Proton 7.x, experimental and Proton 6.3-8. Steam is updated Feb 23, my system is updated as well. No Flatpak, no Snap. (hate those)

Attached is my newest Steam System info. steam-info.txt

sirus20x6 commented 1 year ago

I also have this issue. I'm using PROTON_LOG=1 %command% in the launch options and no log is created

Klairm commented 1 year ago

Same issue with age of empires 2 de

Exedrus commented 10 months ago

This might help others. I've got Steam over Snap, and after setting up PROTON_LOG=1 %command%, I found the log files in: ~/snap/steam/common/

WAPEETY commented 4 months ago

anything new? I searched this file in the whole home

~ ❯ find /home/<my_user> -name "steam-*.log" 2>/dev/null

and nothing :(