It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
Caliban72: (…)
While not directly targeted at your issue, this development version of the BG2:EE script might fix it:
Game update: Baldur's Gate 2 - Enhanced Edition - Add support for provided 64-bit binary

Here is a direct link to the script:
play-baldurs-gate-2-enhanced-edition.sh

During the installation of the new packages (install the 64-bit ones), you might get a dpkg error related to "/usr/local/share/games/baldurs-gate-2-enhanced-edition/engine.lua" being included in multiple packages. This is expected and due to some file we had to move between packages when adding support for the 64-bit version of the game.
Run the "apt install …" command a second time after you got the error, and everything should be fixed.

-----

EDIT: When using this new script, you will need both .tar.gz archives provided here next to the game installer:
https://www.dotslashplay.it/ressources/libssl/
Post edited July 13, 2019 by vv221
Hello vv221, thank you for your effort. But what is the difference with my system. Am I the only Debian User with this issue? Because of Nvidia? Most of the time I use Debian Testing or even Sid. For my gaming computer I choosed "Stable" because I first installed Steam on it (shame on me ;-)

Best Regards Christian
avatar
Caliban72: (…)
Debian Buster is still really fresh, and I don’t think there is anyone (yet) in our small team using both Debian stable and the non-free nvidia graphics driver for gaming.
So you might actually have been the first to spot an issue that could affect a lot of users ;)

Did the new script work better for your setup?
Hi vv221, no it doesn't work yet. Same error message.

BR Chris
avatar
Caliban72: (…)
The "libGL" error makes it sound like something related to graphics driver, sadly I don't know a lot about the non-free nvidia driver.
Can you copy here the exact full error you get when trying to run the game?
Sure, first the error reads:

chris@mars:/opt/games/games$ baldurs-gate-2-enhanced-edition
./BaldursGateII: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

then some information from glxinfo:
glxinfo | grep direct
direct rendering: Yes
GL_AMD_multi_draw_indirect, GL_AMD_seamless_cubemap_per_texture,
GL_ARB_direct_state_access, GL_ARB_draw_buffers,
GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
GL_ARB_half_float_vertex, GL_ARB_imaging, GL_ARB_indirect_parameters,
GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
GL_NV_bindless_multi_draw_indirect,
GL_NV_bindless_multi_draw_indirect_count, GL_NV_bindless_texture,
GL_AMD_multi_draw_indirect, GL_AMD_seamless_cubemap_per_texture,
GL_ARB_direct_state_access, GL_ARB_draw_buffers,
GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
GL_ARB_half_float_vertex, GL_ARB_imaging, GL_ARB_indirect_parameters,
GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
GL_NV_bindless_multi_draw_indirect,
GL_NV_bindless_multi_draw_indirect_count, GL_NV_bindless_texture,
GL_EXT_multi_draw_indirect, GL_EXT_multisample_compatibility,

and further more I used strace to make a record of the programm upstart. I put it into a nopaste: https://paste.debian.net/1095878/

BR Christian
avatar
Caliban72: ./BaldursGateII: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
OK, what do you get from this?
apt-cache policy libgl1:amd64 libgl1:i386
apt-cache policy libgl1-mesa-glx:amd64 libgl1-mesa-glx:i386
apt-cache policy libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386
Post edited August 15, 2019 by vv221
Its:

apt-cache policy libgl1:amd64 libgl1:i386
libgl1:
Installed: 1.1.0-1
Candidate: 1.1.0-1
Version table:
*** 1.1.0-1 500
500 https://deb.debian.org/debian stable/main amd64 Packages
100 /var/lib/dpkg/status
libgl1:i386:
Installed: 1.1.0-1
Candidate: 1.1.0-1
Version table:
*** 1.1.0-1 500
500 https://deb.debian.org/debian stable/main i386 Packages
100 /var/lib/dpkg/status

apt-cache policy libgl1-mesa-glx:amd64 libgl1-mesa-glx:i386
libgl1-mesa-glx:
Installed: 18.3.6-2
Candidate: 18.3.6-2
Version table:
*** 18.3.6-2 500
500 https://deb.debian.org/debian stable/main amd64 Packages
100 /var/lib/dpkg/status
libgl1-mesa-glx:i386:
Installed: 18.3.6-2
Candidate: 18.3.6-2
Version table:
*** 18.3.6-2 500
500 https://deb.debian.org/debian stable/main i386 Packages
100 /var/lib/dpkg/status

