You are not logged in.

#1 2014-07-22 16:26:56

heldiho53
Member
Registered: 2013-03-14
Posts: 48

[SOLVED]Packages needed for Playonlinux/Wine?

Hi! I wanted to install the Game Steins;Gate in Wine (which didn't work) and I did everything as said here https://appdb.winehq.org/objectManager. … ngId=80397 and here https://appdb.winehq.org/objectManager. … &iId=26441. Didn't work a hell of errors. So I tried with Playonlinux and the JAST USA Version of Steins;Gate (the english patched Version is not supported) didn't work either it crashed when I started. So I changed to Ubuntu and it works perfectly in Playonlinux. So are there maybe some libraries I haven't installed that are needed ? And how do I know that?

Everytime I run into a problem in Arch, Ubuntu doesn't have these at all, that sadens me I want to use Arch but if it's so unstable that I have to switch to Ubuntu to be able to play games that should run then yeah I got to switch.

Last edited by heldiho53 (2014-08-08 10:01:52)

Offline

#2 2014-07-22 16:53:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,374
Website

Re: [SOLVED]Packages needed for Playonlinux/Wine?

If all you can report is that it "didn't work" and gave "a hell of errors", then there is nothing that can be done to help.  If you want help solving a problem, you need to describe it and give us something to work with.

Did you install this game from the AUR?  Did you install playonlinux from the repos?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2014-07-22 16:59:31

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED]Packages needed for Playonlinux/Wine?

How can anyone help you, when you provide no concrete information, not even your architecture? Hardware, software setup ([desktop] environment, sound system, drivers and anything else that might prove useful) and logs are crucial. What version of wine are you using and from what package? Did you try any of the Playonlinux wine versions? Is there a demo of this game somewhere?

If you want to compare both systems read manuals for at least strace and ldd, then use them. If the situation saddens you so much, do something about it. "Unstable"?

Edit: Too slow, my bad.

Last edited by emeres (2014-07-22 17:00:04)

Offline

#4 2014-07-22 18:10:47

heldiho53
Member
Registered: 2013-03-14
Posts: 48

Re: [SOLVED]Packages needed for Playonlinux/Wine?

