Bug 77784 - Certain mono based games hang the system with radeonsi (probably llvm backend)
Summary: Certain mono based games hang the system with radeonsi (probably llvm backend)
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-22 21:23 UTC by José Suárez
Modified: 2015-02-03 15:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dmesg log (Foosball Street Edition) (84.15 KB, text/plain)
2014-04-22 23:33 UTC, José Suárez
Details
Xorg log (Foosball Street Edition) (52.69 KB, text/plain)
2014-04-22 23:34 UTC, José Suárez
Details
Picture of Little Racers STREET crash (613.29 KB, image/jpeg)
2014-04-23 00:04 UTC, José Suárez
Details

Description José Suárez 2014-04-22 21:23:42 UTC
My system specs are as follows (taken from Steam system information):

Processor Information:
    Vendor:  AuthenticAMD
    CPU Family:  0x15
    CPU Model:  0x1
    CPU Stepping:  0x2
    CPU Type:  0x0
    Speed:  3600 Mhz
    8 logical processors
    8 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Supported
    SSE41:  Supported
    SSE42:  Supported
    
Network Information:
    Network Speed:  
    
Operating System Version:
    Ubuntu 14.04 LTS (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.15.0-031500rc2-generic
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11501000
    X Window Manager:  KWin
    Steam Runtime Version:  steam-runtime-release_2014-02-05
    
Video Card:
    Driver:  X.Org Gallium 0.4 on AMD PITCAIRN

    Driver Version:  3.0 Mesa 10.2.0-devel (git-7cb3bbf trusty-oibaf-ppa)
    OpenGL Version: 3.0
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x1002
    DeviceID:  0x6818
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 18,78" x 10,55"  (21,54" diag)
                                            47,7cm x 26,8cm  (54,7cm diag)
    Primary VRAM Not Detected
    
Sound card:
    Audio device: Realtek ALC889
    
Memory:
    RAM:  15865 Mb
    
Miscellaneous:
    UI Language:  English
    LANG:  es_ES.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  469324 Mb
    Largest Free Hard Disk Block:  35328 Mb
    
Installed software:
    
Recent Failure Reports:
    
GPU is a Radeon HD 7870, using radeonsi git 2014.04.21 (7cb3bbf) from oibaf ppa recompiled with llvm 3.5 (svn 206757).

Even after bug #60929 was fixed I have been experiencing system hangs with LITTLE Racers Street, which is based on mono. The hang usually happens randomly after a few races have been played and results in the image in the screen getting its colors corrupted (just like when in old times you changed the color depth in windows 95 -I'll try to get a picture with a camera because the system is hard locked-) and a loop in the sound. So just a hard lock.

I did not know what was to blame and was waiting for a game update in order to see if things got solved.

However, I have recently bought Foosball Street Edition (also based on mono). The game launches and shows the menus OK, but hangs the system at about 5-10 secs after the kick-off of any match. The hang is not like LITTLE Racers Street, but rather like a series of GPU hangs and recoveries (screen goes black and then shows the game a few times in a row) which end up in the system totally frozen. During that time there is no sound playing. So probably not a lock as hard as in LITTLE Racers Street.

I'm not sure how to debug this but I am quite convinced that this could be another case of mono + llvm backend incompatibility. The reason for that belief is that (i) I have tested this game on this same PC with catalyst and the game does not hang and everything works wonderfully, (ii) I obtained the same good results in a laptop with a Radeon HD 4570 (r600g, not llvm) (mesa git from around 10 April); and (iii) both games are based on mono.

As stated above, I'm not sure how to debug this because when the system hangs, it does not allow VT switching to check the logs or the dmesg output. I would be happy to help with any further information needed.

Regards
Comment 1 Alex Deucher 2014-04-22 21:38:51 UTC
Please attach your xorg log and dmesg output.
Comment 2 José Suárez 2014-04-22 23:33:40 UTC
Created attachment 97787 [details]
dmesg log (Foosball Street Edition)
Comment 3 José Suárez 2014-04-22 23:34:16 UTC
Created attachment 97788 [details]
Xorg log (Foosball Street Edition)
Comment 4 José Suárez 2014-04-22 23:36:09 UTC
I managed to switch to a VT between the a GPU recovery and a hang to save a dmesg log. See the dmesg and Xorg logs in comments 2 and 3.
Comment 5 José Suárez 2014-04-23 00:04:05 UTC
Created attachment 97789 [details]
Picture of Little Racers STREET crash
Comment 6 José Suárez 2014-04-23 00:06:28 UTC
I have also added a picture of the screen just after Little Racers STREET crashed. I am afraid that the system hard locks and I can't get any dmesg or Xorg logs to attach.
Comment 7 José Suárez 2015-02-03 15:56:32 UTC
Judging from my last testing of both Foosball: street edition and LITTLE racers street this problem does not show with mesa 10.5 git with llvm 3.6 (oibaf's ppa), so I guess it could be marked as solved.
Comment 8 Alex Deucher 2015-02-03 15:58:40 UTC
You can mark it as resolved as well.


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.