#53 Xinerama/multihead support

open
None
1
2008-09-29
2007-08-13
Anonymous
No

At the moment smplayer doesn't seem to have any xinerama support, which makes working with multiple heads a bit uncomfortable.

Personally, I'm using nvidia's twinview with two heads: an LCD (1280x1024) and a TV (1024x768). Mplayer detects this setting and scales the picture down so that it fits on the TV. Smplayer doesn't do this yet.

If not by implementing xinerama support, this could be done by adding an option to use a portion of the current resolution (1024x768 out of 1280x1024 in my case). I for one would really appreciate such a feature.

Discussion

  • Ricardo Villalba

    Logged In: YES
    user_id=115931
    Originator: NO

    Hi, currently when entering in fullscreen smplayer uses the "primary screen" (the screen where the main window resides).

    So moving the main window to the TV screen should make it to use the correct resolution.

    But this is something that I can't test, I only have one monitor, so please check if this is the case.

     
  • Ricardo Villalba

    • status: open --> pending
     
  • Nobody/Anonymous

    Logged In: NO

    Unfortunately, it seems that doesn't work when using a Clone mode.

     
  • Nobody/Anonymous

    • status: pending --> open
     
  • Ricardo Villalba

    • status: open --> pending
     
  • Ricardo Villalba

    Logged In: YES
    user_id=115931
    Originator: NO

    Currently smplayer uses the Qt function QWidget::showFullScreen(), so if it doesn't work well it's a Qt bug.

    If you're using a smplayer compiled with Qt 3 I suggest you to compile with Qt 4, maybe they fixed it in newer releases.

     
  • Nobody/Anonymous

    Logged In: NO

    Tried that. Didn't help. The reason is probably that in TwinView's Clone mode you don't get two separate X screen, but only one that is displayed on two heads. Could a workaround be added for picky people like me? :)

     
  • Nobody/Anonymous

    • status: pending --> open
     
  • Ricardo Villalba

    Logged In: YES
    user_id=115931
    Originator: NO

    If in clone mode both screens display the same... shouldn't the two screens have the same resolution?

    Sorry to ask that silly question, but I've never used two screens in linux. I did a few times in windows, and the 2nd screen (the TV) displayed exactly the same as the monitor.

     
  • Ricardo Villalba

    Logged In: YES
    user_id=115931
    Originator: NO

    If in clone mode both screens display the same... shouldn't the two screens have the same resolution?

    Sorry to ask that silly question, but I've never used two screens in linux. I did a few times in windows, and the 2nd screen (the TV) displayed exactly the same as the monitor.

     
  • Nobody/Anonymous

    Logged In: NO

    Well, they usually do have the same resolution, but don't have to. This can be changed using the MetaModes setting in xorg.conf and that's what I've done, since tv-out wouldn't let set a higher resolution. Naturally, the TV displays only a fragment of what the LCD displays, but mplayer detects this setting and scales the movie down and puts movie in 1024x768 on a 1280x1024 black screen, when in fullscreen mode. Feel free to ask should you have any further questions. I'll try to answer to the best of my knowledge.

     
  • Ricardo Villalba

    Logged In: YES
    user_id=115931
    Originator: NO

    You can try the following if you've got the source code.

    Edit the file src/basegui.cpp, look for the function "void BaseGui::toggleFullscreen(bool b)" and add "resize(1024,768);" just after "showFullScreen();" (line 2251 in latest release), so it looks like this:

    .....
    aboutToEnterFullscreen();
    showFullScreen();
    resize(1024,768);
    } else {
    .....

    Recompile and see if now fullscreen mode looks as it should. In that case I could add an option for the config file.

     
  • Nobody/Anonymous

    Logged In: NO

    Doesn't seem to work, I'm afraid. I see absolutely no change after patching and recompiling. Well, it seems I'll just have to make a habit of changing the resolution prior to watching something.

     
  • Ricardo Villalba

    • priority: 5 --> 1
     
  • Ricardo Villalba

    • assigned_to: nobody --> rvm
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks