Posts: 1
Joined: Feb 2009
Reputation:
0
I just tried to set this up in our store today. We need to run 20 monitors and 4 televisions off of our computer (since the VGA splitter box for the televisions doesn't support component>vga adapters, and we can't get any blu-ray players with vga ports). I figured it would be no problem, just get ultramon and XBMC. Ultramon would run the screensaver on the 20 monitors and XBMC would run on the TV's. The monitors run at 1440x900, the TV's at 1280x768.
No go. No amount of fiddling would get XBMC to fit the 1280x768. Even modifying the windowed mode shortcut to jump to the other monitor and maximize didn't work, it was still set at 1440x900.
Perhaps a simple setup script included with XBMC that lets you choose which display it should operate on would work? It would have looked really nice having XBMC on all our TV's, but it'll just have to wait.
For anyone interested, I ended up having MPlayer Classic open up a folder of 720p videos and play them all forever in random order. I then somehow made the screensaver run on the monitors at the same time (which I still don't understand).
Posts: 418
Joined: Oct 2004
Reputation:
0
I think they just use a modified version of my patch (which will no longer apply due to how XBMC probes nowdays, but is trivial to fixup). Really multimonitor support should be better integrated, which was the goal of the multidisplay branch that never got beyond creating the branch.
If the project managers decide they want to use the code from #5110 as an intermediate solution, I'd be willing to bring it up to date.
Posts: 418
Joined: Oct 2004
Reputation:
0
Dammit Wiso, did you just trick me into fixing something? You clever bastard!
Posts: 582
Joined: Sep 2006
Reputation:
1
2009-07-28, 00:21
(This post was last modified: 2009-07-28, 00:24 by rausch101.)
I was struggling trying to get XBMC to launch on a second monitor through a remote control (Harmony) input over the weekend for someone that hated UltraMon and didn't want to use it (although I have nothing against it). For anyone who is interested, here's what I did:
I used EventGhost to take the IR input to absolute move the mouse to the top left of the primary screen (0,0), since absolute mouse movement can only take place on the primary display. I then relative moved the mouse to the XBMC shortcut icon that I had placed on the second screen and simulated a double-click. Since the shortcut to XBMC is located on the second monitor, XBMC is then launched in the second monitor (either fullscreen or windowed). It's about as crude as it gets, but it works well as long as the icon doesn't move.
Posts: 6
Joined: Jun 2009
Reputation:
0
Any news yet? I'm looking forward to be able to start xbmc on my secondary monitor in 'real fullscreen'. When I use UltraMon xbmc has black bars (about 20pixel thick) at the top and left side. Moving the screen in Video Calibration doesn't work... the black bars are still there.
Posts: 418
Joined: Oct 2004
Reputation:
0
2009-08-05, 16:42
(This post was last modified: 2009-08-05, 16:45 by CapnBry.)
Wiso, I've posted a new patch to the ticket but I'd like to point out a few things:
1) Every time someone touches this code, it gets uglier.
2) Adding this code may change some win32 users' resolution the next time they start up. This is because XBMC stores only the index of the selected resolution and this may reorder some items in the list
3) The amount of resolutions offered in Settings -> Appearance -> Screen is now in the realm of "staggering". My 2 monitor system has 143 resolutions. That's just awful.
4) Resolutions which are not on the default monitor are listed is (DISPLAY x). Note that DISPLAY 0 is not necessarily the primary display.
5) For backward compatibility, when changing resolution to "Primary Display, Resolution XxY", XBMC resizes the window on the current display instead of shifting it to the primary. If shifting back to Primary makes more sense, change CSurface::ResizeSurface to not do GetWindowRect(hwnd, &rBounds), just always use the code above it.
6) Don't think I'm going to get involved in this discussion again, I'm not working on the multimonitor branch!
EDIT: for BOLDing
For troubleshooting and bug reporting please make sure you read this first.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
We chatted about this at devcon. The system that I think we'd like to see is:
1. n+1 resolution options available, where n is the number of screens, and the +1 is for windowed.
2. Display at the native resolution of the screen.
3. Windowed mode is resizable in the normal manner.
4. If anyone wants anything else, make a custom setting that they configure themselves in advancedsettings.xml.
@CapnBry: Is the above plausible (excluding all the current cruft in the code ofcourse)?
Cheers,
Jonathan
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
I nuked multidisplay because it was so far out of date. Maybe I should branch again so we can attempt this again.