We used several kinds of generator to run computers (commercial laptops) in our command posts.
I'm retired now but my personal lapper, a Panasonic Toughbook, is on gen set and vehicle power often. It has never cared what the gen set vehicle charging system does because my power adapter has a power conditioner built in. That kind of power supply should be available for any laptop.
I'd consider running everything through a battery back-up uninterrupted power supply (UPS) (thats properly grounded, if the manufacturer calls for it.) That will also give you time to shut down if the gen set dies.
Make sure the generator is properly grounded.
This would also provide both surge protection in case of speed changes due to things like the fridge or other load coming on and should give you the clean power you want. Cheap insurance for your electronic gear.
Lance