Ubuntu Hardy + Wine + WoW = corrupted graphics

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Michael S. Peek

Ubuntu Hardy + Wine + WoW = corrupted graphics

Post by Michael S. Peek »

Hello all,

I've got a laptop w/ an "Intel Corporation Mobile 945GM/GMS, 943/940GML"
graphics card (I know, Intel sucks) running Ubuntu Hardy and Wine
0.9.61~winehq0~ubuntu~8.04-1.

I've had problems getting World of Warcraft to run under wine before, so
when I upgraded to Hardy I thought I would try it again. At least in
the past I could run WoW using the built-in d3d engine (instead of
opengl) and it would be usable, just not fast. But now things have
gotten a /LOT/ worse. I get lots of video problems:

- Blue flickering whenever a window or icon underneath the wine window
scrolls or updates itself, or whenever I click the mouse in the wine window.

- Moving the wine window around causes bits of itself to be left behind
on the desktop underneath, both on the desktop and in the windows of
other applications.

- The wine window loses it's window decorations if moved or
minimized/restored.

- When WoW is run full-screen the icons from the gnome panel underneath
keep redrawing themselves over the wine display.

This only seems to happen when I'm running the game (happens in both
-opengl and -d3d). This doesn't happen at all if I just run something
simple like winecfg or regedit.

I have screenshots to show what I'm talking about.

- This image shows the garbage left behind on the desktop whenever the
wine window is moved around the screen:

http://www.tiem.utk.edu/~peek/tmp/wine/ ... p-1440.jpg

- This image shows the flickering that takes place whenever a window
underneath the wine window changes and redraws itself. (In this case
the large blue square you see in the lower-left is an xterm window
running ls.):

http://www.tiem.utk.edu/~peek/tmp/wine/ ... r-1280.jpg

Has anyone else had problems like this?

Does anyone know a solution?

Thanks for your help,

Michael
Tlarhices
Level 4
Level 4
Posts: 101
Joined: Sun Mar 02, 2008 9:28 pm

Post by Tlarhices »

If you are under hardy, you can try by stopping compiz.
To do this go to the "Appearance" panel and switch "Visual effects" to "none", you might also try by typing in a terminal:
[code] metacity --replace [/code]

Compiz and wine are not really good friends and produce strange graphical behavior.
stimpak
Level 3
Level 3
Posts: 72
Joined: Tue Apr 01, 2008 12:56 pm

Post by stimpak »

did that solve the problem?
codeman
Newbie
Newbie
Posts: 1
Joined: Thu May 08, 2008 5:43 pm

Ubuntu Hardy + Wine + WoW = corrupted graphics

Post by codeman »

No im having the same problems and when I tried to do that fix it was already torned to none. Im having to run wow under D3D and it is horrible. I am getting 3-5 FPS in shattrah and 25 man raids :cry: . This has been happening for the last few wine versions released . Ive done every tweek I have found online and nothing is fixing the framerate for D3D or the graphical corruption in Opengl.
Michael Peek

Ubuntu Hardy + Wine + WoW = corrupted graphics

Post by Michael Peek »

Tlarhices wrote:
If you are under hardy, you can try by stopping compiz.
To do this go to the "Appearance" panel and switch "Visual effects" to "none", you might also try by typing in a terminal:

Code: Select all

 metacity --replace 
Compiz and wine are not really good friends and produce strange graphical behavior.
That did it! Thanks!

Michael
Michael Peek

Ubuntu Hardy + Wine + WoW = corrupted graphics

Post by Michael Peek »

Tlarhices wrote:
If you are under hardy, you can try by stopping compiz.
The game runs now, and doesn't interfere with the rest of the desktop,
which is awesome!

Now all I have to do is find a fix for this last problem. It's a
problem that's plagued me since Gutsy, and ultimately the reason that I
fouled my beloved laptop by installing Windows in the first place:

http://www.tiem.utk.edu/~peek/tmp/wine/ ... shapes.jpg

I have these artifacts where items and characters in the game are white
silhouettes, and the map doesn't work. I have heard that both of these
problems are in the video driver for x11 for Intel-based video cards.
Is this true? Or by chance does someone here know a solution to this too?

The game runs fine in -d3d, but of course it's s-l-o-w...

Michael
Jim
Level 2
Level 2
Posts: 48
Joined: Mon Feb 25, 2008 6:09 pm

Re: Ubuntu Hardy + Wine + WoW = corrupted graphics

Post by Jim »

Michael Peek wrote: I have these artifacts where items and characters in the game are white silhouettes, and the map doesn't work.
Try editing your "C:\Program Files\World of Warcraft\WTF\Config.wtf" file and add the following line:

SET M2UseShaders "0"
Michael Peek wrote:I have heard that both of these problems are in the video driver for x11 for Intel-based video cards. Is this true?
Probably. From what I've seen and read to date, nVidia seems to be the only manufacture that provides a good GL solution on Linux. I do hope this changes. I like to have options when shopping.
Michael Peek

Ubuntu Hardy + Wine + WoW = corrupted graphics

Post by Michael Peek »

Jim wrote:
Michael Peek wrote:
I have these artifacts where items and characters in the game are white silhouettes, and the map doesn't work
Try editing your "C:\Program Files\World of Warcraft\WTF\Config.wtf" file and add the following line:

SET M2UseShaders "0"
Got that one, and the image I posted is using that setting. Just for
fun I changed 0 to 1 and 2 and gave it a whirl, but it's completely
unplayable -- whole buildings don't appear, and the top and bottom half
of my character don't meet up.
I have heard that both of these problems are in the video driver for x11 for Intel-based video cards. Is this true?
Probably. From what I've seen and read to date, nVidia seems to be the only manufacture that provides a good GL solution on Linux. I do hope this changes. I like to have options when shopping.
I've already decided that, unless you get your wish, my next laptop will
have an nvidia in it.

Thanks to everyone for your help. If anyone has any more suggestions of
things to try, I'm all ears!

Michael Peek
Locked