From gasoline to gasification, or why we don’t power cars with wood today (2017)
hemmings.com
hemmings.com
There are any number of cogeneration plants that use waste wood chips to run their kilns and produce electricity. All Power Labs (www.allpowerlabs.com) produces small scale (10-20kWh) generators that fit on a 4' pallet and thus can be transported to a fuel source.
That being said, there is a variety in the solid fuels used, and operational and engineering problems to overcome for some waste streams. There are backyard versions that use water to scrub the woodgas, leaving behind large ponds of toxic waste full of PAHs (Poly Aromatic Hydrocarbons) and other carcinogens. But the exhaust from the motors is generally better than that of a gas or diesel engine. (Source, I used to work for All Power Labs, where we did a variety of tests on our fuel, exhaust and ash production)
Edit: From the feedstocks page (http://www.allpowerlabs.com/support/support-feedstock) it looks like this works best with wood and woodlike fuels. I'd still be curious if grass clippings could be processed in a way to make them work similarly.
*
While composting is great, it does produce a significant amount of methane, which is a much worse greenhouse gas than carbon dioxide (~84 CO2e). Ideally this would be captured and put to use.
You can also run a diesel engine on duel fuel, where the (bio)diesel injection provides the flame front to ignite the woodgas and air mixture. In this case no modification is necessary. Only the bare minimum, equivalent to just idling on diesel is necessary. This is a robust system where the governor for the diesel engine can compensate for lower woodgas fuel content when need be.
[1] https://blogs.scientificamerican.com/plugged-in/how-north-ko...