Well, beginning with my system: Architecture: Arch x86/x64  3.15.3-1-ARCH  CPU: Intel i3 370-M GPU: Intel HD 3000 Desktop Enviroment I tried KDE and XFCE Sound System is Pulseaudio. 4GB of Ram System was fully up to date (don't know if it is now but it was only a few days I checked)

Wineversion: 1.7.22 (newest version), 1.7.15(the version playonlinux installs for Steins;Gate JAST USA VERSION) 1.7.0  (created with playonlinux but used as normal winebottle) all of them with 32-bit winearch because some dlls require that. Playonlinux I downloaded from community repository so no not from AUR, not wine either, even tried with the newest Playonlinux (it can be downloaded as an sh file from the homepage) version same errors.

fixme:win:EnumDisplayDevicesW ((null),0,0x33f5e4,0x00000000), stub!
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.

These are the only errors I get in wine with  this version of the game https://appdb.winehq.org/objectManager. … &iId=26441 the JAST version doesn't work in wine but has to work in Playonlinux.

Unhandled exception: page fault on execute access to 0x00001ff0 in 32-bit code (0x00001ff0).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00001ff0 ESP:0032ea7c EBP:7b680cd4 EFLAGS:00210212(  R- --  I   -A- - )
 EAX:00000002 EBX:f773bf9c ECX:0000002f EDX:7b680ee4
 ESI:00000000 EDI:00000002
Stack dump:
0x0032ea7c:  f7727b30 00000002 ff89d8c4 ff89d8d0
0x0032ea8c:  f7729075 7bcdf1f8 00000000 00000005
0x0032ea9c:  00000001 7c35f78c 0032e6ec f7727a99
0x0032eaac:  f773bf9c 0000000f 7c35f488 00000038
0x0032eabc:  f7727c40 ff89d8c4 ff89d8d0 00000000
0x0032eacc:  00000000 00000002 ff89d8c4 f73c0979
Backtrace:
=>0 0x00001ff0 (0x7b680cd4)
0x00001ff0: -- no code accessible --
Modules:
Module	Address			Debug info	Name (118 modules)
PE	  330000-  339000	Deferred        libogg
PE	  400000-  65f000	Deferred        steinsgate
PE	  660000-  7f1000	Deferred        libvorbis
PE	10000000-1000b000	Deferred        libvorbisfile
PE	78aa0000-78b5f000	Deferred        msvcr100
ELF	7b4a8000-7b4d4000	Deferred        libvorbis.so.0
ELF	7b4d4000-7b4dc000	Deferred        libogg.so.0
ELF	7b4dc000-7b4f7000	Deferred        libnsl.so.1
ELF	7b4f7000-7b583000	Deferred        libvorbisenc.so.2
ELF	7b583000-7b5b8000	Deferred        libflac.so.8
ELF	7b5b8000-7b65b000	Deferred        libgcrypt.so.20
ELF	7b65b000-7b682000	Deferred        liblzma.so.5
ELF	7b682000-7b6fb000	Deferred        libsndfile.so.1
ELF	7b6fb000-7b731000	Deferred        libsystemd-journal.so.0
ELF	7b731000-7b787000	Deferred        libdbus-1.so.3
ELF	7b787000-7b800000	Deferred        libpulsecommon-5.0.so
ELF	7b800000-7ba4a000	Deferred        kernel32<elf>
  \-PE	7b810000-7ba4a000	\               kernel32
ELF	7ba4c000-7ba64000	Deferred        libresolv.so.2
ELF	7ba64000-7ba6b000	Deferred        libasyncns.so.0
ELF	7ba6b000-7babc000	Deferred        libpulse.so.0
ELF	7babc000-7bbc7000	Deferred        libasound.so.2
ELF	7bc00000-7bcd0000	Deferred        ntdll<elf>
  \-PE	7bc10000-7bcd0000	\               ntdll
ELF	7bcd2000-7bcdf000	Deferred        libjson-c.so.2
ELF	7bcdf000-7bce7000	Deferred        libasound_module_pcm_pulse.so
ELF	7bce7000-7be00000	Deferred        oleaut32<elf>
  \-PE	7bd00000-7be00000	\               oleaut32
ELF	7bf00000-7bf03000	Deferred        <wine-loader>
ELF	7bf04000-7bf08000	Deferred        libgpg-error.so.0
ELF	7bf08000-7bf35000	Deferred        winealsa<elf>
  \-PE	7bf10000-7bf35000	\               winealsa
ELF	7bf35000-7bf55000	Deferred        mmdevapi<elf>
  \-PE	7bf40000-7bf55000	\               mmdevapi
ELF	7d455000-7d460000	Deferred        libpciaccess.so.0
ELF	7d460000-7da12000	Deferred        i965_dri.so
ELF	7dabf000-7dac5000	Deferred        libtxc_dxtn.so
ELF	7dac5000-7dae0000	Deferred        libgcc_s.so.1
ELF	7dbd6000-7dbe5000	Deferred        libdrm_radeon.so.1
ELF	7dbe5000-7dbed000	Deferred        libdrm_nouveau.so.2
ELF	7dbed000-7dc11000	Deferred        libdrm_intel.so.1
ELF	7dc11000-7dc28000	Deferred        libudev.so.1
ELF	7dc28000-7dc36000	Deferred        libdrm.so.2
ELF	7dc36000-7dc39000	Deferred        libxshmfence.so.1
ELF	7dc39000-7dc40000	Deferred        libxcb-sync.so.1
ELF	7dc40000-7dcad000	Deferred        libgl.so.1
ELF	7dd06000-7dd0a000	Deferred        libxcb-present.so.0
ELF	7dd0a000-7dd23000	Deferred        libxcb-glx.so.0
ELF	7dd23000-7dd3d000	Deferred        libglapi.so.0
ELF	7dd76000-7dd98000	Deferred        imm32<elf>
  \-PE	7dd80000-7dd98000	\               imm32
ELF	7ddba000-7ddc0000	Deferred        libxfixes.so.3
ELF	7ddc0000-7ddcb000	Deferred        libxcursor.so.1
ELF	7ddcb000-7dddc000	Deferred        libxi.so.6
ELF	7dddc000-7dde7000	Deferred        libxrandr.so.2
ELF	7dde7000-7ddf2000	Deferred        libxrender.so.1
ELF	7ddf2000-7ddf8000	Deferred        libxxf86vm.so.1
ELF	7ddf8000-7ddff000	Deferred        libxdmcp.so.6
ELF	7ddff000-7de23000	Deferred        libxcb.so.1
ELF	7de23000-7df5a000	Deferred        libx11.so.6
ELF	7df5a000-7df6d000	Deferred        libxext.so.6
ELF	7df6f000-7df73000	Deferred        libxcb-dri3.so.0
ELF	7df73000-7df79000	Deferred        libxcb-dri2.so.0
ELF	7df79000-7df7c000	Deferred        libx11-xcb.so.1
ELF	7df7c000-7df80000	Deferred        libxdamage.so.1
ELF	7dfa6000-7e031000	Deferred        winex11<elf>
  \-PE	7dfb0000-7e031000	\               winex11
ELF	7e04b000-7e074000	Deferred        libexpat.so.1
ELF	7e074000-7e0b0000	Deferred        libfontconfig.so.1
ELF	7e0b0000-7e11e000	Deferred        libpcre.so.1
ELF	7e11e000-7e229000	Deferred        libglib-2.0.so.0
ELF	7e229000-7e283000	Deferred        libharfbuzz.so.0
ELF	7e283000-7e2c1000	Deferred        libpng16.so.16
ELF	7e2c1000-7e2d2000	Deferred        libbz2.so.1.0
ELF	7e2d2000-7e2e6000	Deferred        libz.so.1
ELF	7e2e6000-7e38a000	Deferred        libfreetype.so.6
ELF	7e3c3000-7e408000	Deferred        dsound<elf>
  \-PE	7e3d0000-7e408000	\               dsound
ELF	7e42e000-7e456000	Deferred        msacm32<elf>
  \-PE	7e430000-7e456000	\               msacm32
ELF	7e456000-7e509000	Deferred        winmm<elf>
  \-PE	7e460000-7e509000	\               winmm
ELF	7e509000-7e5ee000	Deferred        opengl32<elf>
  \-PE	7e530000-7e5ee000	\               opengl32
ELF	7e5ee000-7e720000	Deferred        wined3d<elf>
  \-PE	7e600000-7e720000	\               wined3d
ELF	7e720000-7e757000	Deferred        d3d9<elf>
  \-PE	7e730000-7e757000	\               d3d9
ELF	7e757000-7e7d1000	Deferred        rpcrt4<elf>
  \-PE	7e760000-7e7d1000	\               rpcrt4
ELF	7e7d1000-7e8e7000	Deferred        ole32<elf>
  \-PE	7e7f0000-7e8e7000	\               ole32
ELF	7e8e7000-7e957000	Deferred        shlwapi<elf>
  \-PE	7e900000-7e957000	\               shlwapi
ELF	7e957000-7eb74000	Deferred        shell32<elf>
  \-PE	7e960000-7eb74000	\               shell32
ELF	7eb74000-7ebda000	Deferred        advapi32<elf>
  \-PE	7eb80000-7ebda000	\               advapi32
ELF	7ebda000-7ece8000	Deferred        gdi32<elf>
  \-PE	7ebf0000-7ece8000	\               gdi32
ELF	7ece8000-7ee30000	Deferred        user32<elf>
  \-PE	7ed00000-7ee30000	\               user32
ELF	7efb9000-7efc7000	Deferred        libnss_files.so.2
ELF	7efc8000-7efcc000	Deferred        libxcomposite.so.1
ELF	7efcc000-7efe7000	Deferred        dinput8<elf>
  \-PE	7efd0000-7efe7000	\               dinput8
ELF	7efe7000-7f000000	Deferred        version<elf>
  \-PE	7eff0000-7f000000	\               version
ELF	f72f1000-f72fa000	Deferred        librt.so.1
ELF	f72fb000-f7347000	Deferred        libm.so.6
ELF	f7348000-f734d000	Deferred        libdl.so.2
ELF	f734d000-f750f000	Deferred        libc.so.6
ELF	f750f000-f752c000	Deferred        libpthread.so.0
ELF	f752c000-f7530000	Deferred        libxinerama.so.1
ELF	f7561000-f7565000	Deferred        libxau.so.6
ELF	f7565000-f7718000	Dwarf           libwine.so.1
ELF	f7719000-f773d000	Deferred        ld-linux.so.2
ELF	f773f000-f7740000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files\Steins;Gate\STEINSGATE.exe
	00000023    0
	00000022    0
	00000009    0 <==
0000000e services.exe
	0000001c    0
	0000001b    0
	00000016    0
	00000014    0
	00000010    0
	0000000f    0
00000012 winedevice.exe
	0000001f    0
	00000018    0
	00000017    0
	00000013    0
00000019 plugplay.exe
	0000001e    0
	0000001d    0
	0000001a    0
00000020 explorer.exe
	00000021    0
System information:
    Wine build: wine-1.7.15
    Platform: i386
    Host system: Linux
    Host version: 3.15.3-1-ARCH

This is my Playonlinux log (it generates everything automatically so it has to work) and it does in Ubuntu.

I don't think there's a demo for the game.

Last edited by heldiho53 (2014-07-24 17:09:48)

Offline

#5 2014-07-22 18:56:47

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED]Packages needed for Playonlinux/Wine?

