Beiträge von dz0org

    Thank you for your help.


    Unfortunately my variable $DISPLAY is the same on my two monitors.


    However I did not know that Hyperion-x11 had of the parameters. I tried the command "man hyperion-x11" but I forgot to try "hyperion-x11 --help". :p


    I will tried to have something more clean with the --crop parameters, thank you.

    Hi,


    Can you start the hyperiond manually from the command line ?


    Yes, I start hyperiond and hyperion-x11 without error from my terminal.
    hyperion-x11 takes the resolution as i have defined
    X11GRABBER INFO: Update of screen resolution: [0x0] => [1920x1080]


    Does it honor the DISPLAY environment variable ?


    Yes, my variable $DISPLAY has the value :0.0

    Do you have multiple screens or multiple displays ?


    I'm not very sure to know the exact difference. I use xmonad as window manager and I run my "dual screen" with xrandr :
    xrandr --output HDMI-1 --mode 1920x1080 && xrandr --output DVI-I-1 --pos 0x0 --mode 1440x900 --rate 75.0 --right-of HDMI-1 &


    I hope my answers are enough clear

    Thank you for your reply.


    I think I found a trick, it is certainly not very clean but it's working.


    I have compiled Hyperion by editing the file X11Grabber.cpp in the directory ./libsrc/grabber/x11


    I replace in this file that condition :
    if (_screenWidth == unsigned(_windowAttr.width) && _screenHeight == unsigned(_windowAttr.height))
    by
    if (_screenWidth == unsigned(1920) && _screenHeight == unsigned(1080))

    Then, I redefined the variables following :
    _screenWidth = 1920; // _windowAttr.width;
    _screenHeight = 1080; // _windowAttr.height;


    I do not have enough skills in this language to do something more clean.


    If someone have another way it interests me :)

    Hi,


    First of all thank you for this project it really awesome.


    I have a dual screen, is it possible to executing hyperion-x11 only on one specific screen ?


    Presently my Kodi is parameter with "mode display" defined to "fullscreen". With this setting some leds use the colors of my second screen where kodi is not running.


    For that the LEDs are working properly I am obliged to check the option in Kodi "blank other displays".


    I search a way of keep my second screen and to force hyperion-x11 to use the resolution of my screen where kodi is running for the control of leds.


    In the logs I see the following line :
    X11GRABBER INFO: Update of screen resolution: [3360x1080] => [1920x1080]


    Is it possible to force x11grabber of use only a screen keeping my dual screen functional ?


    thank you in advance,