Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I've been unable to get multiple monitors to work with Ubuntu 13.10 using nvidia-prime or bumblebee. Could someone point me in the right direction?

With nvidia-prime, I've tried the xorg.conf here http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html, but I boot into "low graphics" mode and have to revert to get a desktop back.

Any suggestions would be appreciated. Thanks.

Edit: I've given up on nvidia-prime; I missed the fact that it never turns off the discrete card... So, I'm back to trying to get VIRTUAL displays working with Bumblebee.

share|improve this question

2 Answers 2

My appologies for bringing this up from the dead, but as it still comes up near the top of some google serches, it is still relevant.

xf86-video-intel v2.99, 22/Dec/2014, has a new tool.

Check and see if you have the tool 'intel-virtual-output' installed. This is included in 'xf86-video-intel' =< v2.99, aprox date released is 22/Dec/2014 Running 'intel-virtual-output' without any extra parameters will daemonize itself and detect attached displays in the background.

It will then perform all the trickery of virtualizing and cloning so that the newly attached screen can be used via conventinal screen management methods, such as cloning/extending with xrandr. The tool itself can be run with a standard bumblebee installation, as it will switch bumblebee for access to the nvidia chipset.

If no displays are attached, or you are using the laptop display only, the tool can be killed so that bumblebeed can then disable the nvidia chipset for powersaving. To make it easier to kill 'intel-virtual-output' after running, start it in a console with the -f switch.

Usage: intel-virtual-output [OPTION]... [TARGET_DISPLAY]...
  -d <source display>  source display
  -f                   keep in foreground (do not detach from console and daemonize)
  -b                   start bumblebee
  -a                   connect to all local displays (e.g. :1, :2, etc)
  -S                   disable use of a singleton and launch a fresh intel-virtual-output process
  -v                   all verbose output, implies -f
  -V <category>        specific verbose output, implies -f
  -h                   this help
If no target displays are parsed on the commandline, 

intel-virtual-output will attempt to connect to any local display and then start bumblebee.

Games can be run on the external display via "export DISPLAY=:8", however they will not grab the mouse or keyboard properly. You will also need to start games with "primusrun" or "optirun" as per usual.

share|improve this answer

nvidia-prime

You do not need to play with xrandr, since it is already done for you in the nvidia-prime package (see /etc/lightdm/lightdm.conf).

The first thing to do is to comment the line Option "UseDisplayDevice" "none" in /etc/X11/xorg.conf. In my tests, it seemed you need to change modesetting driver to intel driver to get it work. I also had to add Option "ConstrainCursor" "no" option to let my mouse escape from the second screen.

Even after all those tweekings, my system was very unstable (when the screen freeze, I have to go back and forth to VTT1 (CTRL+ALT+1, CTRL+ALT+7), and window decorations were ugly.

Some insightful resources:

bumblebee

You no longer need hybrid-screenclone, nor to patch intel video driver. However, I'm not sure how to configure it.

share|improve this answer

Your Answer

 
discard

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.