TigerVNC not working

  • Hello,

    since Libreelec 7.90.007 VNC isn´t working anymore for me. Actually i´m on 7.90.010 with actual TigerVNC addon.

    I can connect, but there are only shown the same 2 or 3 screens, no matter where i navigate. These screens are not the same if i turn on TV.

    I tried a few clients, also the x11vnc addon instead of TigerVNC. Everywhere the same issue.

    Any suggestions?

    Thanks in advance,
    Jhag

  • I'm seeing the same thing but only on my cherry trail device. On my NUC with haswell VNC works fine. I've excluded the DDX driver as I tried switching to modesetting with no change. Could be some change in Kodi, but that sounds weird as it works on haswell. Mesa perhaps?

  • Solution is to create /storage/.config/xorg.conf with the following contents and reboot:

    Code
    Section "Device"
      Identifier  "Intel Graphics"
      Driver      "modesetting"
    EndSection

    This effectively changes the 2D/DDX driver from the Intel driver to the new modesetting driver. The modesetting driver is known to be a bit slower on newer GPU's, but I find that it works much better than the Intel driver on my Atom (cherry trail). Also it works with VNC :)

    Edited once, last by escalade (January 12, 2017 at 5:26 PM).

  • Worked for me also, however it resulted in changing the the monitors from eDP1 to eDP-1 and HDMI1 to HDMI-1
    as a result I needed to change my xrandr statements in autostart.sh

    It was such as subtle change I was scratching my head why the HDMI stopped working.

  • The modesetting driver makes it so that VNC works without the unusable flickering. But it causes micro stuttering on video playback both in HW acceleration and SW modes on my Haswell setup and nothing in the logs to show for it. I've switched back to 2D/DDX driver since it's the lessor of the two evils.

    Is there a more recent community build with an upgraded video driver that will solve both problems at once?