Bug 109446 - Shadow of the Tomb Raider Trial freezes the system at startup
Summary: Shadow of the Tomb Raider Trial freezes the system at startup
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/radeon (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium blocker
Assignee: mesa-dev
QA Contact: mesa-dev
Depends on:
Reported: 2019-01-24 05:04 UTC by fin4478
Modified: 2019-02-26 07:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description fin4478 2019-01-24 05:04:23 UTC
The game did work a month ago. When using AMDVLK there is no freeze, the game just wont start by other problems. Using DXVK 0.95

I tested with kernel from 4.19 to 5.0-rc3. Only garbage strings in /var/log/messages when the system freezes. I must use the power button to restart the PC.

The game works with nvidia drivers according to:

Install the game to latest wine-staging:
 wine Steam.exe -applaunch 974630

I did see something like this messages when switching to a virtual terminal:
amdgpu_sysfs_ioctl ERROR amdgpu parser failed.

  Host: ryzenpc Kernel: 5.0.0-rc3 x86_64 bits: 64 Desktop: Xfce 4.12.4 
  Distro: Debian GNU/Linux buster/sid 
  Type: Desktop Mobo: ASUSTeK model: PRIME B350M-K v: Rev X.0x 
  serial: <root required> UEFI [Legacy]: American Megatrends v: 4207 
  date: 12/07/2018 
  6-Core: AMD Ryzen 5 1600 type: MT MCP speed: 2963 MHz 
  Device-1: AMD Ellesmere [Radeon RX 470/480] driver: amdgpu v: kernel 
  Display: x11 server: X.Org 1.20.3 driver: amdgpu 
  resolution: 3840x2160~60Hz 
  renderer: Radeon RX 570 Series (POLARIS10 DRM 3.27.0 5.0.0-rc3 LLVM 7.0.1) 
  v: 4.5 Mesa 19.0.0-devel (git-8e26d53 2019-01-23 cosmic-oibaf-ppa)
Comment 1 fin4478 2019-01-27 04:47:35 UTC
I tested with a clean wine prefix, dxvk 0.96 and I  have the  same problem. When starting the game, I have the following lines in the virtual terminal:

[drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
[drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
Comment 2 fin4478 2019-01-30 03:28:03 UTC
The game runs with the latest AMDVLk so this can be a llvm problem.
Comment 3 Samuel Pitoiset 2019-01-30 09:02:34 UTC
SotTR is working fine here though. Re-opening because this might need more investigations.
Comment 4 fin4478 2019-02-08 03:19:39 UTC
Feature request: Allow the end user choose the Mesa llvm version.
Why: llvm and Mesa are separate projects and llvm can cause problems in gaming. Mesa is difficult to build and that is why Oiba ppa uses buggy llvm 7.1.
Comment 5 fin4478 2019-02-26 06:37:13 UTC
With Padoka ppa this game fails to start so the LLVM version is not the cause of this bug.
Comment 6 fin4478 2019-02-26 07:01:36 UTC
(In reply to fin4478 from comment #5)
> With Padoka ppa this game fails to start so the LLVM version is not the
> cause of this bug.

I did not have mesa-vulkan packages installed. The game runs with Padoka ppa, so LLVM 7.01 is the cause of this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.