You tried KDE and XFCE, but what are you using now? What about a composition manager? Since you run pulseaudio, install [all] lib32 equivalents for/components of it. You may want to check optional dependencies of wine (pacman -Qi wine).

I assume you run winetricks specified in the link provided. Did you do it with the appropriate WINEPREFIX variable set or did you install those components from PoLs gui? PoL should create a new prefix for the game.

You may want to use WINEDEBUG variable to give a little bit more output (WINEDEBUG="err+all" or WINEDEBUG="warn+all,err+all").

For more information read the manual:

man wine

What is whine?

Offline

#6 2014-07-22 21:10:49

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 268
Website

Re: [SOLVED]Packages needed for Playonlinux/Wine?

When Arch updated to pulseaudio 5.0, it seemed to crash all 32-bit PlayOnLinux provided wine versions on 64-bit systems. However I am not seeing the error associated with this in your log, so I can't be sure. One thing to note is that Arch does not install every multilib package, and if you have a very minimum system you most likely miss some required multilib packages.

However, one easy way to check if you are indeed suffering the bug that I mentioned, you may want to have a look through this topic:

https://bbs.archlinux.org/viewtopic.php?id=177979

The problem described there only affect the PlayOnLinux provided wine versions. If you set a virtual drive to use "system" wine versions in the PlayOnLinux configuration for the specific virtual drive, then it should work. But you should read through the linked topic. The easiest workaround, if you are indeed suffering this issue, is simply to ensure you use alsa when running PlayOnLinux wine versions. One method of accomplishing this is in the linked topic.

