linux:get_victor_vran_running_on_ubuntu_linux

Fix the OpenGL 3.2 Error

After installing the GOG version of Victor Vran on an Ubuntu 20.04 system, it threw an error: You need an OpenGL 3.2-capable graphics card to run this game. Now, my AMD Radeon HD 6670 video card is definitely old, but it can still handle OpenGL 4.1. So, what's the problem? It seems that it's related to missing i386 libraries. One initial suggestion that I tried was to rename the $HOME/GOG Games/Victor Vran/game/i386 folder, but that didn't work for me.

So, here's what I had to do to get Victor Vran to work. Credit goes to robschi at the gog forums for the fix.

* Install the following additional 32Bit libs:

sudo apt install libasound2-plugins:i386 libstdc++6:i386 libxcb1:i386 libpulsedsp:i386 libgcc1:i386 libgpg-error0:i386

* For installing 32Bit libs on an 64Bit system, multiarch for i386 must be enabled. On Debian or Ubuntu it can be done with the command:

sudo dpkg --add-architecture i386

* Run Victor Vran with the following command:

LIBGL_DEBUG=verbose LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libxcb.so.1 /usr/$LIB/pulseaudio/libpulsedsp.so /$LIB/libgcc_s.so.1 /$LIB/libgpg-error.so.0' padsp "$HOME/GOG Games/Victor Vran/start.sh"

(You don't need “LIBGL_DEBUG=verbose” of course, but if something went wrong, you have more informations)

To make the game more convenient to launch, first create a text file with the following content:

#!/bin/sh

LIBGL_DEBUG=verbose LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libxcb.so.1 /usr/$LIB/pulseaudio/libpulsedsp.so /$LIB/libgcc_s.so.1 /$LIB/libgpg-error.so.0' padsp "$HOME/GOG Games/Victor Vran/start.sh"

Save the file as victor-vran-launcher.sh. Remember the location where you save it.

Next, edit the file $HOME/.local/share/applications/gog_com-Victor_Vran_1.desktop. This is the launcher for the game that shows up in your application menu. Edit the file to look like the following (replace $USER with the name of your user account):

[Desktop Entry]
Encoding=UTF-8
Value=1.0
Type=Application
Name=Victor Vran
GenericName=Victor Vran
Comment=Victor Vran
Icon=/home/$USER/GOG Games/Victor Vran/support/icon.png
Exec=/home/$USER/Documents/Scripts/victor-vran-launcher.sh
Categories=Game;

That should do it!

  • linux/get_victor_vran_running_on_ubuntu_linux.txt
  • Last modified: 2020/11/06 15:52
  • by brian