User avatar
Gavinmc42
Posts: 2130
Joined: Wed Aug 28, 2013 3:31 am

Re: Raspberry Pi and 4k @ 15Hz

Wed Apr 11, 2018 5:48 am

Anyone tried this on the Pi3B+ yet?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
mihalop
Posts: 23
Joined: Thu Sep 03, 2015 7:04 am
Contact: Website

Re: Raspberry Pi and 4k @ 15Hz

Wed Apr 11, 2018 5:50 am

Actually, no, not yet. Should work though. I will try it out today and get back to you within a few hours.
Yodeck - Digital Signage on the Raspberry Pi
Free Raspberry Pi 3 Player for all screens on Annual Plan

User avatar
Gavinmc42
Posts: 2130
Joined: Wed Aug 28, 2013 3:31 am

Re: Raspberry Pi and 4k @ 15Hz

Wed Apr 11, 2018 8:11 am

https://github.com/sakaki-/gentoo-on-rpi3-64bit

Try it with this, it is running on my Pi3B+ but I don't have a 4K screen yet.
Need excuse to get one :lol:
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
mihalop
Posts: 23
Joined: Thu Sep 03, 2015 7:04 am
Contact: Website

Re: Raspberry Pi and 4k @ 15Hz

Thu Apr 12, 2018 6:54 pm

Tested Pi 3 Model B+ on the same Samsung 4K, works just like with Model B.
Yodeck - Digital Signage on the Raspberry Pi
Free Raspberry Pi 3 Player for all screens on Annual Plan

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 20741
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspberry Pi and 4k @ 15Hz

Fri Apr 13, 2018 1:00 pm

mihalop wrote:
Thu Apr 12, 2018 6:54 pm
Tested Pi 3 Model B+ on the same Samsung 4K, works just like with Model B.
SoC has exactly the same video HW on it, so all Pi's should be able to work the same as all others in that respect.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

lhajek
Posts: 2
Joined: Tue May 15, 2018 5:19 am

Re: Raspberry Pi and 4k @ 15Hz

Tue May 15, 2018 5:26 am

Hi, I try to connect in 4k or 2k via HDMI TV LG 58UF8307.
But either TV reports that the input can not be displayed or works at 1080p 60Hz resolution.
Does anyone have experience with this or similar device from LG?
What to try?

dominickp
Posts: 5
Joined: Wed Jun 06, 2018 3:39 pm

Re: Raspberry Pi and 4k @ 15Hz

Wed Jun 06, 2018 3:41 pm

I've tried the following settings:

Code: Select all

disable_overscan=1
hdmi_ignore_edid=0xa5000080
hdmi_cvt 3840 2160 15
framebuffer_width=3840
framebuffer_height=2160
hdmi_group=2
hdmi_mode=87
hdmi_pixel_freq_limit=400000000
max_framebuffer_width=3840
max_framebuffer_height=2160
But my Samsung 4k TV (UN40MU7000FXZA) says "Mode Not Supported - Resolution not supported".

I checked the specs for this TV and this resolution should work. Any ideas?

User avatar
Gavinmc42
Posts: 2130
Joined: Wed Aug 28, 2013 3:31 am

Re: Raspberry Pi and 4k @ 15Hz

Thu Jun 07, 2018 12:36 am

Could it be, it does not go down to 15Hz?
Checking the manual the lowest freq I see is 24Hz.
A 4K TV might have less options than a 4K monitor?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

lhajek
Posts: 2
Joined: Tue May 15, 2018 5:19 am

Re: Raspberry Pi and 4k @ 15Hz

Thu Jun 07, 2018 6:15 am

On LG 58UF8307 work this setting:

Code: Select all

disable_overscan=1
hdmi_ignore_edid=0xa5000080
hdmi_cvt 3840 2160 24
framebuffer_width=3840
framebuffer_height=2160
hdmi_group=2
hdmi_mode=87
hdmi_pixel_freq_limit=400000000
max_framebuffer_width=3840
max_framebuffer_height=2160
But if I run a browser with running charts, the picture is almost black and only a moment's full picture. Probably too high refresh rate on RPi

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5161
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Raspberry Pi and 4k @ 15Hz

Thu Jun 07, 2018 2:27 pm

lhajek wrote:
Thu Jun 07, 2018 6:15 am
But if I run a browser with running charts, the picture is almost black and only a moment's full picture. Probably too high refresh rate on RPi
You probably need to overclock more to avoid this. Increasing core_freq and sdram_freq may help.

