RPI 4 B 8 GIG Randomly starts buffering

  • Helle there,


    Im very new to all this so bare with me

    I bought a Raspberry Pi 4 Model B / 8GB

    and installed LibreELEC-RPi4.arm-9.2.6.img.gz on it.

    Every now and then a movie located on my nas will stop playing, then i get the loading circle and it continues.

    Wireless or wired is same result.


    Streaming the same files on a wireless tablet works without any problem


    It happens on a 40gig file and it happens on a 175 mb file

    Last time i was playing a small file and the cpu usage was like 38%


    What log file do i need to upload and even more where do i upload it too, as it aint small

    • Official Post

    Create this /storage/.kodi/userdata/advancedsettings.xml:

    Code
    <advancedsettings version="1.0">
        <cache>
            <buffermode>3</buffermode>
        </cache>
    </advancedsettings>
  • well i used ssh and made the xml file with vi.

    rebooted watched a movie and after like 1 hour into the movie i got another buffer ring again.

    • Official Post

    Buffer mode 3 was no buffering. Next we should try to increase buffer size and read factor (details here: advancedsettings.xml ) :

    Code
    <advancedsettings version="1.0">
        <cache>
            <memorysize>2000000000</memorysize> <!-- 2GB buffer size -->
            <buffermode>4</buffermode> <!-- buffer all network filesystems -->
            <readfactor>8.0</readfactor> <!-- doubles the default readfactor -->
        </cache>
    </advancedsettings>