RE: Intel Apollo Lake - 9000h - 2016-12-29
Hi,
with the edid-decode from git, the old one in ubuntu did not get all the details correct
Code: xrandr -d :0 --props | ./edid-decode
Extracted contents:
header: 00 ff ff ff ff ff ff 00
serial number: 34 a9 96 a2 01 01 01 01 00 19
version: 01 03
basic params: 80 80 48 78 0a
chroma info: da ff a3 58 4a a2 29 17 49 4b
established: 20 08 00
standard: 31 40 61 40 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1: 08 e8 00 30 f2 70 5a 80 b0 58 8a 00 ba 88 21 00 00 1e
descriptor 2: 02 3a 80 18 71 38 2d 40 58 2c 45 00 ba 88 21 00 00 1e
descriptor 3: 00 00 00 fc 00 50 61 6e 61 73 6f 6e 69 63 2d 54 56 0a
descriptor 4: 00 00 00 fd 00 17 3d 0f 88 3c 00 0a 20 20 20 20 20 20
extensions: 01
checksum: 21
Manufacturer: MEI Model a296 Serial Number 1684XXXX
Made week 0 of 2015
EDID version: 1.3
Digital display
Maximum image size: 128 cm x 72 cm
Gamma: 2.20
Supported color formats: RGB 4:4:4, YCrCb 4:4:4
First detailed timing is preferred timing
Established timings supported:
640x480@60Hz
1024x768@60Hz
Standard timings supported:
640x480@60Hz
1024x768@60Hz
Detailed mode: Clock 594.000 MHz, 698 mm x 392 mm
3840 4016 4104 4400 hborder 0
2160 2168 2178 2250 vborder 0
+hsync +vsync
Detailed mode: Clock 148.500 MHz, 698 mm x 392 mm
1920 2008 2052 2200 hborder 0
1080 1084 1089 1125 vborder 0
+hsync +vsync
Monitor name: Panasonic-TV
Monitor ranges (GTF): 23-61Hz V, 15-136kHz H, max dotclock 600MHz
Has 1 extension blocks
Checksum: 0x21 (valid)
CEA extension block
Extension version: 3
73 bytes of CEA data
Video data block
VIC 16 1920x1080@60Hz
VIC 31 1920x1080@50Hz
VIC 5 1920x1080i@60Hz
VIC 20 1920x1080i@50Hz
VIC 32 1920x1080@24Hz
VIC 33 1920x1080@25Hz
VIC 34 1920x1080@30Hz
VIC 4 1280x720@60Hz
VIC 19 1280x720@50Hz
VIC 3 720x480@60Hz
VIC 18 720x576@50Hz
VIC 7 1440x480i@60Hz
VIC 22 1440x576i@50Hz
VIC 93 3840x2160@24Hz
VIC 94 3840x2160@25Hz
VIC 95 3840x2160@30Hz
VIC 98 4096x2160@24Hz
VIC 99 4096x2160@25Hz
VIC 100 4096x2160@30Hz
VIC 97 3840x2160@60Hz
VIC 96 3840x2160@50Hz
VIC 102 4096x2160@60Hz
VIC 101 4096x2160@50Hz
Audio data block
Linear PCM, max channels 2
Supported sample rates (kHz): 48 44.1 32
Supported sample sizes (bits): 16
Vendor-specific data block, OUI 000c03 (HDMI)
Source physical address 3.0.0.0
DC_36bit
DC_30bit
DC_Y444
Maximum TMDS clock: 300MHz
Extended HDMI video details:
3D present
3D-capable-VIC mask present
Base EDID image size is aspect ratio
HDMI VIC 0 3840x2160@30Hz
HDMI VIC 1 3840x2160@25Hz
HDMI VIC 2 3840x2160@24Hz
HDMI VIC 3 4096x2160@24Hz
3D: Side-by-side (half, quincunx)
3D: Side-by-side (half, horizontal)
3D: Top-and-bottom
3D: Frame-packing
3D VIC indices: 2 3 4 7 8
VIC index 0 supports top-and-bottom
VIC index 1 supports top-and-bottom
VIC index 0 supports unknown
VIC index 1 supports unknown
Vendor-specific data block, OUI c45dd8
Extended tag: video capability data block
YCbCr quantization: No Data (0)
RGB quantization: Selectable (via AVI Q) (1)
PT scan behaviour: No Data (0)
IT scan behaviour: Always Underscanned (2)
CE scan behaviour: Support both over- and underscan (3)
Extended tag: Colorimetry data block
xvYCC601
xvYCC709
sYCC601
AdobeYCC601
AdobeRGB
Extended tag: YCbCr 4:2:0 capability map data block
Underscans PC formats by default
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
0 native detailed modes
Detailed mode: Clock 241.500 MHz, 698 mm x 392 mm
2560 2608 2640 2720 hborder 0
1440 1443 1448 1481 vborder 0
+hsync -vsync
Detailed mode: Clock 85.500 MHz, 698 mm x 392 mm
1366 1436 1579 1792 hborder 0
768 771 774 798 vborder 0
+hsync +vsync
Checksum: 0x65 (valid)
VIC 96 3840x2160@50Hz
so the TV is able to accept 3840x2160@50Hz but it's probably a issue with YCbCr 4:2:2 or YCbCr 4:4:4
any ideas?
CU
90000h
RE: Intel Apollo Lake - 9000h - 2016-12-29
Hi,
could it be that all this stuff needed for hdmi 2.0 is still missing in the drivers?
drm cea861 patch
DRI devel Patchwork
CU
9000h
RE: Intel Apollo Lake - fritsch - 2016-12-29
Just add the mode manually and be happy:
Code: export DISPLAY=:0
xrandr -display :0 --newmode "3840x2160_50.00" 586.61 3840 4136 4560 5280 2160 2161 2164 2222 -HSync +Vsync
xrandr -display :0 --addmode DP-1 3840x2160_50.00
This also can be done via xorg.conf if needed. No the above patches are not needed.
RE: Intel Apollo Lake - sunnyfunny - 2016-12-29
I am despairing. Can't get 50Hz/60Hz to work in UHD. I also connected the PC directly to the TV. No change.
I need support
http://sprunge.us/Ygfh
Code: Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP1 connected primary 1920x1080+0+0 (0x48) normal (normal left inverted right x axis y axis) 1440mm x 810mm
Identifier: 0x43
Timestamp: 1198812480
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones: HDMI1
CRTC: 0
CRTCs: 0 1 2
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID:
00ffffffffffff00412f000001010101
00180103809051780a0dc9a057479827
12484c2108008180a9c0714fb3000101
010101010101023a801871382d40582c
45009f295300001e011d007251d01e20
6e2855009f295300001e000000fd0030
3e0e461e000a202020202020000000fc
005653582d3933300a202020202001f5
020359f0575d5e5f621f101405130420
223c3e121603071115020601e50e6061
656638097f070f7f071507503e1ec04d
02005706015f7e01677e01834f00006e
030c003100b83c2f008001020304e200
f9e305c001e3060501011d8018711c16
20582c25009f295300009e0000000000
00000000000000000000000000000014
Broadcast RGB: Video 16:235 pass-through
supported: Automatic, Full, Limited 16:235, Video 16:235 pass-through
audio: auto
supported: force-dvi, off, auto, on
1920x1080 (0x48) 148.500MHz +HSync +VSync *current +preferred
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
4096x2160 (0x103) 297.000MHz +HSync +VSync
h: width 4096 start 5116 end 5204 total 5500 skew 0 clock 54.00KHz
v: height 2160 start 2168 end 2178 total 2250 clock 24.00Hz
4096x2160 (0x104) 296.703MHz +HSync +VSync
h: width 4096 start 5116 end 5204 total 5500 skew 0 clock 53.95KHz
v: height 2160 start 2168 end 2178 total 2250 clock 23.98Hz
3840x2160 (0x105) 297.000MHz +HSync +VSync
h: width 3840 start 4016 end 4104 total 4400 skew 0 clock 67.50KHz
v: height 2160 start 2168 end 2178 total 2250 clock 30.00Hz
3840x2160 (0x106) 297.000MHz +HSync +VSync
h: width 3840 start 4896 end 4984 total 5280 skew 0 clock 56.25KHz
v: height 2160 start 2168 end 2178 total 2250 clock 25.00Hz
3840x2160 (0x107) 297.000MHz +HSync +VSync
h: width 3840 start 5116 end 5204 total 5500 skew 0 clock 54.00KHz
v: height 2160 start 2168 end 2178 total 2250 clock 24.00Hz
3840x2160 (0x108) 296.703MHz +HSync +VSync
h: width 3840 start 4016 end 4104 total 4400 skew 0 clock 67.43KHz
v: height 2160 start 2168 end 2178 total 2250 clock 29.97Hz
3840x2160 (0x109) 296.703MHz +HSync +VSync
h: width 3840 start 5116 end 5204 total 5500 skew 0 clock 53.95KHz
v: height 2160 start 2168 end 2178 total 2250 clock 23.98Hz
1920x1080 (0x10a) 148.500MHz +HSync +VSync
h: width 1920 start 2448 end 2492 total 2640 skew 0 clock 56.25KHz
v: height 1080 start 1084 end 1089 total 1125 clock 50.00Hz
1920x1080 (0x10b) 148.352MHz +HSync +VSync
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.43KHz
v: height 1080 start 1084 end 1089 total 1125 clock 59.94Hz
1920x1080i (0x10c) 74.250MHz +HSync +VSync Interlace
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 33.75KHz
v: height 1080 start 1084 end 1094 total 1125 clock 60.00Hz
1920x1080i (0x10d) 74.250MHz +HSync +VSync Interlace
h: width 1920 start 2448 end 2492 total 2640 skew 0 clock 28.12KHz
v: height 1080 start 1084 end 1094 total 1125 clock 50.00Hz
1920x1080 (0x10e) 74.250MHz +HSync +VSync
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 33.75KHz
v: height 1080 start 1084 end 1089 total 1125 clock 30.00Hz
1920x1080 (0x10f) 74.250MHz +HSync +VSync
h: width 1920 start 2558 end 2602 total 2750 skew 0 clock 27.00KHz
v: height 1080 start 1084 end 1089 total 1125 clock 24.00Hz
1920x1080i (0x110) 74.176MHz +HSync +VSync Interlace
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 33.72KHz
v: height 1080 start 1084 end 1094 total 1125 clock 59.94Hz
1920x1080 (0x111) 74.176MHz +HSync +VSync
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 33.72KHz
v: height 1080 start 1084 end 1089 total 1125 clock 29.97Hz
1920x1080 (0x112) 74.176MHz +HSync +VSync
h: width 1920 start 2558 end 2602 total 2750 skew 0 clock 26.97KHz
v: height 1080 start 1084 end 1089 total 1125 clock 23.98Hz
1680x1050 (0x113) 119.000MHz +HSync -VSync
h: width 1680 start 1728 end 1760 total 1840 skew 0 clock 64.67KHz
v: height 1050 start 1053 end 1059 total 1080 clock 59.88Hz
1600x900 (0x114) 108.000MHz +HSync +VSync
h: width 1600 start 1624 end 1704 total 1800 skew 0 clock 60.00KHz
v: height 900 start 901 end 904 total 1000 clock 60.00Hz
1280x1024 (0x115) 108.000MHz +HSync +VSync
h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 63.98KHz
v: height 1024 start 1025 end 1028 total 1066 clock 60.02Hz
1152x864 (0x116) 108.000MHz +HSync +VSync
h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.50KHz
v: height 864 start 865 end 868 total 900 clock 75.00Hz
1280x720 (0x117) 74.250MHz +HSync +VSync
h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 45.00KHz
v: height 720 start 725 end 730 total 750 clock 60.00Hz
1280x720 (0x118) 74.250MHz +HSync +VSync
h: width 1280 start 1720 end 1760 total 1980 skew 0 clock 37.50KHz
v: height 720 start 725 end 730 total 750 clock 50.00Hz
1280x720 (0x119) 74.250MHz +HSync +VSync
h: width 1280 start 3040 end 3080 total 3300 skew 0 clock 22.50KHz
v: height 720 start 725 end 730 total 750 clock 30.00Hz
1280x720 (0x11a) 74.176MHz +HSync +VSync
h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 44.96KHz
v: height 720 start 725 end 730 total 750 clock 59.94Hz
1280x720 (0x11b) 74.176MHz +HSync +VSync
h: width 1280 start 3040 end 3080 total 3300 skew 0 clock 22.48KHz
v: height 720 start 725 end 730 total 750 clock 29.97Hz
1280x720 (0x11c) 59.400MHz +HSync +VSync
h: width 1280 start 3040 end 3080 total 3300 skew 0 clock 18.00KHz
v: height 720 start 725 end 730 total 750 clock 24.00Hz
1280x720 (0x11d) 59.341MHz +HSync +VSync
h: width 1280 start 3040 end 3080 total 3300 skew 0 clock 17.98KHz
v: height 720 start 725 end 730 total 750 clock 23.98Hz
1024x768 (0x11e) 65.000MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.36KHz
v: height 768 start 771 end 777 total 806 clock 60.00Hz
800x600 (0x11f) 40.000MHz +HSync +VSync
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.88KHz
v: height 600 start 601 end 605 total 628 clock 60.32Hz
720x576 (0x120) 27.000MHz -HSync -VSync
h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
v: height 576 start 581 end 586 total 625 clock 50.00Hz
720x480 (0x121) 27.027MHz -HSync -VSync
h: width 720 start 736 end 798 total 858 skew 0 clock 31.50KHz
v: height 480 start 489 end 495 total 525 clock 60.00Hz
720x480 (0x122) 27.000MHz -HSync -VSync
h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
v: height 480 start 489 end 495 total 525 clock 59.94Hz
640x480 (0x123) 25.200MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.50KHz
v: height 480 start 490 end 492 total 525 clock 60.00Hz
640x480 (0x124) 25.175MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
v: height 480 start 490 end 492 total 525 clock 59.94Hz
HDMI1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x44
Timestamp: 1198812480
Subpixel: unknown
Clones: DP1
CRTCs: 0 1 2
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
aspect ratio: Automatic
supported: Automatic, 4:3, 16:9
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235, Video 16:235 pass-through
audio: auto
supported: force-dvi, off, auto, on
HDMI2 disconnected (normal left inverted right x axis y axis)
Identifier: 0x45
Timestamp: 1198812480
Subpixel: unknown
Clones:
CRTCs: 0 1 2
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
aspect ratio: Automatic
supported: Automatic, 4:3, 16:9
Broadcast RGB: Automatic
supported: Automatic, Full, Limited 16:235, Video 16:235 pass-through
audio: auto
supported: force-dvi, off, auto, on
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x46
Timestamp: 1198812480
Subpixel: no subpixels
Clones:
CRTCs: 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
RE: Intel Apollo Lake - fritsch - 2016-12-29
Then add those modes manually as shown above and retry. Which TV model do you have?
RE: Intel Apollo Lake - sunnyfunny - 2016-12-29
Sony KD-65XD7505
Sorry I ask stupidly. But stress-related I currently have problems with focus.
Can i copy this 1:1? If so, the entry looks for 60Hz would be helpfull
Code: export DISPLAY=:0
xrandr -display :0 --newmode "3840x2160_50.00" 586.61 3840 4136 4560 5280 2160 2161 2164 2222 -HSync +Vsync
xrandr -display :0 --addmode DP-1 3840x2160_50.00
RE: Intel Apollo Lake - fritsch - 2016-12-29
Just add it 1:1? It's for 50 hz. After correctly added you can switch to it:
xrandr --output DP-1 --mode 3840x2160_50.00
RE: Intel Apollo Lake - 9000h - 2016-12-29
Hi,
I did try this already before, in my case the it's DP2
Code: xrandr -display :0 --newmode "3840x2160_50.00" 586.61 3840 4136 4560 5280 2160 2161 2164 2222 -HSync +Vsync
xrandr -display :0 --addmode DP2 3840x2160_50.00
xrandr -display :0 --output DP2 --mode 3840x2160_50.00
the modline is added then
Code: xrandr -d :0 -q
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
3840x2160_50.00 50.00
DP2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 1280mm x 720mm
3840x2160 60.00 + 30.00 25.00 24.00 29.97 23.98
4096x2160 24.00 23.98
2560x1440 59.95
1920x1080 60.00 50.00* 59.94 30.00 25.00 24.00 29.97 23.98
1920x1080i 60.00 50.00 59.94
1366x768 59.79
1280x720 60.00 50.00 59.94
1024x768 60.00
720x576 50.00
720x480 60.00 59.94
640x480 60.00 59.94
3840x2160_50.00 50.00
HDMI1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
but when I try to switch the mode to 3840x2160_50.00 it did fall back to 1920x1080
Code: [ 40324.330] (II) intel(0): switch to mode [email protected] on DP2 using pipe 0, position (0, 0), rotation normal, reflection none
[ 40326.077] (--) intel(0): HDMI max TMDS frequency 300000KHz
[ 40326.108] (II) intel(0): resizing framebuffer to 1920x1080
[ 40326.108] (II) intel(0): switch to mode [email protected] on DP2 using pipe 0, position (0, 0), rotation normal, reflection none
when I try to switch to 2160p60 it works
Code: [ 41334.706] (II) intel(0): switch to mode [email protected] on DP2 using pipe 0, position (0, 0), rotation normal, reflection none
[ 41336.934] (--) intel(0): HDMI max TMDS frequency 300000KHz
[ 41339.882] (--) intel(0): HDMI max TMDS frequency 300000KHz
CU
9000h
RE: Intel Apollo Lake - fritsch - 2016-12-29
Then something related to your setup - as it works fine for me.
RE: Intel Apollo Lake - noggin - 2016-12-29
(2016-12-29, 11:33)fritsch Wrote: Then something related to your setup - as it works fine for me.
fritsch - are you running with a 586.61MHz rate? If so that suggests you are running 4:2:2 or 4:2:0 at 10 bit YCbCr? Lots of UHD sets will only accept the 4:2:0 8 bit YCbCr mode which runs at the much lower rate of around 293MHz?
Many UHD sets added 8bit 4:2:0 2160/50p and 60p modes using the HDMI 1.4 bandwith limited HDMI 2.0 mode that kept the old clock rates - and don't accept the higher clock rates added in HDMI 2.0 that supports 4:2:2 and 10/12 bit. That could be the issues some are having?
http://www.cedia.co.uk/cda_/images/Resources/4K-Industry-Whitepaper_ENG.pdf Table 2.1 s quite useful - as it shows the two different clock rates that can be used for 50/60Hz.
RE: Intel Apollo Lake - fritsch - 2016-12-29
I don't know what happens internally as currently there is whole lot stuff hidden in the way linux kernel (intel) processes to the output. On userspace side we still compute 8 bit RGBA. But when in 1080p mode I can read my AVRs on screen display. But when being in 4k mode it needs to switch the resolution to render. So there might something going on internally - but nothing I do actively.
RE: Intel Apollo Lake - noggin - 2016-12-29
(2016-12-29, 17:02)fritsch Wrote: I don't know what happens internally as currently there is whole lot stuff hidden in the way linux kernel (intel) processes to the output. On userspace side we still compute 8 bit RGBA. But when in 1080p mode I can read my AVRs on screen display. But when being in 4k mode it needs to switch the resolution to render. So there might something going on internally - but nothing I do actively.
Ah - so the 586.61 figure isn't neccessarily the pixel rate (with HDMI 2.0 clock rates go a bit strange as you get more than one pixel per clock) - as Intel drivers 'get in the way'?
Is there any way in Intel drivers of switching between 4:2:0 8 bit and 4:2:0 10-12bit/4:2:2 8-12bit at 2160p50 or 59.94/60? There can't be RGB or YCbCr 4:4:4 output AIUI - as this isn't supported at 2160p50/59.94/60
RE: Intel Apollo Lake - fritsch - 2016-12-29
No way at all. Hidden in the kernel.
RE: Intel Apollo Lake - wesk05 - 2016-12-29
I see this in @9000h's post : HDMI max TMDS frequency 300000KHz
I am not sure how 2160p60 can even work if the TMDS clock is limited to 300MHz.
RE: Intel Apollo Lake - fritsch - 2016-12-29
Quote:[ 4.288] (--) modeset(0): HDMI max TMDS frequency 300000KHz
[ 4.288] (II) modeset(0): Printing probed modes for output DP-1
[ 4.288] (II) modeset(0): Modeline "3840x2160"x60.0 594.00 3840 4016 4104 4400 2160 2168 2178 2250 +hsync +vsync (135.0 kHz eP)
Same here. Sorry I have no idea - not an expert with display modes.
|