Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

4K resolution in Debian stretch (testing) on INTEL graphics?

Need help with peripherals or devices?
Message
Author
akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#31 Post by akrueger »

No idea about sid. I am running stretch, and I am happy.

Code: Select all

sudo apt-get install firmware-misc-nonfree intel-microcode
Reading package lists... Done
Building dependency tree       
Reading state information... Done
firmware-misc-nonfree is already the newest version (20161130-3).
intel-microcode is already the newest version (3.20170707.1~deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
sunrat wrote: You won't get a newer kernel in Stretch unless someone backports it and puts it in backports repo.
Good to know, thanks. Difficult?

Does that ever happen?

Would a bounty help with making that more probable?
sunrat wrote: It is based on Sid though and has massive amounts of upgrades almost every day.
I refer stable over cutting edge, if I can avoid that.
sunrat wrote:It may not even be the kernel that is your problem. Until someone else reports they have a working Kaby Lake system with 4k, we can only guess.
True.
What else could I try?

So far I have resisted the tempation to make a thousand steps backwards, and switch back to Windows - but to not at all use this massive, and beautiful screen, what a waste.

Please please please, Debianwizards, help me.

Thanks.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#32 Post by stevepusser »

You could try adding the Liquorix kernel and headers, which is currently Stretch-compatible and incorporates kernel 4.12.8:

https://liquorix.net/

Don't remove the standard 4.9 kernel unless you really need the disk space--it's prudent to keep it as a backup.
MX Linux packager and developer

akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#33 Post by akrueger »

stevepusser wrote:You could try adding the Liquorix kernel and headers, which is currently Stretch-compatible and incorporates kernel 4.12.8:
https://liquorix.net/
Thank you VERY much. That seems to work. And ... virtualbox is also still working, this time.

I have kernel 4.12 now!

I am writing this on the new kernel:

Code: Select all

uname -a
Linux Dell13-5378 4.12.0-8.3-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 4.12-3 (2017-08-19) x86_64 GNU/Linux
BUT ... no high resolution.

I have gone through all hints in this thread once more.

My hardware & config:

Code: Select all

 inxi -GSM
System:    Host: Dell13-5378 Kernel: 4.12.0-8.3-liquorix-amd64 x86_64 (64 bit) Desktop: Cinnamon 3.2.7
           Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: laptop System: Dell product: Inspiron 13-5378
           Mobo: Dell model: 0P87CH v: A00 UEFI: Dell v: 1.6.1 date: 02/13/2017
Battery    BAT0: charge: 36.8 Wh 126.7% condition: 29.1/36.8 Wh (79%)
Graphics:  Card: Intel Device 5916
           Display Server: X.Org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.05hz, 2048x1152@60.00hz
           GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2) GLX Version: 3.0 Mesa 13.0.6


This is the highest I can go:
xrandr
HDMI-1 connected 2048x1152+1920+0 (normal left inverted right x axis y axis) 621mm x 341mm
2048x1152 60.00*
I found these instructions somewhere:

Code: Select all

cvt 3840 2160 30.00
xrandr --newmode "3840x2160_30"  338.75  3840 4080 4488 5136  2160 2163 2168 2200 -hsync +vsync
xrandr --addmode HDMI-1 3840x2160_30
But:

Code: Select all

xrandr --output HDMI-1 --mode 3840x2160_30
xrandr: Configure crtc 1 failed
Which software must I install apart from this?

Code: Select all

sudo apt install xserver-xorg-video-intel firmware-misc-nonfree
Reading package lists... Done
Building dependency tree       
Reading state information... Done
xserver-xorg-video-intel is already the newest version (2:2.99.917+git20161206-1).
firmware-misc-nonfree is already the newest version (20161130-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
What would you do now, if you had such a beautiful 4K screen, but cannot use it - go back to Windows?

akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#34 Post by akrueger »

I am looking at the tiniest text I have ever looked at ;-)

Hooray

I got it working, hoooooooray.

Like this:
https://www.x.org/wiki/FAQVideoModes/#o ... powerstrip
download PowerStrip (but not from entech because their server disconnects again and again and again ... but from some mirror, find by google)

Then windows, install PowerStrip, reboot(!), follow those instructions ... and end up with something like this, in your clipboard

Code: Select all

PowerStrip timing parameters:
3840x2400=3840,8,104,144,2400,1,2,21,148931,1

Generic timing details for 3840x2400:
HFP=8 HSW=104 HBP=144 kHz=36 VFP=1 VSW=2 VBP=21 Hz=15

VESA detailed timing:
PClk=148931.00 H.Active=3840 H.Blank=256 H.Offset=-8 HSW=104 V.Active=2400 V.Blank=24 V.Offset=1 VSW=2

Linux modeline parameters:
"3840x2400" 148.931 3840 3848 3952 4096 2400 2401 2403 2424 +hsync +vsync
Then reboot into linux, and:
xrandr --newmode "3840x2400" 148.931 3840 3848 3952 4096 2400 2401 2403 2424 +hsync +vsync
xrandr --addmode HDMI-1 "3840x2400"
xrandr --output HDMI-1 --mode "3840x2400"
And ooooops, suddenly I have 9.2 million pixels in front of me, a whopping 4.44 K screen. Wow.

The display OSD says:

Code: Select all

3840 x 2400 @ 15 Hz
H.Frequency: 36 KHz
V.Frequency: 15 HZ
Model Number: GB2888UHSU
so ... now back into Windows, and extracting more such settings. 15 Hz is a bit low - and 4.44 K resolution ... is a bit much ;-)



