From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 30776] New: Wine expects GL_VENDOR to identify the card vendor
Date: Mon, 11 Oct 2010 12:38:15 -0700 (PDT) [thread overview]
Message-ID: <bug-30776-502@http.bugs.freedesktop.org/> (raw)
https://bugs.freedesktop.org/show_bug.cgi?id=30776
Summary: Wine expects GL_VENDOR to identify the card vendor
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: trivial
Priority: medium
Component: Drivers/DRI/R600
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: seppo.yli-olli@iki.fi
Not sure whose bug this is but Wine's logic for figuring out which card we have
currently uses the following piece of code to figure out which "hw_vendor" we
have:
if (strstr(gl_vendor_string, "ATI")
|| strstr(gl_vendor_string, "Advanced Micro Devices, Inc.")
|| strstr(gl_vendor_string, "X.Org R300 Project")
|| strstr(gl_renderer, "R100")
|| strstr(gl_renderer, "R200")
|| strstr(gl_renderer, "R300")
|| strstr(gl_renderer, "R600")
|| strstr(gl_renderer, "R700"))
return HW_VENDOR_ATI;
Now, this wasn't such a problem with classic driver, eg with r600c we had even
double positive match. With r600g, however, renderer string says the exact chip
name (which Wine uses after it has found the right branch of chip id's to
search from) and GL_VENDOR is "X.org". This causes Wine to fail detection (and
end up fallbacking in a rather boring fashion through HW_VENDOR_NVIDIA finally
to Nouveau since it already *did* manage to detect that we're running Mesa).
I'm not sure what exactly the GL_VENDOR string should say but I'm hoping
something more distinguishing could be put there. The first two items in that
list would imo be viable options but that's not to say something else couldn't
be put in and make Wine detect "hw_vendor" based on that instead.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
next reply other threads:[~2010-10-11 19:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-11 19:38 bugzilla-daemon [this message]
2011-03-01 9:00 ` [Bug 30776] Wine expects GL_VENDOR to identify the card vendor 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-30776-502@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.