WineHQ
Bug Tracking Database – Bug 12792

 Bugzilla

 

Last modified: 2014-02-20 12:37:16 UTC  

Warcraft III videos is not playing

Bug 12792 - Warcraft III videos is not playing
Warcraft III videos is not playing
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: quartz
0.9.60
x86 Linux
: P2 trivial
: ---
Assigned To: Mr. Bugs
:
: 27045 (view as bug list)
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-04-25 11:08 UTC by Oscar Miguel Amezcua Estrella
Modified: 2014-02-20 12:37 UTC (History)
11 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
Wine 1.1.31 (1.78 KB, text/plain)
2009-10-22 13:00 UTC, NSLW
Details
Wine 1.1.31 with native quartz.dll (3.66 KB, text/plain)
2009-10-22 13:07 UTC, NSLW
Details
bad quality movie (35.50 KB, image/png)
2009-10-22 13:14 UTC, NSLW
Details
Source code of Warcraft III starter (3.75 KB, text/plain)
2011-02-01 18:11 UTC, Pali
Details
Normal output for the movie crash. wine-1.5.31 (2.52 KB, text/plain)
2013-06-10 01:39 UTC, Carlos Salvador Pérez Salgado
Details
Output from Pali's workarround (1.62 KB, text/plain)
2013-06-10 01:40 UTC, Carlos Salvador Pérez Salgado
Details
Output from Pali's workaround (modified) (1.81 KB, text/plain)
2013-06-10 01:41 UTC, Carlos Salvador Pérez Salgado
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oscar Miguel Amezcua Estrella 2008-04-25 11:08:50 UTC
In the game Warcraft III knot see the videos, the videos automatic is scape
Comment 1 nick ves 2008-10-22 15:19:59 UTC
warcraft indd doesnt play any videos (intro, endings) in either war3 and war3x.

the interesting part is that you can actually watch the war3 videos with VLC or media player 

so i guess is CONFIRMED for 1.1.6 
Comment 2 Austin English 2008-10-22 15:43:24 UTC
Confirming. Please attach terminal output.
Comment 3 Damjan Jovanovic 2008-12-17 13:00:47 UTC
Hello

Run winecfg, go to the "Graphics" tab, and disable "Allow the window manager to control the windows", then both the Blizzard logo and the movies play just fine.

Changing component to winex11.drv.
Comment 4 anomalydetected 2009-03-30 17:51:22 UTC
Just confirming that it still exists in wine 1.1.18.
However, unchecking "Allow window manager to control the window" in winecfg as indicated does allow the videos to play perfectly.
This is a bit of an annoyance, though, because then when launching the game via terminal window the game will not automatically gain focus and you cannot type (for chat, for naming savegames, creating profiles, etc).
Also, naturally, affects The Frozen Throne expansion pack.
Comment 5 Ken Sharp 2009-08-01 08:11:42 UTC
Where is the terminal output?
Comment 6 Damjan Jovanovic 2009-08-01 08:19:30 UTC
There is no useful terminal output. It's the same with the window management setting on or off.
Comment 7 NSLW 2009-10-22 13:00:49 UTC
Created attachment 24282 [details]
Wine 1.1.31

In attachment there is log from playing video from Orcs campaign. Game was updated to 1.24b. I didn't run the game with -opengl option.

I left only one

err:quartz:PullPin_Thread_Process Processing error: 8004022e

but there was plenty of those lines
Comment 8 NSLW 2009-10-22 13:07:04 UTC
Created attachment 24283 [details]
Wine 1.1.31 with native quartz.dll

I forgot to add: in above comment I didn't manage to display movie

Overriding quartz.dll allows me to play movie but without sound and with bad quality. I'm attaching another log.
Comment 9 NSLW 2009-10-22 13:14:08 UTC
Created attachment 24284 [details]
bad quality movie

This is a screenshot sample of bad quality movie. In screenshot you'll see some horizontal lines, it looks like movie is interlaced. It very clear to see when movie is played but not when screenshot is cough. 

In next part of the movie the screen look like grained or pixelized. The framerate is good though.
Comment 10 Xavier Vachon 2010-04-29 18:14:11 UTC
This is still an issue with wine 1.1.43.

> Run winecfg, go to the "Graphics" tab, and disable "Allow the window manager to
> control the windows"

