Running Diablo II LOD on Ubuntu 12.04 x86_64

Questions about Wine on Linux
Locked
Accidie
Newbie
Newbie
Posts: 4
Joined: Tue Jul 31, 2012 11:58 am

Running Diablo II LOD on Ubuntu 12.04 x86_64

Post by Accidie »

Everything installs successfully, but when I try to run the program with

Code: Select all

wine start "C:\\Program Files (x86)\\Diablo II\\Game.exe"
I get the following:

Code: Select all

err:wineboot:pendingRename couldn't get file attributes (2)
err:wineboot:pendingRename couldn't get file attributes (2)
fixme:exec:SHELL_execute flags ignored: 0x00000100
jeffrey@jeffrey-desktop:~$ p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:advapi:SetSecurityInfo stub
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly (using GL renderer "AMD Radeon HD 7800 Series ", version "1.4 (2.1 (4.2.11631 Compatibility Profile Context))").
err:ntdll:RtlpWaitForCriticalSection section 0x7bcaf8e4 "loader.c: loader_section" wait timed out in thread 0027, blocked by 0024, retrying (60 sec)
At which point the program hangs forever. How can I fix this? If more information is needed to resolve this, let me know, and I will do my best to provide it.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Running Diablo II LOD on Ubuntu 12.04 x86_64

Post by dimesio »

Code: Select all

err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly (using GL renderer "AMD Radeon HD 7800 Series ", version "1.4 (2.1 (4.2.11631 Compatibility Profile Context))").
Reinstall your graphics driver, and make sure you have the necessary 32 bit parts installed.
Accidie
Newbie
Newbie
Posts: 4
Joined: Tue Jul 31, 2012 11:58 am

Re: Running Diablo II LOD on Ubuntu 12.04 x86_64

Post by Accidie »

I reinstalled my drivers following this guide and now it runs. However, a significant portion of the game screen is black: Image

And I get these messages from terminal:

Code: Select all

fixme:exec:SHELL_execute flags ignored: 0x00000100
jeffrey@jeffrey-desktop:~$ p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:advapi:SetSecurityInfo stub
fixme:win:EnumDisplayDevicesW ((null),0,0x33e9b4,0x00000000), stub!
jeffrey@jeffrey-desktop:~$ fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d_surface:wined3d_surface_flip Ignoring flags 0x1.
jeffrey@jeffrey-desktop:~$ fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
jeffrey@jeffrey-desktop:~$ err:ddraw:ddraw_surface7_Flip Can't find a flip target
err:ddraw:ddraw_surface7_Flip Can't find a flip target
jeffrey@jeffrey-desktop:~$ fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
err:wgl:internal_SetPixelFormat Invalid operation on root_window
The patches of black are present on every menu and during gameplay, but some portions of them flicker / move around a bit depending on which menu I am viewing. Also, the game window seems to have a hard time staying in full screen because sometimes my launcher appears over it.
slopoke
Level 2
Level 2
Posts: 48
Joined: Thu Oct 20, 2011 4:40 pm

Re: Running Diablo II LOD on Ubuntu 12.04 x86_64

Post by slopoke »

What is your graphics card?
Accidie
Newbie
Newbie
Posts: 4
Joined: Tue Jul 31, 2012 11:58 am

Re: Running Diablo II LOD on Ubuntu 12.04 x86_64

Post by Accidie »

slopoke wrote:What is your graphics card?
AMD Radeon HD 7850
Accidie
Newbie
Newbie
Posts: 4
Joined: Tue Jul 31, 2012 11:58 am

Re: Running Diablo II LOD on Ubuntu 12.04 x86_64

Post by Accidie »

When I run the program in windowed mode:

Code: Select all

wine start "C:\\Program Files (x86)\\Diablo II\\Game.exe" -window
It runs fine. But when I go to exit the game one of my monitors gets disabled until I reboot my computer. The terminal output doesn't seem to indicate a specific problem when exiting the game, but here it is anyways:

Code: Select all

fixme:exec:SHELL_execute flags ignored: 0x00000100
jeffrey@jeffrey-desktop:~$ p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:advapi:SetSecurityInfo stub
If I additionally run the game with the -opengl flag I get the same result, except that I don't need to reboot my computer to turn the monitor back on.

Running the game with just the -opengl flag lets it run perfectly. It would still be nice if someone knew what was going on with the -window flag
Locked