Menu freezes upon opening mounted games list. #86

Closed
Jookia opened this Issue Jun 10, 2013 · 191 comments

Projects

None yet
@Jookia
Jookia commented Jun 10, 2013

Clicking the mounted games list in the menu makes the GUI unresponsive, but still active.

d10sfan commented Jun 10, 2013

Also seeing this

Same. It's also happening with the drop down list for multi or single player on the upper right after clicking 'Start New Game'.

Same here on Linux Mint 14 32 MATE.

Same issue on Linux Mint 15 Cinnamon

Same Linux mint 14 x64 MATE

Contributor

This is a head scratcher. Since it only does it on Linux it's probably an awesomium bug. It seems like the awesomium process is crashing. I will have to add checks for when it crashes and at least add a console message when it does.

This is happening to me too. I am on Kubuntu 13.04 64-bit. Decided to launch Steam via console to see if anything came up when this occurs, the most relevant line seems to be this:

[0611/210744:FATAL:resource_bundle.cc(111)] Check failed: g_shared_instance_ != NULL.

Here is a console dump of the portions pertaining to GMod: http://pastebin.com/ZVrUp760

I had to use alt+f4 to close out the program since the ui got unresponsive as soon as I tried to hit the controller icon. The line I mentioned above is at 152, the rest after it showed up after the alt+f4.

Confirm, this is awesomium's fault. This also happens if you try to change player count when creating new game.
I got the stacktrace: https://gist.github.com/dedoz/5767040
But it's not really informative without debugging symbols. Windows version is shipped with a .pdb file for that purpose.

Anyone found a solution yet?

Judging by what I've found, crash happens in calls to gfx::NativeThemeBase::PaintCheckbox(...) and a couple of other function that issue calls to ui::ResourceBundle::GetSharedInstance().
It doesn't pass check CHECK(g_shared_instance_ != NULL); and aborts.
See
http://src.chromium.org/svn/branches/1025/src/ui/gfx/native_theme_base.cc
https://code.google.com/p/chromium/codesearch#chromium/src/ui/base/resource/resource_bundle.cc&l=177
These Paint calls require additional theme resources, such as bitmaps for checkbox and radio, which ResourceBundle class provides. By the time PaintCheckbox is called, ResourceBundle has either failed to initialize(which is unlikely, because according to chromium sources it would log it), or hasn't been initialized at all.
I'm not really familiar with chromium\awesomium architecture, so I can only guess. Moreover there are some bug reports concerning ResourceBundle and gpu driver, so this issue could be not as trivial.
By the time, I can't verify resource loading because I haven't yet figured out how to attach gdb to awsomium's child process right after it starts, if anyone can help it would be great.
Temporary solution would be to remove checkboxes from layout and to see if it still crashes.
P.S. I've been able to prevent the crash by forcing process to return from PaintCheckbox immediately. Everything works except checkboxes aren't drawn.

"P.S. I've been able to prevent the crash by forcing process to return from PaintCheckbox immediately. Everything works except checkboxes aren't drawn."

How do you exactly do this?

  • Attach gdb to awesomuim_process gdb awesomium_process [pid of awesomium child process]
  • set breakpoint on PaintCheckbox b gfx::NativeThemeBase::PaintCheckbox
  • click the control which causes gmod to crash, watch for gdb to reach breakpoint
  • issue "return" command in gdb shell return

You may need to return multiple times, as PaintCheckbox is called each time a checkbox is drawn.

ok, so can we edit what we want to mount manually in a .txt?

Contributor

So it's missing something, or can't find something?

It seems to affect Linux only, and only when opening this certain popup. Why would that be? The checkboxes maybe?

I think it's the checkboxes, as dedoz stated.

@garrynewman I've noticed awesomium_process is called with some flags; in particular, '--enable-logging --log-level=0'. Could you increase the log-level?

Update 1

awesomium_process spawns a child process, which crashes with:

write(2, "[0623/155144:FATAL:resource_bundle.cc(111)] Check failed: g_shared_instance_ != NULL. \n", 87) = 87
write(10, "[0623/155144:FATAL:resource_bundle.cc(111)] Check failed: g_shared_instance_ != NULL. \n", 87) = 87
open("/proc/self/status", O_RDONLY|O_LARGEFILE) = 19
read(19, "Name:\tawesomium_proce\nState:\tR (running)\nTgid:\t2849\nPid:\t2849\nPPid:\t2831\nTracerPid:\t2859\nUid:\t1000\t1000\t1000\t1000\nGid:\t1000\t1000\t1000\t1000\nFDSize:\t64\nGroups:\t4 24 27 30 46 108 124 1000 \nVmPeak:\t  186464 kB\nVmSize:\t  183912 kB\nVmLck:\t       0 kB\nVmPin:\t    "..., 1024) = 836
close(19)                               = 0
--- SIGABRT (Aborted) @ 0 (0) ---

