Posts by jcjefferies

    I think I was a bit hasty saying the new RPi4 was faulty. I have configured the mains so I can switch on the TV first and view the full boot sequence. Running 11.0.3 on one TV I am using to test bootup the first display frequency is 1080p 60Hz next 1366x786 62Hz for most of the boot sequence then 720p 50Hz which is the resolution in system settings! On this TV during the 62Hz time the display is torn and unreadable. In normal use with this RPi4 if this TV is not taken out of Standby within 5 seconds the screen locks up! Another TV displays nothing if this RPi4 is connected.

    However if I install version 11.0.1 all three TVs work as normal as there is no 1366x786 62Hz display mode!

    Chris

    Great thanks for that! I knew there would be a setting somewhere to change the resolution at boot!

    However it does not cure the problem!

    In cmdline.txt :-

    boot=UUID=1507-5354 disk=UUID=077f401e-ddf6-42b9-95f9-dfb3c6c109f1 quiet

    video=HDMI-A-1:1920x1080M@60

    Still boots 1366 X 768 X 62Hz according to the display setting popup!

    It works as long as I get to the display power button within about 5 seconds otherwise the screen locks up and needs power off restart!

    A 14year old HD Ready Samsung boots in 1280X720X60 but defaults to 1920x1080X50 although it only has 1366X788 display.

    A 10 year old Full HD Sharp TV displays nothing except the initial initial RPi multi colour screen flash! Has worked with RPi3 for many years!

    Chris

    Is there a way to stop a RPi4 using 1366 X 768 X 62Hz at boot. All three of my TVs say its an illegal mode! On the particular TV I have had to go back to a RPi3 that uses 60Hz refresh at boot and does not cause a problem.

    However on the RPi4 with 62Hz the boot up screen image is torn if I power on the TV within about 5 seconds of power on at the wall. If I dont power on the TV within about 5 seconds the TV just displays a blank screen except for a torn version of the LibreElec version number top left. This TV display seems to have locked up and has to have power Off/On to get the display working again!

    I have searched and not found anyone with this problem!! I did try creating a display mode White List but that probably wont be active until after boot up!

    Chris.

    No problem installing LE 10 latest or Nightly on two AM3+ spare PCs. However the software I want to look at is only included at the moment on LE11. I have tried three December nightly downloads and all fail to boot. They all stop at LibreELEC (community): nightly-202212**-*******. On one PC a very brief error flashes on screen. However the disk boots OK in 14 year old Dell Core2 Duo laptop.

    Well I have my rtl8821CU USB Wi-Fi device working on a RPi3 running Raspbian! The first problem is that Raspbian has no source code installed needed to build modules! Luckily someone on Stack Exchange had a similar problem and was given a list of 10 lines of commands to solve the problem which I copied and pasted into a terminal. That still gave an error then noticed the advice to use 'make ARCH=arm'. I had selected the RPi3 option in the Makefile which selected Arm64 which I did wonder about as I didnt think there was 64bit Raspbian. Using the "arm" option the driver was created and installed.Both versions of the driver on Github seemed to work exactly the same.

    It seems much more sensitive than the Wi-Fi built in RPi3B+ as it finds many more local Wi-Fi routers. However when it switches to 5GHz the signal strength drops dramatically and the connection drops out after a few minutes. Although its better than the 5GHZ Wi-Fi in the RPi3 the 5GHZ signal strength in that particular location is just too low so will find another solution to get more speed at that location.

    Thanks for your help!

    Chris

    I was going to ask about this device also! I just bought this USB Wi-Fi device which does 5GHZ hoping to get some speed improvement for a RPi3 at locations not easy to use a RJ45 cable. A Fire Stick running Kodi at the same location as the RPi3 gives very good download speed for playback as it uses 5GHZ but the RPi3 only uses 2.4 GHZ which gives too much buffering. This device has external aerial which I hoped would give better performance than the RPi3 internal 5GHZ aerial!

    As has been said the supplied Linux drivers dont work with recent versions of Linux but I found the modified drivers on Github mentioned in the first post. On my Ubuntu 18.04 PC the driver installed without error and finds the USB Wi-Fi device which runs at 5GHZ. The default platform to make a driver for is a PC but there are numerous other options including to make for a RPi and RPi3 so I created a Raspbian SD card and tried to install the driver as mentioned above by Iridium. Making for RPi3 the first error was that /lib/modules/4.14.79-v7+/build could not be found so created the "build" directory which was not a good start!!

    Typing "make " again:-

    pi@raspberrypi:~/Downloads/rtl8821CU-master $ make

    /bin/sh: 1: bc: not found

    make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.14.79-v7+/build M=/home/pi/Downloads/rtl8821CU-master modules

    make[1]: Entering directory '/lib/modules/4.14.79-v7+/build'

    make[1]: *** No rule to make target 'modules'. Stop.

    make[1]: Leaving directory '/lib/modules/4.14.79-v7+/build'

    Makefile:1923: recipe for target 'modules' failed

    make: *** [modules] Error 2

    This error exceeds my level of incompetence on the subject so gave up!!

    Chris

    Well "systemctl stop kodi" does stop Kodi as it disappears from "top"!

    However "X -verbose 6 > ~/xlog.txt 2>&1" produces the following in xlog.txt:-

    _XSERVTransTransNoListen: unable to find transport: tcp

    Failed to disable listen for tcp transport(EE)

    Fatal server error:

    (EE) Server is already active for display 0

    If this server is no longer running, remove /tmp/.X0-lock

    and start again.

    (EE)

    (EE)

    Please consult the The X.Org Foundation support

    at X.Org

    for help.

    (EE)


    I now think that previously I used xrandr and on the problem TV it thinks these are the only supported refresh rates:-

    1920x1080 24.00 23.98

    LibreElec does not seem to support either cvt or gtf to create a suitable modeline!

    There are a couple of web sites which create a "modeline" which give slightly different values. However in the end I copied the Intel version of the xorg.conf I created on another computer and changed the driver name to "Radeon" copied it to .config and now have 1920x1080p@50Hz!!

    Thanks .

    I have been using Open/LibreElec for several years and to me that is Kodi and have never run it on any other OS. When the commands from the Kodi Wiki didnt work it took quite a while to remember that Kodi runs on Linux and those commands were for Ubuntu!

    Thanks.

    All I want to do is create a "1920x1080@50p" mode

    As a work around I am trying to modify the Intel xorg.conf I have using info on these Kodi pages:-

    Configuring resolution via xorg.conf - Official Kodi Wiki

    HOW-TO setup XBMC and Linux with correct resolution (xorg.conf)

    I can create a basic xorg.conf with:-" Xorg :1 -configure" but most of it is no use!

    Trying to build a modeline I need to stop Kodi first.

    Ignoring "sudo" which is not needed neither of these commands work on Libreelec

    "sudo stop xbmc"

    "sudo /etc/init.d/xbmc-live stop"

    Is there a way to stop Kodi so I can run :- "X -verbose 6 > ~/xlog.txt 2>&1" to get the modeline data?

    Chris

    My AMD powered Nettop PC display settings for 1080p dont give me a 50Hz refresh rate options of only 23.98Hz, 24Hz & 30Hz. When I had the same problems with a similar Intel box the solution was found on an Openelec web page which involved creating an xorg.conf file in the .config directory. I think there were sample Intel, Nvidia and AMD files but the page has now been deleted and Google hasn't found me any useful solutions. I seem to remember its a problem with the particular TV not correctly informing what modes it can do!

    Chris

    Thanks! Unfortunately all the command does is remove the 1080p x 30Hz option in Kodi!

    Checking the TV manual the HDMI connections are supposed to support 1080p at 24Hz, 50Hz & 60Hz.

    The TV displays the resolution for about 1/2 second and the RPi2 running LibreElec 8.0 is definitely running at 1080p x 50Hz as set in Kodi.

    I now have memories of using xrandr and cvt to define a resolution a year or two ago. All I can think is that before I discovered OpenElec I was using Kodi on Ubuntu and had this same problem on the two nettop clients. Unfortunately neither cvt or gtf seem to work on LibreElec to produce the modeline.

    For comparison this is output when my old original Kodi Pentium4/Nvidia 210 Video client is connected to the same TV which runs at 1080p x 50Hz.

    LibreELEC (official) Version: 7.0.2()
    LibreELEC6:~ # xrandr
    Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 8192 x 8192
    DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
    VGA-0 disconnected (normal left inverted right x axis y axis)
    DVI-I-1 disconnected (normal left inverted right x axis y axis)
    HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 890mm x 500mm
    1920x1080 60.05 + 59.94 50.00* 23.97 60.00 50.04
    1440x480 60.05
    1280x720 60.00 59.94 50.00
    720x576 50.00 50.08
    720x480 59.94 60.05
    640x480 59.94 59.93
    LibreELEC6:~ #

    I have only just noticed that my satellite set top box connected to the other HDMI connection runs at 1080i but there is no option to change this in the box setup. The simple work around seems to be to resort to 1080i x 25 Hz as I cannot detect any problems with the picture and the TV detects it as 1080i x 50Hz.

    Thanks for the help

    Chris

    TV is Sharp LC-40sh340K

    HDMI connection. Both HDMI behave the same

    libreelec:~ # xrandr
    Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
    DP1 disconnected primary (normal left inverted right x axis y axis)
    DP2 disconnected (normal left inverted right x axis y axis)
    HDMI1 disconnected (normal left inverted right x axis y axis)
    HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 890mm x 500mm
    1920x1080i 60.00*+ 50.00 59.94
    1920x1080 24.00 23.98
    1280x720 60.00 50.00 59.94
    1440x480i 59.94
    720x576 50.00
    720x576i 50.00
    720x480 60.00 59.94
    720x480i 60.00 59.94
    640x480 60.00 59.94
    VGA1 disconnected (normal left inverted right x axis y axis)
    VIRTUAL1 disconnected (normal left inverted right x axis y axis)
    libreelec:~ #

    Thanks Chris

    Is it possible to add or force a 50HZ refresh rate when not listed under Settings > System > Display?

    I have an Intel Celeron and a AMD E450 Nettop PCs and with any version of LibreElec including 8.0 both only offer the refresh rates 23.98Hz, 24Hz & 30Hz at 1080p resolution when connected to my Sharp TV. The same PCs offer the full range of refresh rate up to 60 Hz when connected to other TVs at 1080p

    If I install Windows on the same PCs connected to the Sharp TV the full range of refresh rates are on offer up to 60 HZ at 1080p.

    If I install Linux (Ubuntu) on one of the PCs I am only offered 23.98Hz, 24Hz & 30Hz at 1080p resolution so looks like a Linux problem!

    However my RPi2 running any version of LibreElec connected to the Sharp TV at 1080p, 50Hz refresh is one of options.

    Chris