How to get headphones and speakers working at the same time?
Solution 1:
You need to disable "Front panel jack detection". This will make the front and rear jacks play the same stream.
Source: http://www.tomshardware.com/forum/243915-49-realtek-audio-manager-sound-signal-simultaneously-front-rear
Solution 2:
I solved the problem with different output to the front panel on my ASUS P5P43TD.
All you need to do is to go to Onboard Devices Configuration in BIOS settings and change Front Panel Type from HD Audio to AC97
After restarting you have now Tab called HD Audio 2nd output in Realtek Audio Manager (but keep Speakers tab as default output).
If you can't see that Tab, go to Device Advanced Settings and change it to Make Front and Rear output devices playback two different audio streams simultaneously. If you choose the other option in Advanced, you will have only one stream but from both outputs - front and rear.
And now you have multiple choice for output in popular applications such as audoi- and video-players, where you can change output to Speakers or to HD Audio 2nd output.
As a result my Foobar2000 (audio) and MPC (video) are playing onto different outputs as I'm typing this post.
For some games you can choose the output too (Black Ops) in game Sound options but in some of them you cannot (MW II) BTW if you don't set anything as Default in Realtek Audio Manager you won't have any sound in MW II and some other games.
Solution 3:
You could always buy a headphone splitter for a few $$ or ££ or €€
Solution 4:
Got this working finally. If you are able to get the above screen with both "Speakers" and the "HD Audio 2nd output" tabs. (ie front panel headphone jack) then do as described above - click the yellow folder in Realtek HD audio Manager and check disable front panel jack detection). For whatever reason, this changes the "HD Audio 2nd output" to "Mic in at front panel (pink)" which was not visible before. Set speakers as default and click "Device advanced settings" and mute the rear output device when headphones are plugged in. Not sure why you would have to select this, but this was the only way to get mine working.
Couldn't there just be a check boxes for all devices and what sounds to play through them? Seems this would be easy to implement.
ADDED: Tested the previous answer - selecting speakers for the front panel device type does work without having to disable front panel jack detection but you still have to keep "Mute the rear audio device when headphones are plugged in" checked. It basically combines the front panel and rear jacks into a single output and you lose independent control of front panel audio.