Patrefans
obsproject from patreon
obsproject patreon

What happened with 27.2: The tale of a legendary hotfix

🕑 Added 2022-02-23 08:22:12 +0000 UTC

Comments

Andy Marsh

Why do we always get our best ideas in the shower?

DSri Seah

Epic!!! I loved reading about your process in solving it, and thanks for your perseverance in updating to 95!

I don’t know what half the stuff you said means, but hot damn am I glad you persisted and rocked it out!

Thanks a lot!

Lain

More specifically, this is the Chromium Embedded Framework that we're modifying, which is basically a modification to Chromium itself. Although most of the code I modified was in Chromium via a patch file that Chromium Embedded Framework applies to Chromium when compiling. Fundamentally, Chromium itself is probably only interested in one thing: Chrome. All else is likely secondary and they likely care very little if anyone other than Chrome and Google depends on their code. So that makes things very difficult to maintain for anyone who depends on Chromium, such as the Chromium Embedded Framework. Because of that, the texture sharing hardware acceleration patch is something that has caused Marshall grief in the older revisions because the patch is arguably the biggest patch they had to maintain, and it was too much of a pain to deal with, so it fell to the CEF community to make and maintain such a patch for themselves. The patches for 3440 and 3770 were the last patches that Marshall was willing to maintain, and after Chromium rewrote their graphics subsystem (for the N'th time) he had to drop it, as it was too complicated to continue supporting. Eventually, years later, a group of people tried submitting a pull request again around the time of 4638. However, it was again a complicated patch, and it depended on the Viz rendering subsystem, which, as expected, was deprecated by Chromium, so the patch was basically built for a subsystem that was already obsolete by the time it was finished, thus I'm pretty sure Marshall couldn't exactly just merge it on the verge of the entire subsystem being replaced. Again. So the patch we used was based off of a (basically rejected) pull request submission made to CEF by Isaac Richards of NVIDIA, but then we encountered this system freeze bug with it, thus I then had to rework everything just to work around the system freeze. (Isaac didn't actually do anything wrong. The system freeze issue just complicated everything, forcing a complete rework) And next time we upgrade, Viz will probably be gone, and I'm probably going to have to suffer this whole process yet again. I hate Chromium so much.

A

Excellent job and excellent story! Maintaining a fork of Chromium sounds like a huge pile of work. Are you planning to try and upstream any of these changes?

Great read! It's been years since I excitedly worked through the night to code bitchy logic but I know that feeling, when the machine is finally stable. It is its own reward. Until the next one and thanks for a a great system.

Wow congrats! I understood literally 0.1% of the whole thing but it was very interesting to read and I can tell you are an absolute mad lad for being able to fix it. Shout out to the whole crew who helped, keep up the great work! :-)

Brian Rubin (Space Game Junkie)

Thank you all so much for your hard work on making OBS as awesome as it is.

There is only one way to handle this Jim... and is to right now subscrite as a Patreon myself and help fund the effort... xxdd God Job (no typo)...

Dalerija

Good job. Thank you so much for all your work.

flipnCrazy559

I'm just a stranger but I'm proud of you buddy! Keep being a homie!

Andi Vax

Wow. Well done, Jim!!!

Simon Vacker

Good job, all of you! Your hard work is very appreciated


More Creators