Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to connect my laptop via a displayport2HDMI adapter to a TV. I tried simply connecting everything, but unfortunately that didn't work. I also didn't see any option in nvidia-settings to configure any output via the displayport. Has anybody such a setup working, or the displayport at all?

I'm running Ubuntu 10.10. My machine is a Lenovo Thinkpad T510 with a NVS 3100M graphics card.

share|improve this question
up vote 1 down vote accepted

Update, it works. I retried connecting my laptop to the TV after verifying everything with a second laptop running Windows 7. This time in nvidia-settings a second monitor appeared and I could extend my desktop to the TV. But sound does not work. There is a HDMI audio device in the mixer, but I can't get sound via the TV (worked in my test with the other laptop, so connection-wise it is OK).

Update: I have a HDMI device in system-settings->multimedia->phonon. And when I click the test button the TV actually plays something which sounds like the test-melody with a lot of noise. Standard application sound is only audible on laptop speakers. Any ideas on how to fix this?

Video: Seems the TV has to be set to the input connected to the laptop. Then nvidia-settings detects the external screen and twinview can be configured.
Audio: No full solution yet, but for me following commandline worked to get audio and video via the TV set:

mplayer -ao alsa:noblock:device=hw=1.7 <videoFile>

Had to experiment with the 1.7 argument a little. First 1.3 worked, after suspending the machine and waking up again 1.7 did. (found the command here:

share|improve this answer
Sound worked fine for me on a Thinkpad t410. I simply had to open the sound settings dialog, choose the HDMI controller in the Hardware tab and then the right output. – David Planella Nov 6 '11 at 15:45

I had to use pavucontrol.

Configuration tab -> High Definition Audio controller -> Profile: Digital Stereo (HDMI) nr 2 Output

I also did this, to switch the audio output:

Playback tab -> "ALSA plug-in [firefox-trunk]: ALSA Playback on -> "High Definition Audio Cogtnroller Digital Stereo (HDMI) nr2)"

IMHO, pavucontrol is a better interface.

share|improve this answer

I found a fix: just enable from BIOS to boot in the monitor where you want the hdmi/displayport sound from, it will activate the HDMI or Displayport sound of the monitor. And then you always can switch back and forward during the playback to hdmi and laptop sound, from the Ubuntu sound settings.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.