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 [email protected] 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
    1. LibreELEC:~ # xrandr
    2. Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
    3. DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
    4. HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
    5.    1920x1080     60.00 +  59.94*   50.00    29.97    25.00    24.00    23.98  
    6. DVI-I-1 disconnected (normal left inverted right x axis y axis)


    Then you can change the Xorg display using:

    Code
    1. 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
    1. (
    2. sleep 10
    3. xrandr --output HDMI-0 --mode 1920x1080 --rate 60.00
    4. )&


    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 ().


  • Perfect! Thanks so much, that's exactly what I needed, it's just like Openelec


    But BETTER

    3 NUC's, 3 Pi's, Android Beelink R38, Odroid C2, 2 original XboX's and now a Amlogic T95m S905 2/8