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

×
I try to run the game and the launcher pops up but I get this
[code]
./start.sh
Running Hotline Miami
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
[/code]

and then when i click start I get this

[code]
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 42
Current serial number in output stream: 43
/home/worm/.local/share/HotlineMiami//home/worm/.local/share/HotlineMiami/
[/code]
high rated
This may or may not be relevant to your situation, this is what I did to make Hotline Miami run on my machine (Ubuntu 16.04 64bit, amd video card).
The paths below assume you installed the game to /home/worm/GOG Games/Hotline Miami/ and will need to be adjusted if it was installed somewhere else.

1. run the installer script and install the game to whatever directory you like
in this example if your username is worm and we leave everything on the defaults the game files end up in
/home/worm/GOG Games/Hotline Miami/

2. go to the folder /home/worm/GOG Games/Hotline Miami/libs/
make the subfolder /home/worm/GOG Games/Hotline Miami/libs/disabled/
move all of the files from libs into disabled, except for: libCg.so libCgGL.so libvorbisfile.so.3 libvorbisfile.so.3.3.4

3. open a terminal and run hotline miami with the command:
LD_LIBRARY_PATH='/home/worm/GOG Games/Hotline Miami/libs/' "/home/worm/GOG Games/Hotline Miami/start.sh"

-----(MISC NOTES)-----
hotline miami is distributed as a 32bit game, so if you are running a 64bit os and it doesn't run after performing the steps above you may need to install 32bit libraries
I can't post links but gog has a website saying sometimes the 32bit libraries need to be installed with these commands:
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install -y libgl1:i386 libgl1-mesa-dri:i386 libtxc-dxtn0:i386

on my setup vsync seems to cause the game to crash at run so leave it off at first

if the steps above don't work and you want to revert the changes, just move the files back from /libs/disabled/ to /libs/
Post edited June 19, 2016 by ProbablyDrew
avatar
ProbablyDrew: 2. go to the folder /home/worm/GOG Games/Hotline Miami/libs/
make the subfolder /home/worm/GOG Games/Hotline Miami/libs/disabled/
move all of the files from libs into disabled, except for: libCg.so libCgGL.so libvorbisfile.so.3 libvorbisfile.so.3.3.4

...

on my setup vsync seems to cause the game to crash at run so leave it off at first
My man/woman...you are the best, thanks! That worked perfectly.
If anyone else had trouble getting this to run on Arch Linux using Nvidia graphics, I had to install lib32-nvidia-cg-toolkit.
There is no /libs subdirectory in my Hotline Miami directory? I have the same issue with Redshirt. =( And yes, I have "show hidden" toggled on... I assume. Linux/Ubuntu devs need to do a bit more work on user friendliness, methinks!
avatar
BasedDoctorWorm: I try to run the game and the launcher pops up but I get this
[code]
./start.sh
Running Hotline Miami
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
[/code]

and then when i click start I get this

[code]
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 42
Current serial number in output stream: 43
/home/worm/.local/share/HotlineMiami//home/worm/.local/share/HotlineMiami/
[/code]
Hotline Miami works fine for me on Linux Mint 17.3 64 bit.
HLM2 works as well, but the enemies run in circles on some stages. :P
avatar
Unzki: There is no /libs subdirectory in my Hotline Miami directory? I have the same issue with Redshirt. =( And yes, I have "show hidden" toggled on... I assume. Linux/Ubuntu devs need to do a bit more work on user friendliness, methinks!
I also have this problem. No libs folder. Did you get this to work? My current error is:

./Hotline: error while loading shared libraries: libCgGL.so
....I have exactly the same problem as Noosaroob... I try to run Hotline Miami on Ubuntu 16.0, 64bits.... Where do I put LibCgGL.so ?
Post edited December 30, 2017 by PierrePaillard
I just bought the game, and had the same issues as the last two posters.

No libs folder, just the error message about LibGcGL.so missing.

But I solved the problem, I was just missing the 32Bit version of the library.
The fix is to install it with the following command:

sudo apt-get install libcggl:i386

Hope I could help you!
Post edited February 09, 2018 by nimrod_nit
Same issue here with libGcGL.so missing. Fixed on Fedora 27 by installing libCg.i686 from the RPMfusion-nonfree repo.
Anyone know how to install the missing libGcGL.so on Arch?
I had trouble with libvorbisfile.so.3 and libcggl, and I couldn't figure out why because I had it installed. Poking around some more revealed my errors were caused by this being a 32-bit linux game, so it required the 32-bit versions of these libraries.

Once you've got 32-bit architecture installed on your 64-bit linux, you can install 32-bit packages by adding ":i386" after the package install command. As a more casual linux user, this threw me for a loop. To fix libvorbisfile.so.3 and libcggl, I installed the packages:

apt-get libvorbis3:i386
apt-get libcggl:i386

Just wanted to add a fix that worked for me to the conversation.
Just to further future proof this problem for those down the line I'd recommend grabbing all the i386 packages listed on here and also libvorbisfile3:i386. Don't forget to add the i386 architect like ProbablyDrew said. But to say the least as of 2019, the vorbis package ended up being the most important for me and it has not been posted on here
I'm running Void Linux (glibc) without non-free packages.

Hotline Miami (gog_hotline_miami_2.0.0.4.sh) comes without the "/libs" directory.

executing ldd on the Hotline 32-bit binary tells me:
libCgGL.so => not found
libCg.so => not found

What can I do? those files cannot be found in the Void repositories

Many thanks.
avatar
nicolasbmehdi: I'm running Void Linux (glibc) without non-free packages.

Hotline Miami (gog_hotline_miami_2.0.0.4.sh) comes without the "/libs" directory.

executing ldd on the Hotline 32-bit binary tells me:
libCgGL.so => not found
libCg.so => not found

What can I do? those files cannot be found in the Void repositories

Many thanks.
Not sure if it will work on void but it works on opensuse at least.
The 2 libs you mention comes from nvidia-cg-toolkit which is now discontinued: https://developer.nvidia.com/cg-toolkit

BUT, you can still make it work
- download the binaries: https://developer.nvidia.com/cg-toolkit-download
Get the Linux 32-bit tgz
- copy the "lib" directory from the tgz archive in yourinstalldir/GOG Games/Hotline Miami/game
(So that "lib" will be a new subdirectory of "game")
- modify yourinstalldir/GOG Games/Hotline Miami/start.sh by adding the 1 line bolded below

# Actions
run_game() {
export LD_LIBRARY_PATH="${PWD}/game/lib/"
echo "Running ${GAME_NAME}"
cd game
./"hotline_launcher"

}

- now it should work

Edit: yes this is kinda dirty but I don't want to pollute my install by copypasting random non-free libs in my system directories. In any case the missing libCgGL.so and libCg.so missing from people in this thread can be found in the aforementioned archive.
Post edited January 24, 2020 by notsuru