I have set two monitors—one is a usual monitor, and the second one is an HDMI TV. The configuration is done in a single xorg.conf file.
The problem is that the second display seem to be working, i.e. it shows my wallpaper after I start the computer, I can put windows there by specifying
DISPLAY=:0.1, I do run mpv on the TV this way, sound over HDMI works fine as well. But I lose control of the window since it has been sent to the TV. If I open a terminal and run mpv from there, like
DISPLAY=:0.1 mpv --profile=hdmi file.mkv
it runs window on TV, passes sound to TV, but any input to the terminal is ignored—I cannot set player on pause or rewind. The keys in my window manager that must switch focus to another screen also not seem to be working, I can move mouse over the other screen, but RMB (that should set mpv on pause) doesn’t work, too. So I’ve checked
xrandr output and… it told me that I don’t even have the HDMI connected. However,
nvidia-settings shows my dual monitor setup properly.
Now about configuration:
- It’s Gentoo amd64, kernel 3.12;
- Xorg 1.14.3;
- xrandr program version 1.4.1;
- Server reports RandR version 1.4;
- nvidia-drivers 331.20;
- It is a desktop with a discrete video card GF 550Ti, not a laptop.