It’s working pretty well but sometimes its very laggy. Like I press stop on a video playing back from an attached USB HDD and might have to wait 15 seconds for the movie to stop. Other times I get delays when navigating around the settings menus. I am going to do some benchmark tests on my sd card such as the iozone random read/write 4k test. Unless there is other advice about that?
The other thing is I cannot install Samba server. I tried from the app store and got this error:
OSMC Update Error
Error installing smb-app-osmc
Please report this on the osmc forums
I also tried installing from the command line: sudo apt-get install samba smb-app-osmc
I got these errors:
Job for smbd.service failed because a timeout was exceeded.
dpkg: error processing package samba (–configure):
installed samba package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
When I run systemctl status smbd.service I get this error:
Loaded: loaded (/lib/systemd/system/smbd.service; disabled; vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/smbd.service.d
`-smb-app-osmc.conf
Active: failed (Result: timeout) since Sun 2021-09-26 01:41:42 BST; 29min ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 1673 (code=killed, signal=TERM)
Status: “smbd: ready to serve connections…”
To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.
Depending on the used skin you have to set the settings-level to standard or higher, in summary:
enable debug logging at settings->system->logging
reboot the OSMC device twice(!)
reproduce the issue
upload the log set (all configs and logs!) either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A
publish the provided URL from the log set upload, here
Thanks for your understanding. We hope that we can help you get up and running again shortly.
The drive is bus powered from the Pi4. I was having clicking sounds from that drive recently when it was attached to a different Pi3B+ then I bought a USB multimeter and confirmed the voltage was low from its power supply. Now when I switched to the Pi4 it was getting 5.02 - 5.1V and the drive was spinning up fine and no clicking sounds (except a few seconds after no activity any more… “parking the read head” I think?
So… ok maybe that drive still has issues but I’m not sure because the videos play fine and no funny sounds from the drive or anything like that since I switched to the Pi4. How do people normally play content through Kodi? Should I be using a powered hub or an SSD instead?
It might be my sd card too? I don’t want to buy from the osmc store due to import charges on delivery outside the UK. I’m thinking of getting a Samsung EVO Plus sd card since apparently the random 4k read speed is important. Is the random 4k write speed not so important? I’m wondering if the Sandisk Extreme Pro A1 would be better on the Pi 4? some benchmarks here:
I re-installed OSMC for Pi 4 again on a Samsung Evo Plus 32GB micro sd card and here is my feedback for anyone interested.
It’s working fine now. No more lag in the Kodi User Interface and Samba server installed fine from the App Store. The whole thing was set up in less than half and hour.
I have a movie collection in a 4TB, bus powered, USB HDD attached to the Pi 4 with an official Pi 4 power supply. With this new SD card I don’t have the problem of laggy playback controls. When I press stop… it stops immediately.
I used a USB multi-meter to watch the current and voltage draw by the HDD. It never goes above 680 Amps and the Voltage stays around 5.02 - 5.1V. From my research the Pi 4 can deliver up to 1200A to any one USB port. So in my use case I don’t think it’s necessary to attach an external USB HDD to a separately powered hub. I plan on using only one USB port… for the HDD. Maybe the benefit of a powered hub would be seen over time in less issues and stability and if other peripherals were connected to the Pi.
I’m surprised at how well everything works just because of changing the SD card. I guess the other SD card I used is junk. It’s a Sandisk Ultra 32GB U1, A1 Class 10. Maybe it’s a fake? Well I’m glad I followed the link above to see what SD cards I should be using. Apparently the 4K random read value is most important. I’d be grateful if someone could confirm if 4K random write is important?
The other thing I just realised is I bought the Samsung EVO Plus and not the EVO+
Apparently there is a difference and the EVO Plus is slower than the EVO+
So that’s a bit disappointing, well my OSMC is working fine now that’s the main thing!
I think even with sd cards, a lot of this is samsung branding and there is very little difference in an specs. I like the samsung evo range, but as long as its class 10; I don’t look at the other specs.
I’ve spend a few hours reading up about this stuff and apparently it’s not just the Class 10 you need to look for but also the 4k random read and write numbers.
Jeff Geerling makes SD Card speed benchmarks and in this Github he lists the methods and tools (e.g: iozone) to test sd card performance and how to select one that could make a big difference if you are running OSMC/Kodi on a Pi. SD Cards best suited to a Pi are not always the most expensive either.
Sorry missed that from your previous post, but unless you’re trying to playback movies from the SD card; most of the bench marks are irrelevant. Should get a good responsive GUI/OS on either plus or ‘+’.
My understanding is that when you are navigating the OSMC GUI on your TV and asking it to do things with your attached media that causes a lot of random reads in the Operating System on the sd card in order to co-ordinate with your externally attached media. If your card does those random reads and writes slowly then your experience in the GUI will be painful. And at worst it will crash. I had all that with the Sandisk.
I went to the trouble of running Jeff Geerlings sd card benchmark script on my Samsung EVO Plus 32GB and on the Sandisk Ultra 32GB I had. More information here.
The Samsung numbers are an average of three runs. The Sandisk took > 7 hours so I only did it once!
After all that I ran f3probe on the Sandisk and it told me it is damaged!
I won’t buy another sd card without googling for its benchmarks first. I notice that OSMC don’t publish any benchmarks about its own SD card. We’re just meant to trust them I suppose…