Bug 101733 - GTA V on Wine: LLVM ERROR after loading screen
Summary: GTA V on Wine: LLVM ERROR after loading screen
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: Other Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-10 02:30 UTC by Clément Guérin
Modified: 2017-07-12 06:38 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Clément Guérin 2017-07-10 02:30:09 UTC
Hello,

I'm currently trying to run GTA V on Wine with radeonsi. After forcing a 4.5compat context, GLSL 450 and commenting out this block https://github.com/mesa3d/mesa/blob/2c9ac0bc6377800ac5110c781dfabea68efa79a5/src/mesa/main/getstring.c#L140 the game boots. I'm eventually able to see the loading screen after applying a Wine workaround.

However, when the game actually starts, I'm hitting this error:

> LLVM ERROR: Cannot select: 0x7f1c482ed398: f32 = sign_extend 0x7f1c482ecd18
>    0x7f1c482ecd18: i1,ch = CopyFromReg 0x7f1c48299c08, Register:i1 %vreg62
>    0x7f1c48159298: i1 = Register %vreg62
> In function: main

Here's the apitrace: http://dl.free.fr/mjmArhBAy
None of the workarounds I mentioned are needed to trigger the bug. `apitrace replay wine64-preloader.trace` should work with mesa-git.

Thanks,
libcg

Hardware:
- Ryzen 1700X
- R9 Fury

Software:
- GTA V v1.36
- wine-staging-nine 2.11
- mesa 17.2.0-devel 753a7bbc84
- llvm 307436
- linux 4.12
Comment 1 Clément Guérin 2017-07-12 06:38:39 UTC
wine-staging 2.12 doesn't require compatibility contexts anymore. I'm able to go ingame with today's mesa and llvm builds. Awesome!


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.