99% perfect. Read the fixes below to fix everything except some slightly ugly text.
To fix the prop death freeze and other freezes, and help some font issues:
run winecfg in terminal
under the applications tab, hit "Add"
browse to steam's exe (~/.wine/c drive/program files/steam/steam.exe)
It will be added to the list. Select it and set it's mode to windows 2000.
Now add garry's mod's hl2.exe file (~/.wine/c drive/program files/steam/steamapps/yourname/garrysmod/hl2.exe)
Set it's mode to windows 98.
Now, the next step will have to be done after you have run garrysmod at least once (it creates some directories when first run)
This will fix the Q menu bug, and also the context menu bug by making the q and c buttons toggle on and off.
create a new file called qmenufix.cfg and put it in the garrysmod cfg folder
(~/.wine/c drive/program files/steam/steamapps/yourname/garrysmod/garrysmod/cfg)
In that file add the following text.
alias showmenu "+menu; bind q hidemenu"
alias hidemenu "-menu; bind q showmenu"
bind q showmenu
alias showcontext "+menu_context; bind c hidecontext"
alias hidecontext "-menu_context; bind c showcontext"
bind c showcontext
save and open up steam, log in, and go to your games tab. Right click garrysmod and choose properties, then click "Set launch options" and add
without the quotes. this will run the config file we created, which makes the q and c keys toggle rather than on hold.
I did not have to have anything else in the launch options. no dxlevel or anything. it just worked fine by default.
I am not sure if setting steam to windows 2000 is necessary, but that is what I read and it works so I haven't changed it. But logically it makes no sense. compatibility is set per application, and if gmod is set to 98, it shouldn't matter what steam is set to. (maybe a steam overlay issue? no idea.)
Make sure to close and restart steam before you test!
What does not
The only annoyance is the fact that the q and c keys are now toggle switches rather than just showing the menu while holding the button.
My frame rate was great, even with compiz turned on, and even better with it off. My computer is not that great either.
the only thing I would say is still "broken" is some fonts (like in the console and server list) are pretty ugly and hard to read. not entirely sure what causes this. If it's a replacement font used in wine I wonder if we can copy the real font from real windows to make it look better?
What's funny is some of the same issues I had on windows are here too on linux. It took forever to join a server (though still shorter than it does for me on windows) even when I have all the files. I am pretty sure this is not because of wine as it happens in windows too.
What was not tested
-Extended play. Played for about 30 minutes online with no issues at all.
-Addon content.. yet
-models from other games (like hl2 ep2) etc that may behave differently (newer shaders etc)
-hosting my own listen server. (should work fine, everything else has, including online play)
Works as good or better than on windows for me, only "issue" is some text looking jagged. No more prop kill crashes or broken q and c menu!
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Ubuntu 10.10 "Maverick" amd64 (+ variants like Kubuntu)||Nov 16 2010||1.3.7||Yes||Yes||Gold||an anonymous user|
|Show||Ubuntu 10.04 "Lucid" i386 (+ variants like Kubuntu)||Aug 18 2010||1.2||N/A||Yes||Gold||an anonymous user|
|Show||openSUSE 11.3||Jul 28 2010||1.2||Yes||Yes||Platinum||an anonymous user|
|Show||Ubuntu 9.10 "Karmic" i386 (+ variants like Kubuntu)||Apr 23 2010||1.1.42||Yes||Yes||Gold||Jirka Furda|
|Show||Ubuntu 9.10 "Karmic" i386 (+ variants like Kubuntu)||Apr 02 2010||1.1.41||Yes||Yes||Silver||william|
If your garry's mod crashes before submitting a bug or commenting on here, here is what you should try:
This should fix any HUD issues you may have: (You may not be able to see certain effects like fire in the game with this)
In steam right click Garry's mod click Properties click "SET LAUNCH OPTIONS..." Enter this:
to run in windowed mode add: -window -h 864 -w 1152
This will stop the crash when being killed by a moving object:
In winecfg (terminal -> winecfg) click Add application on the Applications tab
Browse to Program Files\Steam\steamapps\(username)
select hl2.exe and click Open
With hl2.exe selected in the list change the windows version to Windows 98 (via the drop down box near the bottom is should be default say "Use global settings")
Hit Apply/OK, then try to launch Garry's mod again