emeres, PlayOnLinux actually does not work with regular winetricks, at least it is not supported by the PoL developer team. They have their own method of installing libraries in a virtual drive, all handled in the PlayOnLinux GUI.

Online

#7 2014-07-22 21:30:22

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED]Packages needed for Playonlinux/Wine?

Daerandin wrote:

emeres, PlayOnLinux actually does not work with regular winetricks, at least it is not supported by the PoL developer team. They have their own method of installing libraries in a virtual drive, all handled in the PlayOnLinux GUI.

emeres wrote:

I assume you run winetricks specified in the link provided. Did you do it with the appropriate WINEPREFIX variable set or did you install those components from PoLs gui?

By the way, the alsa configuration you posted in the linked thread is inefficient, unless you want to block the rest of sound sources. Something more flexible instead of that /etc/asound.conf from pulseaudio-alsa package with minor pulseaudio configuration changes should make it possible, so that switching between pa and direct alsa can be done on the fly through environment variables.

Last edited by emeres (2014-07-23 02:49:33)

Offline

#8 2014-07-23 13:28:03

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 268
Website

Re: [SOLVED]Packages needed for Playonlinux/Wine?

Apologies to emeres, seems I somehow did not read the following part of your post that you are pointing out.

As for the alsa configuration I posted in the linked topic, I am well aware it is inefficient and probably not ideal, but it was just a suggestion that works well enough for me since my PoL shortcuts for 32-bit virtual drives have been modified to toggle this.

