Problem
When I try to connect the monitor to the portable through a Displayport cable, the monitor immediately starts flickering. Sometimes it even turns black for a few seconds. When I try the same with the VGA cable, everything works flawlessly. I'm almost sure the problem is caused by the graphics card, and the problem does occur on both linux and Windows.
Attempts to solve it
On linux, I tried to play around with both aticonfig and xrandr. When I execute the command: aticonfig --od-enable (enabling AMD overdrive) right before attaching the monitor to the portable, the monitor works. But if I then try to open a mp4 file in VLC, the monitor starts acting weird again. If I first open the same movie and then attach the monitor, everything works. Because I think the problem has something to do with the refresh rate, but I can not fix it.
On Windows, I only managed to get the monitor working in a lower resolution.
Setup
Dell XPS 1640 portable with ATI Radeon HD 4670 graphics card (1GB)
Dell U2312HM external monitor (1920x1080)
Linux Mint / Windows 7