<br>
<br><br><div class="gmail_quote">On Fri, Aug 14, 2009 at 4:23 PM, King InuYasha <span dir="ltr">&lt;<a href="mailto:ngompa13@gmail.com">ngompa13@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This seems like the wrong way to go. I&#39;m wondering if there is another way to detect VRAM? There should be a way to determine VRAM from Xorg? Why should OpenGL or DirectDraw be the method that Wine uses to determine video RAM? Why should Wine have a fixed value based on a list? Maybe I&#39;m being stupid, but I think it would make sense for the display server (xorg) to know how much VRAM a graphics card has...</blockquote>
<div><br>Just a nitpick: Wine does not *use* DirectDraw, it *implements* DirectDraw, as there&#39;s no DirectDraw anywhere other than win32.<br><br>I see no problem querying OpenGL, if the extensions can be trusted to provide useful values - even if they are undocumented or not always available. The problem with the approach so far seems to be that this extension is ATI-specific. Then again, the current fallback can be left in place if Wine does not find a way to properly detect the VRAM amount.<br>
<br>As for asking Xorg, I do not have the knowledge to say if it is feasible - but one would think that would&#39;ve been tried long ago if it were straightforward.<br><br clear="all"><br>--Stephen<br><br>programmer, n:<br>
        A red eyed, mumbling mammal capable of conversing with inanimate monsters.</div></div><br>