World of Warcraft giving dark screen

Questions about Wine on Linux
Locked
tkalfaoglu
Newbie
Newbie
Posts: 4
Joined: Tue May 27, 2014 6:19 am

World of Warcraft giving dark screen

Post by tkalfaoglu »

When I launch WOW (which is on a windows partition), the window opens (all black) and then a message pops up saying "3d acceleration cannot be started." My hardware is an ASUS GL702ZC (Ryzen 7+RX 580) and I'm using the amdgpu opensource drivers on Fedora 27.

My launch command is:
$ LD_PRELOAD="libpthread.so.0 libGL.so.1" wine ./Wow.exe -opengl

The console displays these:

0009:fixme:heap:RtlSetHeapInformation 0x110000 0 0x32fe58 4 stub
[turgut@turgutpc ~]$ 002f:fixme:ver:GetCurrentPackageId (0x273fdc0 (nil)): stub
002e:fixme:kerberos:kerberos_SpInstanceInit 65536,0x7f8b4f75a7a0,(nil): stub
0033:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
0033:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
002e:fixme:mpr:WNetGetUniversalNameW (L"Z:\\win\\Program Files (x86)\\World of Warcraft\\data\\data", 0x00000001, 0x23c670, 0x23c630): stub
002e:fixme:win:EnumDisplayDevicesW ((null),0,0x23f140,0x00000000), stub!
002e:fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x1.
002e:fixme:dxgi:dxgi_check_feature_level_support Ignoring adapter type.
002e:fixme:dxgi:dxgi_device_init Ignoring adapter type.
002e:fixme:win:EnumDisplayDevicesW ((null),0,0x23edb0,0x00000000), stub!
002e:fixme:win:EnumDisplayDevicesW ((null),0,0x23ebd0,0x00000000), stub!
002e:fixme:win:EnumDisplayDevicesW ((null),0,0x23ec10,0x00000000), stub!
002e:fixme:win:EnumDisplayDevicesW ((null),0,0x23ea30,0x00000000), stub!
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: World of Warcraft giving dark screen

Post by Bob Wya »

Don't even bother trying to use the WOW OpenGL renderer... That is broken.

Use Wine Staging 3.5 + PBA patchset, with the WOW DX11 renderer.
This should give very respectable performance on a decent GPU (clearly a RX 580 is in this category!)

See: WineHQ Forums: World of Warcraft 7.3.5 (most recent) not showing.

I can fully endorse the experimental PBA patchset.
This patchset makes night-and-day difference to the framerate for Fallout 4 (DX11 renderer)!

Bob
tkalfaoglu
Newbie
Newbie
Posts: 4
Joined: Tue May 27, 2014 6:19 am

Re: World of Warcraft giving dark screen

Post by tkalfaoglu »

Thank you so much for the PBA patchset idea.
Yesterday I tried several things:
1) Download wine-development for Fedora from winehq's repo and launched the game from /opt/wine-devel/bin/wine..
No difference, still dark window.
2) Download the zipped GIT version of wine, downloaded the PBA patchset, ran the
./patchinstall.sh DESTDIR=/home/turgut/wine --all
command, it failed after a few patches saying some source cannot be patched.

So I'm stuck at this point.. What shall I do?
Thanks!
-t
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: World of Warcraft giving dark screen

Post by Bob Wya »

tkalfaoglu wrote:Thank you so much for the PBA patchset idea.
Yesterday I tried several things:
1) Download wine-development for Fedora from winehq's repo and launched the game from /opt/wine-devel/bin/wine..
No difference, still dark window.
2) Download the zipped GIT version of wine, downloaded the PBA patchset, ran the

Code: Select all

./patchinstall.sh DESTDIR=/home/turgut/wine --all
command, it failed after a few patches saying some source cannot be patched.

So I'm stuck at this point.. What shall I do?
Thanks!
-t
Well you'd want to install winehq-staging-3.5-1 - from repos.wine-staging.com/alesliehughes.

The current PBA branch patchset will only apply cleanly on top of Wine 3.5 source + Wine Staging 3.5 patchset.
You're kind of on your own here - sorry! See: WineHQ Wiki: Building Wine / Shared WoW64 ...
I've written a Debian / Ubuntu script to automate building Wine/ Wine Staging/ + user patches - but that doesn't help you! :cry:

Lutris can side-load some experimental / patched versions of Wine.

Bob
tkalfaoglu
Newbie
Newbie
Posts: 4
Joined: Tue May 27, 2014 6:19 am

Re: World of Warcraft giving dark screen

Post by tkalfaoglu »

Many thanks -- great help.. I have the new wine running.. Unfortunately still dark screen; I suspect the video drivers.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: World of Warcraft giving dark screen

Post by Bob Wya »

tkalfaoglu wrote:Many thanks -- great help.. I have the new wine running.. Unfortunately still dark screen; I suspect the video drivers.
From your description it sounds like you're trying to patch vanilla Wine - with the PBA patchset...
This won't work for World of Warcraft. You definitely still need Wine Staging.
The PBA patchset gives a significant DX11 performance boost, to stock Wine Staging, for many games I've tested.

I'd need a terminal log, from Wine Staging (with or without the PBA patchset), with the following 2 debug channels enabled:

Code: Select all

export WINEDEBUG=+d3d,+wgl
See: WineHQ FAQ: 10.1.1 How can I get a debugging log (a.k.a. terminal output)?

The log will generally be quite big... So please post it on a Pastebin-esque site.
Please include the exact Wine launch command and working directory used.


Thanks
Bob
Locked