Same as elsewhere in this bug.

I stumbled on a lua panic while mucking with this. Steps to reproduce:

  1. Choose 'Find Multiplayer Game' from the left-hand menu.
  2. Choose 'Back to Main Menu'
  3. Click the gamepad button to mount/unmount resources
  4. Observe white screen.
  5. Bring up console and note console [HTML} spew. 'UncaughtReferenceError:AddServer is not defined'
  6. Do menu_reload in console.
  7. Observe lua panic message. 'attempt to index a nil value'

Ubuntu 13.04 Garry's Mod 13.06.20 (Dev)

gmod_lua_panic

Me too experiencing this bug.
http://img843.imageshack.us/img843/2138/vft.png
It freezes when the TF2 (the only game I can mount) checkbox should appear.

I'm using ArchLinux on x64

Well, I don't know if it's the same bug but my Gmod screen goes completely white after clicking the white gamepad in the bottom right corner of the screen. Very irritating.

mmirate commented Jul 17, 2013

@mcl21014 That gamepad is the button for the mounted games list; so, yes, that is the same bug.

auggy commented Jul 19, 2013

I get this too. Xubuntu 12.04 32 bit

Exact same thing here. Arch Linux 64-bit.

Same on Debian Sid, 64-bit.

http://www.youtube.com/watch?v=cm5aZFam5-k (shows the player count menu doing it too).

Any solutions?

Soooooo, hey! Have you guys giving up? I mean, it doesn't even have nothing to do with the actual mounting of games if I understand it right? It has to do with some third party drawing call or something, so can't we have a work around, say manualy mount games in a txt file?

Or something? I'm getting old here

Also, I got that awesomium beta native for linux, 1.7.0b http://awesomium.com/download/ ain't that what we are waiting for?

auggy commented Aug 2, 2013

If you can't add configuring mounts in a text file, can you have It auto mount the rest of the Source games? It somehow mounts HL, CSS, and TF2 without going into that menu. Anyway... If this menu did work, where would Awesomium store the settings?

343V commented Aug 9, 2013

same on ubuntu 13.04

Hm... Maybe exists a config file for this?

Contributor

Stop posting image macros, it is not helping at all.

ok

nmirthes commented Sep 5, 2013

A new version of Awesomium (1.7.2) for Windows/Linux/Mac has been released.

Benedolt commented Sep 7, 2013

So is there a way to test the new Awesomium version? I'd be happy to do it! Could this new version possibly fix the bug?

Hm... New version don't fixed that bug

Contributor

@a1batross, GMod binaries haven't updated since June or July.

@robotboy655 just copying binaries to $STEAM_LIBRARY/common/GarrysMod/bin is not way to update libraries?

Contributor

@a1batross, I believe Steam automatically overrides any modified binaries with the ones that come with GMod. I might be wrong though, since SteamPipe.

@robotboy655 I disabled auto-updating, Steam is not downloads anything for GMod. Not working. =(

I'm sorry, but try to recompile GMod libraries for new awesomium? Maybe it will help.

Today's update (I don't know if a new awesomium version was included) didn't fix this bug.

auggy commented Sep 12, 2013

@Benedolt Lucky. It didn't for me.

@auggy Sorry, I should have worded that a bit more clearly. ;) Sadly, the update did not fix it for me either. Anything we can do to help? Any way to test the new awesomium version?

auggy commented Sep 12, 2013

@Benedolt My fault. I read it wrong.

Hm... I found how to on or off games in GM. At this week I will be write a console script for that :)

A1batrawesomium!

Or... just changing menu.html ^_^

I don't know what to do. =/

Myrdden commented Sep 17, 2013

Based on what I'm reading am I to assume that there is no solution to this? Because this problem does sort of make the game unplayable.

mmirate commented Sep 17, 2013

Since I have yet to find a1batross's script, I shall post here what I have done just now. Please feel free to do with it whatever you'd like.

  1. Add the following line to the very end of your garrysmod/html/js/lua.js file: lua.Run("for _, game in ipairs(engine.GetGames()) do if game.installed and not game.mounted then engine.SetMounted(game.depot, true) end end");.
  2. Restart Garry's Mod, minding the massive slowdown on the blue loading screen while games are mounted.
  3. Quit, revert the change, and enjoy.
  4. Repeat previous steps after installing new, mountable Source-engine games.
auggy commented Sep 17, 2013

@mmirate
Thanks mate. That worked perfectly! I wish I could reach through this monitor and hug you.

Myrdden commented Sep 18, 2013

Does this work for the 2/4/6/8 players drop down?

auggy commented Sep 18, 2013

@Myrdden

No that only lets us mount other Source games. The hosting our own game menu is still broken.

Oh sorry, I am so lazy. -_-

Myrdden commented Sep 18, 2013

Well, I'd like for that not to be the case... I'm not really an expert here so I don't know what else to do.

Contributor

You can edit default value for the amount of players in one of the html files as a temporary workaround.

Myrdden commented Sep 19, 2013

Which HTML file would that be?

Contributor

Why don't you search yourself? This is a bug reporter, not a 24/7 help line.

Myrdden commented Sep 19, 2013

Gee, thanks.

auggy commented Sep 19, 2013

@Myrdden

I think I figured it out. /home/username/.steam/steam/SteamApps/common/GarrysMod/garrysmod/html/js/menu/control.NewGame.js
Line 29. $scope.MaxPlayersOption = $scope.Players[0];
Changing 0 to 2 made the drop down start in Four Player mode. So play with that number and see what happens.

Myrdden commented Sep 19, 2013

Thanks, I'll try that.

I know this isint a help line, but it's a place to go to find and fix bugs, which is what I'm attempting to do.

EDIT: So actually that didn't work. You can change the number, which shows up in the menu, but it doesnt actually change maxplayers. I'm looking for something that does In he files.

Contributor

You can either change line 43 to whatever number you need, or replace '+$rootScope.MaxPlayers+' with any number you need on line 109 in garrysmod/html/js/menu/control.NewGame.js

auggy commented Sep 20, 2013

@robotboy655

That's awesome. I was changing numbers and hoping for the best. Much appreciated.

Edit: Unless I'm doing something wrong. changing $rootScope.MaxPlayers = 1; on line 49 to anything else besides 1 or 0 makes it crash.

@Myrdden

try setting $rootScope.MaxPlayers = 1; on line 49 to $rootScope.MaxPlayers = 0; . This seems to set my max players to 128. Oh backup your control.NewGame.js also...

Myrdden commented Sep 21, 2013

Can't you just do "maxplayers 2" in the console before you start a new game?

Contributor

No, the start game button executes maxplayers too and will override any values you set before. Unless you use console to load a map as well.

@mmirate

THANK YOU

@ghost
ghost commented Sep 24, 2013

Can confirm on Arch x64

Just got the "Awesomium cannot launch its child processes" error in Windows 7.

Worked fine yesterday. No clue why.

Contributor

Dev branch?

Yep. Dev branch. Switching back.

Contributor

Is this still an issue on Linux under Dev branch?

I recently updated Awesomium

auggy commented Oct 22, 2013

@garrynewman The linux Dev branch stopped launching for me. I opened a bug here.

@ghost
ghost commented Oct 22, 2013

Same as #535, can't launch the game.

@ghost
ghost commented Oct 27, 2013

Same issue on Archlinux 64bit.

I am also getting this issue. Along with the menu issue my other source games are not being loded. Portal, TF2. Counter Strike: Source is getting loaded however.

Full Output:

