Skip to contentSkip to conversation

New: Certain mono based games hang the system with radeonsi (probably llvm backend)

Bug 77784 [email protected] 1 participant 12 messages Apr 22, 2014 – Feb 3, 2015

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=77784

Priority: medium
Bug ID: 77784
Assignee: [email protected]
Summary: Certain mono based games hang the system with radeonsi
(probably llvm backend)
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/radeonsi
Product: Mesa

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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 77784] Certain mono based games hang the system with radeonsi (probably llvm backend)

https://bugs.freedesktop.org/show_bug.cgi?id=77784

--- Comment #1 from Alex Deucher <[email protected]> --- Please attach your xorg log and dmesg output.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 77784] Certain mono based games hang the system with radeonsi (probably llvm backend)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=77784

--- Comment #2 from José Suárez <[email protected]> --- Created attachment 97787
--> https://bugs.freedesktop.org/attachment.cgi?id=97787&action=edit
dmesg log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 77784] Certain mono based games hang the system with radeonsi (probably llvm backend)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=77784

--- Comment #3 from José Suárez <[email protected]> --- Created attachment 97788
--> https://bugs.freedesktop.org/attachment.cgi?id=97788&action=edit
Xorg log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 77784] Certain mono based games hang the system with radeonsi (probably llvm backend)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=77784

--- Comment #4 from José Suárez <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 77784] Certain mono based games hang the system with radeonsi (probably llvm backend)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=77784

--- Comment #5 from José Suárez <[email protected]> --- Created attachment 97789
--> https://bugs.freedesktop.org/attachment.cgi?id=97789&action=edit
Little Racers STREET crash

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 77784] Certain mono based games hang the system with radeonsi (probably llvm backend)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=77784

--- Comment #6 from José Suárez <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 77784] Certain mono based games hang the system with radeonsi (probably llvm backend)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=77784

José Suárez <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #97787|dmesg log                   |dmesg log (Foosball Street
        description|                            |Edition)
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 77784] Certain mono based games hang the system with radeonsi (probably llvm backend)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=77784

José Suárez <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #97788|Xorg log                    |Xorg log (Foosball Street
        description|                            |Edition)
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 77784] Certain mono based games hang the system with radeonsi (probably llvm backend)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=77784

José Suárez <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #97789|Little Racers STREET crash  |Picture of Little Racers
        description|                            |STREET crash
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 77784] Certain mono based games hang the system with radeonsi (probably llvm backend)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=77784

--- Comment #7 from José Suárez <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 77784] Certain mono based games hang the system with radeonsi (probably llvm backend)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=77784

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Alex Deucher <[email protected]> --- You can mark it as resolved as well.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel