Hello all,
I am trying to do something special with my xbmc on linux. I have a Nvidia separate dual screen configuration on ubuntu and when I launch videos with mplayer (ubuntu's mplayer) I use "env DISPLAY=:0.1 mplayer ..." in order to launch from my first screen and watch it on the second. The own mplayer's command "mplayer -display :0.1 ..." works to. 7" Secondary screen - AOL Video:: 7 Secondary screen Video on AOL Video - Samsung’s Dual Display with UbiSync Technology makes it Breakdancing was cool, but the only problem was th. http://video.aol.com/video-detail/7-secondary-screen/1339560561HOME | 2nd Screen Problem - looks scrambled after going fullscreen :: 2 posts - Last post: Jun 11Now the video should only appear on the external screen, and you can open your notebook to type, use the trackpad, or just let it run cooler http://www.apertureprofessional.com/showthread.php?t=16324HOME |
So I would like to do the same thing with XBMC : lauching movies from XBMC on first screen and watching them on the second. I tried this by two ways :
- adding a command line in BUILD/System/Player/mplayer.conf like display = :0.1 (WO/2005/074414) MULTI-SCREEN VIDEO GAMING SYSTEM WITH PRIVATE :: Title: MULTI-SCREEN VIDEO GAMING SYSTEM WITH PRIVATE SECONDARY MONITORS. Abstract:. A video gaming system including a primary monitor having a first screen http://www.wipo.org/pctdb/en/wo.jsp?wo=2005074414HOME | Re: [radeonhd] secondary screen shuts down with fullscreen video:: Re: [radeonhd] secondary screen shuts down with fullscreen video fullscreen there should be only one screen running. IMHO completely broken concept. http://lists.opensuse.org/radeonhd/2007-12/msg00082.htmlHOME |
- changing a line in XBMC/xbmc/XBVideoconfig.cpp #ifdef HAS_GLX, I tried many things in this like :
- replacing SDL_VIDEO_FULLSCREEN_HEAD by SDL_VIDEO_FULLSCREEN_HEAD=1
- replacing SDL_VIDEO_FULLSCREEN_HEAD by env DISPLAY=:0.1 Full screen problem with Vista Sidebar on secondary monitor :: 5 posts - 2 authors - Last post: Apr 10, 2007When I run videos with ZoomPlayer full screen the sidebar shows over only happens when the sidebar is placed on the secondary monitor. http://forum.inmatrix.com/index.php?showtopic=5809HOME | iPod Parts / Installation - iPod Mini - iPod Mini LCD Screen (1st :: Please choose installation preference (installed or part only) this sevice is second to none. ordered my replacement video lcd screen on tuesday night http://store.ifixipodsfast.com/ipod-parts-/-installation/ipod-mini/ipod-mini-lcd-screen-1st/2nd-gen-/prod_37.htmlHOME |
- replacing Defaultscreen by Screen1 ( it gives compilation errors)
- replacing int desired = 0 by int desired = 1
I tried to shake all of these options but it never worked, so i have no more ideas... Could someone knowing how XBMC's code works give me some help?
PS : Sorry for my english but I'm french and it is my first thread on an english forum... :grin:
In order to do a little up! and to make get my query more precise, I post the part of the xbconfin.cpp that is according to me interessant in order to make this manipulation :
#ifdef HAS_GLX
Display * pRootDisplay = XOpenDisplay(NULL);
if (pRootDisplay == NULL)
{
fprintf(stderr, "Cannot get root display. Is X11 running and is your DISPLAY variable set?n");
exit(1);
}
int screen = DefaultScreen(pRootDisplay);
int width = DisplayWidth(pRootDisplay, screen);
int height = DisplayHeight(pRootDisplay, screen);
XineramaScreenInfo *info;
int num;
info = XineramaQueryScreens(pRootDisplay, &num);
if (info)
{
int desired = 0;
width = info[0].width;
height = info[0].height;
const char *variable = SDL_getenv("SDL_VIDEO_FULLSCREEN_HEAD");
if (variable)
{
desired = SDL_atoi(variable);
for (int i = 0 ; i
{
if (info[i].screen_number==desired)
{
width = info[i].width;
height = info[i].height;
break;
}
}
}
XFree(info);
}
w = width;
h = height;
#endif
}
#endif
Microsoft Unleashes Visual Studio .NET
IBM's iPhrase Buy Adds to WebSphere
|