New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Awesomium #531

Closed
DarthTealc opened this Issue Jul 9, 2015 · 114 comments

Comments

Projects
None yet
@DarthTealc

DarthTealc commented Jul 9, 2015

Awesomium is based on Chrome/Chromium 18 AFAIK. That's way too old. And there's no indication they're going to fix that any time soon.

Can Awesomium please be replaced with a more up-to-date browser implementation? For example "Chromium Embedded Framework" which is used in Steam.

@xaviergmail

This comment has been minimized.

xaviergmail commented Jul 9, 2015

I would love for better HTML panel support (As well as the loading screen, because I can't use Canvas in it right now and it makes me very sad)

@P4sca1

This comment has been minimized.

P4sca1 commented Jul 16, 2015

It seems like everybody is complaining about Awesonium since months...
I think there should finally be done something.

@Kefta

This comment has been minimized.

Kefta commented Jul 16, 2015

It's not that easy, though. It's going to be a long process to use the new API if it's done at all

@P4sca1

This comment has been minimized.

P4sca1 commented Jul 16, 2015

This sounds as it will be changed in the near feature. Good job! :D

@willox

This comment has been minimized.

Contributor

willox commented Jul 16, 2015

This sounds as it will be changed in the near feature. Good job! :D

🌈

@Noiwex

This comment has been minimized.

Noiwex commented Jul 17, 2015

I want to apply for job position in facepunch only because of issues like
this. Seems like no one else doesn't even bother to do a thing.
On Jul 17, 2015 12:44 AM, "William Wallace" notifications@github.com
wrote:

This sounds as it will be changed in the near feature. Good job! :D

[image: 🌈]


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

@WinterPhoenix96

This comment has been minimized.

WinterPhoenix96 commented Aug 2, 2015

Cinema is no longer able to play YouTube Videos at above 360p quality due to the limitations of Awesomium. More info here.

Please, please, sooner rather than later, do this.

@Noiwex

This comment has been minimized.

Noiwex commented Aug 2, 2015

Garry pls hire me ✌️
On Aug 2, 2015 9:25 AM, "Yuki Kaname" notifications@github.com wrote:

Cinema is no longer able to play YouTube Videos at above 360p quality due
to the limitations of Awesomium. More info here.
http://facepunch.com/showthread.php?t=1450721&p=48352028&viewfull=1#post48352028

Please, please, sooner rather than later, do this.


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

@jtsalisbury

This comment has been minimized.

jtsalisbury commented Aug 2, 2015

best application 10/10

@aStonedPenguin

This comment has been minimized.

aStonedPenguin commented Aug 2, 2015

+1

1 similar comment
@Authorjames

This comment has been minimized.

Authorjames commented Aug 2, 2015

👍

@SwadicalRag

This comment has been minimized.

SwadicalRag commented Aug 2, 2015

💯+

@poseidonservers

This comment has been minimized.

poseidonservers commented Aug 25, 2015

Definitely past due, Cinema has become a big part of Garrysmod. ༼ つ ◕_◕ ༽つ Give Replacement

@Splerge

This comment has been minimized.

Splerge commented Aug 25, 2015

+1, don't like Awesomium, a new framework would be better.

@kklouzal

This comment has been minimized.

kklouzal commented Aug 30, 2015

+1 Replace Awesomium. Use Steam's framework.

@Jake3231

This comment has been minimized.

Jake3231 commented Aug 31, 2015

I agree. Along with insufficient support for different things, Awesomium is very unstable and is often the cause of crashes in my game. +1

@gamerpaddy

This comment has been minimized.

gamerpaddy commented Sep 2, 2015

+1 Replace Awesomium, its crashing my game too frequently.

@WinterPhoenix96

This comment has been minimized.

@Shigbeard

This comment has been minimized.

Shigbeard commented Oct 21, 2015

did I +1 this thing yet? Awesomium is the cancer that's killing GMOD,

Followed closely by Scriptfodder and Skidcheck.

@AnonTakesOver

This comment has been minimized.

AnonTakesOver commented Oct 21, 2015

+1

@Sophie-bear

This comment has been minimized.

Sophie-bear commented Oct 21, 2015

+1 from me as well. There's really no good reason to use such an outdated and dying API.

@Chewgum

This comment has been minimized.

Chewgum commented Oct 21, 2015

replace the shit already

@Shigbeard

This comment has been minimized.

Shigbeard commented Oct 21, 2015

COUGH

@Kefta

This comment has been minimized.

Kefta commented Oct 21, 2015

Stop spamming; it's already being discussed in the Next Update thread

@aStonedPenguin

This comment has been minimized.

aStonedPenguin commented Oct 21, 2015

no

@jasmin12e

This comment has been minimized.

jasmin12e commented Oct 22, 2015

Please :( I don't want to see cinema just die off..

@xaviergmail

This comment has been minimized.

xaviergmail commented Oct 22, 2015

This has nothing to do with JUST cinema. There are many great uses for Awesomium, including but not limited to HTML UI's, which would make many people's lives easier rather than dealing with horrible derma. And please don't say docking. Making responsive UI's that scale well with docking is a pain. It would also help improve our loading screens with cool canvas stuff. I have a beautiful loading screen just sitting in the shitter right now, waiting to see the light of day, and I'm sure many other people have many other cool things waiting. Not to mention the huge performance impact that even further limits what we can do with Lua. Not saying anything else would be performance-tastic, but I would hope so. Rant over.

@Shigbeard

This comment has been minimized.

Shigbeard commented Oct 22, 2015

@uRandomAlex

This comment has been minimized.

uRandomAlex commented Jul 13, 2016

Just tell all your players to install this: https://github.com/lunation/Awesomium-Killer-2.0 .
Currently it crashes your game every hour or two, but you can always contribute and fix this.

Also, implementing Steam's HTTP as an alternative to Awesomium is a good idea - I think it's free (am I right?).
Help us, our god @willox !

@neico

This comment has been minimized.

neico commented Jul 13, 2016

I actually tried to tackle the steam api one a while ago, even with some help I wasn't able to get it to render onto the vgui texture, might be partly because some sdk interfaces were changed in gmod (that would require some serious reverse engineering to fix), might be because I fucked something up somewhere.

Also, imo such "killers" are cancer, first of it's replacing a dll with fake content (in this case replacing one infrastructure with a different one, most likely causing all sorts of clashes), making the already unstable html stuff even more wibble-wobble. Then there's the aspect of it being killed of by verify steam cache and possibly updates. And maintainable code looks different...

Then there's also the aspect that raw CEF can't play proprietary codecs like h264 or mp3 due to licensing yatta yatta. Steam's HTMLSurface has those licenses covered though and therefore has native access to those codecs so it's the best way to go regarding things like cinema.

@uRandomAlex

This comment has been minimized.

uRandomAlex commented Jul 13, 2016

@neico Of course Steam HTML will be better, but currently we're stuck with CEF by this cool guy. YouTube already provides .webm videos, so we can safely play them using CEF.

@benrob0329

This comment has been minimized.

benrob0329 commented Jul 14, 2016

Another option would be to use a striped down vertion of Chromium, like what Electron does: https://github.com/electron/electron

@SpencerSharkey

This comment has been minimized.

SpencerSharkey commented Oct 14, 2016

this is pathetic

@Noiwex

This comment has been minimized.

Noiwex commented Oct 15, 2016

@Shigbeard

This comment has been minimized.

Shigbeard commented Oct 15, 2016

I've said it before and I'll keep on saying it. Garry's only mission in life regarding garry's mod is to come back from rust every 3 to 6 months to take a massive dump on whoever is actually doing a massive project on gmod to change it (such as server browser or awsomium) to the tune of "this aint happening"

@Adam759

This comment has been minimized.

Adam759 commented Feb 5, 2017

Now sitting here in Feb 2017 still waiting for at least HTML5 support. With the way things are going HTML5 will be everywhere, and already is. Is it really that much to ask for to update it to support something so crucial and current?

@Rusketh

This comment has been minimized.

Rusketh commented Mar 5, 2017

This would only benefit the community over all. Can somebody from face punch just get this done and lets move on with our lives. PLEASE!

@Shigbeard

This comment has been minimized.

Shigbeard commented Mar 6, 2017

@Jake3231

This comment has been minimized.

Jake3231 commented Mar 6, 2017

I personally play Garry's Mod on my Mac, and supporting only 64-bit is an issue. To be fair, it's not the fault of the users, but it is annoying that the Mac version of the game does not support 64-bit. This has caused the game to hit it's memory limit quite a few times, and now it seems that it can't even support CEF. I agree that we need something new, but this brings up a whole new issue about improving the Mac's compatibility.

@Adam759

This comment has been minimized.

Adam759 commented Mar 31, 2017

There has to be something that is cross compatible with Mac and Windows that can be integrated. For how many issues there are right now I am astonished this issue hasn't been looked at more.

@Turbine1991

This comment has been minimized.

Turbine1991 commented Jul 2, 2018

Could we please get some fresh eyes on this issue?

Chrome 18 is dated (2012), this thread is from 2015 - The web has crept on a lot since then.

When one has to employ workarounds (albeit simple) to get some fundamental web advances such as 'display: flex;' to work, you know this is a pressing issue. 49 stable milestone releases have been pushed since.

I cannot stress enough, please spend the time to replace Awesomium, it's one change which can be justified.

@handsomematt

This comment has been minimized.

handsomematt commented Jul 2, 2018

https://gmod.facepunch.com/commits/

There is a work in progress branch to replace Awesomium.

@Ajbolitt76

This comment has been minimized.

Ajbolitt76 commented Jul 18, 2018

@willox will facepunch replace awesomium at next update? The chromium branch looks stable.

@Noiwex

This comment has been minimized.

Noiwex commented Jul 18, 2018

Don't think it's good

@Sophie-bear

This comment has been minimized.

Sophie-bear commented Jul 18, 2018

Chromium is updated and maintained in the same branch as 64-bit builds now from what I can tell from commit logs. https://gmod.facepunch.com/commits
This is not something we have access to yet to really know for sure what it's about, so I guess we'll see.

@ShoryuKyzan

This comment has been minimized.

ShoryuKyzan commented Aug 27, 2018

Hell, i'd be willing to do this bit of work. so long as facepunch is willing to release it! (i'm a 10+ year professional software developer)

@LewisTehMinerz

This comment has been minimized.

LewisTehMinerz commented Sep 9, 2018

Just want to chip in here.

Awesomium is dead. The last update was in 2015 and their website has dropped off the grid and if you go to it it's just a redirect to https://ultralig.ht/ (another Awesomium-like library). At the current point in time, we're on our own. Awesomium has no support and we currently have to downgrade all our sites that we want to use with it just to get it to work properly, like loading screens. This is a big restraint and holds back our creativity. If Garry's Mod keeps using Awesomium, there's going to be a lot of issues when the next generation of websites come rolling in.

I want CEF as soon as possible, and I think many people can agree with me on that statement.

@Fabiassassin

This comment has been minimized.

Fabiassassin commented Sep 19, 2018

keemstar

Garry will change his mind when YouTube ceases to work entirely.

This person predicted the future; YouTube does not work anymore

@WinterPhoenix96

This comment has been minimized.

WinterPhoenix96 commented Sep 19, 2018

It looks like YouTube is either tossing out their VP8 360p video encodes, or making it so sufficiently old browsers (ex. Awesomium) can no longer play them. At the same time, they appear to be replacing all their VP9 encodes with AVC1 (an H.264 container).

What this means is:

  • Awesomium is no longer able to play YouTube at all, not even in 360p.
  • Chromium seems to still be able to play videos that have a VP8 360p encode, but no higher resolutions.

This change is probably related to the upcoming WebM AV1 codec, the successor to VP9. Like VP9, AV1 is expected to be used for high resolution YouTube videos, but unlike VP9, it has much much more support beyond just Google, including Netflix, Twitch, and chip vendors like Intel and AMD.

So, this is probably ultimately a good thing, once YouTube gets around to re-encoding things with AV1, Chromium/Chrome version 70 is out (in a month, and even then AV1 will still be behind a dev flag), GMod has at least that version of Chromium, and Chromium is on the Main Branch.

But until then, at the very least this makes it so the Main Branch is no longer capable of playing YouTube videos.

Please Willox, keep up the good work with the 64-bit branch so we can stop having to tell players to switch branches soon.

Also yes, Google dumped VP9 before their own browser even supports AV1, while also throwing browsers unable to play H.264 (probably temporarily) under the bus for HD.

@Noiwex

This comment has been minimized.

Noiwex commented Sep 19, 2018

RIP

@LewisTehMinerz

This comment has been minimized.

LewisTehMinerz commented Sep 19, 2018

press ❤️ to pay respects to media player

@Rusketh

This comment has been minimized.

Rusketh commented Nov 4, 2018

Just done a load of work with html and java script for some GUI's, turns out GarrysMod is not update enough to display them correctly. Can we please get this updated.

@Noiwex

This comment has been minimized.

Noiwex commented Nov 4, 2018

You've been making GUI for GMod without testing? 🤔

@LewisTehMinerz

This comment has been minimized.

LewisTehMinerz commented Nov 4, 2018

👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment