El Foro

GoG Neverwinter Nights 2 mishaps (worked around...) with (at the time of this mail) the latest Ubuntu, 15.04

Autor Respuestas
fge Thursday 6 August 2015 at 9:21
fgeAnonymous

Hello,

 

First of all, the hardware/OS setup: this is a Dell M3800 which has two GPUs, one "bundled" with the (Haswell) CPU and an NVidia; from lspci:

 

----

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
[...]02:00.0 3D controller: NVIDIA Corporation GK107GLM [Quadro K1100M] (rev a1)

----

 

I use NVidia's proprietary X server, version 346.59 (from updates).

 

This X server allows me to switch between the two GPUs; my GPU of choice is the Intel one, since this machine is mostly used for development (and by the way the screen is not the 4k one; resolution is a "measly" 1920x1080)... However, while it poses no problem for NWN *1* (always from GoG), NWN 2 complains about less than 128 MiB available. Problem solved by just switching to the NVidia GPU...

 

But then the problem is with the sound. I had no sound at all to begin with. When launching playonlinux from the CLI I see this:

 

---

ALSA lib conf.c:3325:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave

---

 

The solution I found was to run winecfg for this prefix and explicitly select the audio device instead of relying on the system default... And yes, there _is_ a libasound_module_conf_pulse.so (two, in fact, in /usr/lib/{i386,x86_64]-linux-gnu/alsa-lib).

 

Strangely enough, the installation of GoG NWN1 (Diamond edition) suffers none of those two problems; although admittedly the game is much older and less demanding, I also see that the version of wine it requires is in fact more recent...

 

 

 

petch Thursday 6 August 2015 at 10:06
petch

    Hi fge,

GoG Neverwinter Nights 2 mishaps (worked around...) with (at the time of this mail) the latest Ubuntu, 15.04

That's not a mail...

I use NVidia's proprietary X server, version 346.59 (from updates).

... and that's not an X server (that's an accelerated video driver)

That being said,

The solution I found was to run winecfg for this prefix and explicitly select the audio device instead of relying on the system default... And yes, there _is_ a libasound_module_conf_pulse.so (two, in fact, in /usr/lib/{i386,x86_64]-linux-gnu/alsa-lib).

Why /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_conf_pulse.so is not used is unclear, but I guess the Wine version difference is indeed the key. It would be interesting to try NWN2 with a more recent Wine version.

The NWN1 script uses Wine 1.7.12 to fix some black screen issue , but even 1.6.2 may suffice for NWN2, and according to some comment in the AppDB Wine version starting from 1.7.14 could be problematic. Some experimentation is needed to find a good version.

You can install new 32bit Wine versions using Tools > Manage Wine versions

then use them with NWN2 with

Configure button > (select NeverwinterNights2_gog virtual drive) > General tab > Wine version

As a shortcut you also open the Wine versions manager window directly with the "+" button next to the Wine version drop-down list.

Of course reverting the audio changes for testing.

 

And then if it works fine the install script could be updated...

Regards,

Pierre.

Editado por: petch

fge Friday 11 September 2015 at 14:15
fgeAnonymous

Hello,

    Hi fge,

GoG Neverwinter Nights 2 mishaps (worked around...) with (at the time of this mail) the latest Ubuntu, 15.04

That's not a mail...

I use NVidia's proprietary X server, version 346.59 (from updates).

... and that's not an X server (that's an accelerated video driver)

Yeah, well, sorry :p

 

That being said,

The solution I found was to run winecfg for this prefix and explicitly select the audio device instead of relying on the system default... And yes, there _is_ a libasound_module_conf_pulse.so (two, in fact, in /usr/lib/{i386,x86_64]-linux-gnu/alsa-lib).

Why /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_conf_pulse.so is not used is unclear, but I guess the Wine version difference is indeed the key. It would be interesting to try NWN2 with a more recent Wine version.

The NWN1 script uses Wine 1.7.12 to fix some black screen issue , but even 1.6.2 may suffice for NWN2, and according to some comment in the AppDB Wine version starting from 1.7.14 could be problematic. Some experimentation is needed to find a good version.

OK, will try.

FWIW, I have tried the system version and the sound works fine without tweaking the audio device; however now I cannot switch to the desktop anymore :(

Getting back to 1.5.27, I am now unable to make the sound working. Argh.

I'll try with 1.6.2 as you suggest. And by the way I only have 32bit versions installed which seems logical since NWN* are 32bit anyway...

I'll report. In the meantime, if you have other tips they are welcome!

Regards