DirectX9 in WineHQ 10 (or missing libGL elements ?)

Questions about Wine on Linux
Post Reply
Delphisa
Newbie
Newbie
Posts: 2
Joined: Mon May 19, 2025 12:10 pm

DirectX9 in WineHQ 10 (or missing libGL elements ?)

Post by Delphisa »

Hello,
I'm trying to use Wine on my most recently installed system, Mint 22.1 Xfce.
I've installed WineHQ stable v10.
It works very well for several programs, mostly old stuff from my Win XP days, that I like to still be able to use: PDF24 Creator, Mp3tag, Photofiltre7, and a few others.

But it doesnt go far with a game I particularly like, Virtual Skipper 5. This game is still available in its latest (and free) version, Vsk5Online.
The installation goes smoothly. However, when I run it, I get the message "Could not find Directx9," and it doesn't go any further. However, the d3dx9 dlls were successfully installed in .wine/drive_c/windows/system32.
Then, I tried to run the command via the console:

Code: Select all

jps@jps-HP-ProBook-470-G1:~/.wine/drive_c/Program Files (x86)/Vsk5Online$ wine Vsk5OnlineLauncher.exe
MESA-INTEL: warning: Haswell Vulkan support is incomplete
01d4:err:wgl:init_opengl Failed to load libGL: libGL.so.1: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce nom
01d4:err:wgl:init_opengl OpenGL support is disabled.
01d4:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
01d4:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 0179A5A8.
And I get some additional messages if I try to launch the main game exe file :

Code: Select all

jps@jps-HP-ProBook-470-G1:~/.wine/drive_c/Program Files (x86)/Vsk5Online$ wine Vsk5Online.exe
01c4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
MESA-INTEL: warning: Haswell Vulkan support is incomplete
01c4:err:wgl:init_opengl Failed to load libGL: libGL.so.1: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce nom
01c4:err:wgl:init_opengl OpenGL support is disabled.
01c4:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
01c4:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 01F1B078.
01c4:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
01c4:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 01F1B078.
01c4:err:d3d:wined3d_caps_gl_ctx_create Failed to find a suitable pixel format.
01c4:err:d3d:wined3d_adapter_gl_init Failed to get a GL context for adapter 01F25408.
It seems a libGL.so.1 file is missing? And Haswell Vulkan support is incomplete. I don't know how to add these elements...

Note, on the same machine, I also have Mint 18 alongside Mint 22, and I installed version 5.0.3 of Wine (a stable version compatible with Mint 18). And it works! So at least that rules out the possibility of a hardware problem.

Some information about my Mint 22 system :

Code: Select all

jps@jps-HP-ProBook-470-G1:~$ inxi -Fxxxrz
System:
  Kernel: 6.8.0-60-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0
    clocksource: tsc
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.41 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: light-locker vt: 7 dm: LightDM v: 1.30.0
    Distro: Linux Mint 22.1 Xia base: Ubuntu 24.04 noble
Machine:
  Type: Laptop System: Hewlett-Packard product: HP ProBook 470 G1
    v: A3008DD10B03 serial: <superuser required> Chassis: type: 10
    serial: <superuser required>
  Mobo: Hewlett-Packard model: 1940 v: KBC Version 89.10
    serial: <superuser required> part-nu: E9Y78EA#ABF uuid: <superuser required>
    UEFI: Hewlett-Packard v: L74 Ver. 01.05 date: 11/04/2013
Battery:
  ID-1: BAT0 charge: 0% condition: 46.2/46.2 Wh (100.0%) volts: N/A min: 10.8
    model: Hewlett-Packard Primary type: Li-ion serial: <filter>
    status: not charging