Wow, I guess this was the most painful and lengthy hardware problem I have had in 30+ years. Again, I have learned a lot, but still:
Why do I have to extract those settings via that strange Windows tool? Why does the IIYAMA screen not report by itself which resolutions it can do?

akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#35 Post by akrueger »

akrueger wrote: so ... now back into Windows, and extracting more such settings.
extracted the defaults:
PowerStrip timing parameters:
3840x2160=3840,176,88,296,2160,8,10,72,112707,518

Generic timing details for 3840x2160:
HFP=176 HSW=88 HBP=296 kHz=26 VFP=8 VSW=10 VBP=72 Hz=11

VESA detailed timing:
PClk=112.71 H.Active=3840 H.Blank=560 H.Offset=160 HSW=88 V.Active=2160 V.Blank=90 V.Offset=8 VSW=10

Linux modeline parameters:
"3840x2160" 112.707 3840 4016 4104 4400 2160 2168 2178 2250 -hsync -vsync
so

Code: Select all

xrandr --newmode "3840x2160" 112.707 3840 4016 4104 4400 2160 2168 2178 2250 -hsync -vsync
xrandr --addmode HDMI-1 "3840x2160"
xrandr --output HDMI-1 --mode "3840x2160" 
is resulting in (Display OSD ... stupidly short 3 seconds then it disappears):
3840 x 2160 @ 11Hz
H.Frequency: 25 KHz
V.Frequency: 11 Hz
Last edited by akrueger on 2017-08-25 23:49, edited 1 time in total.

akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#36 Post by akrueger »

These ones are working too:

Code: Select all

cvt 3840 2160 25.00
xrandr --newmode "3840x2160_25.00"  278.75  3840 4064 4464 5088  2160 2163 2168 2194 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_25.00"
xrandr --output HDMI-1 --mode "3840x2160_25.00" 

Code: Select all

cvt 3840 2160 26.00
xrandr --newmode "3840x2160_26.00"  290.25  3840 4064 4464 5088  2160 2163 2168 2195 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_26.00"
xrandr --output HDMI-1 --mode "3840x2160_26.00"

Code: Select all

cvt 3840 2160 26.50
xrandr --newmode "3840x2160_26.50"  296.75  3840 4072 4472 5104  2160 2163 2168 2195 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_26.50"
xrandr --output HDMI-1 --mode "3840x2160_26.50" 
the highest one (26.50) results in an OSD display information of
"3840x2160@27Hz;
H.Frequency: 58KhZ;
V.Frequency: 27 Hz
"


but these ones are all not working:

Code: Select all

cvt 3840 2160 30.00
xrandr --newmode "3840x2160_30.00"  338.75  3840 4080 4488 5136  2160 2163 2168 2200 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_30.00"
xrandr --output HDMI-1 --mode "3840x2160_30.00"

cvt 3840 2160 29.00
xrandr --newmode "3840x2160_29.00"  327.25  3840 4080 4488 5136  2160 2163 2168 2199 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_29.00"
xrandr --output HDMI-1 --mode "3840x2160_29.00" 

cvt 3840 2160 28.00
xrandr --newmode "3840x2160_28.00"  314.75  3840 4072 4480 5120  2160 2163 2168 2197 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_28.00"
xrandr --output HDMI-1 --mode "3840x2160_28.00" 

cvt 3840 2160 27.00
xrandr --newmode "3840x2160_27.00"  302.50  3840 4072 4472 5104  2160 2163 2168 2196 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_27.00"
xrandr --output HDMI-1 --mode "3840x2160_27.00" 
and

Code: Select all

cvt 3840 2160 60.00
xrandr --newmode "3840x2160_60.00"  712.75  3840 4160 4576 5312  2160 2163 2168 2237 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_60.00"
xrandr --output HDMI-1 --mode "3840x2160_60.00"
they are all resulting in
xrandr: Configure crtc 1 failed
So ... is IIYAMA actually lying about the refresh rate that this monitor is supposed to deliver?

Why not 60 Hz, why not even 30 Hz?

akrueger
Posts: 68
Joined: 2017-01-13 19:09

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#37 Post by akrueger »

Upper limit, max frequency @ 4K:

26.79 Hz

Code: Select all

cvt 3840 2160 26.79
xrandr --newmode "3840x2160_26.79"  300.00  3840 4072 4472 5104  2160 2163 2168 2196 -hsync +vsync
xrandr --addmode HDMI-1 "3840x2160_26.79" 
xrandr --output HDMI-1 --mode "3840x2160_26.79"
And yes, the kernel matters not at all - that was a hugely misleading wrong way street, have a look:
uname -a
Linux Dell13-5378 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 GNU/Linux
inxi -G
Graphics: Card: Intel Device 5916
Display Server: X.Org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.05hz, 3840x2160@26.77hz
GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2) GLX Version: 3.0 Mesa 13.0.6
But all this is soon forgotten, because it is finally ... sorted.

Final question:

How can I make those 26.79 Hz settings permanent, so that they come back after rebooting?
Thanks.
Last edited by akrueger on 2017-08-26 00:08, edited 2 times in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6458
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 472 times

Re: 4K resolution in Debian stretch (testing) on INTEL graph

#38 Post by sunrat »

Do you know what version of HDMI your hardware supports? Only version 2.0 or later can do 4K at 60Hz. DisplayPort also does it.

Code: Select all

$ xrandr
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
   3840x2160     60.00*+  30.00
...
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply