dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 60929] [r600-llvm] mono games with opengl are blocking on start
Date: Thu, 22 Aug 2013 17:17:10 +0000	[thread overview]
Message-ID: <bug-60929-502-K8DbyPeMFw@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-60929-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 2262 bytes --]

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

--- Comment #14 from Torsten Kaiser <x11@ariolc.dyndns.org> ---
Created attachment 84467
  --> https://bugs.freedesktop.org/attachment.cgi?id=84467&action=edit
apitrace from hanging startup of OpenRA

I'm seeing the same problem with the mono game OpenRA from http://open-ra.org/
on an RV730 PRO [Radeon HD 4650] with mesa-9.2-rc1 (but early mesa versions
showed the same behaviour).

With Gentoo I'm able to switch the R600_LLVM via useflag, but as soon as I'm
using a mesa version with this enabled OpenRA will no longer start. It will
just display a black window, the loading symbols never apear.

Running apitrace gives (full apitrace as attachment):
10 glXChooseVisual(dpy = 0x15fbef0, [snip]) = &{visual = 0x1661f58, [snip]}
11 glXCreateContext(dpy = 0x15fbef0, vis = &{visual = 0x1661f58, [snip]) =
0x16734e0
12 glXMakeCurrent(dpy = 0x15fbef0, drawable = 20971535, ctx = 0x16734e0) = True
43 glXMakeCurrent(dpy = 0x15fbef0, drawable = 20971535, ctx = 0x16734e0) = True

Trying gdb it seems one of the mono threads get stuck in
radeon_drm_cs_emit_ioctl(), the other 7 threads look like mono internal things
relating to its garbage collector.

strace gives:
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 7
connect(7, {sa_family=AF_LOCAL, sun_path=@"/tmp/.X11-unix/X0"}, 20) = 0
[snip]
open("/dev/dri/card0", O_RDWR|O_CLOEXEC) = 9
[snip]
ioctl(9, 0xc010640b, 0x7fffeb471ea0)    = 0
ioctl(9, 0xc00c6469, 0x7fffeb471ec0)    = 0
ioctl(9, 0xc020645d, 0x7fffeb471d10)    = 0
ioctl(9, 0xc020645d, 0x7fffeb471b10)    = 0
ioctl(9, 0xc020645e, 0x7fffeb471b20)    = 0
mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0x112992000) =
0x7f921dfe9000
ioctl(9, 0xc020645d, 0x7fffeb471b20)    = 0
ioctl(9, 0xc020645e, 0x7fffeb471b30)    = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 9, 0x1129a2000) =
0x7f921dfe8000
ioctl(9, VIDIOC_INT_RESET, 0x24460b0)   = 0
ioctl(9, 0xc020645d, 0x7fffeb471db0)    = 0
Then some more interactions with fd=7 until it gets stuck with:
futex(0x984280, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>

At that point only kill -9 helps.

Do you have anything I should try or any info I should provide?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3295 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2013-08-22 17:17 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-15 21:29 [Bug 60929] New: [r600-llvm] mono games with opengl are blocking on start bugzilla-daemon
2013-02-15 21:29 ` [Bug 60929] " bugzilla-daemon
2013-02-21 21:07 ` bugzilla-daemon
2013-03-25 13:33 ` bugzilla-daemon
2013-05-20 12:21 ` bugzilla-daemon
2013-06-03 16:52 ` bugzilla-daemon
2013-06-05  7:26 ` bugzilla-daemon
2013-07-15 20:22 ` bugzilla-daemon
2013-07-16  9:16 ` bugzilla-daemon
2013-07-16 10:00 ` bugzilla-daemon
2013-07-16 19:38 ` bugzilla-daemon
2013-07-18 17:15 ` bugzilla-daemon
2013-07-20  7:43 ` bugzilla-daemon
2013-07-20  8:07 ` bugzilla-daemon
2013-07-20  9:04 ` bugzilla-daemon
2013-07-22 13:38 ` bugzilla-daemon
2013-08-22 17:17 ` bugzilla-daemon [this message]
2013-08-26  9:11 ` bugzilla-daemon
2013-08-26 23:12 ` bugzilla-daemon
2013-08-27  2:34 ` bugzilla-daemon
2013-08-27  5:22 ` bugzilla-daemon
2013-09-14 18:49 ` bugzilla-daemon
2013-09-27 14:17 ` bugzilla-daemon
2013-10-19 16:50 ` bugzilla-daemon
2013-10-25 12:51 ` bugzilla-daemon
2013-10-31 21:23 ` bugzilla-daemon
2013-11-03 11:28 ` bugzilla-daemon
2013-11-04  8:26 ` bugzilla-daemon
2013-11-11 18:48 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-60929-502-K8DbyPeMFw@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).