proton: Log the kernel version.
This commit is contained in:
parent
b39c95a7e1
commit
06c9f221ec
1 changed files with 8 additions and 0 deletions
8
proton
8
proton
|
@ -1062,6 +1062,14 @@ class Session:
|
|||
|
||||
self.try_log_slr_versions()
|
||||
|
||||
try:
|
||||
uname = os.uname()
|
||||
kernel_version = f"{uname.sysname} {uname.release} {uname.version} {uname.machine}"
|
||||
except OSError:
|
||||
kernel_version = "unknown"
|
||||
|
||||
self.log_file.write(f"Kernel: {kernel_version}\n")
|
||||
|
||||
#dump some important variables into the log header
|
||||
for var in ["WINEDLLOVERRIDES", "WINEDEBUG"]:
|
||||
if var in os.environ:
|
||||
|
|
Loading…
Reference in a new issue