Summary: | World of Warcraft behaves incorrectly in OpenGL mode | ||
---|---|---|---|
Product: | Mesa | Reporter: | Chris Rankin <rankincj> |
Component: | Drivers/DRI/r200 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | high | ||
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Warcraft login screen; OpenGL mode
Warcraft login screen; Direct3D mode Warcraft login screen; OpenGL mode ignoring vertex weight attribute |
Description
Chris Rankin
2006-08-27 06:07:05 UTC
Created attachment 6721 [details]
Warcraft login screen; OpenGL mode
Notice the artifacts around the mouse cursor and the lines connecting the mouse
cursor to the (flashing) keyboard cursor in the Account Name box, and how both
are connected to the "Remember account name" text field.
Also, the fire on the right of the screen is drawn incorrectly as well.
And most obviously of all, the background picture is missing :-).
Created attachment 6722 [details]
Warcraft login screen; Direct3D mode
This is what the screen is supposed to look like.
Could this be a Wine bug? Maybe. But people seem to play Wine quite happily in OpenGL mode using proprietary graphics drivers. The problem is actually a wine bug and has been fixed on wine's git tree for now. Users who want to run WoW with 0.9.20 need to apply this patch http://appdb.winehq.org/commentview.php?iAppId=1922&iVersionId=5606&iThreadId=14505 Actually, I have already tried applying this patch to Wine. It did not make any difference. Created attachment 6852 [details]
Warcraft login screen; OpenGL mode ignoring vertex weight attribute
Apparently, Warcraft runs ARB vertex programs that use the vertex weight
attribute. However, Mesa does not support GL_ARB_vertex_weight, which means
that it cannot (legally) run these vertex programs.
Mesa has now been changed to ignore the vertex weight attribute, allowing the
vertex programs to compile. (Apparently, Warcraft doesn't actually use the
vertex weight, so compiling is enough.) This attachment shows Warcraft's login
screen now running correctly under OpenGL.
Unfortunately, Mesa does not yet support generic vertex attributes, which means
that Warcraft has to run the vertex programs in software at the moment. This is
why the animations on the login screen do not run smoothly.
*** This bug has been marked as a duplicate of 8060 *** (In reply to comment #6) > Unfortunately, Mesa does not yet support generic vertex attributes, which means > that Warcraft has to run the vertex programs in software at the moment. This is > why the animations on the login screen do not run smoothly. No, Mesa itself supports generic vertex attribs just fine, only the r200 driver does not. (In reply to comment #7) > *** This bug has been marked as a duplicate of 8060 *** Not really a duplicate, the other bug really was about bogus r200 initialization (despite being caused by the broken shader). (In reply to comment #6) > No, Mesa itself supports generic vertex attribs just fine, only the r200 > driver does not. Well that's good news then ;-). So does this mean that (e.g) i965 owners are now able to run Warcraft with full hardware acceleration? (In reply to comment #7) > > *** This bug has been marked as a duplicate of 8060 *** > Not really a duplicate, the other bug really was about bogus r200 > initialization (despite being caused by the broken shader). I would have preferred to mark this bug as "related" to #8060, but I thought that "duplicate" was close enough. Resolving #8060 has certainly had a remarkable effect on the OpenGL Warcraft login screen. Certainly enough to close this issue. Mass version move, cvs -> git |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.