The forum

800X600 32bit screen could not be opened

Pocket Tanks Deluxe v1.3

Author Replies
tousif Saturday 21 September 2013 at 17:44
tousif

Installation Procedure i followed:

1. Visited Wine appdb
2. searched for suitable wine version for Pocket Tanks Deluxe v1.3
3. WINE 1.3.33 WAS SUITABLE SO I DOWNLOADED IT VIA POL 4.1.1
4. installed game successfully but when i click RUN
5. It says "800X600 32bit screen could not be opened"

debug output is given below,

Debug output:
______________________________________
[09/22/13 02:33:46] - Running wine-1.3.33 --version
wine-1.3.33

PlayOnLinux logfile
-------------------
Date: 09/22/13 02:33:46

> PlayOnLinux Version
  4.1.1
> uname -a
  Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64 GNU/Linux
> lsb_release -a
  
> wine --version
  wine-1.3.33
> POL_WINEVERSION
  1.3.33
> WINEPREFIX
  /home/tousif/.PlayOnLinux//wineprefix/Tanks
> glxinfo \| grep rendering
  direct rendering: Yes
    GL_NV_parameter_buffer_object2, GL_NV_path_rendering, 
> glxinfo \| grep renderer
  OpenGL renderer string: GeForce GT 520/PCIe/SSE2
> OpenGL libs (Direct rendering testing)
  
  

[09/22/13 02:33:47] - Running wine-1.3.33 cmd /c echo %ProgramFiles%
C:\Program Files
[09/22/13 02:33:51] - Running wine-1.3.33 cmd /c echo %ProgramFiles%
C:\Program Files
[09/22/13 02:33:58] - Running wine-1.3.33 /home/tousif/Downloads/Pocket Tanks Deluxe v1.3/ptanks13-integrated-argogo.exe
fixme:shell:SHAutoComplete stub
[09/22/13 02:34:30] - Running wine-1.3.33 pockettanks.exe
[09/22/13 02:36:33] - Running wine-1.3.33 winecfg
ALSA lib conf.c:3314:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
err:heap:validate_block_pointer Heap 0x110000: bad size 0014a860 for in-use arena 0x14a268
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
err:heap:validate_block_pointer Heap 0x110000: bad size 0014a830 for in-use arena 0x14a250
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:alsa:AudioClient_GetMixFormat Don't know what to do with 10000 channels, pretending there's only 2 channels
fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
[09/22/13 02:37:07] - Running wine-1.3.33 pockettanks.exe
[09/22/13 02:37:34] - Running wine-1.3.33 pockettanks.exe
err:wgl:has_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
err:wgl:has_opengl OpenGL support is disabled.
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:ddraw:CreateSurface Failed to create swapchain, hr 0x8876086c.
petch Saturday 21 September 2013 at 21:10
petch

err:wgl:has_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory

Did you install accelerated video drivers, and if yes, how? (distribution packages, video chip maker packages, following some howto,... ?)
tousif Sunday 22 September 2013 at 8:06
tousif

Yes i've installed accelerated video drivers from
https://wiki.debian.org/NvidiaGraphicsDrivers#NVIDIA_Proprietary_Driver

and also followed this post:
http://www.thedark1.za.net/wordpress/?p=458
petch Sunday 22 September 2013 at 8:55
petch

Ok, so I assume you have the proprietary driver 304.88 correctly installed, and also the matching 64bit libraries, and are only lacking the 32bit libraries to get accelerated display for 32bit programs (since those instructions do not mention anything about 32bit libraries, just let the packaging system install nvidia-glx package and all its dependencies).
Problem is, most games here run under 32bit Wine versions, so you need those also.

My best guess (couldn't find an howto that specifically addresses the 32bit libraries clearly) is that you need to install the package libgl1-nvidia-glx-ia32 (or, if your system uses the newer "multiarch" layout, libgl1-nvidia-glx:i386; But if you never heard of multiarch before, first try libgl1-nvidia-glx-ia32).