Bit of a noob (Nuc and resolution commands)

  • So I have a NUC which is running PMP (Plex Media Player) it's built on LE and I recently got a 4k AVR, so now my NUC is syncing up at 4096x2160@30 which is horrible for the gui. I was wondering if there is a command/way to force it to go to 1080p via LE commands? Step by step would help greatly!

    Thanks in advance! :huh:

  • The command "xrandr" will list the adapters, resolutions and rates they support, e.g.

    Code
    LibreELEC:~ # xrandr
    Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
    DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
    HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
       1920x1080     60.00 +  59.94*   50.00    29.97    25.00    24.00    23.98  
    DVI-I-1 disconnected (normal left inverted right x axis y axis)

    Then you can change the Xorg display using:

    Code
    xrandr --output HDMI-0 --mode 1920x1080 --rate 60.00

    However, this setting is not persistent over a reboot. There are two options; hacky and good. If you add commands to /storage/.config/autostart.sh (which does not exist by default) they will be re-run on each boot:

    Code
    (
    sleep 10
    xrandr --output HDMI-0 --mode 1920x1080 --rate 60.00
    )&

    but the better way is to set the in system settings. In normal LE this can be done in Kodi settings. I'd guess there is a similar function in PMP, but having never used it I cannot say - you're posting in the wrong forum for Plex/PMP expertise :)

    Edited once, last by chewitt (September 14, 2016 at 4:09 AM).