Game update: AppID 4000 "Garry's Mod", ProcID 3679, IP 0.0.0.0:0
SDL video target is 'x11'
SDL video target is 'x11'
SDL failed to create GL compatibility profile (whichProfile=0)!
Setting breakpad minidump AppID = 4000
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198075225989 [API loaded no]
Did not detect any valid joysticks.
Could not load program cache file glbaseshaders.cfg
Could not find base GL shader cache file
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system supports the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system supports the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system supports the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system supports the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system DOES NOT support the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system DOES NOT support the OpenGL extension GLX_EXT_swap_control_tear.
GL_NV_bindless_texture: DISABLED
GL_AMD_pinned_memory: DISABLED
GL_EXT_texture_sRGB_decode: AVAILABLE
GL_NVX_gpu_memory_info: AVAILABLE
GL_ATI_meminfo: UNAVAILABLE
GL_NVX_gpu_memory_info: Total Dedicated: 1048576, Total Avail: 1048576, Current Avail: 982548
GL_MAX_SAMPLES_EXT: 32
IDirect3DDevice9::Create: BackBufWidth: 1366, BackBufHeight: 768, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
GL sampler object usage: ENABLED
GL prefer MapBufferRange: NO
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 100 ps-combo 0
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 100 ps-combo 1
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 100 ps-combo 2
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 100 ps-combo 3
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 0
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 1
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 2
IDirect3DDevLoaded program cache file "glshaders.cfg", total keyvalues: 161, total successfully linked: 161
Precache: Took 622 ms, Vertex 385, Pixel 880
ConVarRef mat_dxlevel doesn't point to an existing ConVar
Game.so loaded for "Garry's Mod"
Installing breakpad exception handler for appid(steam)/version(1382737782_client)
Gtk-Message: Failed to load module "overlay-scrollbar"
Installing breakpad exception handler for appid(steam)/version(1382737782_client)
warning: Unknown nb_ctl request: 4
warning: Unknown nb_ctl request: 4
warning: Unknown nb_ctl request: 4
warning: Unknown nb_ctl request: 4
warning: Unknown nb_ctl request: 4
warning: Unknown nb_ctl request: 4
[1028/114305:FATAL:resource_bundle.cc(111)] Check failed: g_shared_instance_ != NULL.

Just a reminder that this is a persisting issue.
I will look into it tomorrow to try to provide some useful information to hopefully get this fixed, it's quite a problem that limits functionality greatly.

Update: After playing around with my installation, it's definitely Awesomium that's causing the issue.

@garrynewman Maybe bringing back the legacy game launcher will be good enough for now until the issue gets resolved, either on your end or Awesomium's. At least get that functionality back.

I also have this problem in Ubuntu 13.10 x64.

Oh... I shouldn't have buy that. It a really buggy and slowly working game.