Online

#9 2014-07-23 23:46:22

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED]Packages needed for Playonlinux/Wine?

I doubled checked, when used with WINEPREFIX and WINEARCH, although the later might not be necessary, winetricks performs just fine with PoL prefixes, I tested settings with registry entries and components/applications. There might be shortcomings on the PoL side, like lack of feedback about certain components installed or other, although it works as expected the other way around.
I use aliases for prefixes created under PoL for years now and do not recall any problems in that specific winetricks-vanilla-vs-winetricks-PoL aspect. But I do rely heavily on my own scripts however, PoL is just a good tool to get wine versions, extract icons, provide template desktop files and hints about applications settings for me, so I might be missing something here. Bottom line is that the application respects the changes and that has been so far my experience. If you know of troublesome cases, please share them, we would all benefit from it.

As for the pulseaudio-alsa issue, this might be of interest for the OP also, so I will post here what I meant. The workaround: trying to "side channel" pulseaudio. Instead of that restricting /etc/asound.conf pulseaudio-alsa package installs, try this:

# Default output
pcm.!default {
	@args [ CARD ]
	@args.CARD {
		type string
		default {
			@func getenv
			vars [
				ALSA_PCM_CARD
				ALSA_CARD
			]
			default {
				@func refer
				name defaults.pcm.card
			}
		}
	}
	type empty
	slave.pcm {
		# use card-specific definition if exists
		@func refer
		name {
			@func concat
			strings [
				"cards."
				{
					@func card_driver
					card $CARD
				}
				".pcm.default:CARD=" $CARD
			]
		}
		default {
			# use pulse as default
			type pulse
			fallback "sysdefault"
			hint {
				show on
				description "Default ALSA Output (currently PulseAudio Sound Server)"
			}
		}			
	}
	hint {
		description "Default Audio Device"
		device_output {
			@func refer
			name defaults.pcm.dmix.device
		}
		device_input {
			@func refer
			name defaults.pcm.dsnoop.device
		}
	}
}

# Default control
ctl.!default {
  type pulse
  fallback "sysdefault"
}

It probably can be abbreviated. Untested since I do not use PA any more, but there are no errors from alsa, so it should at least output some useful hints what needs to be changed. Syntax is equivalent to default setup, since it is based on it. To make PA work at the same time with alsa use dmix and dsnoop as default sink and source. Works in theory.
With that in place, by default audio should go through pulseaudio to default alsa device with dmix. To use alsa directly, runtime arguments or environment variables are necessary (those mentioned here come with default setup by the way, no need for new ones), PoL can (or at least should) be configured to start with them.

speaker-test -c 2 -t wav

Above command should activate PA and this alsa only:

speaker-test -c 2 -t wav -D default:CARD_ID
env ALSA_CARD=CARD_ID speaker-test -c 2 -t wav

To get card ids use:

cat /proc/asound/card*/id

This obviously adds latency, so changing priorities, tweaking PA may be necessary, but at least one does not have to switch between configurations back and forth. Since this basically uses the default alsa setup, it comes with its limitations, there might be problems when trying to switch between different surround configurations or other, that I fail to see now.

Note: Large post, therefore a high probability of mistakes.

Offline

#10 2014-08-08 09:41:00

heldiho53
Member
Registered: 2013-03-14
Posts: 48

Re: [SOLVED]Packages needed for Playonlinux/Wine?

Okay now after several days on Xubuntu ( I was just too lazy to reinstall Arch cause to slow Internet) I'm  now on a fresh Arch installation (Xfce). Now I only use ALSA but still the same errors. Even installed an Arch derivative (Antergos) there it worked out of the box, but with very laggy video. So what can the problem be ?

EDIT: Installed all optional dependencies for wine problem solved. Sorry to bother you all

Last edited by heldiho53 (2014-08-08 10:01:12)

Offline

Board footer

Powered by FluxBB