[Bug 21515] VENDOR_WINE vs VENDOR_ATI with xf86-video-ati

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 26 07:19:52 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=21515





--- Comment #89 from Edward <vbgraphix2003 at hotmail.com>  2010-02-26 07:19:47 ---
(In reply to comment #88)
> Thanks Cùran.
> 
> Edward, I'm afraid I have no idea how to detect Gallium renderers or how to
> enable them for that matter.

I am assuming that you just use the same format as before, but use the new
Gallium glxinfo output.

http://www.phoronix.com/forums/showthread.php?t=21708&page=2

It worked for me anyways... my Morrowind Launcher program detects my card as
X1600 after this... which is close enough.

So in the p5 patch, for instance, one part would look like this

/* Radeon R5xx */
if (strstr(gl_renderer, "Gallium 0.4 on R520")
        || strstr(gl_renderer, "RV535")
        || strstr(gl_renderer, "RV560")
        || strstr(gl_renderer, "RV570")
        || strstr(gl_renderer, "RS690")
        || strstr(gl_renderer, "R580"))
{
        *vidmem = 128; /* X1600 uses 128-256MB, >=X1800 uses 56MB */
        return CARD_ATI_RADEON_X1600;
}

This would need to be done for all of the cards, but you would need to add in
the old style to the same IF test, because I was getting compile errors when
using separate IF tests complaining that each card can only be returned once.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list