Opened 2 years ago

Last modified 11 months ago

#18004 new bug

intel_extreme not detecting valid resolution/refresh combinations (LG HD TV UH8500, 4k resolution) — at Version 6

Reported by: jgrindle Owned by: rudolfc
Priority: normal Milestone: Unscheduled
Component: Drivers/Graphics/intel_extreme/kabylake Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: x86-64

Description (last modified by jgrindle)

Display: LG TV UH8500 native 3840x2160 connected via HDMI 1.4

Graphics: Intel HD Graphics 630 (on-board)

CPU: Intel Core i5-7600 @3.8GHz

RAM: 16GB

Haiku: hrev56536-x86_64 installed to SSD

The syslog shows a limited number of resolutions detected or possibly assumed (for the display, I think, not the on-board graphics), all at 60Hz. The display itself supports 60Hz at or below 1920x1080, but only supports 30Hz or lower for resolutions higher than 1920x1080.

Screenshot attached of display's highest supported resolutions, as listed from Windows.

In hrev56536 if VESA mode is not selected, the adaptor automatically falls back to 800x600@60Hz (earlier revisions apparently tried to set a higher than 1920x1080 resolution @60Hz by default resulting in a black screen; ctrl+alt+shift+esc successfully forced a lower resolution).

In Screen preferences, the highest resolutions listed are 1920x1080@60Hz and 3840x2160@60Hz, the latter of which is out of range for refresh. There is no way to change the refresh to 30Hz (minimum is 58 on the slider). Selecting 1920x1080@60Hz works.

Note: since this is my first Haiku bug report I may need a little extra help to provide any additional info.

Change History (8)

by jgrindle, 2 years ago

Attachment: IMG_3328.JPG added

by jgrindle, 2 years ago

Attachment: syslog added

comment:1 by korli, 2 years ago

The following EDID is found, with 3840x2160@60Hz. Isn't 3840x2160@60Hz possible on this hardware via HDMI? I see the range is Vertical frequency range = 58..62 Hz

It looks like the Screen preferences honor the range 58..62, which is obviously not helping.

I see that https://cgit.haiku-os.org/haiku/tree/src/add-ons/accelerants/intel_extreme/mode.cpp#n752 also insists on a minimum of 48Hz (introduced by Axel in 2006). Might be an idea to only use this for lower resolutions.

We could also check the HDMI max TMDS rate in the VBT (depending on the actual connected port).

KERN: EDID info:
KERN:   Vendor: GSM
KERN:   Product ID: 1
KERN:   Serial #: 16843009
KERN:   Produced in week/year: 1/2016
KERN:   EDID version: 1.3
KERN:   Type: Digital
KERN:   Digital Bit Depth: 0
KERN:   Size: 160 cm x 90 cm
KERN:   Gamma=2.200
KERN:   White (X,Y)=(0.312,0.329)
KERN: Supported Future Video Modes:
KERN: 640x480@60Hz (id=16433)
KERN: 800x600@60Hz (id=16453)
KERN: 1024x768@60Hz (id=16481)
KERN: 1152x864@60Hz (id=16497)
KERN: 1280x1024@60Hz (id=32897)
KERN: Supported VESA Video Modes:
KERN: 720x400@70Hz
KERN: 640x480@60Hz
KERN: 800x600@60Hz
KERN: 1024x768@60Hz
KERN: Additional Video Mode (3840x2160@60Hz):
KERN: clock=594.000000 MHz
KERN: h: (3840, 4016, 4104, 4400)
KERN: v: (2160, 2168, 2178, 2250)
KERN: size: 160.0 cm x 90.0 cm
KERN: border: 0.0 cm x 0.0 cm
KERN: Additional Video Mode (1920x1080@60Hz):
KERN: clock=148.500000 MHz
KERN: h: (1920, 2008, 2052, 2200)
KERN: v: (1080, 1084, 1089, 1125)
KERN: size: 160.0 cm x 90.0 cm
KERN: border: 0.0 cm x 0.0 cm
KERN: Horizontal frequency range = 30..136 kHz
KERN: Vertical frequency range = 58..62 Hz
KERN: Maximum pixel clock = 600 MHz
KERN: Monitor Name: LG TV RVU

comment:2 by jgrindle, 2 years ago

I did some checking on my setup and my motherboard's HDMI port is version 1.4, which has a max 30Hz refresh at 3840x2160.

The motherboard has a DisplayPort which supports 60Hz, so I'll purchase a DisplayPort to HDMI cable and give that a try.

Last edited 2 years ago by jgrindle (previous) (diff)

comment:3 by jgrindle, 2 years ago

Connecting the TV with a DisplayPort to HDMI cable works for 3840x2160@60Hz.

Also, I noticed that the Haiku Boot menu (UEFI) lists a resolution of 3840x2160 with this setup, while using the HDMI 1.4 port it lists a (max) resolution of 1920x1080.

I am willing to test future builds on getting HDMI 1.4 to not try 3840x2160@60Hz (use 30Hz instead) if you want to keep this ticket open, as it seems like other users may be limited to only HDMI 1.4.

comment:4 by korli, 2 years ago

Thanks for the update. I pushed a change at https://review.haiku-os.org/c/haiku/+/5752 I let you know when a build image is available for you to test.

comment:6 by jgrindle, 2 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.