Dual monitor and nVidia on Ubuntu 14.04.1

Amichai Rotman amichai at iglu.org.il
Tue Aug 5 20:48:32 UTC 2014


Hi,

I have a couple of annoying problems with a dual monitor setup in Ubuntu
14.04.1:


My Setup:

nVidia 210 Video Adapter

1 X Samsung 932BF 17" 4:3 Ratio Monitor

1 X No brand 26" flat panel TV.

The monitor is connected to the nVidia card via DVI and the TV via HDMI.

I use 'disper' from the CLI to switch between displays.

I use the Unity Desktop.

The Problems:

   1. Every time I switch, I get a black border around the windows. I have
   to run 'unity --replace' from the run dialog (ALT-F2) to fix this, and some
   times it freezes and I have to Zap Xorg.
   2. I have to manually navigate to the sound settings to switch the Audio
   Output to the HDMI Sound Output.
   3. When I reboot the computer, the display defaults to the TV (HDMI) and
   i have to blindly switch it back from CLI to the monitor.
   4. After switching over to the TV, the resolution is always off - either
   too high or some of the edges get cut off the screen. The native resolution
   for the TV is 1366x768, but it is not on the list...

What I want:

   - I'd like to fix the monitor as the primary display at all times,
   - I'd like to be able to configure the correct native resolution.
   - I'd like to have a bash script to just switch both video output and
   sound output to HDMI. I guess it will have to envoke bothe disper and some
   kind of pulseaudio commands. The problem is, that the HDMI sound output
   does not exist until I enable the HDMI video output with disper...

Googling got me in an endless out of date loop. Can anyone here provide me
withe the answer?

I realize I'll have to run some pulseaudio command, after switching to the
HDMI to identify the correct name for the HDMI (HDCP?) output name. I just
don't know how.

Thanks!

Amichai.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140805/7ae3cf9a/attachment.html>


More information about the ubuntu-users mailing list