I just bought a Raspberry Pi model 4B. I am trying to set the video output to 4k resolution and 60Hz refresh rate. While I am able to have the output running at 4k resolution (3840x2160 pixels), I am only able to have a refresh rate of 30 Hz. I am unable to set 60Hz output refresh rate. Whenever I try to activate 60Hz through the display settings, my screen turns black and there is a popup message (notification from my On-Screen-Display of the manufacturer of the screen), saying that there is no input signal. After 10 seconds, Raspi 4B reverts to the previous screen settings, which were 4k@30Hz, and the screen is active again.
What I have tried so far: 1.) Run the following command: sudo sh -c "echo hdmi_enable_4kp60=1 >> /boot/config.txt" ... after running this, I was able to select 60Hz in the Display settings. But I am unable to get a signal on my screen with 60Hz.
2.) Run the following command: sudo raspi-config -> Advanced options -> Pi 4 Video Output -> Enable 4Kp60 HDMI And also: sudo raspi-config -> Advanced options -> Pi 4 Video output -> Memory Split -> set to 256MB VRAM (also tried 512MB VRAM, no luck however)
How can I enable 60Hz refresh rate?
Hardware I use: -> Raspberry Pi Model 4B -> Official Raspberry Pi 4 Mini-HDMI to HDMI cable (it says High Speed HDMI cable with Ethernet on the cable itself, so this should be fine?) -> LG 27UK650-W (4k display)
I am thankful for any advice you might have for me.
edit from Oct 13rd, 2019, 20:52UTC:
Today I had some more time to test some stuff. I am able to get a 4k 60 Hz video signal from my Pi 4 on some occasions. I have to replug the HDMI cable into my Pi 4B several times in order to get a signal. I always use HDMI0 (the left mini HDMI connector). I am investigating the behavior on my Pi4 (connected to my computer screen) and at the same time, I use VNC to see whether the Pi is active and running.
During boot sequence I always get a picture with a black screen and the 4 raspberries in the top left corner with 4k resolution. While the Pi 4 continues to boot I always see the desktop via VNC, but my computer screen says 'No signal found' as soon as the Pi 4B is at the desktop. Sometimes replugging the HDMI cable into the Pi 4B helps and I get a 4k@60Hz signal on my screen, but most times I do not get a signal.
I do not know why sometimes it works and other times it does not.
Half an hour ago I went AFK for a while and came back. While the Pi 4B was still running (as I could use it via VNC), my screen just shows a black picture and I do not see the desktop, it just is a plain black image. Yet there was no message on my screen saying that there is no signal, it appears that the Pi 4B just sent a black screen. I had to plug in the HDMI cable several times in order to see the desktop again at 4k and 60Hz.
What I tried by now (additionally to the aforementioned stuff from my original post):
1.) in /boot/config.txt, I activated hdmi_force_hotplug=1 , but this did not solve the problem and there was no signal being sent from the Pi 4B to my computer screen after reboot, as soon as the Pi is on desktop (according to VNC).
2.) in /boot/config.txt, I activated config_hdmi_boost=4 , also tried to set the value to 6 and 9, but it did not solve the problem and there was no signal being sent from the Pi 4B to my computer screen after reboot, as soon as the Pi is on desktop (according to VNC).
3.) tvservice -s state 0xa [HDMI CUSTOM RGB lim 16:9], 3840x2160 @ 60.00Hz, progressive
4.) tvservice -l 1 attached device(s), display ID's are : Display Number 2, type HDMI 0
Note that tvservice -s and tvservice -l show the same output even when I do not connect the Pi 4B to my screen! (is that normal?)
Right now as I am typing this message, it seems the Pi 4B video output just goes crazy. The Pi 4B is responsive via VNC, CPU and GPU temperatures are around 70°C. My computer screen just went black, a few seconds later there was a message appearing, stating "No input signal", screen turns off (energy saving mode), a few seconds later without touching anything, my screen is receiving a signal again and I see a black picture (on VNC, I still see my desktop). This repeated like 5 times. The red LED on the Pi went off and on at random moments (it was not blinking regularly). Now the Pi just turned itself off, I cannot ping him on my network, the power connector is still plugged in but there is no light coming from the LED.
I plugged in my power cable several times, the Pi 4B is not booting, the LED is not going. On the 7th time, the Pi is booting up again.