Select a lower resolution (1080p) on the GUI settings. LE will temporary switch to higher resolutions at playback time.
Ok, that should be good enough, thank you very much
Select a lower resolution (1080p) on the GUI settings. LE will temporary switch to higher resolutions at playback time.
Ok, that should be good enough, thank you very much
For what? 4K material usually doesn't provide 60FPS.
PS: Read the RPi release notes.
Sure, but the UI is laggy in 24 FPS and especially the mouse cursor. I read the notes, tried "hdmi_enable_4kp60=1" but it didn't work and my TV doesn't have the UltraHD Deep Color anywhere and my there's nothing to choose from higher than 1920x1080 in the whitelist in settings as written in wiki about 4k configuration.
Display MoreI am in the lucky situation that the combination Argon One + Pi4 worked flawless out-of-the box. According to the PiHut documentation it seems to make a difference which HDMI port is in use.
https://support.thepihut.com/hc/en-us/artic…-Raspberry-Pi-4
With LibreELEC 11.0.3., I get vc4-hdmi-0 as primary audio device, but my cable chain is (Pi4)Argon One M2 -> AVR-> TV (1920x1080). I don't know if it's only because the auto-detection of your displays EDID is currently not working right, but it looks to me that your HDMI cable is connected to the second HDMI port.
HDMI can be erroneous, because of many pitfalls. VLouis and Da Flex comments are directing to the most well-known root causes of issues with EDID, handshake, maximum transfer speed (4K related) and so on.
- bad cabling (cheap manufactured cables, not certified, not 4K ready ...)
- buggy software/hardware at display device or AVR (TV, monitor, projector)
- production issue of circuit board in the Argon One case
- driver issue
- high frequency emitting devices in the near like USB3, WLAN
...
Additional I had made the experience that a powerless device which is connected at the same time to the AVR via HDMI can disturb CEC, because it seems to pulls down the +5V or the signal level at HDMI.
The Argon One casing seems not free of additional issues, some users had to force the EDID information. Do you have tested yet the 4 lines at the same time in your config.txt?
ThreadRPI4 No HDMI Sound using Argon One Case
Just got my RPI 8GB today and flashed LibreELEC on it and installed Argon One script on it. I have already set hdmi_drive=2 and there is still no sound. When I switch to Analogue and plug in a headphones and switch the Audio Output Device to HDMI / HDMI + Analog, I get sound only on the headphones . When I disassembled and used the RPI4 without the case, the audio seemed to work fine. This only happens when it is connected to the Argon One Case. Really appreciate any help
Kodi Log: …prispitherJune 1, 2020 at 4:22 PM
I tested the lines you wrote but it changed the max resolution to 1920x1080p, there is no 4k option. I found that you can set the resolution manually so I tried this:
disable_overscan=1
framebuffer_width=3840 framebuffer_height=2160
max_framebuffer_width=3840
max_framebuffer_height=2160
#hdmi_ignore_edid=0xa5000080
hdmi_pixel_freq_limit=400000000
hdmi_group=2
hdmi_mode=87
hdmi_timings=3840 1 48 32 80 2160 1 3 5 54 0 0 0 24 0 211190000 3
The resolution changed to 3840x2160 with 24Hz refresh rate. When I tried to change it to 60 FPS in the code but it didn't do anything, still 24FPS.
Hi, It's look like EDID (display detection) issue, ensure always to be the display powered first, check the HDMI connection...
After you got the display worked well, it's a good idea also to save the EDID data in LE, use the "getedid create" command in SSH.
I fixed the sound by adding "hdmi_drive=2" but nothing seems to be working on the 4k resolution. I also added "hdmi_force_hotplug=1" so I don't have to turn the screen on and then the RPi. The "hdmi_enable_4kp60=1" didn't work for the 4k, it still shows max 1024x768. Everything worked on LE 10.0.3 but I don't remember how I archieved that .
Here is my config.txt:
and distroconfig.txt:
Maybe just one more question, since I did the clean installation of LE 11.03 the screen resolution and sound got messed up. It only shows 1024x768, I need it to be 4k. The sound doesn't work either via HDMI, I edited the config.txt, tried "dtparam=audio=on", there were more options: ALSA: bcm2835 HDMI1. bcm2835 HDMI1 etc. and non of that worked. Does anybody know how to configure this?
Display MorePlease be aware:
I'm not a developer of KODI addons. This is only a result of someone who had the wish to get the Add-on work again with LibreELEC 10 and later.
The original sources are from there: GitHub Argon40Tech
and here: Installation package version 0.0.1
The installation process will try to add 3 lines to the config.txt to enable the needed modules for I2C and UART. This part is not bullet proofed, because it looks only for the first line. It skippes the needed modification if the line "dtparam=i2c=on" is already there. Therefore it could be better to make a backup of /flash/config.txt before to see the different.
A few things to do (The first 3 steps in square brackets are only optional, if the dependencies can not be resolved automatically):
- [ install RPi Tools (LibreELEC Repo -> Program Add-ons) ]
- [ install System Tools (LibreELEC Repo -> Program Add-ons) ]
- [ Reboot (necessary before installing the Argon Add-on so that the system tools work properly) ]
- upload the attached zip to /tmp, /storage or another place where you have access via KODI
- Allow installation of Add-ons from external sources:
- Enable "Settings->System->Addons->Unknown sources".
- in the main menu within Add-ons select "Install from ZIP file", confirm the security question and switch to the folder where you uploaded the zip
- select the ZIP file and press OK
- after installation: Ignore the "Device Configuration Error" teaser message and reboot, so that the modules for UART and I2C are activated
Within Add-ons, the ArgonForty Device Configuration Add-on should be available now. There you can configure the fan settings and the shutdown should work now. Please be patient, it will take a few seconds for the LED to turn off.
That does the trick the red LED turns off after shutdown command from GUI (I didn't test it with SSH), I can turn Rpi back on after that and the fan control also works. All of that is working under LE 11.0.3 version. I want to thank you very much for the solution as well as I want to thank everyone else for their answers, what a great community, I've never seen that before
So shutting down from GUI hangs, but shutting down from SSH works as expected.
Both tested without the Argon One case. Are those statements correct?
If yes, then I'll ping the devs to have a look.
It shutdowns ok with SSH or from GUI. The only thing is the red LED that still keeps turned on preveting me from turn the Rpi again back on after shutdown - I have to manually press the button for few seconds.
Thanks for the log.
- Login by SSH, and use the poweroff command. Does that work correctly?
- I've seen a Bluetooth error at the log. Not sure whether it's relevant, but disable Bluetooth, and try again.
Yes, the poweroff command is working ok via SSH. I don't think that bluetooth is has something in coincidence with it
myshit ,
You will need some additional scripts that are part of the Argon Pi addon. Since the add-on was no longer maintained after the initial commit on GitHub, I ported it myself to make it work with LibreElec 10+ two years ago. I haven't touched this since then, but it still works with LibreElec 11 and you can also configure the fan speed.
I'd have to look up the git repo and installation package. If my newly created user allows this at all, I could make it available here.
That sounds really good. If I could also control the fan speed it would be a nice bonus since this doesn't work too (but since the CPU load is not usually very high, the passive "cooler" (case) handles ut). So, you're saying, that it could resolve the full shutdown problem? If you would be so kind and post the repo and some instructions with it i would really appreciate it.
I don't see any related errors at the log. Maybe you should create another one, because logging was just activate during that session.
Ok, I did that, I restarted it several times, here it is:
To access files from ext4 partition: download a "live linux" like Ubuntu (or Xubuntu, is smaller), write it to a USB stick and run it from USB (without install). The easyest way is installing the "Ventoy" boot loader to a USB stick and booting the "iso" file directly (or almost any bootable iso).
About the RPi "full shutdown", I don't know in case of RPi4, but I measured once the power consumption of my RPi3B and was around 4-5W when playing video file. So if you too using daily your RPi, I don't know if worth the effort to "shutdown" it every times.
I already downloaded "Linux reader" utility for Windows and accessed the ext4 partition. I measured the Rpi4 consumption too, it was very similar to Rpi3 but sometimes I don't turn it on like for a week so it's not necessary to keep it powerd on. Also every watt counts you know - some smart things, routers, standby device etc, it adds up. I am also curious what solution can resolve this, it could be useful also useful in some other future projects and I am always happy to expand my knowledge.
The STORAGE partition (/storage) is an EXT4 file system, so you need a tool to view EXT4 on Windows.
Your last session is recorded at kodi.old.log, your current session at kodi.log.
pastekodi only uploads kodi.log. Unfortunately that's not the one with the shutdown recordings.
Ok, this is the contents of the kodi.old file:
That's the log of your current session, which lacks the shutdown recordings.
Logs are at /storage/.kodi/temp. We need one with a shutdown attempt.
I can't access the file nor with ssh or from Windows PC when I remove the SD card. How can I do that? I turned on the logging before last shutdown like that: Settings>System>Logging>Enable debug logging, shouldn't it be in the log file when I use pastekodi?
Important: Now don't use the Argon One case, until we found the shutdown issue.
Activate debug logging at GUI, and try to shutdown from GUI again.
- If you still have SSH after that, you can use pastekodi to upload kodi.log, and post the resulting link on the forum.
- If you don't have SSH after the shutdown attempt, remove power, remove microSD, and copy the kodi.log content from microSD to PasteBin. Then post the link.
I didn't have SSH access, it shutted down completely. I couldn't find kodi.log when I've taken out the SD card (Windows PC) so I turned the Raspi back on and got the log file from SSH if that's ok.
Here it is: http://ix.io/4C4p
Remove the case, and shutdown from GUI. If RPi shuts down correctly, then your case is the problem.
If it still hangs without the case, then your microSD eventually has a corrupted file system, and I suggest to install from scratch.
I tried it without the case and with clean install, but the results are still the same.
Use the power button of your case instead, and add dtoverlay=gpio-shutdown to config.txt.
Ok, I tried that, it's better than holding the button for 5 seconds and waiting untill the red led turns off but is it safe to do so? Will the system poweroff gracefully without corruption of any data on the SD card? I mean - it does the same thing even when I delete the "dtoverlay=gpio-shutdown" line in config.txt - I have to keep the button pressed for about 3 seconds and then screen goes black and red led turns off.
Well, is there any other safe way to do this without pressing the button on the case, like somehow reprogram the "Power off system" in the dialog window?
Hello, I've been searching multiple forums to find out how can I completely shutdown my Raspi 4b but nothing seemed to solve my issue:
I am running LibreELEC 10.0.3 and when I hit "s" on keyboard and select "Power off system" the screen goes black, everything seems ok - but the red LED on the Raspberry blinks once and then it stays on. So when I need to turn it on again I have to hold the power button on the case about 5 seconds to completely turn it off. Is there any solution to shut it down completely from the default dialog window? I am not very experienced with Linux overall so if someone knows any solution, please keep it "step by step" .
Thank's for any answers