CPU:
  Info: dual core model: Intel Pentium 3550M bits: 64 type: MCP
    smt: <unsupported> arch: Haswell rev: 3 cache: L1: 128 KiB L2: 512 KiB
    L3: 2 MiB
  Speed (MHz): avg: 798 min/max: 800/2300 cores: 1: 798 2: 798
    bogomips: 9178
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
  Device-1: Intel Haswell Integrated Graphics vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-7.5 ports: active: eDP-1
    empty: HDMI-A-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0406 class-ID: 0300
  Device-2: AMD Mars [Radeon HD 8670A/8670M/8750M / R7 M370]
    vendor: Hewlett-Packard driver: radeon v: kernel arch: GCN-1 pcie:
    speed: 5 GT/s lanes: 8 bus-ID: 01:00.0 chip-ID: 1002:6600 class-ID: 0300
    temp: 33.0 C
  Device-3: Chicony HP HD Webcam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 3-7:3 chip-ID: 04f2:b3c8 class-ID: 0e02
    serial: <filter>
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6
    compositor: xfwm4 v: 4.18.0 driver: X: loaded: modesetting,radeon
    unloaded: fbdev,vesa dri: crocus gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x238mm (16.65x9.37")
    s-diag: 485mm (19.11")
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1731 res: 1600x900 hz: 60
    dpi: 106 size: 382x215mm (15.04x8.46") diag: 448mm (17.6") modes: 1600x900
  API: EGL v: 1.5 hw: drv: intel crocus drv: amd radeonsi platforms:
    device: 0 drv: radeonsi device: 1 drv: crocus device: 2 drv: swrast gbm:
    drv: kms_swrast surfaceless: drv: radeonsi x11: drv: crocus
    inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa
    v: 24.2.8-1ubuntu1~24.04.1 glx-v: 1.4 direct-render: yes renderer: Mesa
    Intel HD Graphics (HSW GT1) device-ID: 8086:0406
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:03.0
    chip-ID: 8086:0c0c class-ID: 0403
  Device-2: Intel 8 Series/C220 Series High Definition Audio
    vendor: Hewlett-Packard 8 driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:8c20 class-ID: 0403
  API: ALSA v: k6.8.0-60-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard RTL8111/8168/8411 driver: r8169 v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
  Device-2: MEDIATEK MT7630e 802.11bgn Wireless Network Adapter
    vendor: Hewlett-Packard driver: mt76x0e v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 bus-ID: 04:00.0 chip-ID: 14c3:7630 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
Bluetooth:
  Device-1: MediaTek MT7630e Bluetooth Adapter driver: N/A type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 3-12:4 chip-ID: 0e8d:763e class-ID: ef00
    serial: <filter>
Drives:
  Local Storage: total: 465.76 GiB used: 210.53 GiB (45.2%)
  ID-1: /dev/sda vendor: Crucial model: CT500BX500SSD1 size: 465.76 GiB
    speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 072 scheme: GPT
Partition:
  ID-1: / size: 51.29 GiB used: 27.9 GiB (54.4%) fs: ext4 dev: /dev/sda4
  ID-2: /boot/efi size: 511 MiB used: 6.2 MiB (1.2%) fs: vfat dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 3.93 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 36.0 C mobo: N/A gpu: radeon temp: 33.0 C
  Fan Speeds (rpm): N/A
Repos:
  Packages: 2648 pm: dpkg pkgs: 2640 pm: flatpak pkgs: 8
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http://packages.linuxmint.com xia main upstream import backport
    2: deb http://archive.ubuntu.com/ubuntu noble main restricted universe multiverse
    3: deb http://archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse
    4: deb http://archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse
    5: deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/winehq-noble.sources
    1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu noble main
Info:
  Memory: total: 4 GiB available: 3.71 GiB used: 2.1 GiB (56.7%)
  Processes: 213 Power: uptime: 44m states: freeze,mem,disk suspend: deep
    wakeups: 0 hibernate: platform Init: systemd v: 255 target: graphical (5)
    default: graphical
  Compilers: gcc: 13.3.0 Shell: Bash v: 5.2.21 running-in: xfce4-terminal
    inxi: 3.3.34
Thanks in advance for any advice regarding the error messages I'm seeing...
User avatar
morgwai
Level 2
Level 2
Posts: 14
Joined: Sun Jan 26, 2025 7:10 am

Re: DirectX9 in WineHQ 10 (or missing libGL elements ?)

Post by morgwai »

do you have both amd64 and i386 versions of OpenGL installed? Check with the following command:

Code: Select all

dpkg -l 'libgl*'
Delphisa
Newbie
Newbie
Posts: 2
Joined: Mon May 19, 2025 12:10 pm

Re: DirectX9 in WineHQ 10 (or missing libGL elements ?)

Post by Delphisa »

Hi
Here is the result I get from the command dpkg -l 'libgl*'

Code: Select all

Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                               Version                 Architecture Description
+++-=================================-=======================-============-===========================================================
ii  libgl1:amd64                      1.7.0-1build1           amd64        Vendor neutral GL dispatch library -- legacy GL support
un  libgl1-amber-dri                  <aucune>                <aucune>     (aucune description n'est disponible)
ii  libgl1-mesa-dri:amd64             24.2.8-1ubuntu1~24.04.1 amd64        free implementation of the OpenGL API -- DRI modules
un  libgladeui-2-6                    <aucune>                <aucune>     (aucune description n'est disponible)
ii  libglapi-mesa:amd64               24.2.8-1ubuntu1~24.04.1 amd64        free implementation of the GL API -- shared library
ii  libglapi-mesa:i386                24.2.8-1ubuntu1~24.04.1 i386         free implementation of the GL API -- shared library
un  libgldispatch0-nvidia             <aucune>                <aucune>     (aucune description n'est disponible)
ii  libgles2:amd64                    1.7.0-1build1           amd64        Vendor neutral GL dispatch library -- GLESv2 support
un  libglib-2.0-0                     <aucune>                <aucune>     (aucune description n'est disponible)
ii  libglib-object-introspection-perl 0.051-1build3           amd64        Perl bindings for gobject-introspection libraries
ii  libglib-perl:amd64                3:1.329.3-3build3       amd64        interface to the GLib and GObject libraries
un  libglib2.0-0                      <aucune>                <aucune>     (aucune description n'est disponible)
ii  libglib2.0-0t64:amd64             2.80.0-6ubuntu3.4       amd64        GLib library of C routines
ii  libglib2.0-0t64:i386              2.80.0-6ubuntu3.4       i386         GLib library of C routines
ii  libglib2.0-bin                    2.80.0-6ubuntu3.4       amd64        Programs for the GLib library
ii  libglib2.0-data                   2.80.0-6ubuntu3.4       all          Common files for GLib library
un  libglib2.0-dev                    <aucune>                <aucune>     (aucune description n'est disponible)
un  libglibmm-2.4-1c2a                <aucune>                <aucune>     (aucune description n'est disponible)
ii  libglibmm-2.4-1t64:amd64          2.66.7-1build1          amd64        C++ wrapper for the GLib toolkit (shared libraries)
un  libglibmm-2.4-1v5                 <aucune>                <aucune>     (aucune description n'est disponible)
un  libgloox-dev                      <aucune>                <aucune>     (aucune description n'est disponible)
un  libglu1                           <aucune>                <aucune>     (aucune description n'est disponible)
ii  libglu1-mesa:amd64                9.0.2-1.1build1         amd64        Mesa OpenGL utility library (GLU)
ii  libglu1-mesa:i386                 9.0.2-1.1build1         i386         Mesa OpenGL utility library (GLU)
un  libgluezilla                      <aucune>                <aucune>     (aucune description n'est disponible)
ii  libglvnd0:amd64                   1.7.0-1build1           amd64        Vendor neutral GL dispatch library
ii  libglvnd0:i386                    1.7.0-1build1           i386         Vendor neutral GL dispatch library
ii  libglx-mesa0:amd64                24.2.8-1ubuntu1~24.04.1 amd64        free implementation of the OpenGL API -- GLX vendor library
un  libglx-vendor                     <aucune>                <aucune>     (aucune description n'est disponible)
ii  libglx0:amd64                     1.7.0-1build1           amd64        Vendor neutral GL dispatch library -- GLX support
Post Reply