Doing this allows me to watch the videos (with horrid quality and sound) and play the game.
Comment 11 Amir Hedayaty 2010-07-28 01:06:04 UTC
wine-1.2.0-1:
After disallowing window manager control windows,
movies almost work
* It does not crash any more
* Moives are showed but in a very low quality
* as usual the display becomes brighter, but becomes normal after you quit warcraf
* no sound during movies
Comment 12 Amir Hedayaty 2010-08-15 16:34:31 UTC
One more thing on disallowing window manager control windows
It breaks the game! No game can be started after this setting
Comment 13 Michael Monreal 2010-08-22 14:35:31 UTC
(In reply to comment #11)
> wine-1.2.0-1:
> After disallowing window manager control windows [...]

I also reinstalled War3 today and did not have to "disallowing window manager control windows". However, I play in a virtual window.

The quartz.dll hack described above is no needed anymore, however it would still be nice to have at least sound in the videos.
Comment 14 Damjan Jovanovic 2010-10-04 08:53:34 UTC
Thank you NSLW, my tests also show using native quartz.dll indeed gets the movies playing even with "Allow the window manager to control the windows" enabled.

This proves that Wine's quartz doesn't deal with winex11.drv properly in managed mode -> changing component from winex11.drv to quartz.
Comment 15 Damjan Jovanovic 2010-10-04 15:52:17 UTC
Latest Wine Git with builtin quartz gives these results:

A DirectShow sample from MSDN plays the .mpq videos just fine. If Wine is compiled with libmpg123 present, the videos even have sound.

Wine + libmpg123 + "Allow the window manager to control the windows"="Yes": sound plays, but video is black and cannot be skipped. Alt-Tabbing through different Warcraft windows doesn't help.

Wine + libmpg123 + "Allow the window manager to control the windows"="No": sound plays, video plays and can be skipped. Skip -> X11 crashes (Intel GMA HD graphics FTW :-).

Wine + libmpg123 + 800x600 virtual desktop: sound plays, video plays and can be skipped. Skip -> main menu.

When the videos play, they play smoothly and the CPU usage is minimal, but they are pale and blocky because the monitor gamma is somehow set too high. Resetting the gamma while the videos are playing ("xrandr --output VGA1 --gamma 1:1:1") makes the quality a lot better.

So the reason movies are black with "Allow the window manager to control the windows"="Yes" seems to be some kind of window order/focus/visibility issue.
Comment 16 Pali 2011-02-01 18:11:12 UTC
Created attachment 33094 [details]
Source code of Warcraft III starter

I created Warcraft III starter (C program) for Wine, which use some ugly hacks with integrated wine's explorer.exe, Warcraft III window mode and WinAPI function CreateProcess.

This starter starts Warcraft III in window mode, but resized to fullscreen (there is no visible differences between this and classic fullscreen mode) without changing actual screen resolution. In this mode movies works fine for me without any external dlls.

I'm attaching source code of my starter.
Comment 17 Damjan Jovanovic 2013-01-17 15:05:04 UTC
*** Bug 27045 has been marked as a duplicate of this bug. ***
Comment 18 Carlos Salvador Pérez Salgado 2013-06-10 01:38:13 UTC
Hi, I was doing some experiments with Warcraft III in order to get videos played.
I'm using wine-1.5.31 emerged from gentoo's last ebuild with USE flags "X alsa cups fontconfig gecko gstreamer jpeg lcms ldap mono mp3 ncurses nls odbc openal opencl opengl perl png prelink samba scanner ssl threads truetype udisks xcomposite xinerama xml". I run a custom script to start the game in a different X session using the -opengl switch, no dynamic libraries are overridden.
The game works pretty well except by the movies, first I've renamed the movies folder and there were skipped, so no problem was found. However, I wanted to try Pali's workaround.
I provide three attachments, the first one, called error.log is form the game without any workaround, with the window manager disabled. The second one, error.log.0 describe the output op Pali's workarround. Finally, in the third one I edited start.c code at line 75, removing the window switch:
-- sprintf(command, "war3.exe %s%c", classic, 0);
++ sprintf(command, "war3.exe -window%s%c", classic, 0);

I hope it helps.
Comment 19 Carlos Salvador Pérez Salgado 2013-06-10 01:39:38 UTC
Created attachment 44728 [details]
Normal output for the movie crash. wine-1.5.31
Comment 20 Carlos Salvador Pérez Salgado 2013-06-10 01:40:54 UTC
Created attachment 44729 [details]
Output from Pali's workarround
Comment 21 Carlos Salvador Pérez Salgado 2013-06-10 01:41:29 UTC
Created attachment 44730 [details]
Output from Pali's workaround (modified)
Comment 22 Carlos Salvador Pérez Salgado 2013-06-15 05:06:26 UTC
Hi again, I managed to make it work:

I created an application entry in winecfg for Frozen Throne.exe:
Windows version: Windows XP
Graphics: 
* Automatically capture the mouse... etc
* Emulate a virtual desktop (the size of your game resolution, e.g., 1280x1024)

and also I created another entry for war3.exe
Windows version: Windows XP
Graphics: 
* Automatically capture the mouse... etc
* Allow the window manager to control the windows
Libraries:
* winegstreamer (disabled)

I run the game as:
$ wine ...etc../Frozen\ Throne.exe -opengl
or
$ wine ...etc../Warcraft\ III.exe -opengl
If expansion is used or not.

I hope it helps.
P.S. Even the subtitles appear in the videos.
Comment 23 Ken Sharp 2014-02-06 15:29:52 UTC
Does this still occur in Wine 1.7.11 or later?
Comment 24 Xavier Vachon 2014-02-08 10:34:31 UTC
(In reply to comment #23)
> Does this still occur in Wine 1.7.11 or later?

The videos work for me too with built-in quartz. in wine 1.7.12
Comment 25 Jerome Leclanche 2014-02-08 10:43:45 UTC
Reported fixed
Comment 26 Alexandre Julliard 2014-02-20 12:37:16 UTC
Closing bugs fixed in 1.7.13.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers