In reality try to avoid washing your jacket ever. Everyone gets offended by this but really it's only your base layers that should get smelly and sweaty. If you do have to wash it regular detergent is pretty bad. As mentioned Nikwax is your best bet but once you wash a jacket the combination of waterproofing and breath-ability will never be the same
The people who work for the companies will even tell you to try and never wash it. Also NEVER dry it if you do wash it. 10k/8K jackets do fine if cared for properly.