dominickp
Posts: 5
Joined: Wed Jun 06, 2018 3:39 pm

Re: Raspberry Pi and 4k @ 15Hz

Thu Jun 07, 2018 4:02 pm

Here is some diagnostic output. I don't see mode 87 listed under DMT... It's definitely a 4k TV though...

Code: Select all

[email protected]:~ $ /opt/vc/bin/tvservice -m CEA
Group CEA has 16 modes:
  (prefer) mode 1: 640x480 @ 60Hz 4:3, clock:25MHz progressive
           mode 2: 720x480 @ 60Hz 4:3, clock:27MHz progressive
           mode 3: 720x480 @ 60Hz 16:9, clock:27MHz progressive
           mode 4: 1280x720 @ 60Hz 16:9, clock:74MHz progressive
           mode 5: 1920x1080 @ 60Hz 16:9, clock:74MHz interlaced
           mode 7: 720x480 @ 60Hz 16:9, clock:27MHz x2 interlaced
  (native) mode 16: 1920x1080 @ 60Hz 16:9, clock:148MHz progressive
           mode 17: 720x576 @ 50Hz 4:3, clock:27MHz progressive
           mode 18: 720x576 @ 50Hz 16:9, clock:27MHz progressive
           mode 19: 1280x720 @ 50Hz 16:9, clock:74MHz progressive
           mode 20: 1920x1080 @ 50Hz 16:9, clock:74MHz interlaced
           mode 22: 720x576 @ 50Hz 16:9, clock:27MHz x2 interlaced
           mode 31: 1920x1080 @ 50Hz 16:9, clock:148MHz progressive
           mode 32: 1920x1080 @ 24Hz 16:9, clock:74MHz progressive
           mode 33: 1920x1080 @ 25Hz 16:9, clock:74MHz progressive
           mode 34: 1920x1080 @ 30Hz 16:9, clock:74MHz progressive
[email protected]:~ $ /opt/vc/bin/tvservice -m DMT
Group DMT has 18 modes:
           mode 4: 640x480 @ 60Hz 4:3, clock:25MHz progressive
           mode 5: 640x480 @ 72Hz 4:3, clock:31MHz progressive
           mode 6: 640x480 @ 75Hz 4:3, clock:31MHz progressive
           mode 9: 800x600 @ 60Hz 4:3, clock:40MHz progressive
           mode 10: 800x600 @ 72Hz 4:3, clock:50MHz progressive
           mode 11: 800x600 @ 75Hz 4:3, clock:49MHz progressive
           mode 16: 1024x768 @ 60Hz 4:3, clock:65MHz progressive
           mode 17: 1024x768 @ 70Hz 4:3, clock:75MHz progressive
           mode 18: 1024x768 @ 75Hz 4:3, clock:78MHz progressive
           mode 21: 1152x864 @ 75Hz 4:3, clock:108MHz progressive
           mode 28: 1280x800 @ 60Hz 16:10, clock:83MHz progressive
           mode 35: 1280x1024 @ 60Hz 5:4, clock:108MHz progressive
           mode 36: 1280x1024 @ 75Hz 5:4, clock:135MHz progressive
           mode 47: 1440x900 @ 60Hz 16:10, clock:106MHz progressive
           mode 58: 1680x1050 @ 60Hz 16:10, clock:146MHz progressive
           mode 81: 1366x768 @ 60Hz 16:9, clock:85MHz progressive
           mode 83: 1600x900 @ 60Hz 16:9, clock:108MHz progressive
           mode 85: 1280x720 @ 60Hz 16:9, clock:74MHz progressive
[email protected]:~ $ /opt/vc/bin/tvservice -s
state 0x12000a [HDMI CEA (1) RGB full 4:3], 640x480 @ 60.00Hz, progressive
[email protected]:~ $ /opt/vc/bin/tvservice -d edid.dat; /opt/vc/bin/edidparser edid.dat
Written 256 bytes to edid.dat
Enabling fuzzy format match...
Parsing edid.dat...
HDMI:EDID version 1.3, 1 extensions, screen size 89x50 cm
HDMI:EDID features - videodef 0x80 !standby !suspend !active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF
HDMI:EDID found monitor range descriptor tag 0xfd
HDMI:EDID monitor range offsets: V min=0, V max=0, H min=0, H max=0
HDMI:EDID monitor range: vertical is 24-75 Hz, horizontal is 15-81 kHz, max pixel clock is 300 MHz
HDMI:EDID monitor range does not support GTF
HDMI:EDID found monitor name descriptor tag 0xfc
HDMI:EDID monitor name is SAMSUNG
HDMI:EDID failed to find a matching detail format for 3840x2160p hfp:176 hs:88 hbp:296 vfp:8 vs:10 vbp:72 pixel clock:297 MHz
HDMI:EDID calculated refresh rate is 30 Hz
HDMI:EDID guessing the format to be 3840x2160p @30 Hz
HDMI:EDID found unknown detail timing format: 3840x2160p hfp:176 hs:88 hbp:296 vfp:8 vs:10 vbp:72 pixel clock:297 MHz
HDMI:EDID found preferred CEA detail timing format: 1920x1080p @ 60 Hz (16)
HDMI:EDID established timing I/II bytes are BD EF 80
HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 5, 640x480p @ 72 Hz in established timing I/II
HDMI:EDID found DMT format: code 6, 640x480p @ 75 Hz in established timing I/II
HDMI:EDID found DMT format: code 9, 800x600p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 10, 800x600p @ 72 Hz in established timing I/II
HDMI:EDID found DMT format: code 11, 800x600p @ 75 Hz in established timing I/II
HDMI:EDID found DMT format: code 16, 1024x768p @ 60 Hz in established timing I/II
HDMI:EDID found DMT format: code 17, 1024x768p @ 70 Hz in established timing I/II
HDMI:EDID found DMT format: code 18, 1024x768p @ 75 Hz in established timing I/II
HDMI:EDID found DMT format: code 36, 1280x1024p @ 75 Hz in established timing I/II
HDMI:EDID standard timings block x 8: 0x714F 81C0 8100 8180 9500 A9C0 B300 0101
HDMI:EDID found DMT format: code 21, 1152x864p @ 75 Hz (4:3) in standard timing 0
HDMI:EDID found DMT format: code 85, 1280x720p @ 60 Hz (16:9) in standard timing 1
HDMI:EDID found DMT format: code 28, 1280x800p @ 60 Hz (16:10) in standard timing 2
HDMI:EDID found DMT format: code 35, 1280x1024p @ 60 Hz (5:4) in standard timing 3
HDMI:EDID found DMT format: code 47, 1440x900p @ 60 Hz (16:10) in standard timing 4
HDMI:EDID found DMT format: code 83, 1600x900p @ 60 Hz (16:9) in standard timing 5
HDMI:EDID found DMT format: code 58, 1680x1050p @ 60 Hz (16:10) in standard timing 6
HDMI:EDID parsing v3 CEA extension 0
HDMI:EDID monitor support - underscan IT formats:yes, basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:0
HDMI:EDID found CEA detail timing format: 1920x1080i @ 50 Hz (20)
HDMI:EDID found DMT detail timing format: 1366x768p @ 60 Hz (81)
HDMI:EDID does not understand CEA format code 95
HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz
HDMI:EDID found CEA format: code 31, 1920x1080p @ 50Hz
HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz
HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz
HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz
HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz
HDMI:EDID found CEA format: code 32, 1920x1080p @ 24Hz
HDMI:EDID found CEA format: code 33, 1920x1080p @ 25Hz
HDMI:EDID found CEA format: code 34, 1920x1080p @ 30Hz
HDMI:EDID does not understand CEA format code 93
HDMI:EDID does not understand CEA format code 94
HDMI:EDID does not understand CEA format code 98
HDMI:EDID does not understand CEA format code 99
HDMI:EDID does not understand CEA format code 100
HDMI:EDID found CEA format: code 7, 1440x480i @ 60Hz
HDMI:EDID found CEA format: code 22, 1440x576i @ 50Hz
HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz
HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz
HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48 kHz, sample size: 16|20|24 bits
HDMI:EDID found audio format 6 channels AC3, sample rate: 32|44|48 kHz, bitrate: 640 kbps
HDMI:EDID found audio format 6 channels DTS, sample rate: 48 kHz, bitrate: 1536 kbps
HDMI:EDID found audio format 8 channels Dobly Digital+, sample rate: 32|44|48 kHz, codec define: 0
HDMI:EDID found Video Capability DB length 2
HDMI:EDID video capability: CE:3 IT:3 PT:0 QS:0
HDMI:EDID extended data block tag 0x05 length 3 not supported
HDMI:EDID found HDMI VSDB length 14
HDMI:EDID HDMI VSDB has physical address 1.0.0.0
HDMI:EDID HDMI VSDB supports AI:yes, dual link DVI:no
HDMI:EDID HDMI VSDB deep colour support - 48-bit:no 36-bit:yes 30-bit:yes DC_yuv444:yes
HDMI:EDID HDMI VSDB max TMDS clock 300 MHz
HDMI:EDID HDMI VSDB does not support content type
HDMI:EDID HDMI VSDB supports extended resolutions 1,2,3,4
HDMI:EDID extended data block tag 0x06 length 3 not supported
HDMI:EDID extended data block tag 0x0e length 5 not supported
HDMI:EDID adding mandatory support for CEA (1) 640x480p @ 60Hz
HDMI:EDID adding mandatory support for CEA (2) 720x480p @ 60Hz
HDMI:EDID adding mandatory support for CEA (17) 720x576p @ 50Hz
HDMI:EDID filtering formats with pixel clock > 162 MHz or h. blanking > 1023
HDMI:EDID best score mode initialised to CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 0)
HDMI:EDID best score mode is now CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 61864)
HDMI:EDID best score mode is now CEA (2) 720x480p @ 60 Hz with pixel clock 27 MHz (score 66472)
HDMI:EDID CEA mode (3) 720x480p @ 60 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID best score mode is now CEA (4) 1280x720p @ 60 Hz with pixel clock 74 MHz (score 135592)
HDMI:EDID DMT mode (4) 640x480p @ 60 Hz with pixel clock 25 MHz has a score of 18432
HDMI:EDID best score mode is now CEA (5) 1920x1080i @ 60 Hz with pixel clock 74 MHz (score 149416)
HDMI:EDID DMT mode (5) 640x480p @ 72 Hz with pixel clock 31 MHz has a score of 22118
HDMI:EDID DMT mode (6) 640x480p @ 75 Hz with pixel clock 31 MHz has a score of 23040
HDMI:EDID CEA mode (7) 1440x480i @ 60 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID DMT mode (9) 800x600p @ 60 Hz with pixel clock 40 MHz has a score of 28800
HDMI:EDID DMT mode (10) 800x600p @ 72 Hz with pixel clock 50 MHz has a score of 34560
HDMI:EDID DMT mode (11) 800x600p @ 75 Hz with pixel clock 49 MHz has a score of 36000
HDMI:EDID best score mode is now CEA (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz (score 5398248)
HDMI:EDID DMT mode (16) 1024x768p @ 60 Hz with pixel clock 65 MHz has a score of 47185
HDMI:EDID CEA mode (17) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID DMT mode (17) 1024x768p @ 70 Hz with pixel clock 75 MHz has a score of 55050
HDMI:EDID CEA mode (18) 720x576p @ 50 Hz with pixel clock 27 MHz has a score of 66472
HDMI:EDID DMT mode (18) 1024x768p @ 75 Hz with pixel clock 78 MHz has a score of 58982
HDMI:EDID CEA mode (19) 1280x720p @ 50 Hz with pixel clock 74 MHz has a score of 117160
HDMI:EDID CEA mode (20) 1920x1080i @ 50 Hz with pixel clock 74 MHz has a score of 4732360
HDMI:EDID DMT mode (21) 1152x864p @ 75 Hz with pixel clock 108 MHz has a score of 99649
HDMI:EDID CEA mode (22) 1440x576i @ 50 Hz with pixel clock 27 MHz has a score of 45736
HDMI:EDID DMT mode (28) 1280x800p @ 60 Hz with pixel clock 83 MHz has a score of 86440
HDMI:EDID CEA mode (31) 1920x1080p @ 50 Hz with pixel clock 148 MHz has a score of 232360
HDMI:EDID CEA mode (32) 1920x1080p @ 24 Hz with pixel clock 74 MHz has a score of 124532
HDMI:EDID CEA mode (33) 1920x1080p @ 25 Hz with pixel clock 74 MHz has a score of 128680
HDMI:EDID CEA mode (34) 1920x1080p @ 30 Hz with pixel clock 74 MHz has a score of 149416
HDMI:EDID DMT mode (35) 1280x1024p @ 60 Hz with pixel clock 108 MHz has a score of 103643
HDMI:EDID DMT mode (36) 1280x1024p @ 75 Hz with pixel clock 135 MHz has a score of 98304
HDMI:EDID DMT mode (47) 1440x900p @ 60 Hz with pixel clock 106 MHz has a score of 102760
HDMI:EDID DMT mode (58) 1680x1050p @ 60 Hz with pixel clock 146 MHz has a score of 130840
HDMI:EDID DMT mode (81) 1366x768p @ 60 Hz with pixel clock 85 MHz has a score of 4062945
HDMI:EDID DMT mode (83) 1600x900p @ 60 Hz with pixel clock 108 MHz has a score of 111400
HDMI:EDID DMT mode (85) 1280x720p @ 60 Hz with pixel clock 74 MHz has a score of 80296
HDMI:EDID preferred mode remained as CEA (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz
HDMI:EDID has HDMI support and audio support
edid_parser exited with code 0
[email protected]:~ $

dominickp
Posts: 5
Joined: Wed Jun 06, 2018 3:39 pm

Re: Raspberry Pi and 4k @ 15Hz

Thu Jun 07, 2018 4:14 pm

Gavinmc42 wrote:
Thu Jun 07, 2018 12:36 am
Could it be, it does not go down to 15Hz?
Checking the manual the lowest freq I see is 24Hz.
A 4K TV might have less options than a 4K monitor?
You were right! 24Hz did it!

Code: Select all

disable_overscan=1

hdmi_ignore_edid=0xa5000080
hdmi_group=2
hdmi_mode=87
hdmi_cvt 3840 2160 24

config_hdmi_boost=7

framebuffer_width=3840
framebuffer_height=2160
max_framebuffer_width=3840
max_framebuffer_height=2160
hdmi_pixel_freq_limit=400000000
Thank you!

dominickp
Posts: 5
Joined: Wed Jun 06, 2018 3:39 pm

Re: Raspberry Pi and 4k @ 15Hz

Thu Jun 07, 2018 4:37 pm

Now the problem is that on both displays, I have a blinking pink and blue line running the length of the bottom of the display. I tried to overscan it out of the frame but that doesn't seem to work. Hmmm :?

User avatar
Gavinmc42
Posts: 2130
Joined: Wed Aug 28, 2013 3:31 am

Re: Raspberry Pi and 4k @ 15Hz

Fri Jun 08, 2018 1:31 am

You probably need to overclock more to avoid this. Increasing core_freq and sdram_freq may help.
Pi3B+ is more overclockable, it runs faster anyway?
How much can it be overclocked and how much can 4K TV's be underclocked?

Probably going to be dependent more on the TV/Monitor's capability to take lower rate input?
Heatsink and fan on the Pi3B+ and try a few to see how fast you can push them.

This would be an edge case application, some will work, some won't?
Test TV on a real 4K SBC and underclock it check minimum freq?

Is there a chip/hardware that takes 15Hz HDMI input and double buffers to 30Hz?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

cookiem6
Posts: 2
Joined: Sat Jun 09, 2018 1:22 pm

Re: Raspberry Pi and 4k @ 15Hz

Sat Jun 09, 2018 1:55 pm

Can please anyone share a running display config for 4K Portrait Mode on Raspberry Pi 3 on Raspbian Sketch?

The topic has been discussed before, but the resources I found were either

(a) related to the Raspberry Pi 2 (here) where the use of xorg config for fbturbo was proposed, which however does not seem to be shipped with Raspbian Sketch anymore...

or (b) not related to full UHD resolution (here)

Thanks,
Kevin

dominickp
Posts: 5
Joined: Wed Jun 06, 2018 3:39 pm

Re: Raspberry Pi and 4k @ 15Hz

Fri Jun 15, 2018 1:33 pm

Anyone have any tips on how to stop the blinking line on the bottom of my screen? I'm really stuck here.

amilino
Posts: 39
Joined: Fri Feb 05, 2016 6:01 pm

Re: Raspberry Pi and 4k @ 15Hz

Thu Oct 18, 2018 7:59 pm

I am running Kodi on top of the Raspbian Stretch latest version. All that connected to my very old TV that is not 4K supported. Now if I run UHD video my Kodi freezes every time and I need to reboot the whole system. What do I need to do to be able to play videos, I don't care if video will be down scaled to some lower resolution, I just want to see the video?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5161
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Raspberry Pi and 4k @ 15Hz

Fri Oct 19, 2018 2:50 pm

amilino wrote:
Thu Oct 18, 2018 7:59 pm
I am running Kodi on top of the Raspbian Stretch latest version. All that connected to my very old TV that is not 4K supported. Now if I run UHD video my Kodi freezes every time and I need to reboot the whole system. What do I need to do to be able to play videos, I don't care if video will be down scaled to some lower resolution, I just want to see the video?
You can't decode 4K videos on a Pi. The hardware is limited to HD (1920x1080) and software decode is far too slow at that resolution.

Return to “Graphics, sound and multimedia”