Sorry for offtopic. =(

jacakk commented Nov 18, 2013

Same bug on Arch x64.
uname -a:
Linux jacek-asus 3.12.0-1-ARCH #1 SMP PREEMPT Wed Nov 6 09:06:27 CET 2013 x86_64 GNU/Linux

This is still very much active, and very much annoying as hell.

Same issue, ArchLinux x86_64. Very irritating.

^ Same system here.

Still an issue for me, unfortunately. Dev branch freezes on blue screen at startup, and the normal build has the menu bugs described here. Gentoo amd64.

Contributor

You can stop spamming this now, it is the same problem for all Linux based OSes and there's nothing we can do about it - it is an Awesomium problem.

d10sfan commented Dec 7, 2013

What about a workaround until Awesomium fixes it, like using a different ui type for this feature, or offering a file to edit, as well as offering instructions on that file and what to edit?

@robotboy655 You could at least provide a link to the Awesomium bug report so we can follow process...

If anyone still needs this, here is a temporary fix: https://dl.dropboxusercontent.com/u/6568152/html2.zip (extract into SteamApps/common/GarrysMod/garrysmod/)
This avoids drawing checkboxes and draws pictures instead. Garry's Mod will no longer freeze, and will even let you (un)mount games :) . Though multiplayer checkboxes don't seem to work for now (they switch fine, but do nothing).

@Simon311 This workaround worked for me. Excellent work.

@ghost
ghost commented Feb 16, 2014

Simon's workaround works perfectly, with checkboxes, mount games and the ability to start a new server with different amounts of players.
It's pretty much solved for me :P

@VOTProductions Good to know.

Any news on an actual fix?

Contributor

We are not focusing on this right now, the whole menu MIGHT go back to vgui instead of HTML.

Web technologies isn't good in Games, Desktop Software. When developers stop using drugs...

@robotboy655 I really hope it does. I really dislike HTML, and this fad at the moment.

jmaris commented Feb 23, 2014

For now would it not be better to just release the fix as an update ?

auggy commented Feb 23, 2014

@jman6495 Sadly I highly doubt they even care at this point. Thankfully @Simon311 took the time to volunteer a working solution.

@jman6495 lol, that уебки just can't fix that. Because using a proprietary shit, based on Chromium web-engine.

I'm not a greedy, but I made a mistake of spending money on this game. :(

I'm still getting this! :( Please fix!

philxyz commented Jun 2, 2014

This is still occurring.

It's still happening on Ubuntu 14, but Simon's workaround worked perfectly.

meowy commented Jul 20, 2014

The bug is still present.

Spoffy commented Aug 3, 2014

Ditto, still present. Strongly suggesting merging in Simon's fix temporarily, or otherwise just fixing it.

There's no point on commenting on this saying it still happens, as @robotboy655 said We are not focusing on this right now, the whole menu MIGHT go back to vgui instead of HTML. Just merge Simon's fix yourself.

So the official response is "Fix it yourself". Huh. Your focus should be fixing a blocking bug. No one cares what your menu is made of as long as it works, which while a pretty HTML is pretty, is also a fucking mess.

Also, that response was many months old. I doubt anyone at Facepunch has a clue anymore about what to do.

and P.S. if a developer leaves bugs years old, they can expect a hell of a lot of complaining. That is the point, so that this issue becomes fixed by the constant reminder that it is not.

Complaining isn't going to remind the developer. The idea of an issue tracker is to keep track of all issues. Issues do not need "bumping", and the developer will get around to them eventually. The issue is currently with Awesomium, so go contact them.

'The developer' doesn't care anymore. Not even a little. He has made his money and gone. Not only is it fixed in Awesomium but no fix or replacement means it is squarely down to Facepunch, and only Facepunch.

Spoffy commented Aug 4, 2014

Usually, I'd agree Jackwilsdon. But here, Half-Shot is exactly right. An issue that's a year old is unlikely to be fixed without more support being put behind it. I think complaining indeed DOES remind the developer in this case, as they need to know it's still causing people issues and that it needs dealing with. Especially since all they have to do in order to make it 'work' is to merge Simon's workaround into main, so at least stock Garrysmod actually has a functioning set of menus. 'Maybe' moving to vgui isn't valid when it's a 6 month old maybe.

@Spoffy That's exactly it.

This is a year on and still no official fix. This is pretty ridiculous. If someone random person can find a fix, then surely you guys can fix it. Even if its a quick temporary fix till you find a better solution. You released it on Linux, so why not support it properly. -_-

@garrynewman
Please bring back the legacy launcher as an option.
Either that, or provide the community with the resources and source code to have custom menus.
Doing something is better than nothing.

Contributor

@Dinsmoor, Welcome to the slow train.

You can grab this custom Lua menu for exactly $0.0

https://github.com/robotboy655/gmod-lua-menu

Thanks for the menu @robotboy655 , glad we have a more viable alternative now, even if its not fixed.

hay hi i wanna buy this game is this bug fixed?//??

auggy commented Sep 12, 2014

@NothingMuchHereToSay Save your money, this bug will never be officially fixed.

Kefta commented Sep 12, 2014

Just tested on Ubuntu; not happening anymore for me,

@auggy Recent updates for GMod?

@Kefta Really now? Was there a recent update?

Kefta commented Sep 13, 2014 edited

@NothingMuchHereToSay Not to my knowledge

@Kefta For GMod or Ubuntu? Because I'm pretty sure I know how updates work on Ubuntu.

Kefta commented Sep 13, 2014 edited

@NothingMuchHereToSay GMod; I don't know about Ubuntu updates

@Kefta Obviously I don't because I don't have the damn game. I'd LIKE to try the game out, but with this and a few other bugs still open I'm hesitant about it.

Kefta commented Sep 13, 2014 edited

@NothingMuchHereToSay You should probably have the game before commenting on an issue about it

Contributor

@Kefta, @NothingMuchHereToSay, This is only a bug with the default HTML menu on Linux and possibly OS X.

@Kefta As I said, I don't have the game, all I want to know is if these bugs will get fixed or not, so far after skimming a few lines at the bottom, this bug apparently won't get fixed because of laziness. Is this true or does this developer think he's going to hook, line, and sinker me because I haven't done my research at first glance? Newsflash: I am, and I certainly won't be buying a game that has something that I can expect to break when the developer updates the game.

Contributor

It's not the game that breaks ( mostly ), but the addons ( mods for the game ). This bug is not caused by the game, but by the browser software ( Awesomium ) the game uses.

Kefta commented Sep 13, 2014

@NothingMuchHereToSay Garry doesn't even develop for Garry's Mod anymore. If you want to see development progress, look at the Next Update thread on Facepunch.

Awesonium is part of the game as in it's not meant to be seperated, so it falls under the same category.
Gmod can and will break with a fresh install with this bug.

@Kefta So who develops this game nowadays?

neico commented Sep 13, 2014

@NothingMuchHereToSay Facepunch Studios Team members, like @robotboy655 and @UnderscoreKilburn

@neico Okay so why isn't this bug fixed... at all? It looks pretty bad given how small my scrollbar is due to the amount of comments on this page.

neico commented Sep 13, 2014

@NothingMuchHereToSay From reading the comments in here it seems to be an bug with the HTML rendering engine used by GMod and therefore is not fixable directly by the team, which is also why @robotboy655 suggested a while ago to use this replacement if you experience this bug:
https://github.com/robotboy655/gmod-lua-menu

PS: imo HTML was designed for websites, not to act as Main Menu's for games, it might work, but isn't the optimal solution to seperate designs from code

@neico Okay so where is the HTML rendering engine's team? I'd like to have a few words with them.

neico commented Sep 13, 2014

@NothingMuchHereToSay Well if you like the game then you should get it first, then try if that bug appears for you, if not, good, if it does, try changing to the dev branch: http://steamcommunity.com/sharedfiles/filedetails/?id=151674669

if it still appears there then you can come back and ask for further advice (which would probably result in asking if the current shipped version of Awesomium shouldn't be upgraded from 1.7.2.2 to 1.7.4.2, the most recent release, if that still doesn't work then the next step is to ask the Awesomium devs: http://www.awesomium.com)

You see, there's a lot to do before one can consider this as closed / fixed ;)

@neico First you say it isn't fixable by the team, then you give a fix. So if users are able to fix this issue, why can't the devs do it? Even when it's a bug in Awesomium users already proofed that there are workarounds.

Well if you like the game then you should get it first, then try if that bug appears for you

Why would any sane person waste money for a product that's known to be broken just to see that it's still broken?

try changing to the dev branch

He can't change to any branch as he doesn't (and shouldn't) own the game.

if it still appears there then you can come back and ask for further advice (which would probably result in asking if the current shipped version of Awesomium shouldn't be upgraded from 1.7.2.2 to 1.7.4.2

Why should he do that? Isn't it the developers job to look for new versions? Should we also read the changelog for them? Beside that the newest version for Linux is 1.7.4, 1.7.4.2 is Windows only.

if that still doesn't work then the next step is to ask the Awesomium devs: http://www.awesomium.com

Again: Not our job. We have a problem with the game, so we contact the game devs. It's not our job to fix the game for them (or should they give us the source codes of the game? I mean if they would turn it into a community driven open source game they don't have to care about any bug anymore). Also: Do we have a support contract with Awesomium or does FP Studios have it? I can't remember signing such a thing.

@NothingMuchHereToSay The issue is still present (just tested on the dev branch). No sign of a fix from the devs. So vote with your money and do NOT buy this game.

neico commented Sep 14, 2014

@V10lator GMod is still a great game, every game has more or less bugs, telling people to not buy it solely on that is plain stupid, it'll be fixed eventually. (there are exceptions of course, not going to name them tough as we all should know them...)

Also, I described the path this is likely going to take, not which he will have to do, ripping my text out of context doesn't really make sense, no?

Besides, if he'd want to play gmod he'd have bought it in the first place and would use said workaround until the issue is actually fixed, I don't get where all this ranting comes from, even more from people not actually owning the game.

@neico He told that he won't buy it if this bug isn't fixed, I just support this action.

Also, I described the path this is likely going to take, not which he will have to do, ripping my text out of context doesn't really make sense, no?

No you didn't, you told him what he should do:

Well if you like the game then you should get it first, then try if that bug appears for you, if not, good, if it does, try changing to the dev branch: http://steamcommunity.com/sharedfiles/filedetails/?id=151674669

if it still appears there then you can come back and ask for further advice (which would probably result in asking if the current shipped version of Awesomium shouldn't be upgraded from 1.7.2.2 to 1.7.4.2, the most recent release, if that still doesn't work then the next step is to ask the Awesomium devs: http://www.awesomium.com)

...

... you ... you should ... for you ... you can ...

...

Besides, if he'd want to play gmod he'd have bought it in the first place and would use said workaround until the issue is actually fixed

Or he isn't technically skilled enough (or too lazy or ...) to apply said workaround and simply doesn't buy the game till it's fixed.

I don't get where all this ranting comes from, even more from people not actually owning the game.

You can't see why people are ranting about an error that hasn't been fixed since over a year while people have proved that it's fixable in a few minutes? o.O

neico commented Sep 14, 2014

@V10lator A workaround is not a fix and isn't usually applied by a dev (as long as we're not talking about a code workaround which this clearly isn't, everyone could edit this problem away if they wanted to...), besides the workaround from simon for example would break the mount list functionality, which isn't really something anyone would want (imagine all the issue reports poping up complaining about a broken mount menu...)

Also: you're still ripping my text out of context, give it up...

adamjs commented Sep 15, 2014

Awesomium developer here— we were just notified of this issue (renderer process crash upon painting unstyled checkboxes on Linux with 1.7.4) and can indeed reproduce it on our machines.

A fix will be included in our next release along with several other performance and stability improvements (ETA next week).

Sounds good! Glad the issue will be fixed at it's root.

On Mon, Sep 15, 2014 at 7:31 PM, Adam Simmons notifications@github.com
wrote:

Awesomium developer here-- we were just notified of this issue (renderer
process crash upon painting unstyled checkboxes on Linux with 1.7.4) and
can indeed reproduce it on our machines.

A fix will be included in our next release along with several other
performance and stability improvements (ETA next week).

Reply to this email directly or view it on GitHub
#86 (comment)
.

Jack Wilsdon
jack.wilsdon@gmail.com jack.wilsdon@gmail.com

You went out of your way to post the info here, thanks :)
On 15/09/14 19:31, Adam Simmons wrote:

Awesomium developer here— we were just notified of this issue
(renderer process crash upon painting unstyled checkboxes on Linux
with 1.7.4) and can indeed reproduce it on our machines.

A fix will be included in our next release along with several other
performance and stability improvements (ETA next week).


Reply to this email directly or view it on GitHub
#86 (comment).

@Half-Shot It's not that hard to reach out to others :D

How's the fix?

Just to echo some other comments, Simon's workaround solved the problem for me: #86 (comment)

Though I would appreciate a real fix, of course.

Bo98 commented Oct 21, 2014

It has been fixed in Awesomium 1.7.5 but this version has not been released yet.

Confirmed in Ubuntu "Utopic" 14.10 x64, linux 3.17.0-37

@ghost
ghost commented Dec 9, 2014

Awesomium got the update.
Now it only need to be updated in GMod. Hopefully.

Bo98 commented Dec 9, 2014

A GMod update will be coming soonish and I'd say it's a must to update Awesomium before its shipped.

Dev branch is still freezing...

Bo98 commented Dec 18, 2014

Because Awesomium hasn't been updated yet on the dev branch.

Gekkko commented Jan 27, 2015

When do you plan to fix this issue, any news?

Bo98 commented Jan 27, 2015

Awesomium hasn't released the update for OS X yet.

xalalau commented Mar 11, 2015

I hate this bug.

Bo98 commented Apr 2, 2015

AFAIK we're still waiting on 1.7.5 to release for OS X.

"Jookia opened this issue on 10 Jun 2013"
This is ridiculous.

Am I understanding you correct in that you are not fixing this issue in Linux because Awesomium 1.7.5 is not released for OSX yet?

Can't you just release an updated version for the Linux build of Garry's mod?

@eddie-dunn It looks that way, visiting the Awesomium download page you can see that the latest Windows/Linux versions are v1.7.5.0, however the latest OS X build is v1.7.4. It would be nice if there was an updated Linux build, however I am assuming they are going to wait until OS X is ready.

Edit: It looks like Awesomium planned to release 1.7.5 in December but didn't.

emoeba commented Apr 27, 2015

I'm not sure if this has been done yet, but in a recent update of gmod Simon311's html fix broke (maps had no icons and the game froze when trying to start multiplayer). I have updated his fix to reflect the changes to the game's code. Just extract in /home/user/.steam/steam/SteamApps/common/GarrysMod/garrysmod and it should be working.

https://www.dropbox.com/s/ps2a14o95jicr7v/html.zip?dl=0

toxxik commented May 8, 2015

i think it could be an issue with selection boxes as they happen to appear in both places where the error occurs. on windows, it uses the system ones, which could be an issue on here.

@toxxik The cause has already been discussed and it is indeed caused by checkboxes. It is a bug in Awesomium; it seems to have an issue with checkboxes on OS X and Linux.

serin113 commented May 9, 2015

Just gonna pass by and say that there's now a 1.7.5 OSX download... in case that's what we're all waiting for here.

http://www.awesomium.com/downloads/awesomium_1_7_5_sdk_mac.dmg

Simon311 commented May 9, 2015 edited

Good to know it is getting fixed soon :)

toxxik commented May 9, 2015

@jackwilsdon Do you know when the issue is going to be fixed?

xalalau commented Jun 5, 2015

So here we are... 1.7.5 was already lauched for OSX ... 2015, June... Any news?

Bo98 commented Jun 5, 2015

Very little happened last month as the last GMod update was about ready to ship. This finally happened on June 1st. That is why it wasn't looked at last month. No idea of the plans going forward though.

Pernath commented Jun 29, 2015

For the people who are still interested in a temporary solution to the multiplayer freeze in GMod.
Scroll down in control.NewGame.js (usually located in /home/user/.steam/steam/steamapps/common/GarrysMod/garrysmod/html/js/menu/) near the line 130 (something), inside the curly braces of $scope.StartGame = function() { ... } and replace the second parameter of the RunConsoleCommand( ) function call:
lua.Run( 'RunConsoleCommand( "maxplayers", "'+yourVariable+'" )' ), where yourVariable holds the number of players. It would look something like this var yourVariable = 4;, or any other integer (positive) number you might need for your server. Remember to place the variable line inside the curly braces of the main function I mentioned and, of course, not after the edited line. Finally repeat the change inside this function call inside the main function: setTimeout( function() { ... }, 200 );, where you will find the same line to edit as before with your preferences. Save the changes, and restart GMod. By the time you start a SinglePlayer game it should now allow 3 more players if you chose number four as the value of your variable in the JavaScript file. No need to use the boxes that freezes the game.
Hope it works for you, it did for me.
Ps. Wooo, this thread is really old.

appears to be related to ng-click

i still have this problem also on ElementaryOS Freya linux

MRebhan commented Aug 12, 2015

Yep, same problem. Arch Linux x64, latest dev version of gmod
As soon as I scroll down to games I have it freezes,

Same here. Fedora 22 x64

same here on ubuntu 15.04. Sad to see this isn't resolved yet.

Christ. I would expect it to be resolved by now. Dose anybody know a way to manually mount them. I’m not sure if you noticed but if i have no source games downloaded it doesn’t crash. And if a source game is installed it doesn’t crash unless you scroll down to it.

Maybe is possible to just update the webkit library inside the folder to
the newest version and it should work. The library is called libawesonium.
Update us if this works

Bo98 commented Oct 2, 2015

Can someone test the dev branch and see if it works? It should have Awesomium 1.7.5.1 now.

Contributor

Pretty sure it's fixed. ( I have been told )

@robotboy655 robotboy655 closed this Oct 2, 2015

@mmirate
can you show me the whole lua.js(just copy paste) sorry it broke my game before that DX

Thanks for the fix but I have one issue with it which is after applying the patch the map images on the menu when selecting a map are all set to the grey image when a map has no screenshot and removes the map names so you cannot tell what map is what also the workshop button no longer works but I can just press shift tap and open browser and access the workshop webpage and get multiple tabs instead of being stuck on one when I need more so that's not a huge deal.

EDIT I think from testing I have done it is newgame.html coursing the freezing when selecting to do multiplayer game, I have fixed the icon bug now I need to fix the map name text and hopefully the workshop bug.

julo42 commented Nov 2, 2015

Hi Gameslayer,

I fixed the grey map bug and cleaned up the html.zip workaround. It's way simpler now. I attached the new html.zip, but I had to rename it to html.zip.png for github to let me attach it.

Enjoy!

html zip

the image link is broken and where is the link to the zip?

julo42 commented Nov 3, 2015

Actually, the image is fake: it is the zip renamed as a png. So, to download it, just right-click on the image link and "save link target as...". Then name the file "html.zip".

julo42 commented Nov 3, 2015

OK, even simpler: just get it from there: http://julien.olivier.free.fr/html.zip

The one you did broke my menu so I will try the other one you suggested, thanks anyways.

This is still not fixed for me.

Bo98 commented Nov 21, 2015

It's only fixed on the dev branch because the update hasn't been released yet.

Ah, okay.

This was referenced Oct 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment