From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 104306] Mesa 17.3 breaks Firefox and other Xwayland apps on AMD HD7750
Date: Wed, 10 Jan 2018 16:47:17 +0000 [thread overview]
Message-ID: <bug-104306-502-EUoCjG4AF0@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-104306-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 1637 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=104306
--- Comment #14 from eric vz <evonzee+freedesktop@themxgroup.com> ---
Thanks, Michel. On a hanging call to glxinfo, dri2_validate_usage is being
called from gbm_dri_bo_import, which gets parameters of a 100x100 FD image
buffer for usage 5 (scanout | rendering). However, the image texture winds up
with is_displayable = 0, so si_check_resource_capabilities returns false,
gbm_dri_bo_import destroys the image, and glxinfo hangs. I confirmed that if I
set variable usage = 0 the problem does not occur. I have not yet been able to
trace where the texture flags are set, but I got far enough to find that
they're being read from the image buffer as metadata.
However, it occurs to me that as a newcomer to the domain (e.g., I had to
google what a scanout is), I don't know the real problem:
* Should usage include scanout?
* Should the image metadata include is_displayable?
* Should the null return from gbm_dri_bo_import cause the caller to hang?
Either point 1 or point 2 seems like it must be wrong, and might be the easiest
fix. Point 1 seems the stronger case, since glxinfo doesn't actually draw
anything as far as I'm aware. Since Firefox, Chromium, and other apps also seem
to fail on this, I'm expecting to find some kind of common initialization code
that does it. Will report back when I get time to dig. Or, if anyone knows
better than I do which avenue to pursue, I'm happy to be redirected. I don't
expect to have time to look at this until the weekend.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2457 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2018-01-10 16:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-18 0:53 [Bug 104306] Mesa 17.3 breaks Firefox and other Xwayland apps on AMD HD7750 bugzilla-daemon
2017-12-19 0:21 ` bugzilla-daemon
2017-12-19 22:30 ` bugzilla-daemon
2017-12-20 19:12 ` bugzilla-daemon
2017-12-20 19:26 ` bugzilla-daemon
2017-12-21 16:45 ` bugzilla-daemon
2017-12-21 17:18 ` bugzilla-daemon
2017-12-21 20:33 ` bugzilla-daemon
2017-12-28 20:28 ` bugzilla-daemon
2018-01-02 21:14 ` bugzilla-daemon
2018-01-03 19:51 ` bugzilla-daemon
2018-01-05 6:22 ` bugzilla-daemon
2018-01-09 0:50 ` bugzilla-daemon
2018-01-09 13:53 ` bugzilla-daemon
2018-01-10 16:47 ` bugzilla-daemon [this message]
2018-01-26 17:35 ` bugzilla-daemon
2018-01-26 23:24 ` bugzilla-daemon
2018-01-31 9:07 ` 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-104306-502-EUoCjG4AF0@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