apt-cache policy libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386
libgl1-mesa-dri:
Installed: 18.3.6-2
Candidate: 18.3.6-2
Version table:
*** 18.3.6-2 500
500 https://deb.debian.org/debian stable/main amd64 Packages
100 /var/lib/dpkg/status
libgl1-mesa-dri:i386:
Installed: 18.3.6-2
Candidate: 18.3.6-2
Version table:
*** 18.3.6-2 500
500 https://deb.debian.org/debian stable/main i386 Packages
100 /var/lib/dpkg/status
avatar
Caliban72: (…)
From what I see what’s your missing is not related to the Open Source graphics stack, so this is most probably a part of the nvidia driver. Maybe 32-bit libraries.

Do you get the same error when running the 64-bit version of BG2EE?
The console feedback you pasted ("./BaldursGateII: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory") is from the 32-bit one.
Post edited August 15, 2019 by vv221
I got just one shell script from GOG, with whitch I builded the debian package. Where can I get a 64 Bit version?

BR Chris
avatar
Caliban72: (…)
If you use the script I provided here, both 64-bit and 32-bit packages are built from the single GOG archive.
Look carefully at the script output at the end, it's providing two commands: one installs the 32-bit version of the game, the other one installs the 64-bit version.
vv221, thanks for maintaining these scripts!! I recently used them to install BG1+2 EE on a Debian laptop and it worked like a charm. However, afterwards I attempted to install them on a Debian desktop with an Nvidia graphics card and am unable to open the game without receiving segmentation fault errors.

perc@lolbox:~$ baldurs-gate-1-enhanced-edition
INFO: status: 1
INFO: error: cannot open file pointer: No such file or directory
INFO: Creating DPWrapper
INFO: Steam not found
INFO: scanning:(0) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/override
INFO: scanning:(1) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/scripts
INFO: scanning:(2) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/sounds
INFO: scanning:(3) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/lang/en_US/sounds
INFO: scanning:(4) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/portraits
INFO: scanning:(5) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/characters
INFO: scanning:(6) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/movies
INFO: scanning:(7) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/lang/en_US/movies
INFO: scanning:(8) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/override
INFO: scanning:(9) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/scripts
INFO: scanning:(10) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/sounds
INFO: scanning:(11) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/portraits
INFO: scanning:(12) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/characters
INFO: scanning:(13) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/movies
INFO: scanning:(0) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/override
INFO: scanning:(1) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/scripts
INFO: scanning:(2) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/sounds
INFO: scanning:(3) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/lang/en_US/sounds
INFO: scanning:(4) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/portraits
INFO: scanning:(5) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/characters
INFO: scanning:(6) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/movies
INFO: scanning:(7) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/lang/en_US/movies
INFO: scanning:(8) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/override
INFO: scanning:(9) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/scripts
INFO: scanning:(10) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/sounds
INFO: scanning:(11) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/portraits
INFO: scanning:(12) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/characters
INFO: scanning:(13) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/movies
INFO: scanning:(0) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/override
INFO: scanning:(1) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/scripts
INFO: scanning:(2) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/sounds
INFO: scanning:(3) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/lang/en_US/sounds
INFO: scanning:(4) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/portraits
INFO: scanning:(5) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/characters
INFO: scanning:(6) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/movies
INFO: scanning:(7) /home/perc/.local/share/play.it/prefixes/baldurs-gate-1-enhanced-edition/lang/en_US/movies
INFO: scanning:(8) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/override
INFO: scanning:(9) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/scripts
INFO: scanning:(10) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/sounds
INFO: scanning:(11) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/portraits
INFO: scanning:(12) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/characters
INFO: scanning:(13) /home/perc/.local/share/Baldur's Gate - Enhanced Edition/movies
INFO: LUA: UI string not found: Recent events text will go here.
INFO: LUA: Initializing Quests
Segmentation fault

perc@lolbox:~$ sudo dmesg | tail -2
[ 2309.660168] BaldursGate[11601]: segfault at 0 ip 00000000086e6f66 sp 00000000ffd512f0 error 4 in BaldursGate[8048000+b6f000]
[ 2309.660171] Code: 00 00 00 00 53 83 ec 48 c7 04 24 03 1f 00 00 e8 60 f3 b2 ff c7 04 24 02 1f 00 00 a3 04 ae 42 0b e8 4f f3 b2 ff a3 08 ae 42 0b <0f> be 10 83 ea 30 89 15 0c ae 42 0b 0f be 40 02 c7 04 24 02 1f

Any ideas?
avatar
landrethgames: I attempted to install them on a Debian desktop with an Nvidia graphics card and am unable to open the game without receiving segmentation fault errors.
Are you using the "nvidia" driver or the "nouveau" one?
avatar
landrethgames: I attempted to install them on a Debian desktop with an Nvidia graphics card and am unable to open the game without receiving segmentation fault errors.
avatar
vv221: Are you using the "nvidia" driver or the "nouveau" one?
nvidia driver.
avatar
landrethgames: (…)
Thanks, I’m asking our developer who has access to a system using the nvidia driver to try and reproduce it.