Playing Diablo 2 via Wine

Message
Author
ravenfrost
Posts: 2
Joined: Thu Jan 07, 2021 3:58 pm

Playing Diablo 2 via Wine

#1 Post by ravenfrost »

Hey folks,

I'm trying to configure and play Diablo 2 LOD via Wine and I have some issues.

I can start the game in windowed mode and it runs fine, but with 1 px black horizontal stripes all over the screen. I tried to use svens wrapper, which redirects old glide API to OpenGL (as far as I understand it). But when I try to make it detect opengl, it crashes with the following error:

Code: Select all

022c:err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
022c:err:wgl:init_opengl OpenGL support is disabled.
On the WineHQ page it says, that Diablo 2 LOD runs fine with MX Linux.

From the wrappers manual:
needed (so it may run):
- OpenGL supporting Graphiccard
- same requirements as the game
recommended (so it runs well):
- Graphiccard that supports OpenGL1.3-Extensions
- Graphiccard equal to Geforce256 or better with at least 32MB video-memory
- at least 256MB main-memory
NOT recommended ('cause it might run worse than before):
- any type of graphiccard that uses a shared memory architecture
You can try it nevertheless, but I think it's quite improbable.
I have no idea how I tell wine to use opengl or how to even determine if it is properly installed on my system. Basically, I know opengl is a graphics API, but I have no idea how to interact with it.

I read this wiki but I can't make any sense of it and the links are dead.

I found this in the Linux-MX manual (3.3.2):
Another important driver option is mesa, an open-source implementation of the OpenGL specification - a system for rendering interactive 3D graphics. Users on high-performance machines report that upgrading this brings a significant stabilization to their system.
From the System Quick Info I get:

Code: Select all

System:    Host: <filter> Kernel: 5.8.0-3-amd64 x86_64 bits: 64 compiler: N/A 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.8.0-3-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0 
           Distro: MX-19.3_x64 patito feo May 31  2020 base: Debian GNU/Linux 10 (buster) 
Machine:   Type: Laptop System: LENOVO product: 3354DZG v: ThinkPad Edge E330 serial: <filter> 
           Chassis: type: 10 serial: <filter> 
           Mobo: LENOVO model: 3354DZG serial: <filter> UEFI [Legacy]: LENOVO v: H3ET72WW(1.09) 
           date: 02/25/2013 
Battery:   ID-1: BAT0 charge: 45.0 Wh condition: 45.0/48.8 Wh (92%) volts: 12.5/11.1 
           model: SANYO 45N1023 type: Li-ion serial: <filter> status: Unknown 
CPU:       Topology: Dual Core model: Intel Core i3-3120M bits: 64 type: MT MCP arch: Ivy Bridge 
           family: 6 model-id: 3A (58) stepping: 9 microcode: 21 L2 cache: 3072 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 bogomips: 19954 
           Speed: 1541 MHz min/max: 1200/2500 MHz Core speeds (MHz): 1: 1549 2: 1460 3: 1629 
           4: 1660 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX unsupported 
           Type: l1tf mitigation: PTE Inversion 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, 
           STIBP: conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel 3rd Gen Core processor Graphics vendor: Lenovo driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:0166 
           Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.3.6 compat-v: 3.0 
           direct render: Yes 
Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Lenovo 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:1e20 
           Sound Server: ALSA v: k5.8.0-3-amd64 
Network:   Device-1: Intel Centrino Wireless-N 2230 driver: iwlwifi v: kernel port: efa0 
           bus ID: 02:00.0 chip ID: 8086:0888 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo 
           driver: r8169 v: kernel port: 2000 bus ID: 08:00.0 chip ID: 10ec:8168 
           IF: eth0 state: down mac: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 132.14 GiB (28.4%) 
           ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS725050A7E630 size: 465.76 GiB 
           block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 7200 rpm 
           serial: <filter> rev: B550 scheme: MBR 
Partition: ID-1: / raw size: 465.76 GiB size: 457.45 GiB (98.22%) used: 132.14 GiB (28.9%) 
           fs: ext4 dev: /dev/sda1 
Sensors:   System Temperatures: cpu: 45.0 C mobo: 43.0 C 
           Fan Speeds (RPM): cpu: 0 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/atom.list 
           1: deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian buster-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian buster main contrib non-free
           2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ buster main non-free
           Active apt repos in: /etc/apt/sources.list.d/teams.list 
           1: deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 232 Uptime: 2h 44m Memory: 3.45 GiB used: 2.57 GiB (74.4%) Init: SysVinit 
           v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 Shell: quick-system-in 
           running in: quick-system-in inxi: 3.0.36 
Where it states

Code: Select all

OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.3.6 compat-v: 3.0 
        direct render: Yes 
My wine version is:

Code: Select all

wine-5.18 (Staging)
Any thoughts?

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Playing Diablo 2 via Wine

#2 Post by JayM »

I think wine needs the 32-bit OpenGL/mesa installed but I don't know how to do that. A forum search may turn up something as I think one of the devs posted instructions a while back.

Edit: found it. viewtopic.php?p=576448#p576448
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

ravenfrost
Posts: 2
Joined: Thu Jan 07, 2021 3:58 pm

Re: Playing Diablo 2 via Wine

#3 Post by ravenfrost »

Thanks!

I tried

Code: Select all

sudo apt install libglx-mesa0:i386 mesa-vulkan-drivers:i386 libgl1-mesa-dri:i386
And it installed a bunch of libraries, but still, I get the exact same error when I try to configure the glide wrapper. I also tried starting the game directly, which shows the same horizontal stripes as before.

How do I even know that Wine uses the new libraries?

User avatar
zarathustra-f90
Posts: 9
Joined: Tue Jun 30, 2020 6:12 pm

Re: Playing Diablo 2 via Wine

#4 Post by zarathustra-f90 »

Maybe you should give it a shot and install the game via Lutris or PlayOnLinux which configure wine in their own manner? If none of these help then I would suggest to uninstall everything and install Minigalaxy (found on MX stable and Test repo)...this is another app that uses wine to install GOG games BUT it installs many wine libraries that in my case helped me to install other windows software that prompted with errors my own wine configuration.

Wish I could help more but since I'm not expert it's all i have to offer 9_9
" -- The end of thought -- " :exclamation:

Post Reply

Return to “Software / Configuration”