i installed an addon for a game (flight simulator x), but the game crashes when i select it. adding PROTON_LOG=1 to the launch options doesn’t give any useful info, though. i’ve dealt with similar issues before on windows but fixing those issues required me to use the event viewer and i don’t know if wine/proton has a similar program to view the event logs

  • who@feddit.org
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    4 hours ago

    The log is a plain text file. No special viewer needed.

    Environment Variable Description
    PROTON_LOG Convenience method for dumping a useful debug log to $PROTON_LOG_DIR/steam-$APPID.log. Set to 1 to enable default logging, or set to a string to be appended to the default WINEDEBUG channels.
    PROTON_LOG_DIR Output log files into the directory specified. Defaults to your home directory.

    https://github.com/ValveSoftware/Proton/#runtime-config-options

    • blackouttripleseven@lemmy.blahaj.zoneOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 hours ago

      yeah i know, but i was referring to the event logs that the game outputs, which could be accessed in the windows event viewer; PROTON_LOG=1 only outputs logs from proton (in my case it’s just system information and gstreamer warnings)

      • who@feddit.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 hours ago

        I think you can set the WINEDEBUG=+eventlog environment variable to make Windows Event Log entries appear on stderr (the standard error stream). You can normally see this output if you run Steam from a terminal window. You may be able to redirect it to a file using Steam launch options, but I’ve never tried it.