http://bugs.winehq.org/show_bug.cgi?id=21515
--- Comment #89 from Edward vbgraphix2003@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.